1 2001-07-17 Chandrakala Chavva <cchavva@redhat.com>
3 * config.gcc: For *-*-chorusos triplet, get chorus.h file from
5 * config/i386/chorus.h: Move up.
6 * config/sparc/chorus.h: Likewise.
7 * config/rs6000/chorus.h: Likewise.
8 * config/chorus.h: Moved here.
10 Mon Jul 2 12:50:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12 * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
14 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16 * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
18 (Specific, mips*-sgi-irix5): Note IDO download.
19 Reworded MIPS C hints.
20 Use GNU as instead of GAS.
22 Removed SGI Freeware reference, IRIX 6 only.
23 (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
24 Note N64 library requirement/workaround.
26 Complete list of structure passing bug victims.
28 2001-07-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
30 * doc/install.texi: Remove CVS Id.
32 2001-07-02 Andreas Jaeger <aj@suse.de>
34 * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
35 (find_inherently_necessary): Remove unused variable.
37 2001-07-02 Nathan Sidwell <nathan@codesourcery.com>
39 * c-common.h (TDI_inlined): New ast dump phase.
40 (dump_flag_name): New function.
41 * c-dump.c (dump_files): Add inlined phase.
42 (dump_flag_name): Define.
43 * doc/invoke.texi (-fdump-ast-inlined): Document.
45 Mon Jul 2 06:29:36 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
47 * stor-layout.c (layout_decl): Revert change to handling of alignment
50 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
52 * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
55 2001-07-01 Geoffrey Keating <geoffk@redhat.com>
57 * doc/tm.texi (FUNCTION_ARG): Document that the last call
60 2001-07-01 Nathan Sidwell <nathan@codesourcery.com>
62 * tlink.c (recompile_files): Remove COMPILER_PATH and
63 LIBRARY_PATH from the environment.
64 2001-07-17 Andreas Schwab <schwab@suse.de>
66 * configure.in (assembler eh_frame optimization): Handle big
68 * configure: Regenerated.
70 Tue Jul 17 23:43:31 CEST 2001 Jan Hubicka <jh@suse.cz>
72 * expr.c (epxand_expr): Convert divisions into multiplications by
73 reciprocals if -ffast-math.
75 2001-07-17 Neil Booth <neil@daikokuya.demon.co.uk>
77 * dbxout.c (dbxout_really_begin_function): Rename to
78 dbxout_begin_function.
79 (dbx_debug_hooks, xcoff_debug_hooks): Update.
80 (dbxout_begin_function): Remove.
81 (dbxout_function): Update.
82 (dbxout_source_line): Update prototype.
83 * dbxout.h (dbxout_begin_function): Remove.
84 * debug.c (do_nothing_debug_hooks): Update.
85 (debug_nothing_tree): Update.
86 (debug_nothing_charstar_rtx): Remove.
87 * debug.h (union tree_node): Declare.
88 (struct rtx_def): Remove.
89 (gcc_debug_hooks): New hooks begin_prologue, end_prologue,
90 begin_function. Change source_line prototype.
91 (debug_nothing_tree): New.
92 (debug_nothing_charstar_rtx): Delete.
93 (dwarf2out_begin_prologue): Moved from ...
95 * dwarf2out.c (dwarf2_debug_hooks): Update.
96 (dwarf2out_begin_prologue): Update prototype. If genuine dwarf2
97 debug info, call dwarf2out_source_line.
98 (dwarf2out_souce_line): Update prototype.
99 * dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue.
100 Change prototype, make static.
101 (dwarfout_source_line): Update prototype.
102 (dwarf_debug_hooks): Update.
103 * dwarfout.h (dwarfout_begin_function): Remove.
104 * final.c (final_start_function, final_scan_insn): Use appropriate
105 debug hooks, update to use notice_source_line.
106 (output_source_line): Rename notice_source_line. Don't call the
107 source_line debug hook.
108 * sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue,
109 make static, update prototype.
110 (sdbout_mark_begin_function): Rename sdbout_begin_function, update
112 (sdbout_end_prologue): New.
113 (sdbout_source_line): Update prototype.
114 (sdbout_debug_hooks): Update.
115 (sdbout_symbol): Remove unused var.
116 * sdbout.h (sdbout_begin_function, sdbout_mark_begin_function):
118 * varasm.c: Include debug.h.
119 (assemble_start_function): Use begin_function debug_hook.
120 * xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function,
121 update with prototype.
122 (xcoffout_source_line): Update prototype.
123 * xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function,
125 (xcoffout_source_line): Update prototype.
127 2001-07-17 Richard Henderson <rth@redhat.com>
129 * c-typeck.c (build_binary_op): Do not shorten unsigned
130 right shift after sign extension.
132 Tue Jul 17 16:56:05 CEST 2001 Jan Hubicka <jh@suse.cz>
134 * combine.c (combine_simplify_rtx): Attempt to simplify
135 a*(b/c) as (a*b)/c for floats in unsafe_math mode.
137 * simplify-rtx.c (avoid_constatn_pool_reference): New static function.
138 (simplify_binary_operation, simplify_unary_operation,
139 simplify_relational_operation): Use it.
141 * combine.c (combine_simplify_rtx): Don't do associative law
142 on divisions; allow associative law on floats.
144 2001-07-17 H.J. Lu <hjl@gnu.org>
145 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
147 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
148 ASM_OUTPUT_WEAK_ALIAS are defined.
149 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible.
150 * config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL):
152 * config/mips/iris5.h: ... here.
153 (HANDLE_SYSV_PRAGMA): Defined as 1.
154 * varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS.
155 * doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak
158 2001-07-17 Joseph S. Myers <jsm28@cam.ac.uk>
160 * c-parse.in (all_prefix_attributes): New variable.
161 (PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros.
162 (maybe_resetattrs): New production.
163 (c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl,
164 maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl,
165 notype_initdcl, nested_function, notype_nested_function,
166 component_decl, components, components_notype,
167 component_declarator, component_notype_declarator,
168 absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl,
169 ivars, mydecl, myparm): Update. Avoid prefix attributes just
170 after a comma being applied to more than one declarator.
171 * doc/extend.texi (Attribute Syntax): Update. Remove
172 documentation of bugs that are no longer present.
174 2001-07-13 Eric Christopher <echristo@redhat.com>
176 * config/mips/mips.h: Change TUNE_MIPS* options to use
178 (EXTRA_SPECS): Add cc1_cpu_spec.
179 * config/mips/mips.md (muldf3): Fix typo.
181 2001-07-16 Richard Henderson <rth@redhat.com>
185 2001-07-01 Zack Weinberg <zackw@stanford.edu>
187 * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
188 RID_LAST_PQ. Move RID_FIRST_PQ down with the other FIRST/LAST
190 (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
192 * c-parse.in (OBJC_STRING): Kill.
193 (objc_string): Decompose to [objc_string] '@' STRING.
194 (reswords): Take the leading '@' off all the Objective C keywords.
195 (objc_rid_sans_at): Kill.
196 (init_reswords): Don't initialize it.
197 (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
198 (_yylex): Kill reconsider label. Look ahead one token after
199 an '@'; if we get an identifier, check whether it's an
200 Objective C @-keyword. If so, return the keyword. Otherwise,
201 put back the token and return the '@' as a terminal.
203 * cpplib.c (lex_macro_node): Remove unnecessary check for
204 leading '@' on identifier. Clarify control flow and commentary.
206 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
208 * cse.c (new_label_ref): Variable deleted.
209 (insert): Remove set of new_label_ref.
210 (check_for_label_ref): New function.
211 (cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
213 2001-07-06 Richard Henderson <rth@redhat.com>
216 * genrecog.c (validate_pattern): Warn for constraints in
217 define_{expand,split,peephole2}. Remove strict_low_part
218 before looking up match_dup.
220 2001-07-06 DJ Delorie <dj@redhat.com>
222 * doc/gcc.texi (Makefile): Rename to be a more general purpose
223 chapter about various build hints and history. Add section
224 talking about the various types of native and cross builds.
226 2001-07-06 Neil Booth <neil@daikokuya.demon.co.uk>
228 * Makefile.in (final.o): Depend on target.h.
229 * final.c: Include target.h.
230 (default_function_pro_epilogue): New.
231 (final_start_function): Use target structure for function prologues.
232 (final_end_function): Use target structure for function epilogues.
233 * fold-const.c (real_hex_to_f): Constify s and p.
234 * output.h (default_function_pro_epilogue): New.
235 * real.h (real_hex_to_f): Update prototype.
236 * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
237 TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
238 (TARGET_INITIALIZER): Update.
240 * doc/tm.texi (COMP_TYPE_ATTRIBUTES, TARGET_COMP_TYPE_ATTRIBUTES,
241 SET_DEFAULT_TYPE_ATTRIBUTES, TARGET_SET_DEFAULT_TYPE_ATTRIBUTES):
242 Update documentation of old target macros to describe new target
244 * tree.c (make_node): Use target.set_default_type_attributes.
245 (default_comp_type_attributes,
246 default_set_default_type_attributes): New functions.
247 * tree.h (default_comp_type_attributes,
248 default_set_default_type_attributes): Declare.
249 * c-typeck.c (COMP_TYPE_ATTRIBUTES): Don't define.
250 (comptypes): Use target.comp_type_attributes.
251 * config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h
252 (arc_comp_type_attributes, arc_set_default_type_attributes,
253 COMP_TYPE_ATTRIBUTES, SET_DEFAULT_TYPE_ATTRIBUTES): Remove
254 functions and macros with default behaviour.
255 * config/m32r/m32r-protos.h, config/m32r/m32r.c,
256 config/m32r/m32r.h (m32r_comp_type_attributes,
257 m32r_set_default_type_attributes, COMP_TYPE_ATTRIBUTES,
258 SET_DEFAULT_TYPE_ATTRIBUTES): Likewise.
259 * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
260 config/m68hc11/m68hc11.h (m68hc11_comp_type_attributes,
261 m68hc11_set_default_type_attributes, COMP_TYPE_ATTRIBUTES,
262 SET_DEFAULT_TYPE_ATTRIBUTES): Likewise.
263 * config/ns32k/ns32k-protos.h, config/ns32k/ns32k.c,
264 config/ns32k/ns32k.h (ns32k_comp_type_attributes,
265 COMP_TYPE_ATTRIBUTES): Likewise.
266 * config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
267 config/rs6000/rs6000.h (rs6000_comp_type_attributes,
268 rs6000_set_default_type_attributes, COMP_TYPE_ATTRIBUTES,
269 SET_DEFAULT_TYPE_ATTRIBUTES): Likewise.
270 * config/d30v/d30v.h (COMP_TYPE_ATTRIBUTES,
271 SET_DEFAULT_TYPE_ATTRIBUTES): Remove commented out macro
273 * config/i386/i386.h (SET_DEFAULT_TYPE_ATTRIBUTES): Likewise.
274 * config/ns32k/ns32k.h (SET_DEFAULT_TYPE_ATTRIBUTES): Likewise.
275 * config/arm/arm.c (arm_comp_type_attributes,
276 arm_set_default_type_attributes): Make static.
277 (TARGET_COMP_TYPE_ATTRIBUTES, TARGET_SET_DEFAULT_TYPE_ATTRIBUTES):
279 * config/arm/arm.h (COMP_TYPE_ATTRIBUTES,
280 SET_DEFAULT_TYPE_ATTRIBUTES): Don't define.
281 * config/arm/arm-protos.h (arm_comp_type_attributes,
282 arm_set_default_type_attributes): Don't declare.
283 * config/i386/i386.c (ix86_comp_type_attributes): Make static.
284 (TARGET_COMP_TYPE_ATTRIBUTES): Define.
285 * config/i386/i386.h (COMP_TYPE_ATTRIBUTES): Don't define.
286 * config/i386/i386-protos.h (ix86_comp_type_attributes): Don't
289 2001-06-28 Jan van Male <jan.vanmale@fenk.wau.nl>
291 * predict.c (dump_prediction): Eliminate fprintf warning.
293 2001-06-28 Diego Novillo <dnovillo@redhat.com>
295 * flow.c (dump_bb): Remove unused third argument to call
296 to fprintf when displaying the basic block header.
298 2001-06-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
299 Jeff Law <law@redhat.com>
301 * Makefile.in (OBJS): Add df.o
302 (df.o): Add dependencies.
303 * basic-block.h (flow_depth_first_order_compute): Declare.
304 * flow.c (flow_depth_first_order_compute): No longer declare.
306 * df.c, df.h: New files.
308 2001-06-28 Zack Weinberg <zackw@stanford.edu>
310 * config/i386/i386.md: Global update to use new string syntax
311 where it will improve readability. Warning fixes:
312 (*truncdfsf2_2): Abort if which_alternative is not 0 or 1.
313 (*adddi_1_rex64, *adddi_2_rex64, *adddi_3_rex64,
314 *adddi_4_rex64, *adddi_5_rex64): Cast 1 to unsigned int.
316 * read-rtl.c: Syntactic sugar for C embedded in strings in
317 machine descriptions.
318 (read_string): Break inner loop into separate function. Takes
319 an int. Dispatch to read_quoted_string or read_braced_string
320 as appropriate. Automatically insert a leading star on braced
321 strings if STAR_IF_BRACED is true.
322 (read_quoted_string, read_braced_string): New functions.
323 * doc/rtl.texi, doc/md.texi: Document new syntax. Update
326 * rtl.c: Split RTL reader (read_rtx, read_skip_spaces,
327 traverse_md_constants, fatal_with_file_and_line,
328 fatal_expected_char, read_name, read_string, def_hash,
329 def_name_eq_p, read_constants, and related data) to its own
330 file. Weed out now-unnecessary #includes.
331 * read-rtl.c: New file.
332 * Makefile.in (HOST_RTL): Add read-rtl.o.
333 (read-rtl.o): New rule.
334 (rtl.o, $(HOST_PREFIX_1)rtl.o): Update dependencies.
335 * doc/gcc.texi (Passes): Talk briefly about the support
336 library used by genfoo.
337 * doc/rtl.texi (Reading RTL): read_rtx is not available in the
340 2001-06-28 Stan Shebs <shebs@apple.com>
342 * config/darwin.h (REGISTER_TARGET_PRAGMAS): Define.
343 * config/darwin-c.c: New file.
344 * config/darwin-protos.h: Declare new functions.
345 * config/rs6000/t-darwin (darwin-c.o): New rule.
346 * config.gcc (powerpc-*-darwin*): Define c_target_objs and
348 * doc/extend.texi (Pragmas): New section.
350 Thu Jun 28 20:13:11 CEST 2001 Jan Hubicka <jh@suse.cz>
352 * flow.c (try_merge_block): Rename to try_optimize_cfg;
353 do basic simplifications on the CFG.
354 (is_forwarder_block_p, can_fallthru, try_redirect_by_replacing_jump,
355 try_simplify_condjump): New.
356 (redirect_edge_and_branch): Try replace jump insn.
357 (flow_delete_insn): Handle deleting of ADDR_VEC insns.
359 * basic-block.h (FALLTHRU_EDGE, BRANCH_EDGE): New macros.
361 Thu Jun 28 11:19:42 2001 Jeffrey A Law (law@cygnus.com)
363 * ssa-dce.c (eliminate_dead_code): Properly handle control
364 dependencies implied by PHI nodes.
366 * ssa-dce.c (eliminate_dead_code): Remove fake edges from the
367 CFG after dead code elimination is complete.
369 2001-06-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
371 * gthr-posix.h [LIBOBJC]: Add weak definitions of
372 sched_get_priority_max, sched_get_priority_min.
374 2001-06-28 Gabriel Dos Reis <gdr@codesourcery.com>
376 * diagnostic.c (default_print_error_function): Tweak.
377 (report_error_function): Likewise.
378 * toplev.h (default_print_error_function): Move to...
379 * diagnostic.h: ...here. Add a `diagnostic_context *' parameter.
380 * tree.h (print_error_function): Move to...
381 * diagnostic.h: ...here. Add a `diagnostic_context *' parameter.
383 Thu Jun 28 06:16:45 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
385 * expr.c (expand_assignment): When have varying-length object,
387 (expand_expr, case ADDR_EXPR): Use SAVE_EXPR_RTL after putting
388 SAVE_EXPR stack in case we had a SUBREG.
390 Thu Jun 28 10:31:06 CEST 2001 Jan Hubicka <jh@suse.cz>
392 * i386.md (cmp?i): Simplify; refuse immediate operand
394 * i386.c (cmpsi_operand): Refuse constants.
396 * i386.md (movsi_insv_1, movsi_insv_1_rex64): Allow immediate operand.
398 * flow.c (block_label, redirect_edge_and_branch): Split out from ....
399 (split_edge) .... here;
401 2001-06-28 Neil Booth <neil@cat.daikokuya.demon.co.uk>
403 * i386/i386.c (ix86_valid_type_attribute_p): Give external
404 linkage, move declaration to...
405 * i386/i386-protos.h: ...here.
407 2001-06-27 H.J. Lu (hjl@gnu.org)
409 * build-make (CC): Removed.
410 (HOST_CC): Set to $(CC_FOR_BUILD).
411 (HOST_CFLAGS): Replace $(CFLAGS) with $(CFLAGS_FOR_BUILD).
412 Fix a typo in comments.
414 * configure.in: Set CFLAGS to $(CFLAGS_FOR_BUILD) when
415 generating auto-build.h for canadian cross compile. Set CC
416 to `"${CC_FOR_BUILD}"' instead of just `${CC_FOR_BUILD}'.
418 * configure: Regenerated.
420 2001-06-27 Jim Wilson <wilson@redhat.com>
422 * emit-rtl.c (gen_highpart): Call validize_mem.
424 2001-06-27 Bruce Korb <bkorb@gnu.org>
426 * fixinc/inclhack.def(hpux11_cpp_pow_inline): new, but real similar to
427 hpux10_cpp_pow_inline. Not similar enough.
428 (solaris_mutex_init): renamed. PTHREAD_*_INITIALIZER is a problem for
429 all Solaris versions. This fix patches MUTEX and COND initializers,
430 the RWLOCK one will wait for someone to complain. For now, anyway.
431 (uw7_byteorder_fix): It was looking for the byteorder.h file in the
434 2001-06-27 Stan Shebs <shebs@apple.com>
436 * objc/objc-act.c (handle_impent): Rewrite to be more portable
437 and to use ASM_DECLARE_CLASS_REFERENCE.
438 * config/darwin.h (ASM_DECLARE_CLASS_REFERENCE): Rename from
439 undocumented DECLARE_CLASS_REFERENCE, add file argument.
440 * doc/tm.texi (ASM_DECLARE_CLASS_REFERENCE): Document.
442 Wed Jun 27 18:01:09 2001 Jeffrey A Law (law@cygnus.com)
444 * simplify-rtx.c (simplify_rtx): Canonicalize commutative expressions
445 by putting complex operands first and constants second.
447 2001-06-27 Gabriel Dos Reis <gdr@codesourcery.com>
449 * diagnostic.h: Add documentation. Make macros polymorphic.
450 * diagnostic.c (ideal_line_wrap_cutoff): Remove
451 definition. Replace with diagnostic_line_cutoff.
452 (prefixing_policy): Remove. Replace with diagnostic_prefixing_rule.
454 2001-06-27 Joseph S. Myers <jsm28@cam.ac.uk>
456 * doc/c-tree.texi, doc/contrib.texi, doc/cpp.texi,
457 doc/cppinternals.texi, doc/extend.texi, doc/gcc.texi,
458 doc/gcov.texi, doc/install-old.texi, doc/install.texi,
459 doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Replace
460 . at end of sentences preceded by a capital letter with @..
462 2001-06-26 Daniel Berlin <dan@cgsoftware.com>
464 * doc/invoke.texi: Add description of max-gcse-passes param.
466 * gcse.c (gcse_main): Use MAX_GCSE_PASSES instead of MAX_PASSES.
467 (MAX_PASSES): Remove now unneeded macro.
469 * params.h (MAX_GCSE_PASSES): New macro, to get parameter value of
470 max-gcse-passes param.
472 * params.def (PARAM_MAX_GCSE_PASSES): New parameter, controlling
473 maximum number of GCSE passes to run. Defaults to 1 (which is what
474 MAX_PASSES in gcse.c used to be).
476 2001-06-27 Neil Booth <neil@cat.daikokuya.demon.co.uk>
478 * system.h (TARGET_ESC): Move to ...
479 * defaults.h (TARGET_ESC): ... here.
480 * target-def.h (TARGET_VALID_DECL_ATTRIBUTE,
481 TARGET_VALID_TYPE_ATTRIBUTE): Default to a no-op handler.
482 * tree.c (default_valid_attribute_p): New.
483 (valid_machine_attribute): Handlers can not be NULL.
484 * tree.h (default_valid_attribute_p): New.
485 * doc/tm.texi: Document TARGET_ESC.
486 * cp/decl2.c (import_export_class): Update.
488 2001-06-26 Bruce Korb <bkorb@gnu.org>
490 * gcc/fixinc/fixincl.c(initialize): In very strict ANSI, you cannot
491 use preprocessing directives inside a string literal. Fixed.
493 2001-06-26 Jim Wilson <wilson@redhat.com>
495 * doc/tm.texi (MAX_LONG_DOUBLE_TYPE_SIZE, INTEL_EXTENDED_IEEE_FORMAT):
498 2001-06-27 Joseph S. Myers <jsm28@cam.ac.uk>
500 * doc/cpp.texi, doc/cppinternals.texi, doc/extend.texi,
501 doc/gcc.texi, doc/install.texi, doc/invoke.texi, doc/md.texi,
502 doc/tm.texi: Use @: where necessary when a full stop does not end
505 2001-06-27 Joseph S. Myers <jsm28@cam.ac.uk>
507 * doc/gcc.texi, doc/install.texi, doc/invoke.texi: Remove trailing
510 2001-06-26 Joseph S. Myers <jsm28@cam.ac.uk>
512 * doc/c-tree.texi, doc/cpp.texi, doc/extend.texi, doc/gcc.texi,
513 doc/install.texi, doc/invoke.texi, doc/objc.texi, doc/rtl.texi,
514 doc/tm.texi: Use two spaces after ends of sentences.
516 2001-06-26 Daniel Berlin <dan@cgsoftware.com>
518 * toplev.c (display_help): Fix param thinko.
519 * Makefile.in: Fix params.h dependencies.
521 2001-06-26 Gabriel Dos Reis <gdr@codesourcery.com>
523 * toplev.c (decode_f_option): Adjust setting.
524 (toplev_main): Call diagnostic_initialize. Remove call to
525 reshape_diagnostic_buffer._
527 * diagnostic.h (struct output_buffer): Add new field format_decoder.
528 (diagnostic_format_decoder): New macro.
529 (diagnostic_prefixing_rule): Likewise.
530 (diagnostic_line_cutoff): Likewise.
531 (set_message_prefixing_rule): Remove.
533 * diagnostic.c (lang_printer): Remove.
534 (diagnostic_message_length_per_line): Likewise.
535 (current_prefixing_rule): Likewise.
536 (initialize_diagnostics): Rename to...
537 (diagnostic_initialize): ...this. Tweak.
538 (default_initialize_buffer): Remove.
539 (reshape_diagnostic_buffer): Likewise.
540 (init_output_buffer): Adjust prefixing rule setting.
541 (output_format): Use format_decoder from the output_buffer.
543 * c-lang.c (c_init): Adjust tree formatter setting.
545 2001-06-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
547 * config/i386/sol2.h (CPP_SPEC): Pass -P for .S files.
549 2001-06-26 Neil Booth <neil@daikokuya.demon.co.uk>
551 * Makefile.in (TARGET_H, TARGET_DEF_H): New.
552 (c-decl.o, tree.o, c-typeck.o, $(out_object_file)): Update.
553 * c-decl.c (duplicate_decls): Use function pointer.
554 * c-typeck.c (common_type): Similarly.
555 * tree.c (valid_machine_attribute): Similarly.
556 (merge_machine_type_attributes): Rename merge_type_attributes.
557 (merge_machine_decl_attributes): Rename merge_decl_attributes.
558 (merge_dllimport_decl_attributes): New function.
559 * tree.h (merge_machine_type_attributes): Rename merge_type_attributes.
560 (merge_machine_decl_attributes): Rename merge_decl_attributes.
561 (merge_dllimport_decl_attributes): New prototype.
566 * doc/gcc.texi, doc/tm.texi: Update documentation.
568 cp: Make-lang.in: Update dependencies.
569 * spew.c: Include target.h.
570 (duplicate_decls): Call target function.
571 * decl2.c: include target.h
572 (import_export_class): Use existence of target function pointer.
573 * typeck.c: Include target.h.
574 (qualify_type_recursive): Rename variable. Call target function.
575 (type_after_usual_arithmetic_conversions): Similarly.
576 (common_type): Similarly.
578 config: * 1750a/1750a.c, a29k/29k.c, alpha/alpha.c, arc/arc.c, arm/arm.c,
579 avr/avr.c, c4x/c4x.c, clipper/clipper.c, convex/convex.c,
580 d30v/d30v.c, dsp16xx/dsp16xx.c, elxsi/elxsi.c, fr30/fr30.c,
581 i370/i370.c, i386/i386.c, i860/i860.c, i960/i960.c, ia64/ia64.c,
582 m32r/m32r.c, m68hc11/m68hc11.c, m68k/m68k.c, m88k/m88k.c,
583 mips/mips.c, mn10200/mn10200.c, mn10300/mn10300.c, ns32k/ns32k.c,
584 pa/pa.c, pdp11/pdp11.c, pj/pj.c, romp/romp.c, rs6000/rs6000.c,
585 sh/sh.c, sparc/sparc.c, v850/v850.c, vax/vax.c, we32k/we32k.c)
586 : Include target.h and target-def.h. Define target.
588 * arc/arc-protos.h (arc_valid_machine_decl_attribute): Remove.
589 * arc/arc.c (arc_valid_machine_decl_attribute): Rename
590 arc_valid_decl_attribute, make static.
591 * arc/arc.h (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
592 * arm/arm-protos.h (arm_valid_machine_decl_attribute,
593 arm_valid_type_attribute_p, arm_pe_valid_machine_decl_attribute,
594 arm_pe_merge_machine_decl_attributes): Remove.
595 * arm/arm.c (arm_valid_machine_decl_attribute_p): Rename
596 arm_valid_decl_attribute_p, make static.
597 (arm_pe_valid_decl_attribute_p): Move from pe.c.
598 * arm/pe.c (arm_pe_valid_machine_decl_attribute_p): Move to arm.c.
599 (arm_pe_merge_machine_decl_attributes): Move to tree.c.
600 * arm/arm.h (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
601 * arm/coff.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
602 * arm/elf.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
603 * arm/pe.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): New.
604 (VALID_MACHINE_TYPE_ATTRIBUTE, VALID_MACHINE_DECL_ATTRIBUTE): Remove.
605 * avr/avr-protos.h (valid_machine_type_attribute,
606 valid_machine_decl_attribute): Remove.
607 * avr/avr.c (valid_machine_type_attribute,
608 valid_machine_decl_attribute): Rename and make static.
609 * avr/avr.h (VALID_MACHINE_TYPE_ATTRIBUTE,
610 VALID_MACHINE_DECL_ATTRIBUTE): Remove.
611 * c4x/c4x-protos.h (c4x_valid_type_attribute_p): Remove.
612 * c4x/c4x.c (c4x_valid_type_attribute_p): Make static.
613 * c4x/c4x.h (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
614 * d30v/d30v.h: Remove obsolete comments.
615 * h8300/h8300-protos.h (h8300_valid_machine_decl_attribute): Remove.
616 * h8300/h8300.c (h8300_valid_machine_decl_attribute): Rename, make
618 * h8300/h8300.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
619 * i386/cygwin.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define.
620 (i386_pe_merge_decl_attributes, MERGE_MACHINE_DECL_ATTRIBUTES,
621 i386_pe_valid_type_attributes_p): Remove.
622 * i386/i386-protos.h (ix86_valid_decl_attribute_p,
623 ix86_valid_type_attribute_p): Remove.
624 * i386/i386.c (ix86_valid_decl_attribute_p): Remove.
625 (ix86_valid_type_attribute_p): Make static.
626 * i386/i386.h (VALID_MACHINE_DECL_ATTRIBUTE,
627 VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
628 * i386/winnt.c (i386_pe_merge_decl_attributes): Move to tree.c.
629 * ia64/ia64-protos.h (ia64_valid_type_attribute): Remove.
630 * ia64/ia64.c (ia64_valid_type_attribute): Make static.
631 * ia64/ia64.h (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
632 * m32r/m32r-protos.h (m32r_valid_machine_decl_attribute): Remove.
633 * m32r/m32r.c (m32r_valid_decl_attribute): Make static.
634 * m32r/m32r.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
635 * m68hc11/m68hc11-protos.h (m68hc11_valid_decl_attribute_p,
636 m68hc11_valid_type_attribute_p): Remove.
637 * m68hc11/m68hc11.c (m68hc11_valid_decl_attribute_p): Remove.
638 (m68hc11_valid_type_attribute_p): Make static.
639 * m68hc11/m68hc11.h (VALID_MACHINE_DECL_ATTRIBUTE,
640 VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
641 * mcore/mcore-protos.h (mcore_valid_machine_decl_attribute,
642 mcore_merge_machine_decl_attribute): Remove.
643 * mcore/mcore.c (mcore_valid_machine_decl_attribute): Rename,
645 (mcore_merge_machine_decl_attributes): Move to tree.c.
646 * mcore/mcore.h (VALID_MACHINE_DECL_ATTRIBUTE,
647 VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
648 (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define.
649 * ns32k/ns32k-protos.h (ns32k_valid_decl_attribute_p,
650 ns32k_valid_type_attribute_p): Remove.
651 * ns32k/ns32k.c (ns32k_valid_decl_attribute_p): Remove.
652 (ns32k_valid_type_attribute_p): Make static.
653 * ns32k/ns32k.h (VALID_MACHINE_DECL_ATTRIBUTE,
654 VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
655 * rs6000/rs6000-protos.h (rs6000_valid_decl_attribute_p,
656 rs6000_valid_type_attribute_p): Remove.
657 * rs6000/rs6000.c (rs6000_valid_decl_attribute_p): Remove.
658 (rs6000_valid_type_attribute_p): Make static.
659 * rs6000/rs6000.h (VALID_MACHINE_DECL_ATTRIBUTE,
660 VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
661 * sh/sh-protos.h (sh_valid_machine_decl_attribute): Remove.
662 * sh/sh.c (sh_valid_machine_decl_attribute): Rename, make static.
663 * sh/sh.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
664 * v850/v850-protos.h (v850_valid_machine_decl_attribute): Remove.
665 * v850/v850.c (v850_valid_machine_decl_attribute): Rename, make static.
666 * v850/v850.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
668 2001-06-26 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
670 * glimits.h (USHRT_MAX): Use unsigned suffix if int can not hold
673 2001-06-26 Gabriel Dos Reis <gdr@codesourcery.com>
675 * diagnostic.h (struct diagnostic_context): Add new field.
676 (lang_diagnostic_starter, lang_diagnostic_finalizer): Remove
678 (global_dc): Declare.
679 * diagnostic.c (global_diagnostic_context): New variable.
680 (global_output_buffer): Remove.
682 (lang_diagnostic_starter, lang_diagnostic_finalizer): Remove
684 (initialize_diagnostics): Adjust initialization.
685 (set_diagnostic_context): Adjust setting.
687 2001-06-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
689 * config/mips/iris5.h (UNALIGNED_INT_ASM_OP,
690 UNALIGNED_SHORT_ASM_OP): Define.
691 * config/mips/iris6.h (UNALIGNED_INT_ASM_OP,
692 UNALIGNED_SHORT_ASM_OP): Undef.
694 Tue Jun 26 12:40:12 CEST 2001 Jan Hubicka <jh@suse.cz>
696 * i386.md (float_truncate splitter, and to mov splitters): Add
697 reload_completed; fix operand predicate.
699 * haifa-sched.c (sched_init): Do not split insns.
700 * toplev.c (rest_of_compilation): Call split_all_insns before
701 sched1 pass; simplify condition of post-reload splitter;
702 call split_all_insn before sched2 pass.
704 2001-06-26 Gabriel Dos Reis <gdr@codesourcery.com>
706 * diagnostic.h (diagnostic_prefixing_rule_t): New enum type.
707 (set_message_prefixing_rule): Adjust prototype.
708 * diagnostic.c (current_prefixing_rule): Adjust type.
710 2001-06-26 Neil Booth <neil@daikokuya.demon.co.uk>
712 * defaults.h: Default escape sequences to ASCII.
713 * config/i370/i370.h: Adjust for ASCII default.
714 * config/1750a/1750a.h: Remove escape sequence definitions.
715 * config/a29k/a29k.h: Similarly.
716 * config/alpha/alpha.h: Similarly.
717 * config/arc/arc.h: Similarly.
718 * config/arm/arm.h: Similarly.
719 * config/avr/avr.h: Similarly.
720 * config/c4x/c4x.h: Similarly.
721 * config/clipper/clipper.h: Similarly.
722 * config/convex/convex.h: Similarly.
723 * config/d30v/d30v.h: Similarly.
724 * config/dsp16xx/dsp16xx.h: Similarly.
725 * config/elxsi/elxsi.h: Similarly.
726 * config/fr30/fr30.h: Similarly.
727 * config/h8300/h8300.h: Similarly.
728 * config/i386/i386.h: Similarly.
729 * config/i860/i860.h: Similarly.
730 * config/i960/i960.h: Similarly.
731 * config/ia64/ia64.h: Similarly.
732 * config/m32r/m32r.h: Similarly.
733 * config/m68hc11/m68hc11.h: Similarly.
734 * config/m68k/m68k.h: Similarly.
735 * config/m88k/m88k.h: Similarly.
736 * config/mcore/mcore.h: Similarly.
737 * config/mips/mips.h: Similarly.
738 * config/mn10200/mn10200.h: Similarly.
739 * config/mn10300/mn10300.h: Similarly.
740 * config/ns32k/ns32k.h: Similarly.
741 * config/pa/pa.h: Similarly.
742 * config/pdp11/pdp11.h: Similarly.
743 * config/pj/pj.h: Similarly.
744 * config/romp/romp.h: Similarly.
745 * config/rs6000/rs6000.h: Similarly.
746 * config/sh/sh.h: Similarly.
747 * config/sparc/sparc.h: Similarly.
748 * config/v850/v850.h: Similarly.
749 * config/vax/vax.h: Similarly.
750 * config/we32k/we32k.h: Similarly.
751 * doc/tm.texi: Update documentation.
753 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
755 * diagnostic.c (digit_buffer): Remove as global. Move to...
756 * diagnostic.h (struct output_buffer): ... here.
757 * diagnostic.c (output_formatted_integer): Adjust use of digit_buffer.
759 2001-06-25 Steve Ellcey <sje@cup.hp.com>
761 * config.gcc (ia64*-*-hpux*): Add ia64/hpux_longdouble.h to tm_file.
762 Define tmake_file to include ia64/t-hpux.
763 * real.c (INTEL_EXTENDED_IEEE_FORMAT): Test for value instead of
764 testing to see if it is defined.
765 * real.h (INTEL_EXTENDED_IEEE_FORMAT): Likewise. Default to 0 if
767 * config/ia64/hpux_longdouble.h: New.
768 * config/ia64/ia64.c (hfa_element_mode): Add comment about incorrect
769 handling of long doubles.
770 (ia64_function_arg, ia64_function_value): Add checks for TFmode
771 and INTEL_EXTENDED_IEEE_FORMAT.
772 * config/ia64/ia64.h (INTEL_EXTENDED_IEEE_FORMAT): Define to one.
773 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK, LIBCALL_VALUE): Add checks for
774 TFmode and INTEL_EXTENDED_IEEE_FORMAT.
775 * config/ia64/ia64.md (all TFmode patterns): Test
776 INTEL_EXTENDED_IEEE_FORMAT in condition.
777 (floatdidf2, floatdisf2): New, for !INTEL_EXTENDED_IEEE_FORMAT.
778 * config/ia64/quadlib.c: New.
779 * config/ia64/t-hpux: New.
780 * config/i386/i386.h (INTEL_EXTENDED_IEEE_FORMAT): Define to one.
782 2001-06-25 Jim Wilson <wilson@redhat.com>
784 * config/i960/t-960bare (i960-c.o): Add missing header dependencies.
785 * config/i960/t-vxworks960: Likewise.
787 2001-06-25 Dale Johannesen <dalej@apple.com>
789 * bitmap.c (bitmap_last_bit_set): Fix a non-c89 usage (null actual
793 Mon Jun 25 11:10:51 CEST 2001 Jan Hubicka <jh@suse.cz>
795 * i386.md (movsi_insv_1, movsi_insv_1_rex64): Fix constraints.
797 2001-06-25 Joseph S. Myers <jsm28@cam.ac.uk>
799 * doc/c-tree.texi, doc/contrib.texi, doc/extend.texi,
800 doc/gcc.texi, doc/gcov.texi, doc/install.texi, doc/invoke.texi,
801 doc/md.texi, doc/rtl.texi, doc/tm.texi: Be more consistent about
802 the use of "GCC" and related terms.
803 * doc/gcc.1, doc/gcov.1: Regenerate.
805 2001-06-24 Joseph S. Myers <jsm28@cam.ac.uk>
807 * doc/extend.texi, doc/gcc.texi, doc/install-old.texi,
808 doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Remove
811 Sun Jun 24 21:21:49 CEST 2001 Jan Hubicka <jh@suse.cz>
813 * (movsi_insv_1, movsi_insv_1_rex64): Allow immediate operand.
815 2001-06-24 Richard Henderson <rth@redhat.com>
817 * builtins.c (expand_builtin_expect_jump): Disable if the
818 expression can't be re-evaluated.
820 2001-06-24 Nick Clifton <nickc@cambridge.redhat.com>
822 * config/arm/arm.c (arm_compute_save_reg_mask): For FIQ interrupt
823 handlers examine register r0-r7, for other interrupt handlers
824 examine r0-r12. If the interrupt handler is not a leaf function
825 save all call clobbered registers.
826 (arm_output_epilogue): If the prologue has pushed the IP register,
828 (Arm_expand_prologue): For interrupt functions that need the frame
829 pointer, push the IP register before it is corrupted.
831 * config/arm/arm.h (ARM_SIGN_EXTEND): Fix compile time warnings
832 about the use of signed and unsigned quantities in a conditional.
834 2001-06-23 Richard Henderson <rth@redhat.com>
836 * config/alpha/crtfastmath.c: New file.
837 * config/alpha/t-crtfm: New file.
838 * config/alpha/elf.h (ENDFILE_SPEC): Use crtfastmath.o.
839 * config/alpha/osf.h (ENDFILE_SPEC): Likewise.
840 * config/alpha/t-crtbe (EXTRA_PARTS): Add pieces defined here.
841 * config.gcc (alpha-{linux,freebsd,netbsd,osf}): Use alpha/t-crtfm;
842 do not set extra_parts here.
844 2001-06-24 Joseph S. Myers <jsm28@cam.ac.uk>
846 * doc/install-old.texi: Remove more documentation of configure
848 * doc/install.texi: Add it here.
850 Sat Jun 23 19:40:05 CEST 2001 Jan Hubicka <jh@suse.cz>
852 * i386-protos.h (emit_i387_cw_initialization): Declare.
853 * i386.md (movsi_insv_1): Remove '*'.
854 (fix_trunc?f?i2): Revamp to use control word parameters.
855 (fix_trunc?i_1): Likewise; update splitters.
856 (fix splitter): Remove.
857 * i386.c (MAX_386_STACK_LOCALS): set to 3.
858 (emit_i387_cw_initialization): New function.
859 (output_fix_trunc): Do not initialize control word;
860 kill dead code; simplify.
864 2001-07-16 Richard Henderson <rth@redhat.com>
867 * config/m68k/m68k.c: Include expr.h and reload.h.
868 (print_operand_address) [16 bit int]: Cast INTVAL to int for %d.
869 [general int]: Use HOST_WIDE_INT_PRINT_DEC.
871 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
872 Richard Henderson <rth@redhat.com>
874 * cse.c (set_live_p): Take INSN argument for cc0; update callers.
875 (insn_live_p): Fix fall off end of function.
876 (dead_libcall_p): Remove COUNTS argument; update callers.
877 (delete_trivially_dead_insns): Remove unused variables.
879 2001-07-17 Andreas Jaeger <aj@suse.de>
881 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
884 * lcm.c (optimize_mode_switching): Avoid warning for unused
885 variable if !NORMAL_MODE.
887 * flow.c (try_crossjump_to_edge): Remove unused variable.
889 2001-07-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
891 * inclhack.def (ultrix_atexit_param): New hack to fix ultrix 4.3
892 atexit declaration in stdlib.h.
894 2001-07-16 Richard Begg <Richard.Begg@colesmyer.com.au>
896 * fixinc/inclhack.def(hpux_vsnprintf): brokenness in stdio.h
898 Mon Jul 16 22:48:00 CEST 2001 Jan Hubicka <jh@suse.cz>
900 * basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
901 * except.c (finish_eh_generation): Update call of cleanup_cfg;
902 do rebuild_jump_labels instead of jump_optimize
903 * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
904 * toplev.c (rest_of_compulation): Likewise for -Wreturn_type.
905 * flow.c (try_optimize_cfg): Remove unneeded code_labels.
907 * flow.c: Include timevar.h
908 (find_basic_block): Push/pop timevar;
909 (cleanup_cfg): Likewise.
910 * timevar.def (TV_CFG, TV_CLEANUP_CFG): New.
911 * Makefile: Add dependencies on timevar.h
913 * integrate.c (save_for_inline): Kill all BASIC_BLOCK notes.
914 (copy_insn_list): Avoid killing of BASIC_BLOCK notes.
916 * rtl.h (delete_trivially_dead_insns): Add new parameter.
917 * toplev.c (rest_of_compilation): Update calls.
918 * cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ...
919 (delete_trivially_dead_insns): ... here; accept new argument
920 preserve_basic_blocks; preserve basic blocks if set.
922 * reg-stack.c (stack_regs_mentioned): Return 0 if
923 stack_regs_mentioned_data is not initialized.
924 (reg_to_stack): Make stack_regs_mentioned survive after the
925 reg-stack is completted; do not call cleanup_cfg.
926 * toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder;
927 make cleanup_cfg after bb-reorder to output to debug file.
929 2001-07-16 Richard Henderson <rth@redhat.com>
932 * regclass.c (init_reg_sets): Use only 32 bits per initializer
933 from int_reg_class_contents.
935 2001-07-16 Richard Henderson <rth@redhat.com>
937 * hard-reg-set.h (regs_invalidated_by_call): Declare.
938 * regclass.c (regs_invalidated_by_call): Move from cse.c.
939 (init_reg_sets_1): Move initialization from cse_main.
940 * cse.c (regs_invalidated_by_call): Move to regclass.c.
941 (cse_main): Move its initialization also.
942 * df.c (df_insn_refs_record): Use regs_invalidated_by_call.
943 * flow.c (propagate_one_insn): Likewise.
944 * gcse.c (compute_hash_table): Likewise.
945 (compute_kill_rd, compute_store_table): Likewise.
946 * sched-deps.c (sched_analyze_1): Likewise.
948 Mon Jul 16 18:07:07 2001 J"orn Rennecke <amylaar@redhat.com>
950 * gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of
953 2001-07-16 Steve Ellcey <sje@cup.hp.com>
955 * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests
956 in if statement so we don't access undefined memory.
958 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
960 * gcse.c: Update comment at top.
961 Update comment on mem handling.
962 mem_last_set, mem_first_set, mem_set_in_block: gone.
963 Declaration of reg_set_info: gone.
964 (oprs_unchanged_p): Don't use mem_*set_* anymore. They are
965 pointless with load_killed_in_block_p (they are *more*
966 conservative then it, not less, and less accurate).
967 (oprs_not_set_p): Ditto.
968 (alloc_gcse_mem): Don't allocate mem_set_in_block
969 (free_gcse_mem): Don't free it, either.
970 (record_last_mem_set_info): Update comment in front, remove
971 mem_*set_* stuff. Note the reason we don't handle stores directly
973 (compute_hash_table): Update comments to reflect reality. Remove
974 mem_*set_* references.
975 (reset_opr_set_tables): Remove mem_*set_* references.
977 (mark_set): Ditto. Also remove double sets of bitmaps for REG's.
978 (mark_clobber): Ditto (on both parts, we double set here too).
979 (expr_killed_p): Remove mem_set_in_block test.
980 (compute_transp): Remove mem_set_in_block test.
982 * ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal
983 of edge, and removal of phi alternative to dump file.
984 (ssa_ccp_substitute_constants): Add note about register now being
985 constant, and which uses were replaced in what insns to dump file.
987 2001-07-16 Andreas Jaeger <aj@suse.de>
989 * gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output
990 variables of type HOST_WIDEST_INT.
992 * libgcc2.c (__bb_exit_func): Handle gcov_type as long long.
993 (__bb_exit_func): Correct type of count_max to avoid overflow.
994 (num_digits): Handle long long argument.
996 * combine.c (gen_lowpart_for_combine): Remove unused variable.
998 2001-07-16 Neil Booth <neil@cat.daikokuya.demon.co.uk>
1000 * output.h (sdb_begin_function_line): Restore as an extern
1002 * sdbout.c (sdb_begin_function_line): Make extern.
1004 2001-07-15 Richard Henderson <rth@redhat.com>
1006 * machmode.def (Pmode): Redefine if GENERATOR_FILE.
1007 * genrecog.c (maybe_both_true_mode): New.
1008 (maybe_both_true_2): Use it.
1009 (write_switch): Don't put Pmode in a switch.
1010 * rtl.c (mode arrays): Don't explicitly size them.
1012 Sun Jul 15 14:07:36 CEST 2001 Jan Hubicka <jh@suse.cz>
1014 * toplev.c (rest_of_compilation): Fix register_life_up_to_date
1015 handling; move unconditional splitting before mode switching.
1017 * i386.md (type): Add fistp type.
1018 (i387, length_attr, scheduling definitions): Handle this type.
1019 (fix_trunc?f?i2): Revamp to use mode switching.
1020 (fix_trunct?f?i_nonmemory, fix_trunc?f?i_memory): New patterns.
1021 * i386.h (fp_cw_mode): New enum
1022 (OPTIMIZE_MODE_SWITCHING, NUM_MODES_FOR_MODE_SWITCHING, MODE_NEEDED,
1023 MODE_PRIORITY_TO_MODE, ENUM_MODE_SET): New macros.
1025 Sun Jul 15 12:53:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1027 * Makefile.in (integrate.o): Add debug.h.
1028 * integrate.c (debug.h): Add.
1029 (output_inline_function): Save, reset, and restore debug_hooks.
1031 2001-07-15 Richard Henderson <rth@redhat.com>
1033 * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
1034 instead of COMPARE for the EQUIV expression.
1036 2001-07-15 Richard Henderson <rth@redhat.com>
1038 * flow.c (redirect_edge_and_branch_force): Initialize
1039 global_live_at_start and global_live_at_end.
1040 (allocate_bb_life_data): Export.
1041 * basic-block.h (allocate_bb_life_data): Declare.
1042 * toplev.c (rest_of_compilation): Call it.
1044 2001-07-15 Richard Henderson <rth@redhat.com>
1046 * config/alpha/alpha.c (alpha_tablejump_addr_vec): New.
1047 (alpha_tablejump_best_label): New.
1048 * config/alpha/alpha-protos.h: Declare them.
1049 * config/alpha/alpha.md: Use braced strings for code blocks.
1050 (tablejump_osf): Break out add with r29.
1051 (tablejump_osf_internal): Remove.
1052 (tablejump_osf_nt_internal): Rename from tablejump_nt_internal,
1053 use alpha_tablejump_addr_vec and alpha_tablejump_best_label.
1055 Sun Jul 15 00:53:35 CEST 2001 Jan Hubicka <jh@suse.cz>
1057 * loop.c (scan_loop): Add USEs inside PARALLELs into dependencies
1060 * toplev.c (rest_of_compilation): Allow new pseudoes for mode switching.
1062 * i386-protos.h (ix86_split_fp_branch): Update prototype.
1063 (ix86_fp_jump_nontrivial_p): New.
1064 * i386.md (fp_jcc_?): Update call of split_fp_branch;
1065 use ix86_fp_jump_nontrivial_p.
1066 * i386.c (ix86_fp_jump_nontrivial_p): New.
1067 (ix86_split_fp_branch): Accept code instead of rtx.
1068 (ix86_expand_compare): Expand comparison early in case
1069 doing so is resonably cheap.
1071 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
1073 * config/rs6000/sysv4.h (CPP_ENDIAN_BIG_SPEC): Assert 'endian'
1075 (CPP_ENDIAN_LITTLE_SPEC): Assert 'endian' not 'machine'.
1076 (CPP_ENDIAN_SOLARIS_SPEC): Assert 'endian' not 'machine'.
1078 2001-07-15 Neil Booth <neil@daikokuya.demon.co.uk>
1080 * dbxout.c (dbxout_source_line): Make static, update prototype.
1081 (dbx_debug_hooks, xcoff_debug_hooks): Add new hooks.
1082 (dbxout_init, dbxout_finish, dbxout_source_line,
1083 dbxout_begin_block, dbxout_end_block): Update for new prototypes.
1084 * dbxout.h (dbxout_source_line): Delete.
1085 * debug.c (debug_nothing_file, debug_nothing_file_int,
1086 debug_nothing_file_charstar_rtx): New.
1087 (do_nothing_debug_hooks): Update.
1088 (debug_nothing_void, debug_nothing_charstar_rtx,
1089 dwarf2out_end_epilogue): New.
1090 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
1091 * debug.h (struct rtx_def): Declare.
1092 (gcc_debug_hooks): New hooks source_line, end_epilogue
1094 (debug_nothing_void, debug_nothing_charstar_rtx,
1095 dwarf2out_end_epilogue): New.
1096 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
1097 * dwarf2out.c (dwarf2out_source_line): Make static, update prototype.
1098 (dwarf2_debug_hooks): Update.
1099 (dwarf2out_init, dwarf2out_finish, dwarf2out_source_line,
1100 dwarf2out_begin_block, dwarf2out_end_block): Update for new prototypes.
1101 * dwarf2out.h (dwarf2out_source_line): Remove.
1102 * dwarfout.c (dwarfout_end_epilogue, dwarfout_end_function):
1103 Make static, update prototype.
1104 (dwarfout_init, dwarfout_finish, dwarfout_source_line,
1105 dwarfout_begin_block, dwarfout_end_block): Update for new prototypes.
1106 (dwarf_debug_hooks): Update.
1107 * dwarfout.h (dwarfout_end_epilogue, dwarfout_source_line,
1108 dwarfout_end_function): Remove.
1109 * final.c (profile_function): Use debug hooks for ending functions
1111 (output_source_line, final_end_function): Update prototype,
1113 (final_start_function, final_scan_insn): Update.
1114 * output.h (sdb_begin_function_line): Remove.
1115 (final_end_function): Update prototype.
1116 * sdbout.c (sdb_begin_function_line): Make static.
1117 (PUT_SDB_EPILOGUE_END): Move to sdbout_end_epilogue.
1118 (sdbout_source_line): New.
1119 (sdbout_end_epilogue, sdbout_end_function): Make static, update
1121 (sdb_debug_hooks): Update.
1122 (sdbout_init, sdbout_source_line,
1123 sdbout_begin_block, sdbout_end_block): Update for new prototypes.
1124 * sdbout.h (sdbout_end_epilogue, sdbout_end_function): Remove.
1125 * toplev.c (compile_file, rest_of_compilation): Update.
1126 * tree.h (dwarf2out_end_epilogue): Move to debug.h.
1127 * xcoffout.c (xcoffout_source_line, xcoffout_begin_block,
1128 xcoffout_end_block, xcoffout_end_epilogue, xcoffout_end_function):
1129 Update for prototype changes.
1130 * xcoffout.h (xcoffout_source_line, xcoffout_begin_block,
1131 xcoffout_end_block, xcoffout_end_epilogue): Update prototypes.
1133 2001-07-15 Richard Henderson <rth@redhat.com>
1135 * config/alpha/alpha.h (TARGET_ABI_OSF): New.
1136 (TARGET_ABI_WINDOWS_NT, TARGET_ABI_OPEN_VMS): Rename; update users.
1137 * config/alpha/alpha-protos.h: Update TARGET_ABI_* users.
1138 * config/alpha/alpha.c: Likewise.
1139 * config/alpha/alpha.md: Likewise.
1140 * config/alpha/alpha32.h: Likewise.
1141 * config/alpha/vms.h: Likewise.
1144 2001-07-14 Richard Henderson <rth@redhat.com>
1146 * config/alpha/alpha.md: Use define_constants for unspec values.
1147 Substitute throughout.
1149 2001-07-14 Tim Josling <tej@melbpc.org.au>
1151 * tree.def (EXPON_EXPR) remove. Never supported anyway.
1153 2001-07-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
1155 * pa.md: Remove unused constraints from define_split's.
1157 2001-04-14 Richard Henderson <rth@redhat.com>
1159 * ifcvt.c (find_cond_trap): Test for exit block.
1161 Sun Jul 15 00:50:20 CEST 2001 Jan Hubicka <jh@suse.cz>
1163 Re-install recently reverted patch.
1164 * emit-rtl.c (try_split): Update mark_jump_label call.
1165 * flow.c (find_sub_basic_blocks): Likewise.
1166 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
1168 (mark_all_labels): Kill second parameter.
1169 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
1170 (rebuild_jump_labels, jump_optimize_minimal): Update call
1172 (jump_optimize_1): Kill crossjumping code.
1173 (mark_jump_label): Kill cross_jump parameter.
1174 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
1175 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
1176 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
1178 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
1180 (dump_file_info): Likewise.
1181 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
1182 reorganize passes to do reg-stack first, bb-reorder second.
1183 * invoke.texi (-d letters doc): Remove the jump2 pass.
1185 2001-07-14 Richard Henderson <rth@redhat.com>
1187 * ifcvt.c (find_cond_trap): New.
1188 (find_if_header): Call it.
1189 (merge_if_block): Relax existing jump sanity check.
1190 * jump.c (jump_optimize_1): Remove conditional trap handling.
1192 2001-07-14 Alan Modra <amodra@bigpond.net.au>
1194 * config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit
1196 (insn_refs_are_delayed): Correct comment.
1197 * config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise.
1198 * config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2
1199 instead of r31. Make associated insn !TARGET_64BIT, and
1200 provide an additional 64-bit insn that clobbers r2.
1202 (udivsi3): Likewise.
1204 (umodsi3): Likewise.
1206 Sat Jul 14 02:58:38 CEST 2001 Jan Hubicka <jh@suse.cz>
1208 * bb-reorder.c (skip_insn_after_block): Get past the line number notes.
1210 * flow.c (redirect_edge_and_branch_force, split_edge,
1211 try_crossjump_to_edge): Use set_block_for_new_insns.
1212 * bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns.
1214 2001-07-13 H.J. Lu (hjl@gnu.org)
1216 * config/elfos.h (UNIQUE_SECTION): Enable .bss section with
1219 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
1221 Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.
1223 2001-07-13 Joseph S. Myers <jsm28@cam.ac.uk>
1225 * c-common.c (decl_attributes): Take a pointer to the node to
1226 which attributes are to be attached, and a flags argument.
1227 * c-common.h (enum attribute_flags): New.
1228 (decl_attributes): Update prototype.
1229 * c-decl.c (start_decl, push_parm_decl, finish_struct,
1230 finish_enum, start_function): Update calls to decl_attributes.
1231 * c-parse.in (component_declarator, component_notype_declarator,
1232 label): Update calls to decl_attributes.
1234 Fri Jul 13 23:04:00 2001 Denis Chertykov <denisc@overta.ru>
1236 * config/avr/avr.md (strlenhi): PARALLEL keyword removed.
1237 * config/avr/avr.c (legitimate_address_p): Return value changed
1238 from letter to register classes. For better debugging.
1240 2001-07-13 Kazu Hirata <kazu@hxi.com>
1242 * jump.c (reversed_comparison_code_parts): Fix comment typos.
1244 2001-07-13 H.J. Lu (hjl@gnu.org)
1246 * config/elfos.h (UNIQUE_SECTION): Enable .bss section.
1248 2001-07-13 Marc Espie <espie@cvs.openbsd.org>
1250 * config.gcc (*-*-openbsd*): Add fragment to compile libgcc
1251 correctly for shared configurations.
1252 * config/t-libgcc-pic: New.
1253 * config/{i386,m68k,sparc}/t-openbsd: New.
1254 * config/openbsd.h: Include cpu_spec in cpp_spec where needed.
1255 Support -shared. Support debugging libraries with -g.
1256 * config/i386/openbsd.h: Correct ASM_COMMENT_START. Ensure dwarf2
1257 frame information does not emit pointer diffs.
1258 * config/sparc/openbsd.h: Ensure dwarf2 frame information does not
1261 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
1263 Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001.
1265 2001-07-13 David Edelsohn <edelsohn@gnu.org>
1267 * combine.c (try_combine): Ensure const_int pow2 is positive.
1269 2001-07-13 Hartmut Penner <hpenner@de.ibm.com>
1271 * config.gcc: Add configuration for s/390.
1272 * config/s390/s390.c: New. Subroutines for code generation.
1273 * config/s390/s390.h: New. Definitions for s/390.
1274 * config/s390/s390-protos.h: New. Prototypes.
1275 * config/s390/linux.h: New. Definitions for linux for s/390.
1276 * config/s390/linux64.h: New. Definitions for linux for zSeries.
1277 * config/s390/t-linux: New. Makefile fragment.
1278 * config/s390/s390.md: New. Machine description for s/390 and zSeries.
1279 * config/s390/fixdfdi.h: New. Fix L_fix*di.
1281 Fri Jul 13 14:46:21 CEST 2001 Jan Hubicka <jh@suse.cz>
1283 * emit-rtl.c (try_split): Update mark_jump_label call.
1284 * flow.c (find_sub_basic_blocks): Likewise.
1285 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
1287 (mark_all_labels): Kill second parameter.
1288 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
1289 (rebuild_jump_labels, jump_optimize_minimal): Update call
1291 (jump_optimize_1): Kill crossjumping code.
1292 (mark_jump_label): Kill cross_jump parameter.
1293 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
1294 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
1295 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
1297 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
1299 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
1300 reorganize passes to do reg-stack first, bb-reorder second.
1301 * invoke.texi (-d letters doc): Remove the jump2 pass.
1303 2001-07-12 Steve Ellcey <sje@cup.hp.com>
1305 * toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef.
1307 Thu Jul 12 17:57:16 CEST 2001 Jan Hubicka <jh@suse.cz>
1309 * flow.c (try_optimize_cfg): Delete whole chain of trivially dead
1311 (verify_flow_info): Make diagnostics prettier.
1313 Thu Jul 12 16:48:54 CEST 2001 Jan Hubicka <jh@suse.cz>
1315 * flow.c (find_basic_blocks_1): Do not emit NOP after call.
1317 * flow.c (outgoing_edges_match): Return early if condition reversal
1320 2001-07-06 Richard Sandiford <rsandifo@redhat.com>
1322 * config/mips/mips.c (print_operand): Extend '%D' to memory operands.
1323 (mips_move_2words): When splitting a move into two instructions,
1324 prefix the second address operand with '%D'.
1326 2001-07-12 Neil Booth <neil@daikokuya.demon.co.uk>
1328 * Makefile.in (final.o): Depend on debug.h.
1329 * dbxout.c (dbxout_begin_block, dbxout_end_block): New.
1330 (dbx_debug_hooks): Add new hooks.
1331 (xcoff_debug_hooks): New.
1332 * debug.c (debug_nothing_file_int_int): New.
1333 (do_nothing_debug_hooks): Update.
1334 * debug.h (gcc_debug_hooks): New hooks begin_block and end_block.
1335 (debug_nothing_file_int_int): New.
1336 * dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make
1337 static, update prototype.
1338 (dwarf2_debug_hooks): Update.
1339 * dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove.
1340 * dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make
1341 static, update prototype.
1342 (dwarf_debug_hooks): Update.
1343 * dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove.
1344 * final.c: Include debug.h.
1345 (final_scan_insn): Use debug hooks when beginning and ending blocks.
1346 * sdbout.c (sdbout_begin_block, sdbout_end_block): Make
1347 static, update prototype.
1348 (sdb_debug_hooks): Update.
1349 * sdbout.h (sdbout_begin_block, sdbout_end_block): Remove.
1350 * toplev.c: Distinguish between xcoff and dbx.
1352 * f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_):
1353 Call all debug hooks, not just dwarf ones.
1355 2001-07-11 Timothy Wall <twall@redhat.com>
1357 * config.gcc: Add configuration for AIX5/IA64.
1358 * config/ia64/aix.h: New. AIX5/IA64-specific configuration.
1359 * config/ia64/crt[in].asm: New. Generic static ctor/dtor
1360 support prefix/suffix code.
1361 * config/ia64/t-aix: New. Makefile fragment.
1362 * config/ia64/unwind-aix.c: New. Unwind table entry lookup.
1364 2001-07-11 Kazu Hirata <kazu@hxi.com>
1366 * recog.c (validate_change): Fix a comment typo.
1368 2001-07-11 Neil Booth <neil@daikokuya.demon.co.uk>
1370 * Makefile.in (c-lex.o): Wrap long lines. Depend on debug.h.
1371 * c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
1373 * dbxout.c (dbx_debug_hooks): Add new hooks.
1374 (dbxout_start_new_source_file): Rename dbxout_start_source_file,
1376 (dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
1378 * dbxout.h (dbxout_start_new_source_file,
1379 dbxout_resume_previous_source_file): Delete.
1380 * debug.c (do_nothing_debug_hooks): Add new hooks.
1381 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
1382 (debug_nothing_int_charstar, debug_nothing_int): New.
1383 * debug.h (gcc_debug_hooks): New hooks define, undef,
1384 start_source_file and end_source_file.
1385 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
1386 (debug_nothing_int_charstar, debug_nothing_int): New.
1387 * dwarf2out.c (dwarf2_debug_hooks): Add new hooks. Move into
1388 the conditionally compiled section.
1389 (dwarf2out_start_source_file, dwarf2out_end_source_file,
1390 dwarf2out_define, dwarf2out_undef): Make static.
1391 * dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
1392 dwarf2out_define, dwarf2out_undef): Remove.
1393 * dwarfout.c (dwarf_debug_hooks): Add new hooks.
1394 (dwarfout_start_source_file, dwarfout_end_source_file,
1395 dwarfout_define, dwarfout_undef): Make static.
1396 (dwarfout_start_source_file_check,
1397 dwarfout_end_source_file_check): New.
1398 (dwarfout_define, dwarfout_finish): Update.
1399 * dwarfout.h (dwarfout_start_new_source_file,
1400 dwarfout_resume_previous_source_file, dwarfout_define,
1401 dwarfout_undef): Remove.
1402 * sdbout.c (sdb_debug_hooks): Add new hooks.
1403 (sdbout_start_new_source_file): Rename sdbout_start_source_file,
1405 (sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
1406 make static, take an arg.
1407 * sdbout.h (sdbout_start_new_source_file,
1408 sdbout_resume_previous_source_file): Delete.
1409 * toplev.c (debug_start_source_file, debug_end_source_file,
1410 debug_define, debug_undef): Delete.
1411 * toplev.h (debug_start_source_file, debug_end_source_file,
1412 debug_define, debug_undef): Delete.
1414 * java/jcf-parse.c: Include debug.h.
1415 (parse_class_file): Update to use debug hooks directly.
1416 * java/Make-lang.in (jcf-parse.o): Depend on debug.h.
1418 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1420 * alias.c (set_mem_alias_set): New function.
1421 * rtl.h (set_mem_alias_set): Declare it.
1422 * builtins.c (expand_builtin_return_addr): Call it instead of
1423 using MEM_ALIAS_SET accessor.
1424 (expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise.
1425 (get_memory_rtx, expand_builtin_va_arg): Likewise.
1426 (expand_builtin_va_copy):Likewise.
1427 * caller-save.c (setup_save_areas): Likewise.
1428 * calls.c (compute_argument_addresses): Likewise.
1429 * explow.c (set_mem_attributes): Likewise.
1430 * expr.c (emit_single_push_insn, emit_push_insn): Likewise.
1431 (expand_assignment, store_constructor_field, store_field): Likewise.
1432 (expand_expr_unaligned): Likewise.
1433 * function.c (assign_stack_temp_for_type): Likewise.
1434 (put_reg_into_stack, gen_mem_addressof): Likewise.
1435 * ifcvt.c (noce_try_cmove_arith): Likewise.
1436 * reload1.c (reload, alter_reg): Likewise.
1437 * config/alpha/alpha.c (get_aligned_mem): Likewise.
1438 (alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise.
1439 (alpha_expand_unaligned_store): Likewise
1440 (alpha_expand_unaligned_load_words): Likewise.
1441 (alpha_expand_unaligned_store_words): Likewise.
1442 (alpha_expand_block_clear, alpha_expand_prologue): Likewise.
1443 (alpha_expand_epilogue): Likewise.
1444 * config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
1445 * config/clipper/clipper.c (clipper_builtin_saveregs): Likewise.
1446 * config/i386/i386.c (legitimize_pic_address): Likewise.
1447 * config/i960/i960.c (setup_incoming_varargs): Likewise.
1448 * config/ia64/ia64.c (spill_restore_mem): Likewise.
1449 * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
1450 * config/m8k/m88k.c (m88k_builtin_saveregs): Likewise.
1451 * config/mips/mips.c (mips_va_arg): Likewise.
1452 * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
1453 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
1454 * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
1455 (setup_incoming_varargs, rs6000_va_arg): Likewise.
1456 (rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise.
1457 (rs6000_emit_epilogue): Likewise.
1458 * config/sh/sh.c (sh_builtin_saveregs): Likewise.
1459 * config/sparc/sparc.c (sparc_va_arg): Likewise.
1460 * config/v850/v850.c (v850_va_arg): Likewise.
1462 Wed Jul 11 21:27:25 CEST 2001 Jan Hubicka <jh@suse.cz>
1464 * flow.c (merge_blocks_move_successor_nojumps): Do not crash
1465 when fallthru edge is present.
1466 (mege_blocks): Handle case where creation of jump insn
1469 * basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP,
1470 CLEANUP_POST_REGSTACK): New constants.
1471 * except.c (finish_eh_generation): Update call of cleanup_cfg,
1472 * jump.c (rtx_renumbered_equal_p): Handle 't' fields.
1473 * output.h (cleanup_cfg): Update prototype.
1474 * reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize
1475 * sibcall.c (optimize_sibling_and_tail_recursive_call): Update
1476 cleanup_cfg call; kill missleading comment.
1477 * toplev.c (rest_of_compilation): Update all cleanup_cfg calls.
1478 * flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode
1479 parameter; control optimizations performed using it.
1480 (flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
1481 try_crossjump_bb): New functions.
1483 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1485 * pa.c (pa_output_function_prologue): Delete prototype. Make function
1487 * pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
1488 pa_output_function_prologue.
1489 * pa-protos.h (pa_output_function_prologue): New prototype.
1491 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1493 * stmt.c (emit_case_nodes): Widen high and low instead of new_bound
1494 and low to get correct sign extension in low+high test.
1496 2001-07-11 Janis Johnson <janis@us.ibm.com>
1498 * gcov.c (arcdata): Use gcov_type to fix branch percentage
1499 for large hit count.
1501 * profile.c (branch_prob): Fix .bbg info for computed gotos
1504 2001-07-11 Mark Mitchell <mark@codesourcery.com>
1506 * stmt.c (parse_output_constraint): New function, split out
1508 (expand_asm_operands): ... here. Use parse_output_constraint.
1509 * tree.h (parse_output_constraint): Declare it.
1511 2001-07-11 Richard Henderson <rth@redhat.com>
1513 * bitmap.c: Comment some functions; fiddle whitespace.
1514 (bitmap_free): Don't export.
1515 (bitmap_element_allocate): Use memset.
1516 * bitmap.h (bitmap_free): Don't declare.
1518 2001-07-11 Daniel Berlin <dan@cgsoftware.com>
1520 * gcse.c, lcm.c, sched-deps.c:
1521 s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
1523 * flow.c (flow_loops_find): Free dom if we found no loops, since
1524 we aren't going to save it.
1526 * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are
1529 Wed Jul 11 09:00:48 2001 Jeffrey A Law (law@cygnus.com)
1531 * ssa-ccp.c (ssa_fast_dce): Free worklist when completed.
1533 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1535 * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
1536 #ifndef DWARF2_DEBUGGING_INFO.
1538 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
1540 * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
1542 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
1544 * config/mips/mips.c (gen_int_relational): Tell the caller not to
1545 reverse a branch if a NE comparison is implemented with GTU.
1547 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
1548 H.J. Lu <hjl@gnu.org>
1550 * mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for
1552 (call_internal2): Likewise.
1553 (call_value_internal1): Likewise.
1554 (call_value_internal2): Likewise.
1555 (call_value_multiple_internal1): Likewise.
1556 (call_value_multiple_internal2): Likewise.
1558 2001-07-10 Kazu Hirata <kazu@hxi.com>
1560 * calls.c (emit_library_call_value_1): Fix a comment typo.
1561 * dwarf2out.c (mem_loc_descriptor): Likewise.
1562 * config/i386/i386.c (ix86_expand_aligntest): Likewise.
1564 2001-07-11 David Billinghurst <David.Billinghurst@riotinto.com>
1566 * simplify-rtx.c (simplify_subreg): Fix typo in comment
1568 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1570 * recog.c (offsettable_address_p): Handle LO_SUM case.
1571 * config/mips/mips.c (double_memory_operand): Use adjust_address_nv
1572 instead of plus_constant.
1574 2001-07-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1576 * reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
1577 fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.
1579 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1581 * config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
1582 adjust_address_nv instead of plus_constant.
1584 2001-07-10 Neil Booth <neil@daikokuya.demon.co.uk>
1586 * Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
1587 dwarf2out.o): Depend on debug.h, wrap long lines.
1588 * dbxout.c: Include debug.h.
1589 (dbx_debug_hooks): New.
1590 (dbxout_init): Make static, take just 2 args.
1591 (dbxout_finish): Make static.
1592 * dbxout.h (dbxout_init, dbxout_finish): Delete.
1593 * debug.c: New file.
1594 * debug.h: New file.
1595 * dwarf2out.c: Include debug.h.
1596 (dwarf2_debug_hooks): New.
1597 (dwarf2out_init): Make static.
1598 (dwarf2out_finish): Make static, take 2 args.
1599 * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
1600 * dwarfout.c: Include debug.h.
1601 (dwarf_debug_hooks): New.
1602 (dwarfout_init): Make static.
1603 (dwarfout_finish): Make static, take 2 args.
1604 * dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
1605 * sdbout.c: Include debug.h.
1606 (sdb_debug_hooks): New.
1607 (sdbout_init): Make static, take 2 args.
1608 * sdbout.h (sdbout_init): Delete.
1609 * toplev.c: Include debug.h.
1611 (compile_file): Set deubg_hooks based on command line options.
1612 Use the hooks unconditionally rather than conditional compilation.
1614 Tue Jul 10 09:04:45 2001 Jeffrey A Law (law@cygnus.com)
1616 * ssa-ccp.c (first_phi_node): Remove. Replace uses with calls to
1617 first_insn_after_basic_block_note instead.
1619 * df.c (df_bb_refs_unlink): #if 0 out for now.
1621 2001-07-10 David Billinghurst <David.Billinghurst@riotinto.com
1623 * ssa.h: Add prototype for ssa_const_prop
1624 * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
1625 (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
1626 (ssa_fast_dce): Remove unused variable
1628 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1630 * diagnostic.c (finish_diagnostic): Rename to
1631 diagnostic_finish. Make it take an 'output_buffer *'. Adjust
1634 2001-07-10 Jason Merrill <jason_merrill@redhat.com>
1636 * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
1639 * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
1640 (dump_file): Only pad the demangled name with spaces if the
1641 mangled name was padded with spaces.
1643 2001-07-10 Bernd Schmidt <bernds@redhat.com>
1645 * bb-reorder.c (make_reorder_chain_1): Correct branch/fallthru
1648 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1650 * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
1651 extraction if no direct load if either EXPAND_CONST_ADDRESS or
1654 * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
1655 whether can put offset inside LO_SUM to check mode alignment, not size.
1657 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1659 * doc/tm.texi (Misc): Fix thinko.
1661 2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>
1663 * regmove.c (replace_in_call_usage): Fix warnings.
1664 * sched-deps.c (add_dependence): Fix warnings.
1665 * simplify-rtx.c (simplify_subreg): Likewise.
1666 Return NULL_RTX instead of NULL.
1668 * reg-stack.c (emit_swap_insn): Eliminate warnings.
1669 (subst_asm_stack_regs): Likewise.
1671 * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
1674 * dwarf2out.c (output_call_frame_info): Declare i as int.
1675 (build_abbrev_table): Declare n_alloc as int.
1676 (dwarf2out_finish): Initialize die.
1677 * except.c: Declare sjlj_funcdef_number as unsigned.
1678 (connect_post_landing_pads): Declare j as unsigned.
1679 (convert_to_eh_region_ranges): Initialize call_site.
1680 (output_function_exception_table): Initialize tt_format_size.
1681 * expr.c (move_by_pieces_1): Initialize to1.
1682 (store_constructor): Initialize minelt and maxelt.
1683 * flow.c (mark_regs_live_at_end): Declare i as unsigned.
1684 * function.c (instantiate_decls): Avoid signed/unsigned warning.
1686 * c-decl.c (combine_parm_decls): Unused, remove.
1687 * c-tree.h: Remove prototype for combine_parm_decls.
1689 * reload.c (push_reload): Fix warning.
1690 (regno_clobbered_p): Likewise.
1691 * reload1.c (replace_pseudos_in_call_usage): Likewise.
1692 (reload_combine): Likewise.
1694 * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
1695 * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
1697 * bitmap.c (bitmap_operation): Change user.
1698 * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
1700 2001-07-10 Eric Christopher <echristo@redhat.com>
1702 * config/mips/mips.c (override_options): Fix typo.
1704 2001-07-09 Stan Shebs <shebs@apple.com>
1706 * target.h (struct gcc_target): New fields init_builtins and
1708 * target-def.h (TARGET_INIT_BUILTINS): New macro.
1709 (TARGET_EXPAND_BUILTIN): New macro.
1710 (TARGET_INITIALIZER): Add them.
1711 * builtins.c: Include target.h.
1712 (expand_builtin): Use targetm.expand_builtin.
1713 (default_init_builtins): New function.
1714 (default_expand_builtin): New function.
1715 * expr.h (default_init_builtins): Declare.
1716 (default_expand_builtin): Declare.
1717 * c-common.c (c_common_nodes_and_builtins): Use
1718 targetm.init_builtins.
1719 * defaults.h (MD_INIT_BUILTINS): Remove.
1720 * Makefile.in (builtins.o): Depend on target.h.
1722 * config/arm/arm.c (TARGET_INIT_BUILTINS): Define.
1723 (TARGET_EXPAND_BUILTIN): Define.
1724 * config/arm/arm.h (MD_INIT_BUILTINS): Remove.
1725 (MD_EXPAND_BUILTIN): Remove.
1727 * config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define.
1728 (TARGET_EXPAND_BUILTIN): Define.
1729 (c4x_init_builtins): Make endlink arg a local.
1730 (c4x_print_operand): Fix typos in adjust_address usages.
1731 * config/c4x/c4x-protos.h (c4x_init_builtins): Update decl.
1732 * config/c4x/c4x.h (MD_INIT_BUILTINS): Remove.
1733 (MD_EXPAND_BUILTIN): Remove.
1735 * config/i386/i386.c (TARGET_INIT_BUILTINS): Define.
1736 (TARGET_EXPAND_BUILTIN): Define.
1737 (ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins.
1738 (ix86_init_builtins): Call new function only if TARGET_MMX.
1739 * config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare.
1740 * config/i386/i386.h (MD_INIT_BUILTINS): Remove.
1741 (MD_EXPAND_BUILTIN): Remove.
1743 * config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define.
1744 (TARGET_EXPAND_BUILTIN): Define.
1745 * config/ia64/ia64.h (MD_INIT_BUILTINS): Remove.
1746 (MD_EXPAND_BUILTIN): Remove.
1748 * doc/tm.texi: Document these changes.
1750 2001-07-09 Diego Novillo <dnovillo@redhat.com>
1752 * basic-block.h (tree_node): Forward declare if needed.
1753 (struct basic_block_def): Add fields 'head_tree' and 'end_tree'.
1754 (BLOCK_HEAD_TREE): Define.
1755 (BLOCK_END_TREE): Define.
1756 (struct loops): Rename field 'tree' to 'tree_root'.
1757 * flow.c (entry_exit_blocks): Add initializers for 'head_tree' and
1759 (flow_loops_tree_build): Rename reference to field 'tree' to
1761 (flow_loops_level_compute): Ditto.
1762 * predict.c (estimate_bb_frequencies): Ditto.
1763 * tree.h (struct tree_common): Add field 'aux'.
1765 2001-07-09 Stan Shebs <shebs@apple.com>
1767 * config/darwin.c (darwin_encode_section_info): Don't mark any
1768 DECL_EXTERNAL node as defined.
1770 2001-07-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
1772 * pa.c (pa_init_machine_status, pa_mark_machine_status,
1773 pa_free_machine_status, hppa_init_pic_save): Delete.
1774 (hppa_pic_save_rtx): New. Use get_hard_reg_initial_val.
1775 (hppa_profile_hook): Use hppa_pic_save_rtx.
1776 * pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX,
1777 hppa_init_pic_save): Delete.
1778 (hppa_pic_save_rtx): Declare.
1779 * pa.md (call, call_value, sibcall, sibcall_value,
1780 builtin_setjmp_receiver): Use hppa_pic_save_rtx.
1783 2001-07-09 Kazu Hirata <kazu@hxi.com>
1785 * config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi.
1786 * config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise.
1788 2001-07-09 Andreas Jaeger <aj@suse.de>
1790 * output.h: Add declaration of final_forward_branch_p.
1792 * config/i386/i386.c (output_fix_trunc): Remove unused variable.
1794 * varray.c: Include errors.h for internal_error and trim_filename
1797 * Makefile.in (varray.o): Add errors.h.
1799 2001-07-09 Toon Moene <toon@moene.indiv.nluug.nl>
1801 * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
1802 * optabs.c (have_add2_insn): Check whether the add insn chosen
1803 really accepts the operands. (have_sub2_insn): Ditto for sub insn.
1804 * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn.
1806 Mon Jul 9 13:26:40 2001 Jeffrey A Law (law@cygnus.com)
1808 * Makefile.in (OBJS): Add ssa-ccp.o
1809 (ssa-ccp.o): Add dependencies.
1810 * toplev.c (DFI_ssa_ccp): New dump file enum.
1811 (dump_file): Add entry for dumping after SSA CCP.
1812 (flag_ssa_ccp): New flag variable.
1813 (f_options): Add -fssa-ccp.
1814 (rest_of_compilation): Run SSA CCP if requested.
1815 * timevar.def (TV_SSA_CCP): New timevar.
1816 * ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes.
1817 * doc/gcc.texi (Passes): Add documentation for SSA CCP pass.
1818 Fix minor typo in SSA DCE documentation.
1819 * doc/invoke.texi: Add documentation for new flag -fssa-ccp.
1820 Add documentation for new dump option. Renumber dump files
1823 Mon Jul 9 21:36:00 CEST 2001 Jan Hubicka <jh@suse.cz>
1825 * emit-rtl.c (gen_highpart_mode): New.
1826 * rtl.h (gen_highpart_mode): Declare.
1827 * sparc.md (insn splitters): Use gen_highpart_mode, whenever the
1828 operand can be VOIDmode constant.
1830 Mon Jul 9 17:23:10 CEST 2001 Jan Hubicka <jh@suse.cz>
1832 * flow.c (redirect_edge_and_branch_force): New.
1833 (can_fallthru): Ensure that basic blocks are succeeding.
1834 (try_optimize_cfg): Do not delete basic block if it is the last one.
1836 * flow.c (try_redirect_by_replacing_jump): Do not remove
1837 jumps with side effects, unlink chain on fallthru edge;
1838 set block for new jump instruction; avoid basic block to
1839 over by line number note.
1841 * flow.c (try_simplify_condjump): Verify that the condjump
1842 is not always falling trought.
1845 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
1847 * flow.c (forwarder_block_p): Fix for fallthru blocks.
1848 (try_redirect_by_replacing_jump): Update properly the count
1849 and frequency information.
1851 Mon Jul 9 06:41:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1853 * emit-rtl.c (adjust_address, adjust_address_nv): Handle an
1854 address that is a LO_SUM specially.
1855 * explow.c (plus_constant_wide, case LO_SUM): Deleted.
1857 * c-lang.c (start_cdtor): Remove extra parameter from start_function.
1859 * emit-rtl.c (adjust_address_nv, replace_equiv_address_nv): New fcns.
1860 (operand_subword): Use them.
1861 (change_address_1): Renamed from change_address; new arg VALIDATE.
1862 * expr.h: Reflect above changes; change_address now macro.
1863 * alias.c (canon_rtx): Use replace_equiv_address_nv instead of
1865 * cselib.c (add_mem_for_addr): Likewise.
1866 * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
1867 * regmove.c (try_apply_stack_adjustment): Likewise.
1868 * reload.c (push_reload, make_memloc): Likewise.
1869 * reload1.c (eliminate_regs): Likewise.
1870 * simplify-rtx.c (simplify_replace_rtx): Likewise.
1871 * caller-save.c (setup_save_areas): Use adjust_address_nv instead of
1873 * combine.c (make_extraction, simplify_shift_const): Likewise.
1874 (gen_lowpart_for_combine): Likewise.
1875 * cse.c (gen_lowpart_if_possible): Likewise.
1876 * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
1877 * expr.c (expand_expr, case COMPONENT_REF): Likewise.
1878 * optabs.c (gen_move_insn): Likewise.
1879 * reload1.c (alter_reg): Likewise.
1880 * simplify-rtx.c (simplify_subreg): Likewise.
1881 * stmt.c (expand_anon_union_decl): Likewise.
1882 * recog.c (validate_replace_rtx_1): Likewise.
1884 * Makefile.in (recog.o): Add $(EXPR_H).
1885 * explow.c (stabilize): Call replace_equiv_address.
1886 * expr.c (move_by_pieces_1, store_by_pieces_2): Likewise.
1887 * final.c (alter_subreg): OFFSET is HOST_WIDE_INT.
1889 2001-07-03 Andrew Haley <aph@redhat.com>
1891 * expmed.c (store_fixed_bit_field): Don't use a mode bigger than
1892 the mode of the memory location.
1894 2001-07-09 Bo Thorsen <bo@suse.co.uk>
1896 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix x86-64 vtable support.
1898 2001-07-09 Neil Booth <neil@daikokuya.demon.co.uk>
1900 * final.c (output_addr_const): Use target opening and
1901 closing parentheses.
1902 * target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN
1903 defaults, add to TARGET_ASM_OUT.
1904 * target.h (struct gcc_target): Add open_paren and close_paren.
1905 * doc/md.texi: Update.
1906 * doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE,
1907 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and
1908 TARGET_ASM_CLOSE_PAREN.
1909 * config/i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
1911 * config/pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
1913 * config/1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
1914 * config/a29k/a29k.h: Similarly.
1915 * config/alpha/alpha.h: Similarly.
1916 * config/arc/arc.h: Similarly.
1917 * config/arm/aof.h: Similarly.
1918 * config/arm/aout.h: Similarly.
1919 * config/avr/avr.h: Similarly.
1920 * config/c4x/c4x.h: Similarly.
1921 * config/clipper/clipper.h: Similarly.
1922 * config/convex/convex.h: Similarly.
1923 * config/d30v/d30v.h: Similarly.
1924 * config/dsp16xx/dsp16xx.h: Similarly.
1925 * config/elxsi/elxsi.h: Similarly.
1926 * config/fr30/fr30.h: Similarly.
1927 * config/h8300/h8300.h: Similarly.
1928 * config/i370/i370.h: Similarly.
1929 * config/i386/i386.h: Similarly.
1930 * config/i860/i860.h: Similarly.
1931 * config/i960/i960.h: Similarly.
1932 * config/ia64/ia64.h: Similarly.
1933 * config/m32r/m32r.h: Similarly.
1934 * config/m68hc11/m68hc11.h: Similarly.
1935 * config/m68k/m68k.h: Similarly.
1936 * config/m88k/m88k.h: Similarly.
1937 * config/mcore/mcore.h: Similarly.
1938 * config/mips/mips.h: Similarly.
1939 * config/mn10200/mn10200.h: Similarly.
1940 * config/mn10300/mn10300.h: Similarly.
1941 * config/ns32k/ns32k.h: Similarly.
1942 * config/pa/pa.h: Similarly.
1943 * config/pdp11/pdp11.h: Similarly.
1944 * config/pj/pj.h: Similarly.
1945 * config/romp/romp.h: Similarly.
1946 * config/rs6000/rs6000.h: Similarly.
1947 * config/sh/sh.h: Similarly.
1948 * config/sparc/sparc.h: Similarly.
1949 * config/v850/v850.h: Similarly.
1950 * config/vax/vax.h: Similarly.
1951 * config/we32k/we32k.h: Similarly.
1953 2001-07-09 Joseph S. Myers <jsm28@cam.ac.uk>
1955 * doc/c-tree.texi: Document representation of attributes.
1957 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
1959 * doc/tm.texi: Update some places for the rename of target to
1962 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
1964 * target.h (struct gcc_target): Add insert_attributes.
1965 * target-def.h (TARGET_INSERT_ATTRIBUTES): Define.
1966 (TARGET_INITIALIZER): Update.
1967 * tree.c, tree.h (default_insert_attributes): New function.
1968 Update comments on other default functions to refer to targetm,
1970 * doc/tm.texi (INSERT_ATTRIBUTES): Update to document
1971 TARGET_INSERT_ATTRIBUTES.
1972 (SET_DEFAULT_DECL_ATTRIBUTES): Remove.
1973 * c-common.c (decl_attributes): Use targetm.insert_attributes.
1974 Don't use PRAGMA_INSERT_ATTRIBUTES.
1975 * Makefile.in (c-common.o): Depend on $(TARGET_H).
1976 * c-decl.c (start_decl, start_function): Don't call
1977 SET_DEFAULT_DECL_ATTRIBUTES.
1978 * config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
1979 * config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't
1981 * config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define.
1982 (c4x_check_attribute): Avoid modifying attribute list itself.
1983 (c4x_set_default_attributes): Rename to c4x_insert_attributes.
1985 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define.
1986 * config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't
1988 * config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define.
1989 (sh_pragma_insert_attributes): Rename to sh_insert_attributes.
1991 * config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
1992 * config/v850/v850-protos.h (v850_set_default_decl_attr): Don't
1994 * config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define.
1995 (v850_set_default_decl_attr): Rename to v850_insert_attributes.
1996 Adjust parameters. Make static.
1998 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
2000 * c-common.c (decl_attributes): Only take a single attributes
2002 * c-common.h (decl_attributes): Update prototype.
2003 * c-decl.c (start_decl, start_function): Only take a single
2004 attributes parameter. Update calls to decl_attributes.
2005 (finish_struct, finish_enum): Update calls to decl_attributes.
2006 (push_parm_decl): Expect unified list of attributes. Update call
2008 * c-parse.in (fndef, initdcl, notype_initdcl, nested_function,
2009 notype_nested_function, component_declarator,
2010 component_notype_declarator, label): Update calls to
2012 (absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute
2013 lists that are passed to push_parm_decl.
2014 * c-tree.h (start_function, start_decl): Update prototypes.
2015 * config/sh/sh-protos.h, config/sh/sh.c
2016 (sh_pragma_insert_attributes): Only take a single attributes
2018 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise.
2019 * doc/tm.texi (INSERT_ATTRIBUTES): Update.
2020 * objc/objc-act.c (define_decl, generate_objc_symtab_decl,
2021 build_module_descriptor, generate_static_references,
2022 generate_strings, build_selector_translation_table,
2023 generate_descriptor_table, generate_protocols,
2024 generate_ivars_list, generate_dispatch_table,
2025 generate_protocol_list, generate_category,
2026 generate_shared_structures, really_start_method, add_objc_decls,
2027 generate_classref_translation_entry): Update calls to start_decl
2029 (build_tmp_function_decl, start_method_def): Unify attribute lists
2030 that are passed to push_parm_decl.
2032 2001-07-08 Neil Booth <neil@daikokuya.demon.co.uk>
2034 * final.c (no_asm_to_stream): New.
2035 (final_scan_insn): Use target structures for prologue ends
2036 and epilogue starts.
2037 * output.h (no_asm_to_stream): New.
2038 * target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE,
2039 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New.
2040 (TARGET_ASM_OUT): Update.
2041 * target.h (struct gcc_target): New members function_end_prologue
2042 and function_begin_epilogue.
2043 * config/1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused.
2044 * config/alpha/alpha-protos.h (output_end_prologue): Delete.
2045 * config/alpha/alpha.c (output_end_prologue): Rename to
2046 alpha_output_function_end_prologue. Use in target struct
2048 * config/alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete.
2049 * config/ia64/ia64-protos.h (ia64_output_end_prologue): Delete.
2050 * config/ia64/ia64.c (ia64_output_end_prologue): Rename to
2051 ia64_output_function_end_prologue. Use in target struct
2053 (ia64_function_prologue, ia64_funciton_epilogue): Rename
2054 mistyped prototypes.
2055 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete.
2056 * config/m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue):
2058 * config/m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename
2059 an use in target struct, make static.
2060 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE):
2063 2001-07-08 Richard Henderson <rth@redhat.com>
2065 * stmt.c (emit_case_nodes): Convert modes properly in low+high test.
2067 2001-07-08 Richard Henderson <rth@redhat.com>
2069 * config/i386/i386.md: Remove constraints strings from define_split
2070 and define_peephole2 patterns.
2071 (eh_return_si, eh_return_di): Split eh_return_1 for modes.
2072 (eh_return): Use them.
2074 2001-07-08 Richard Henderson <rth@redhat.com>
2076 * doc/tm.texi (Exception Handling): New subnode of Stack and Calling.
2077 Document MD_FALLBACK_FRAME_STATE_FOR.
2079 2001-07-07 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2081 * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset):
2082 Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM
2084 * config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0.
2086 2001-07-07 Nick Clifton <nickc@cambridge.redhat.com>
2088 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end
2089 of the label inside NAME as opposed to just the end of NAME.
2091 2001-07-07 Neil Booth <neil@daikokuya.demon.co.uk>
2093 * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
2094 * config/alpha/alpha.c (alpha_init_machine_status,
2095 alpha_mark_machine_status, alpha_free_machine_status): Delete.
2096 (TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
2097 (vms_valid_decl_attribute_p): Make static, conditionally compile.
2098 * config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.
2100 2001-07-06 Stan Shebs <shebs@apple.com>
2102 * target.h (targetm): Rename global from "target", so as not to
2103 conflict with local variables.
2105 * c-typeck.c: Ditto.
2109 * cp/decl2.c: Ditto.
2110 * cp/typeck.c: Ditto.
2111 * 1750a/1750a.c: Ditto.
2112 * a29k/a29k.c: Ditto.
2116 * clipper/clipper.c: Ditto.
2117 * convex/convex.c: Ditto.
2118 * d30v/d30v.c: Ditto.
2119 * dsp16xx/dsp16xx.c: Ditto.
2120 * elxsi/elxsi.c: Ditto.
2121 * fr30/fr30.c: Ditto.
2122 * h8300/h8300.c: Ditto.
2123 * i370/i370.c: Ditto.
2124 * i386/i386.c: Ditto.
2125 * i860/i860.c: Ditto.
2126 * i960/i960.c: Ditto.
2127 * ia64/ia64.c: Ditto.
2128 * m32r/m32r.c: Ditto.
2129 * m68hc11/m68hc11.c: Ditto.
2130 * m68k/m68k.c: Ditto.
2131 * m88k/m88k.c: Ditto.
2132 * mips/mips.c: Ditto.
2133 * ns32k/ns32k.c: Ditto.
2135 * pdp11/pdp11.c: Ditto.
2136 * romp/romp.c: Ditto.
2137 * rs6000/rs6000.c: Ditto.
2139 * sparc/sparc.c: Ditto.
2141 * we32k/we32k.c: Ditto.
2142 * doc/tm.texi: Update the manual to match.
2144 2001-07-06 Richard Henderson <rth@redhat.com>
2146 * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
2147 DWARF2_UNWIND_INFO not just whether it is defined.
2149 2001-07-06 Diego Novillo <dnovillo@redhat.com>
2151 * combine.c (combine_simplify_rtx): Also recompute 'mode' if the
2152 call to simplify_binary_operation returns a new pattern.
2154 2001-07-06 Roman Lechtchinsky <rl@cs.tu-berlin.de>
2156 * glimits.h (__SHRT_MAX__): New.
2157 (SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX.
2158 (SHRT_MAX): Define in terms of __SHRT_MAX__.
2160 2001-07-06 Jan van Male <jan.vanmale@fenk.wau.nl>
2162 * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
2165 2001-07-06 Richard Henderson <rth@redhat.com>
2167 * bitmap.c (bitmap_release_memory): Move adjacent to the
2168 allocation functions.
2169 (bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing
2170 the implementation. Binary search for the set bit.
2171 (bitmap_union_of_diff): Allocate the temporary on the stack
2172 instead of using xmalloc.
2174 2001-07-06 Richard Henderson <rth@redhat.com>
2176 * genrecog.c (validate_pattern): Warn for constraints in
2177 define_{expand,split,peephole2}. Remove strict_low_part
2178 before looking up match_dup.
2180 2001-07-06 DJ Delorie <dj@redhat.com>
2182 * doc/gcc.texi (Makefile): Rename to be a more general purpose
2183 chapter about various build hints and history. Add section
2184 talking about the various types of native and cross builds.
2186 2001-07-06 Neil Booth <neil@daikokuya.demon.co.uk>
2188 * Makefile.in (final.o): Depend on target.h.
2189 * final.c: Include target.h.
2190 (default_function_pro_epilogue): New.
2191 (final_start_function): Use target structure for function prologues.
2192 (final_end_function): Use target structure for function epilogues.
2193 * fold-const.c (real_hex_to_f): Constify s and p.
2194 * output.h (default_function_pro_epilogue): New.
2195 * real.h (real_hex_to_f): Update prototype.
2196 * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
2197 TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
2198 (TARGET_INITIALIZER): Update.
2200 * target.h (gcc_target): Add struct asm_out.
2201 * doc/tm.texi: Update.
2205 Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
2206 TARGET_ASM_FUNCTION_EPILOGUE. Move macro code to functions
2207 in cpu/cpu.c, or rename old functions consistently. Take
2208 a HOST_WIDE INT not an int as the SIZE parameter. Remove now
2209 redundant macros and prototypes. Make new functions static.
2211 * 1750a/1750a.c: Similarly.
2212 * 1750a/1750a.h: Similarly.
2213 * a29k/a29k-protos.h: Similarly.
2214 * a29k/a29k.c: Similarly.
2215 * a29k/a29k.h: Similarly.
2216 * arc/arc-protos.h: Similarly.
2217 * arc/arc.c: Similarly.
2218 * arc/arc.h: Similarly.
2219 * arm/arm-protos.h: Similarly.
2220 * arm/arm.c: Similarly.
2221 * arm/arm.h: Similarly.
2222 * avr/avr-protos.h: Similarly.
2223 * avr/avr.c: Similarly.
2224 * avr/avr.h: Similarly.
2225 * clipper/clipper-protos.h: Similarly.
2226 * clipper/clipper.c: Similarly.
2227 * clipper/clipper.h: Similarly.
2228 * convex/convex.c: Similarly.
2229 * convex/convex.h: Similarly.
2230 * d30v/d30v-protos.h: Similarly.
2231 * d30v/d30v.c: Similarly.
2232 * d30v/d30v.h: Similarly.
2233 * d30v/d30v.md: Similarly.
2234 * dsp16xx/dsp16xx-protos.h: Similarly.
2235 * dsp16xx/dsp16xx.c: Similarly.
2236 * dsp16xx/dsp16xx.h: Similarly.
2237 * elxsi/elxsi.c: Similarly.
2238 * elxsi/elxsi.h: Similarly.
2239 * fr30/fr30.c: Similarly.
2240 * fr30/fr30.md: Similarly.
2241 * h8300/h8300-protos.h: Similarly.
2242 * h8300/h8300.c: Similarly.
2243 * h8300/h8300.h: Similarly.
2244 * i370/i370-protos.h: Similarly.
2245 * i370/i370.c: Similarly.
2246 * i370/i370.h: Similarly.
2247 * i386/i386.c: Similarly.
2248 * i386/osf1elf.h: Similarly.
2249 * i386/osfrose.h: Similarly.
2250 * i860/i860-protos.h: Similarly.
2251 * i860/i860.c: Similarly.
2252 * i860/i860.h: Similarly.
2253 * i960/i960-protos.h: Similarly.
2254 * i960/i960.c: Similarly.
2255 * i960/i960.h: Similarly.
2256 * ia64/ia64-protos.h: Similarly.
2257 * ia64/ia64.c: Similarly.
2258 * ia64/ia64.h: Similarly.
2259 * m32r/m32r-protos.h: Similarly.
2260 * m32r/m32r.c: Similarly.
2261 * m32r/m32r.h: Similarly.
2262 * m68hc11/m68hc11-protos.h: Similarly.
2263 * m68hc11/m68hc11.c: Similarly.
2264 * m68hc11/m68hc11.h: Similarly.
2265 * m68k/crds.h: Similarly.
2266 * m68k/dpx2.h: Similarly.
2267 * m68k/m68k-protos.h: Similarly.
2268 * m68k/m68k.c: Similarly.
2269 * m68k/m68k.h: Similarly.
2270 * m68k/news.h: Similarly.
2271 * m88k/m88k-protos.h: Similarly.
2272 * m88k/m88k.c: Similarly.
2273 * m88k/m88k.h: Similarly.
2274 * mips/mips-protos.h: Similarly.
2275 * mips/mips.c: Similarly.
2276 * mips/mips.h: Similarly.
2277 * ns32k/merlin.h: Similarly.
2278 * ns32k/ns32k.c: Similarly.
2279 * ns32k/ns32k.h: Similarly.
2280 * ns32k/tek6000.h: Similarly.
2281 * pa/pa-protos.h: Similarly.
2282 * pa/pa.c: Similarly.
2283 * pa/pa.h: Similarly.
2284 * pdp11/2bsd.h: Similarly.
2285 * pdp11/pdp11-protos.h: Similarly.
2286 * pdp11/pdp11.c: Similarly.
2287 * pdp11/pdp11.h: Similarly.
2288 * romp/romp-protos.h: Similarly.
2289 * romp/romp.c: Similarly.
2290 * romp/romp.h: Similarly.
2291 * rs6000/rs6000-protos.h: Similarly.
2292 * rs6000/rs6000.c: Similarly.
2293 * rs6000/rs6000.h: Similarly.
2294 * rs6000/sysv4.h: Similarly.
2295 * sh/sh-protos.h: Similarly.
2296 * sh/sh.c: Similarly.
2297 * sh/sh.h: Similarly.
2298 * sparc/sparc-protos.h: Similarly.
2299 * sparc/sparc.c: Similarly.
2300 * sparc/sparc.h: Similarly.
2301 * vax/vax.c: Similarly.
2302 * vax/vax.h: Similarly.
2303 * vax/vms.h: Similarly.
2304 * we32k/we32k.c: Similarly.
2305 * we32k/we32k.h: Similarly.
2307 Fri Jul 6 11:47:59 2001 Jeffrey A Law (law@cygnus.com)
2309 * basic-block.h (first_insn_after_basic_block_note): Declare.
2310 * flow.c (first_insn_after_basic_block_note): Define. Moved
2312 * ssa.c (first_insn_after_basic_block_note): Remove.
2313 * ssa-dce.c (find_inherently_necessary): Consider BARRIERs
2315 (ssa_eliminate_dead_code): Properly update the CFG and PHI
2316 nodes when we find a dead conditional branch. Insert BARRIERs
2317 after any blocks with no successors, but which do not have
2320 2001-07-06 Zack Weinberg <zackw@stanford.edu>
2322 * varray.c (varray_check_failed): Use internal_error.
2324 2001-07-05 Andrew Haley <aph@redhat.com>
2326 * Makefile.in (LIB2_DIVMOD_FUNCS): New.
2327 (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
2328 * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.
2330 2001-07-02 Jason Merrill <jason_merrill@redhat.com>
2332 * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
2333 reference if the target constant is also a SYMBOL_REF.
2335 2001-07-05 Eric Christopher <echristo@redhat.com>
2337 * config/mips/mips.h (MASK_MIPS3900): Remove.
2338 (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV,
2339 MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal.
2340 (TARGET_MIPS3900): Change to use mips_arch.
2341 (TARGET_MIPS4000): New.
2342 (TARGET_MIPS4100): New.
2343 (TARGET_MIPS4300): New.
2344 (TARGET_SWITCHES): Change 3900 and 4650 options to NULL.
2345 (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text
2347 (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900.
2348 (ISA_HAS_BRANCHLIKELY): To here.
2349 (CC1_CPU_SPEC): New.
2350 (CC1_SPEC): Use here. Remove 4650 and 3900 options.
2351 (mips_arch_string): Declare.
2352 (mips_arch): Declare.
2353 (TARGET_OPTIONS): Add -march and -mtune.
2355 * config/mips/mips.c (mips_arch_string): New.
2357 (override_options): Handle -march for codegen and -mtune
2358 for scheduling. Use mips_arch. Move tx39 target default here.
2359 (mips_parse_cpu): Move error message to override_options.
2361 * config/mips/r3900.h (TARGET_DEFAULT): Remove.
2363 * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300.
2365 * doc/invoke.texi (Option Summary): Add -march and -mtune entries.
2366 (MIPS Options): Ditto. Change mcpu entry to historical text.
2368 2001-07-05 H.J. Lu (hjl@gnu.org)
2370 * config/mips/mips.c (mips_parse_cpu): New function to parse
2373 2001-07-05 Jim Wilson <wilson@redhat.com>
2375 * config/ia64/lib1funcs.asm: Revert 2001-07-02 change.
2376 * config/ia64/t-ia64: Likewise.
2377 (LIB1ASMFUNCS): Update comment.
2379 2001-07-05 David Edelsohn <edelsohn@gnu.org>
2381 * doc/install.texi (Install GCC: Binaries): Fix typo.
2383 2001-07-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2385 * config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory
2386 reference using the stack pointer, adjust it since we push Y
2388 ("*ashrsi3"): Likewise.
2389 ("*lshrsi3"): Likewise.
2391 2001-07-05 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2393 * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address
2394 when -fomit-frame-pointer is used.
2396 2001-07-05 Jeffrey Oldham <oldham@codesourcery.com>
2398 * flow.c: Reverse Jan Hubicka's patch of 02July2001.
2399 (try_redirect_by_replacing_jump): Reverse updating properly the
2400 count and frequency information. Reverse removing cc0 setter.
2401 (forwarder_block_p): Reverse fixing for fallthru blocks.
2403 2001-07-05 DJ Delorie <dj@redhat.com>
2405 * gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
2406 (translate_options): If the above is defined, use it to map
2407 given options to new options.
2408 * doc/tm.texi: Document it.
2410 2001-07-05 Brad Lucier <lucier@math.purdue.edu>
2411 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2413 * doc/invoke.texi (Optimize Options): Document that -fgcse may
2414 cause programs using computed gotos to run more slowly.
2416 2001-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2418 * doc/install.texi (Specific): Markup, spelling and typo fixes.
2420 Consistently require binutils 2.11.2, not prereleases.
2421 (Specific, decstation-*): Canonicalize as mips-dec-*.
2422 (Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
2424 (Specific, m68k-altos): Removed reference to README.altos, deleted.
2425 (Specific, mips-*): Reword MIPS C compiler requirements.
2426 (Specific, powerpc*-*-*): New, mention --with-cpu once.
2427 (Specific, sunv5): Removed, obsolete.
2429 2001-07-05 Nathan Sidwell <nathan@codesourcery.com>
2431 * dwarf2out.c (output_loc_list): Use an all ones mask for
2432 .text asm output and don't rely on long long
2433 literals. Reformat some long lines.
2435 2001-07-05 Andreas Jaeger <aj@suse.de>
2437 * doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
2440 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
2442 * dwarf2out.c (dwarf2out_define): Update comment.
2443 (dwarf2out_undef): Ditto.
2444 (dwarf2out_start_source_file): Ditto.
2445 (dwarf2out_end_source_file): Ditto.
2446 (dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
2447 since we never call the start/end debug hook for the primary file.
2449 2001-07-04 Kazu Hirata <kazu@hxi.com>
2451 * config/h8300/h8300.c (get_shift_alg): Remove an extra operand
2456 2001-06-19 Bernd Schmidt <bernds@redhat.com>
2458 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
2461 * cppinit.c (remove_dup_dirs): Inform if a system include
2462 directory is being reordered.
2463 * doc/invoke.texi (Directory Options): GCC warns if you hide a
2465 * doc/cpp.texi (Search Paths): Likewise.
2466 * doc/gcc.texi (Interoperation): Remove information about
2469 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
2471 * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
2472 (VARRAY_TOP_CHAR_PTR): Likewise.
2474 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2476 * gcc.c (process_command): Don't assign elements of a const char*.
2478 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2480 * emit-rtl.c (change_address): Don't abort if invalid address while
2481 reload is in progress.
2483 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
2485 * c-lex.c (cb_file_change): Pass line number to
2486 debug_start_source_file.
2487 (cb_undefine): Pass correct line number to debug_undef.
2489 * toplev.c (debug_start_source_file): Add line number to
2490 parameters. Pass it along to dwarf2out_start_source_file.
2491 (decode_g_option): Stop resetting debug level back to normal when
2492 we change debug formats, unless the current level is
2493 none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
2496 * toplev.h (debug_start_source_file): Add line number to
2499 * dwarf2out.h (dwarf2out_start_source_file): Add line number to
2502 * dwarf2out.c (dwarf2out_start_source_file): Add line number to
2504 Output debug_macinfo data for starting file if requested.
2505 (dwarf2out_end_source_file): Output debug_macinfo data for ending
2507 (dwarf2out_define): Output debug_macinfo data for defining a macro
2509 (dwarf2out_undef): Output debug_macinfo data for undefining a
2511 (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
2512 (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
2513 (macinfo_section_label): New. DWARF2 macro info section label.
2514 (dwarf2out_init): If we want macro info, output the start label
2516 (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
2517 attribute to the compilation unit die pointing to the macro info.
2519 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
2521 * dwarf2out.c (new_loc_list): Move to inside #ifdef
2522 DWARF2_DEBUGGING_INFO.
2523 (add_loc_descr_to_loc_list): Ditto.
2524 (output_loc_list): Ditto.
2525 Also, fix thinko in curr not being initialized.
2526 (gen_internal_sym): Ditto.
2528 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2530 * emit-rtl.c (replace_equiv_address): New function.
2531 * expr.h (replace_equiv_address): New declaration.
2532 * explow.c (validize_mem): Call it instead of change_address and
2533 also call if -fforce-addr and address is constant.
2534 * expr.c: Replace more calls to change_address with adjust_address
2535 and/or replace_equiv_address or to validize_mem.
2536 * function.c, regmove.c, config/alpha/alpha.c: Likewise.
2537 * config/arm/arm.md, config/clipper/clipper.md: Likewise.
2538 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
2539 * config/i370/i370.md, config/i860/i860.md: Likewise.
2540 * config/i960/i960.md, config/mips/mips.c: Likewise.
2541 * config/mips/mips.md, config/pa/pa.md: Likewise.
2542 * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
2543 * config/rs6000/rs6000.md, config/sh/sh.md: Likewise.
2545 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2547 * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
2549 * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
2552 2001-07-04 Joseph S. Myers <jsm28@cam.ac.uk>
2554 * doc/include: New directory.
2555 * doc/fdl.texi: Move to doc/include/fdl.texi.
2556 * doc/texinfo.tex: Move to doc/include/texinfo.tex.
2557 * doc/include/funding.texi, doc/include/gpl.texi: New files.
2558 * doc/gcc.texi: Use funding.texi and gpl.texi.
2559 * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
2560 $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
2561 Update dependencies and use -I $(docdir)/include.
2563 2001-07-04 Anthony Green <green@redhat.com>
2565 * config/v850/t-v850 (v850-c.o): Add missing dependencies.
2567 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2569 * doc/install.texi (sparc64-*-*): Remove garbage.
2571 Wed Jul 4 09:07:44 2001 Jan van Male <jan.vanmale@fenk.wau.nl>
2573 * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
2574 Fix typo in last change to use adjust_address.
2576 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2578 * doc/install.texi (Specific): Update information for *-*-solaris*.
2580 Tue Jul 3 22:33:15 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2582 * explow.c (plus_constant_wide): Reinitialize Y for restart.
2584 2001-07-03 Stan Shebs <shebs@apple.com>
2586 * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
2587 case for flag_no_mach_text_sections.
2588 (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
2589 * config/darwin.c (flag_no_mach_text_sections): Remove.
2590 * config/darwin-protos.h (darwin_init_pragma): Remove decl.
2592 Tue Jul 3 15:35:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2594 * explow.c (plus_constant_wide, case PLUS): Call find_constant_term
2595 and avoid checking for constant as first operand.
2596 * recog.c (find_constant_term_loc): No longer static.
2597 (adj_offettable_operand): Delete.
2598 * rtl.h (adj_offsettable_operand): Delete declaration.
2599 (find_constant_term): Add declaration.
2600 * caller-save.c: Replace calls to adj_offsettable_operand with calls
2602 * config/arm/arm.c, config/c4x/c4x.c: Likewise.
2603 * config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
2604 * config/i386/i386.c, config/i386/i386.md: Likewise.
2605 * config/i860/i860.c, config/i960/i960.c: Likewise.
2606 * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
2607 * config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
2608 * config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
2609 * config/mips/mips.c, config/mips/mips.md: Likewise.
2610 * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
2611 * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
2612 * config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
2613 * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
2614 * config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
2615 * config/ns32k/ns32k.md: Likewise.
2617 2001-07-03 Zack Weinberg <zackw@stanford.edu>
2619 * rtl.c (copy_rtx): Handle 'T' format letter.
2620 * gensupport.c (collect_insn_data): Likewise.
2621 * print-rtl.c (print_rtx): Print 'T' slots like 's'.
2623 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2625 * doc/invoke.texi (Directory Options): Specifiy range for <N> in
2626 -B option. Use 'dir' not 'foo' as example directory name.
2628 2001-07-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2630 * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
2631 Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
2633 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
2635 * doc/cppinternals.texi: Improve formatting and logical markup.
2639 2001-06-15 Loren J. Rittle <ljrittle@acm.org>
2641 2001-07-03 Andreas Jaeger <aj@suse.de>
2644 * Makefile.in (insn-recog.o): Add dependency on reload.h.
2646 * genrecog.c (write_header): Include reload.h for prototypes in
2649 2001-07-03 Neil Booth <neil@daikokuya.demon.co.uk>
2652 * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
2653 VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
2654 * i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
2655 i386_pe_valid_type_attribute_p): Add.
2656 * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
2657 * i386/winnt.c (i386_valid_decl_attribute_p): Return directly.
2659 Mon Jul 2 21:52:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2661 * explow.c (plus_constant_wide, case LO_SUM): New case.
2662 (plus_constant_for_output_wide): Delete.
2663 * rtl.h (plus_constant_for_output): Delete.
2664 * alias.c (canon_rtx, init_alias_analysis): Call plus_constant
2665 instead of plus_constant_for_output.
2666 * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
2667 * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
2668 * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
2669 * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
2670 * config/sparc/sparc.md: Likewise.
2671 Convert some change_address calls to adjust_address.
2673 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
2675 * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
2676 doc/rtl.texi, doc/tm.texi: Improve formatting. Improve
2677 documentation of -std and -Wwrite-strings.
2679 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
2681 * cse.c (canon_hash): Don't register registers in very small
2682 register classes, as extending their lifetime might cause
2685 Mon Jul 2 23:14:00 CEST 2001 Jan Hubicka <jh@suse.cz>
2687 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
2689 * flow.c (forwarder_block_p): Fix for fallthru blocks.
2690 (try_redirect_by_replacing_jump): Update properly the count
2691 and frequency information.
2693 Mon Jul 2 14:20:13 2001 Jeffrey A Law (law@cygnus.com)
2695 * toplev.c (dump_file_index): Move SSA dumps just after first
2697 (dump_file): Corresponding changes.
2698 (rest_of_compilation): Move SSA path to just after the first
2700 * doc/gcc.texi (Passes): Update due to movement of SSA path.
2701 * doc/invoke.texi: Update dump file #s as they were completely
2702 out of date with reality.
2704 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
2706 * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.
2708 * expr.c (emit_move_insn_1): Deal with non-default
2711 * expr.c (emit_single_push_insn): Fix warning.
2713 2001-07-02 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
2715 * expr.c (emit_move_insn_1): Avoid modifying
2716 cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.
2718 Mon Jul 2 15:33:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2720 * emit-rtl.c (adjust_address): New function.
2721 * expr.h (adjust_address): Add declaration.
2722 * builtins.c: Replace some calls to change_address with calls to it
2724 * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
2725 * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
2726 * config/arm/arm.c, config/convex/convex.c: Likewise.
2727 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
2728 * config/i386/i386.c, config/i386/i386.md: Likewise.
2729 * config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
2730 * config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
2731 * config/m88k/m88k.c, config/mips/mips.md: Likewise.
2732 * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
2733 * config/sh/sh.c, config/sparc/sparc.md: Likewise.
2735 2001-07-02 Jim Wilson <wilson@redhat.com>
2737 * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
2739 2001-07-02 Steve Ellcey <sje@cup.hp.com>
2741 * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
2742 * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.
2744 2001-07-02 Zack Weinberg <zackw@stanford.edu>
2746 * cppinit.c (lang_defaults): New table.
2747 (set_lang): Just read from lang_defaults into the live options
2750 2001-07-02 Zack Weinberg <zackw@stanford.edu>
2752 * Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
2753 * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
2754 * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
2756 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2758 * doc/install.texi: Various spelling and markup fixes.
2759 (Installing GCC): Component specific installation instructions are
2762 Warn about removing old install dir in the presence of shared libs.
2763 (Configuration): Invoke with options target to match configure
2765 Consistently refer to gas, gld pathnames.
2766 Invert --enable-multilib documentation.
2767 Remove references to old compiler versions.
2769 Mon Jul 2 12:50:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2771 * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
2773 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2775 * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
2777 (Specific, mips*-sgi-irix5): Note IDO download.
2778 Reworded MIPS C hints.
2779 Use GNU as instead of GAS.
2781 Removed SGI Freeware reference, IRIX 6 only.
2782 (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
2783 Note N64 library requirement/workaround.
2785 Complete list of structure passing bug victims.
2787 2001-07-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2789 * doc/install.texi: Remove CVS Id.
2791 2001-07-02 Andreas Jaeger <aj@suse.de>
2793 * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
2794 (find_inherently_necessary): Remove unused variable.
2796 2001-07-02 Nathan Sidwell <nathan@codesourcery.com>
2798 * c-common.h (TDI_inlined): New ast dump phase.
2799 (dump_flag_name): New function.
2800 * c-dump.c (dump_files): Add inlined phase.
2801 (dump_flag_name): Define.
2802 * doc/invoke.texi (-fdump-ast-inlined): Document.
2804 Mon Jul 2 06:29:36 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2806 * stor-layout.c (layout_decl): Revert change to handling of alignment
2809 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2811 * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
2814 2001-07-01 Geoffrey Keating <geoffk@redhat.com>
2816 * doc/tm.texi (FUNCTION_ARG): Document that the last call
2819 2001-07-01 Nathan Sidwell <nathan@codesourcery.com>
2821 * tlink.c (recompile_files): Remove COMPILER_PATH and
2822 LIBRARY_PATH from the environment.
2824 2001-07-01 Zack Weinberg <zackw@stanford.edu>
2826 * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
2827 RID_LAST_PQ. Move RID_FIRST_PQ down with the other FIRST/LAST
2829 (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
2831 * c-parse.in (OBJC_STRING): Kill.
2832 (objc_string): Decompose to [objc_string] '@' STRING.
2833 (reswords): Take the leading '@' off all the Objective C keywords.
2834 (objc_rid_sans_at): Kill.
2835 (init_reswords): Don't initialize it.
2836 (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
2837 (_yylex): Kill reconsider label. Look ahead one token after
2838 an '@'; if we get an identifier, check whether it's an
2839 Objective C @-keyword. If so, return the keyword. Otherwise,
2840 put back the token and return the '@' as a terminal.
2842 * cpplib.c (lex_macro_node): Remove unnecessary check for
2843 leading '@' on identifier. Clarify control flow and commentary.
2845 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2848 * doc/install.texi (ix86-*-solaris*): Removed, outdated.
2849 (*-*-solaris*): Document problem in /bin/sh that affects
2850 configuring libraries.
2851 (sparc-*-solaris*): Recommend GNU binutils 2.11.1 or vendor tools.
2852 (*-sun-solaris2.8): Document linker problem that explains why
2853 libjava is disabled by default.
2855 2001-06-09 Mark Mitchell <mark@codesourcery.com>
2858 * toplev.c (rest_of_compilation): Remove dead code before
2861 2001-06-12 Alexandre Oliva <aoliva@redhat.com>
2864 2001-06-07 Nathan Sidwell <nathan@codesourcery.com>
2865 * configure.in (sparc*-*-*): Check assembler R_SPARC_UA32 support.
2866 * configure: Rebuilt.
2868 2001-06-12 Jim Wilson <wilson@redhat.com>
2870 * loop.c (strength_reduce): Move bl->all_reduced set before
2871 check_ext_dependant_givs call.
2872 (check_ext_dependant_givs): Clear bl->all_reduced when ignoring givs.
2874 2001-06-12 Alexandre Oliva <aoliva@redhat.com>
2876 * doc/extend.texi (Function Attributes): Document SH's sp_switch
2879 2001-06-13 Joseph S. Myers <jsm28@cam.ac.uk>
2881 * doc/invoke.texi: Use more logical markup. Use TeX quotes,
2884 2001-06-12 Richard Henderson <rth@redhat.com>
2886 * config/i386/i386.c (ix86_expand_prologue): Always use
2887 gen_pro_epilogue_adjust_stack; update arguments.
2888 (ix86_expand_epilogue): Likewise.
2889 (ix86_emit_epilogue_esp_adjustment): Remove.
2890 (ix86_adjust_cost): Remove pro_epilogue_adjust_stack hack.
2891 * config/i386/i386.md (pro_epilogue_adjust_stack): Use a BLKmode
2892 clobber of scratch memory instead of a modification of EBP as the
2893 barrier. Update all peepholes to match.
2895 2001-06-12 Joseph S. Myers <jsm28@cam.ac.uk>
2897 * doc/gcc.texi: Change the font used for @def... commands to a
2899 * doc/extend.texi: Use more logical markup. Use "built-in"
2900 instead of "builtin". Use @deftypefn to mark up built-in
2901 functions; specify their types in the @deftypefn and not in the
2902 descriptive text. Use TeX quotes and dashes. Add more index
2905 2001-06-12 lars brinkhoff <lars@nocrew.org>
2907 * gcc.texi (HOST_BITS_PER_LONGLONG): Document.
2908 (DIR_SEPARATOR_2): Likewise.
2910 2001-06-12 Joseph S. Myers <jsm28@cam.ac.uk>
2912 * doc/install.texi (--exec-prefix, --bindir, --libdir,
2913 --with-slibdir, --infodir, --mandir, --with-cpp-install-dir):
2915 (--enable-cpp): Change to document --disable-cpp instead; update
2916 to reflect current default.
2917 (--without-fast-fixincludes): Remove documentation.
2918 (Final install): Document installation directories in more
2919 detail. Document use of make dvi.
2921 Tue Jun 12 19:01:43 CEST 2001 Jan Hubicka <jh@suse.cz>
2923 * recog.c (validate_replace_rtx_1): Fix previous patch.
2925 Tue Jun 12 17:25:39 CEST 2001 Jan Hubicka <jh@suse.cz>
2927 * recog.c (validate_replace_rtx_1): Do plus_constant call always.
2929 Tue Jun 12 17:24:07 CEST 2001 Jan Hubicka <jh@suse.cz>
2931 * simplify-rtx.c (simplify_subreg): Allow volatile memory
2932 to be subregged in case we don't have move instruction.
2934 Tue Jun 12 12:20:12 CEST 2001 Jan Hubicka <jh@suse.cz>
2936 * loop.c: Include predict.h
2937 (strength_reduce): Drop branch prediction note in case
2938 number of iterations is known.
2939 * predict.def (PRED_LOOP_ITERATIONS): new.
2940 * Makefile.in (loop.o): Add dependancy on predict.h
2942 2001-06-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2944 * c-decl.c (grokdeclarator): Use INTEGRAL_TYPE_P.
2946 * c-typeck.c (c_start_case): Likewise.
2948 2001-06-12 Mark Mitchell <mark@codesourcery.com>
2950 * expr.c (store_field): Don't set MEM_ALIAS_SET for a field
2951 in a structure at a variable address.
2953 2001-06-12 Joseph S. Myers <jsm28@cam.ac.uk>
2955 * doc/gcov.texi: Use more logical markup.
2957 2001-06-11 Mark Mitchell <mark@codesourcery.com>
2959 * unroll.c (initial_reg_note_copy): Use PUT_REG_NOTE_KIND and
2960 REG_NOTE_KIND, not PUT_MODE and GET_MODE.
2961 (final_reg_note_copy): Remove REG_WAS_0 notes that are no longer
2964 2001-06-11 Stan Shebs <shebs@apple.com>
2966 * config/darwin.h (ASM_FILE_END): Remove decl of language_string.
2968 2001-06-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2970 * config/m68hc11/m68hc11.md ("*lshrdi3_const32"): Mark the clobber
2971 as an early clobber to make sure it is not used by reload in
2972 one of the operands.
2974 2001-06-11 Mark Mitchell <mark@codesourcery.com>
2976 * doc/c-tree.texi: Update information about flag_honor_std.
2977 * doc/install.texi: Note that binutils is required on HPUX 11.
2978 * doc/invoke.texi (-fhonor-std): Note that -fno-honor-std is
2981 * config/mips/abi64.h (RETURN_IN_MEMORY): Fix handling of
2982 variable-sized types.
2984 2001-06-11 Joseph S. Myers <jsm28@cam.ac.uk>
2986 * doc/md.texi: Use TeX dashes and quotes.
2988 2001-06-11 Joseph S. Myers <jsm28@cam.ac.uk>
2990 * doc/rtl.texi: Reference manual chapter about trees.
2992 2001-06-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2994 * config/mips/iris6.h (NO_BUILTIN_WINT_TYPE): Define.
2995 (WINT_TYPE): Override.
2996 (WINT_TYPE_SIZE): Likewise.
2997 (SUBTARGET_CPP_SIZE_SPEC): Define __WINT_TYPE__ as appropriate.
2999 * config/sparc/sol2.h (WINT_TYPE): Define.
3000 (WINT_TYPE_SIZE): Likewise.
3002 * config/sparc/sol2-sld-64.h (NO_BUILTIN_WINT_TYPE): Define.
3003 (WINT_TYPE): Override.
3004 (WINT_TYPE_SIZE): Likewise.
3005 (CPP_ARCH32_SPEC): Add __WINT_TYPE__ definition.
3006 (CPP_ARCH64_SPEC): Likewise.
3008 2001-06-11 Richard Henderson <rth@redhat.com>
3010 * unwind-dw2-fde.c (__deregister_frame_info): Don't play games
3011 with alias attribute.
3013 * config/linux.h (CPLUSPLUS_CPP_SPEC): Use %(cpp) not $(cpp_cpu).
3014 * config/alpha/linux.h (CPLUSPLUS_CPP_SPEC): Likewise.
3016 2001-06-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3018 * config/rs6000/linux.h (CPLUSPLUS_CPP_SPEC): New.
3020 2001-06-11 Stan Shebs <shebs@apple.com>
3022 * config/darwin.c (darwin_encode_section_info): Rewrite to simplify
3023 and fix coding mistakes.
3025 2001-06-11 Nick Clifton <nickc@cambridge.redhat.com>
3027 * config/m32r/m32r.md (movstrsi_internal): Do not expect a
3028 return string from m32r_output_block_move.
3029 * config/m32r/m32r-protos.h: Make m32r_output_block_move a
3031 * config/m32r/m32r.h (INT32_P): Rename to UNIT32_P and remove
3033 (ROUND_ADVANCE): Remove signed/unsigned conflict.
3034 * config/m32r/m32r.c: Declare prototypes for static functions.
3035 (move_src_operand): Replace INT32_P with UINT32_P.
3036 (function_arg_partial_nregs): Fixed signed/unsigned conflict
3037 in initialisation of 'size'.
3038 (m32r_sched_reord): Remove redundant declarations of 'code'.
3039 (m32r_output_block_move): Change to a void function.
3040 (m32r_encode_section_info): Cast return of
3041 TREE_STRING_POINTER to avoid compile time warning.
3043 2001-06-11 Richard Henderson <rth@redhat.com>
3045 * config/alpha/osf5.h (TARGET_LD_BUGGY_LDGP): New.
3046 * config/alpha/alpha.h (TARGET_LD_BUGGY_LDGP): Default.
3047 (struct machine_function): Add gp_save_rtx.
3048 * config/alpha/alpha.c (alpha_mark_machine_status): Mark it.
3049 (alpha_gp_save_rtx): New.
3050 * config/alpha/alpha-protos.h: Declare it.
3051 * config/alpha/alpha.md (exception_receiver): Make an expander.
3052 Use alpha_gp_save_rtx if TARGET_LD_BUGGY_LDGP.
3054 2001-06-11 Richard Henderson <rth@redhat.com>
3056 * config/alpha/osf.h (LINK_SPEC): Hide _GLOBAL_* symbols.
3058 2001-06-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3060 * configure.in: Align --help messages.
3061 Remove trailing full stops.
3062 Consistently use lower case.
3063 Fix DWARF 2 spelling.
3064 * configure: Rebuilt.
3066 2001-06-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3068 * config/alpha/alpha.h (CPP_SPEC): Don't define __LANGUAGE_C and
3069 variants for .cpp/.cp/.c++ files.
3070 Move definition of __LANGUAGE_C_PLUS_PLUS ...
3071 (CPLUSPLUS_CPP_SPEC): ... here.
3073 Mon Jun 11 15:47:45 CEST 2001 Jan Hubicka <jh@suse.cz>
3075 * jump.c (duplicate_loop_exit_test): Fix loop header heuristics.
3077 2001-06-11 Joseph S. Myers <jsm28@cam.ac.uk>
3079 * c-decl.c (store_parm_decls): When comparing types in an
3080 old-style function declaration with those from a previous
3081 prototype, compare the unqualified versions of parameter types.
3084 2001-06-11 Joseph S. Myers <jsm28@cam.ac.uk>
3086 * doc/objc.texi: Use more logical markup. Use TeX dashes.
3088 2001-06-11 Joseph S. Myers <jsm28@cam.ac.uk>
3090 * doc/c-tree.texi: Use more logical markup.
3092 2001-06-11 Joseph S. Myers <jsm28@cam.ac.uk>
3094 * c-decl.c (xref_tag): Don't return previous tags of wrong type.
3096 2001-06-11 Aldy Hernandez <aldyh@redhat.com>
3098 * loop.c (scan_loop): Do not combine asm statements.
3100 2001-06-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3102 * simplify-rtx.c (simplify_subreg): Fix offset calculation
3103 for complex values within a CONCAT.
3105 2001-06-11 Joseph S. Myers <jsm28@cam.ac.uk>
3107 * doc/install.texi: Update details of what components are included
3108 in the GCC distribution. Update default directory for g++
3109 includes. Update documentation relating to old libio. Adjust
3110 documentation on DejaGnu environment variables. Remove
3111 documentation of --enable-cpplib.
3113 2001-06-11 Joseph S. Myers <jsm28@cam.ac.uk>
3115 * doc/contrib.texi: Fix alphabetical order. Fix typos. Improve
3118 2001-06-10 Richard Henderson <rth@redhat.com>
3120 * ifcvt.c (life_data_ok): New.
3121 (merge_if_block): Use it to determine whether to update
3123 (if_convert): Set it.
3125 2001-06-10 Richard Henderson <rth@redhat.com>
3127 * config/alpha/osf5.h (ASM_OLDAS_SPEC): Add -c.
3129 2001-06-10 Alexandre Oliva <aoliva@redhat.com>
3131 * doc/invoke.texi (MN10300 Options): Document -mno-crt0.
3132 (SH Options): Document -mieee.
3133 * doc/install.texi (Final install): Remove obsolete information
3134 about installing cross compilers.
3135 * doc/gcc.1: Rebuilt.
3137 2001-06-10 Richard Henderson <rth@redhat.com>
3139 * config/alpha/alpha.c (override_options): Set align_loops,
3140 align_jumps, and align_functions.
3141 * config/alpha/alpha.h (FUNCTION_BOUNDARY): Set to 32 bits.
3142 (LOOP_ALIGN, LABEL_ALIGN_AFTER_BARRIER): Remove.
3144 2001-06-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3146 * emit-rtl.c (gen_lowpart_common): Do not assume that SFmode and DFmode
3147 are one and two words in size.
3149 2001-06-10 Richard Henderson <rth@redhat.com>
3151 * doc/invoke.texi (Optimization Options): Document -fpeephole2.
3152 (Code Generation Options): Document -fnon-call-exceptions.
3154 2001-06-10 Mark Kettenis <kettenis@gnu.org>
3156 * config/i386/gnu.h (MD_FALLBACK_FRAME_STATE_FOR): Undefine.
3158 2001-06-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3160 * m68hc11.md (peepholes): Remove unused and wrong peepholes.
3162 2001-06-10 Mark Mitchell <mark@codesourcery.com>
3163 Gabriel Dos Reis <gdr@codesourcery.com>
3165 * Makefile.in (c-parse.o): Depend on diagnostic.h
3166 (dwarf2out.o): Likewise.
3168 * dwarf2out.c: #include diagnostic.h
3170 * toplev.h (warningcount, errorcount, sorrycount): Remove
3173 * toplev.c (warningcount, errorcount, sorrycount): Remove
3176 * diagnostic.h (struct output_buffer): Reorder fields.
3177 (diagnostic_kind_count): New macro.
3178 (errorcount, warningcount, sorrycount): Define as macros.
3179 (diagnostic_report_warnings_p): New macro.
3180 (output_state): Add diagnostic_count field.
3182 * diagnostic.c (warningcount, errorcount, inhibit_warnings):
3183 Remove tentative declaration.
3184 (count_error): Use diagnostic_report_warnings_p.
3186 * c-parse.in: #include diagnostic.h
3188 2001-06-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3190 * config/m68hc11/m68hc11.md ("extendhisi2"): Fix constraints to
3191 prefer a memory for operand 1.
3192 ("*addsi3"): Fix constraints, the '!' was too strong.
3193 ("*addsi3_split"): Accept soft register and split accordingly.
3195 2001-06-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3197 * config/m68hc11/m68hc11-protos.h (m68hc11_initialize_trampoline):
3198 Move definition in the RTX_CODE section.
3200 2001-06-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3202 * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Define the return
3203 address as relative to the argument pointer.
3205 Sun Jun 10 10:58:53 CEST 2001 Jan Hubicka <jh@suse.cz>
3207 * predict.def (PRED_OPCODE): Place before call and error_return.
3209 Sun Jun 10 10:00:17 CEST 2001 Jan Hubicka <jh@suse.cz>
3211 * predict.def (PRED_CALL, PRED_ERROR_RETURN): New.
3212 * predict.c (estimate_probability): Calculate dominance
3213 information; improve detection of NORETURN heuristics;
3214 add call/error_return heuiristics; tweak comparison heuristics
3217 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
3219 * doc/invoke.texi (C Dialect Options): Document -aux-info.
3220 (Debugging Options): Document -print-multi-directory and
3222 * doc/gcc.1: Rebuilt.
3224 * toplev.c (independent_decode_option): Require `=' between
3225 `-aux-info' and filename in the same argument.
3226 * gcc.c: Don't pass -aux-info=filename twice.
3228 2001-06-09 Mark Mitchell <mark@codesourcery.com>
3230 * expr.c (expand_expr, case ARRAY_REF): Do not replace
3231 an array element with the known initializing value if it has
3234 * toplev.c (rest_of_compilation): Remove dead code before
3237 2001-06-09 Neil Booth <neil@daikokuya.demon.co.uk>
3239 * cppinit.c (print_help): Document -fpreprocessed.
3240 * invoke.texi: Similarly.
3242 Sun Jun 10 00:35:37 CEST 2001 Jan Hubicka <jh@suse.cz>
3244 * predict.def: New file.
3245 * predict.h: New file.
3246 * predict.c: Include predict.h.
3247 (predictor_info): New structure and array.
3248 (predict_edge, predict_insn): Rewrite; make global.
3249 (predict_edge_def, predict_insn_def): New global functions.
3250 (dump_prediction, combine_predictions_for_insns): New
3252 (estimate_probability): Change calls to predict_edge
3253 to predict_edge_def and calls to predict_insn to predict_insn_def;
3254 combine probabilities.
3255 (expected_value_to_br_prob): Behave as predictor.
3256 * rtl.h (REG_BR_PRED): Update coment.
3257 (invert_br_probabilities): New.
3258 * jump.c: Include predict.h
3259 (duplicate_loop_exit_test): Drop branch prediction notes.
3260 (invert_jump): Use invert_br_probabilities.
3261 * Makefile.in: Add dependancy on predict.h for jump and predict pass.
3262 * ifcvt.c (dead_or_predicable): Use invert_br_probabilities.
3263 * combine.c (distribute_notes): Handle BR_PRED.
3265 Sat Jun 9 23:29:41 CEST 2001 Jan Hubicka <jh@suse.cz>
3267 * predict.c (predict_insn, predict_edge): New static functions.
3268 (estimate_probability): Revamp to use new functions;
3269 fix loop header heruistics; add loop exist heruistics
3271 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
3273 * config.gcc: Re-enable bi-arch sparc on Solaris 7 and above.
3275 2001-06-09 Peter Jakubek <pjak@snafu.de>
3277 * config/m68k/m68k.md (ashrdi_const): Fix right shift by 16.
3279 2001-06-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
3281 * vax.h (NOTICE_UPDATE_CC): Set CC_NO_OVERFLOW in cc_status.flags
3282 for integer operations that don't update C bit.
3284 2001-06-09 Nicola Pero <nicola@brainstorm.co.uk>
3286 * gthr-posix.h (__gthread_objc_init_thread_system): If
3287 pthread_key_create fails, it's not clear what the return value is.
3288 This obvious fix makes sure it always returns -1 if a problem
3291 2001-06-09 Joseph S. Myers <jsm28@cam.ac.uk>
3293 * doc/gcc.texi: Use @defcodeindex for the index of options. Add
3294 more index entries. Use more logical markup where appropriate.
3295 Use TeX quotes and dashes.
3297 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3299 * unwind-pe.h: Conditionally qualify references to abort with
3302 2001-06-09 Julian Foad <julian_foad@hotmail.com>
3304 * doc/invoke.texi: Remove superfluous text.
3306 2001-06-08 Richard Henderson <rth@redhat.com>
3308 * config/alpha/linux.h (CPLUSPLUS_CPP_SPEC): New.
3309 (LIB_SPEC): Mirror config/linux.h version.
3311 2001-06-08 Richard Henderson <rth@redhat.com>
3313 * except.c (get_exception_pointer, get_exception_filter): Take a
3314 struct function. Update all callers.
3315 * except.h (get_exception_pointer): Update declaration.
3316 * expr.c (expand_expr): Update get_exception_pointer call.
3317 * integrate.c (expand_inline_function): Remap the exception pointer
3318 from callee to caller.
3320 2001-06-08 Mark Mitchell <mark@codesourcery.com>
3322 * c-decl.c (grokdeclarator): Make the TREE_TYPE for declarations
3323 accurately reflect its cv-qualification.
3324 * c-typeck.c (type_lists_compatible_p): Ignore the top-levl
3325 cv-qualifiers on function types.
3327 2001-06-08 Mark Mitchell <mark@codesourcery.com>
3329 * basic-block.h: Improve comments.
3330 * except.c (expand_eh_region_end_allowed): Remove redundant call
3331 to do_pending_stack_adjust.
3332 * flow.c (life_analysis): Fix typo in comment.
3333 (calculate_global_regs_live): Add documentation.
3334 (mark_set_1): Likewise.
3335 (debug_regset): Likewise.
3336 * doc/rtl.texi (cond_exec): Document it.
3338 Fri Jun 8 21:52:51 CEST 2001 Jan Hubicka <jh@suse.cz>
3340 * i386.h (CONST_COSTS): set cost of constants representable in
3341 immediate fields to 0.
3343 Fri Jun 8 21:34:54 CEST 2001 Jan Hubicka <jh@suse.cz>
3345 * function.c (diddle_return_value): Kill code to determine
3346 return value before expand_function_end.
3347 (expand_function_end): Delay call to clobber_return_register
3348 after fucntion return value is computed.
3350 Re-install temporary reverted patch:
3351 * toplev.c (rest_of_compilation): Call split_all_insns
3352 before reg-stack and shorten-branches. Do shorten-branches
3354 * final.c (shorten_branches): Remove insn splitting code.
3356 2001-06-08 Joseph S. Myers <jsm28@cam.ac.uk>
3358 * doc/gcc.texi, doc/invoke.texi: Add index of command line
3359 options. Use @opindex to index them rather than other indexing
3360 commands. Use @var{...} instead of <...>. Avoid spaces in names
3361 inside @var. Don't use @kindex to index escape sequences in
3364 2001-06-08 Jason Merrill <jason_merrill@redhat.com>
3366 * stmt.c (current_nesting_level): New fn.
3367 * tree.h: Declare it.
3368 * c-semantics.c (genrtl_compound_stmt): Use it.
3370 * dbxout.c (dbxout_symbol): Use DECL_RTL_SET_P.
3372 2001-06-08 Jakub Jelinek <jakub@redhat.com>
3374 * jump.c (mark_modified_reg): Allow jump threading if condition
3375 codes are represented by a hard register.
3377 2001-06-08 Jakub Jelinek <jakub@redhat.com>
3379 * config/ia64/ia64.c (ia64_function_arg): Use [SDT]Fmode as gr_mode
3380 for complex floats passed to unprototyped functions.
3382 2001-06-08 Mark Mitchell <mark@codesourcery.com>
3384 * except.c (expand_eh_region_end_allowed): Call
3385 do_pending_stack_adjust as necessary.
3387 Fri Jun 8 14:16:33 CEST 2001 Jan Hubicka <jh@suse.cz>
3389 * function.c (clobber_return_register): Clobber the pseudo return
3392 * sibcall.c (skip_unreturned_value): New function.
3393 (call_ends_block_p): Use it.
3395 * recog.c (split_insn): Break out from ...
3396 (split_all_insns): ... here; do not use basic block information
3399 Thu Jun 7 18:27:53 CEST 2001 Jan Hubicka <jh@suse.cz>
3401 * simplify-rtx.c (simplify_subreg): Fix verification of
3404 2001-06-08 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3406 * config/mips/mips.h (CPP_SPEC): Simplify .s/.S handling.
3407 Don't define _LANGUAGE_C and variants for .cpp/.cp/.c++ files.
3408 Move definition of _LANGUAGE_C_PLUS_PLUS ...
3409 (CPLUSPLUS_CPP_SPEC): ... here.
3410 Fixes PRs c++/3047, target/441.
3412 2001-06-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3414 * doc/install.texi2html (MAKEINFO): Keep value if set already.
3416 2001-06-08 Joseph S. Myers <jsm28@cam.ac.uk>
3418 * doc/gcc.texi: Add trailing slash to URL.
3420 2001-06-07 Stan Shebs <shebs@apple.com>
3422 * config/darwin.h (ENCODE_SECTION_INFO): Define.
3423 (REDO_SECTION_INFO_P): Ditto.
3424 (STRIP_NAME_ENCODING): Ditto.
3425 (ASM_DECLARE_OBJECT_NAME): Use ENCODE_SECTION_INFO.
3426 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Ditto.
3427 (ASM_OUTPUT_LABELREF): Use STRIP_NAME_ENCODING.
3428 (GEN_LAZY_PTR_NAME_FOR_SYMBOL): Ditto.
3429 * config/darwin.c: No longer include c-tree.h.
3430 (machopic_classify_ident): Rewrite to use symbol encoding.
3431 (lookup_name_darwin): Remove.
3432 (machopic_non_lazy_ptr_name): Handle encoded symbols.
3433 (machopic_stub_name): Use STRIP_NAME_ENCODING.
3434 (machopic_validate_stub_or_non_lazy_ptr): Ditto.
3435 (machopic_finish): Ditto, remove test of decl.
3436 (update_non_lazy_ptrs): New function.
3437 (darwin_encode_section_info): New function.
3438 * config/darwin-protos.h: Declare it.
3439 * config/rs6000/rs6000.c (machopic_output_stub): Use
3440 STRIP_NAME_ENCODING.
3442 2001-06-07 Mark Mitchell <mark@codesourcery.com>
3444 * tree.h (DECL_SOURCE_FILE): Improve documentation.
3445 (DECL_SOURCE_LINE): Likewise.
3447 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3449 * config/alpha/elf.h (MAKE_DECL_ONE_ONLY): Copy definition
3450 from config/elfos.h.
3452 2001-06-07 Phil Edwards <pme@sources.redhat.com>
3454 * linux.h (CPLUSPLUS_CPP_SPEC): Move -D_GNU_SOURCE to here.
3455 * pa/pa-linux.h: Allow CPLUSPLUS_CPP_SPEC to remain.
3457 2001-06-08 Joseph S. Myers <jsm28@cam.ac.uk>
3459 * doc/contrib.texi: Add copyright notice.
3461 2001-06-08 Joseph S. Myers <jsm28@cam.ac.uk>
3463 * doc/md.texi: Use four digit years in copyright notice.
3465 2001-06-08 Joseph S. Myers <jsm28@cam.ac.uk>
3467 * config.gcc: For $target_alias of athlon-*, set
3468 target_cpu_default2=5.
3470 Thu Jun 7 16:17:40 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3472 * global.c (build_insn_chain): Allow ADDR_VEC or ADDR_DIF_VEC after
3473 end of last block if last real insn is a JUMP_INSN.
3475 2001-06-07 Joseph S. Myers <jsm28@cam.ac.uk>
3480 2001-06-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3482 * gthr-posix.h (__gthread_objc_thread_detach): Simply cast
3483 pthread_t to objc_thread_t.
3484 (__gthread_objc_thread_id): Likewise.
3486 2001-06-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3488 * alpha/osf5.h (CPP_XFLOAT_SPEC): Override default definition.
3489 (ASM_OLDAS_SPEC): Likewise.
3491 * alpha/osf.h (CPP_XFLOAT_SPEC): Define.
3492 (CPP_SUBTARGET_SPEC): Use it.
3493 (ASM_OLDAS_SPEC): Define.
3495 (SUBTARGET_EXTRA_SPECS): Define, declare the new specs above.
3497 2001-06-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3499 * config/alpha/alpha.c (alpha_va_arg): Handle TFmode, TCmode args,
3500 passed by reference.
3502 2001-06-07 Joseph S. Myers <jsm28@cam.ac.uk>
3504 * doc/tm.texi (TARGET_SWITCHES, TARGET_OPTIONS): Adjust markup.
3505 Document use of N_(...), and show it in examples. Note that
3506 documentation should be added to invoke.texi. Avoid an overfull
3509 Thu Jun 7 17:09:50 CEST 2001 Jan Hubicka <jh@suse.cz>
3511 * toplev.c (rest_of_compilation): Revert previous patch.
3512 * final.c (shorten_branches): Likewise.
3514 2001-06-07 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3516 * pself.c, pself1.c, pself2.c, pself3.c, pself4.c, pself5.c:
3519 2001-06-07 Joseph S. Myers <jsm28@cam.ac.uk>
3521 * doc/install-old.texi: Remove more obsolete documentation.
3523 Thu Jun 7 13:20:14 CEST 2001 Jan Hubicka <jh@suse.cz>
3525 * expr.c (copy_blkmode_from_reg): Fix operand_subword_force call.
3527 Thu Jun 7 12:12:58 CEST 2001 Jan Hubicka <jh@suse.cz>
3529 * toplev.c (rest_of_compilation): Call split_all_insns
3530 before reg-stack and shorten-branches. Do shorten-branches
3532 * final.c (shorten_branches): Remove insn splitting code.
3534 2001-06-07 Nathan Sidwell <nathan@codesourcery.com>
3536 * configure.in (sparc*-*-*): Check assembler R_SPARC_UA32 support.
3537 * configure: Rebuilt.
3539 2001-06-07 Andreas Jaeger <aj@suse.de>
3541 * emit-rtl.c (operand_subword): Remove unused variable.
3543 Wed Jun 6 14:51:05 CEST 2001 Jan Hubicka <jh@suse.cz>
3545 * i386.md (floatdi?f): Avoid usinf of SSE instructions
3546 if TARGET_64BIT is false.
3547 (floatdi?f_i386_only): New insn.
3548 (floatdi?f_i386): Disable for !TARGET_64BIT.
3550 * (min?f, max?f splitters): Handle case where
3551 operands are cross-matched.
3553 * i386.h (HI_REGISTER_NAMES): Remove redundant definition
3554 (MMX_REGISTER_NAMES): Kill.
3555 (PRINT_OPERAND): Fix comment.
3556 (PRINT_REG): Likewise.
3557 * i386.c (print_reg): Kill support for 'm' CODE; simplify.
3558 (print_operand): Update comment; kill 'm'.
3560 * i386.c (x86_branch_hints): New global variable
3561 (print_operand): Support outputting of branch prediction hints.
3562 * i386.md (conditional jump patterns): Add branch prediction hints
3564 * i386.h (x86_branch_hints): Declare
3565 (TARGET_BRANCH_PREDICTION_HINTS): New macro.
3566 (PRINT_OPERAND_FUNCT_VALID_P): New.
3567 * final.c (final_forward_branch_p): New function.
3569 2001-06-06 Richard Henderson <rth@redhat.com>
3571 * flow.c (mark_used_reg): Clean up looping over multiple hard
3572 registers. Do conditional life bits across multiple hard regs.
3574 2001-06-05 Jeffrey D. Oldham <oldham@codesourcery.com>
3576 * reload1.c (reload): Revert Schmidt's change so all USEs are not
3577 deleted during reload.
3579 2001-06-05 Mark Mitchell <mark@codesourcery.com>
3581 * c-semantics.c (genrtl_scope_stmt): Write out nested inline
3582 functions here, instead of ...
3583 * c-decl.c (c_expand_body): ... here.
3585 2001-06-05 David O'Brien <obrien@FreeBSD.org>
3587 * config.gcc, config/sparc/bsd.h: Do not directly include
3588 sparc/sparc.h. Instead do it via tm_file.
3590 2001-06-05 Richard Henderson <rth@redhat.com>
3592 * dwarf2.h (DW_EH_PE_aligned): New.
3593 * dwarf2asm.c (eh_data_format_name): Name it.
3594 (dw2_asm_output_encoded_addr_rtx): Align for it.
3595 * dwarf2out.c (output_call_frame_info): Handle it for personality
3596 routine and LSDA pointers.
3598 * unwind-pe.h (DW_EH_PE_aligned): New.
3599 (base_of_encoded_value): Handle it.
3600 (read_encoded_value_with_base): Likewise.
3601 * unwind-dw2-fde.c (base_from_object): Likewise.
3602 (get_cie_encoding): Likewise.
3604 * config/alpha/elf.h: Remove ecoff commentary.
3605 * config/alpha/osf.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
3607 2001-06-05 David O'Brien <obrien@FreeBSD.org>
3609 * config.gcc, config/i386/bsd386.h: Do not directly include
3610 i386/386bsd.h. Instead do it via tm_file.
3612 2001-06-05 David O'Brien <obrien@FreeBSD.org>
3614 * elfos.h (USING_ELFOS_H): Identify the use of elfos.h in the same
3617 2001-06-05 Pascal Obry <obry@act-europe.fr>
3619 * configure.in: Quote $enable_win32_registry in case the value has
3623 2001-06-05 Mark Mitchell <mark@codesourcery.com>
3625 * print-rtl.c (xspaces): Remove.
3626 (print_rtx): Use printf field-width, rather than xpsaces, to
3628 * toplev.c (main): Disable sibling-call optimization if we are
3629 handling exceptions.
3631 2001-06-05 Bernd Schmidt <bernds@redhat.com>
3633 * reload1.c (reload): Delete all USEs generated during reload.
3635 2001-06-05 scott snyder <snyder@fnal.gov>
3637 * gccbug.in: Fix typo.
3639 2001-06-05 Andreas Jaeger <aj@suse.de>
3641 * builtins.def: Fix definition of __builtin_cosf, it uses float as
3642 parameter and return value.
3644 2001-06-04 Anthony Green <green@redhat.com>
3646 * config/sparc/elf.h (CPP_PREDEFINES): Don't assert cpu or
3647 machine. This is now done in sparc.h.
3649 2001-06-05 Nathan Sidwell <nathan@codesourcery.com>
3651 Correct CVS resurrection of invoke.texi.
3652 * doc/invoke.texi: Document new tree dump flags.
3654 2001-06-05 Joseph S. Myers <jsm28@cam.ac.uk>
3656 * c-typeck.c (build_c_cast): Use TYPE_MAIN_VARIANT when checking
3657 for casting an aggregate to its own type. Fixes PR c/2735.
3659 2001-06-05 Joseph S. Myers <jsm28@cam.ac.uk>
3661 * doc/texinfo.tex: Update to version 2001-05-24.08.
3663 2001-06-05 Nathan Sidwell <nathan@codesourcery.com>
3665 * c-common.h (flag_dump_translation_unit): Remove.
3666 (enum tree_dump_index): Define.
3667 (TDF_ADDRESS, TDF_SLIM): New #defines.
3668 (dump_node_to_file): Remove.
3669 (dump_node): Make extern. Add flags.
3670 (dump_flag, dump_enabled_p, dump_begin, dump_end,
3671 dump_switch_p): Prototype.
3672 * c-common.c (flag_dump_translation_unit): Remove.
3673 * c-decl.c (c_decode_option): Remove -fdump-translation-unit
3674 logic. Use dump_switch_p.
3675 * c-dump.h (struct dump_info): Add node and user fields.
3676 (dump_pointer): Declare.
3677 * c-dump.c (dump_node): Make extern. Add flags.
3678 (SOL_COLUMN, EOL_COLUMN, COLUMN_ALIGNMENT): New #defines.
3679 (dump_new_line, dump_maybe_newline): Use them.
3680 (dump_pointer): New function.
3681 (dequeue_and_dump): Check TDF_SLIM before dumping a _DECL's
3682 chain or function's body. Dump address, if TDF_ADDRESS set.
3683 (dump_flag): Define.
3684 (dump_node_to_file): Remove.
3685 (struct dump_file_info): New struct.
3686 (dump_files): New array.
3687 (dump_begin, dump_end, dump_enabled_p, dump_switch_p): Define.
3688 * c-lang.c (finish_file): Adjust dumping.
3689 * toplev.h (dump_base_name): Make extern.
3690 * invoke.texi: Document new flags.
3692 2001-06-04 Mark Mitchell <mark@codesourcery.com>
3694 * c-tree.h (lang_decl): Add pending_sizes fields.
3695 * c-decl.c (store_parm_decls): Save pending_sizes away for nested
3697 (c_expand_body): Expand them.
3698 (lang_mark_tree): Mark lang_decl:pending_sizes.
3699 * function.c (expand_pending_sizes): New function, broken out
3701 (expand_function_start): ... here.
3702 * tree.h (expand_pending_sizes): Declare it.
3704 2001-06-04 Loren J. Rittle <ljrittle@acm.org>
3706 * doc/install.texi: Update FreeBSD information. Generalize
3707 and update information for alpha-based platforms using ELF.
3709 2001-06-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
3711 * c-decl.c (get_parm_info): Use INTEGRAL_TYPE_P.
3712 (store_parm_decls): Likewise.
3713 * c-typeck.c (convert_arguments): Likewise.
3715 2001-06-04 Richard Henderson <rth@redhat.com>
3717 * sibcall.c (optimize_sibling_and_tail_recursive_call): Suppress
3718 optimization if current_function_calls_setjmp.
3720 2001-06-04 Joseph S. Myers <jsm28@cam.ac.uk>
3722 * doc/c-tree.texi: Fix documentation of TREE_STRING_LENGTH for
3725 Mon Jun 4 20:44:25 CEST 2001 Jan Hubicka <jh@suse.cz>
3727 * simplify-rtx.c (simplify_subreg): Fix combining of
3728 paradoxical subregs.
3730 Mon Jun 4 20:15:25 CEST 2001 Jan Hubicka <jh@suse.cz>
3732 * rtlanal.c (rtx_unsable_p): ADDRESSOF is stable.
3733 (no_labels_between_p): Short circuit case beg==end.
3735 Mon Jun 4 20:03:05 CEST 2001 Jan Hubicka <jh@suse.cz>
3737 * rtlanal.c (operand_preference): Fix preference for objects.
3739 Mon Jun 4 20:00:40 CEST 2001 Jan Hubicka <jh@suse.cz>
3741 * gcse.c (handle_avail_expr): Be prepared to handle single_set
3744 Mon Jun 4 19:59:46 CEST 2001 Jan Hubicka <jh@suse.cz>
3746 * combine.c (if_then_else_cond): Use simplify_subreg instead
3748 * integreate.c (sub_constants): Likewise.
3750 Mon Jun 4 19:59:12 CEST 2001 Jan Hubicka <jh@suse.cz>
3752 * emit-rtl.c (constant_subword): Deprecate; remove most of code
3753 and use simplify_gen_subreg.
3755 Mon Jun 4 19:55:23 CEST 2001 Lars Brinkhoff <lars@nocrew.org>
3757 * sibcall.c (skip_copy_to_return_value): recognize the situation
3758 when the called function's return value is copied into an
3759 intermediate pseudo, and then into the calling functions return
3762 Mon Jun 4 16:50:33 CEST 2001 Jan Hubicka <jh@suse.cz>
3764 * simplify_rtx.c (simplify_subreg): Keep subregs on return values,
3765 check CLASS_CANNOT_CHANGE_MODE before avoiding subreg on hard reg,
3766 in case register wasn't OK previously, accept it now; allow
3767 subregs of frame pointer if reload completed and frame pointer
3770 * combine.c (sombine_simplify_rtx): Fix comment;
3771 use subreg_lowpart_offset instead of subreg_lowpart_p
3772 (gen_lowpart_for_combine): Use subreg_lowpart_offset.
3773 * rtl.h (subreg_lowpart_parts_p): Kill.
3774 (subreg_lowpart_offset, subreg_highpart_offset): Declare.
3775 * simplify-rtx.c (simplify_subreg): Use subreg_lowpart_offset.
3776 * emit-rtl.c (gen_lowpart_SUBREG): Use subreg_lowpart_offset;
3777 (gen_lowpart_common): Likewise.
3778 (subreg_lowpart_p): Likewise.
3779 (subreg_lowpart_parts_p): Kill.
3780 (subreg_lowpart_offset, subreg_highpart_offset): New function.
3782 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
3783 to simplify SUBREG and REG.
3784 (gen_highpart): Use simplify_gen_subreg for all simplifications.
3786 * emit-rtl.c (gen_realpart, gen_imagpart): Do not handle
3789 * rtlanal.c (replace_regs): Use simplify_gen_subreg
3791 Mon Jun 4 09:21:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3793 * doc/c-tree.texi (ARRAY_REF): Say what type of expression must be.
3794 (ARRAY_RANGE_REF): Added description.
3796 * tree.def (ARRAY_RANGE_REF): New code.
3797 * alias.c (handled_component_p, can_address_p): Handle it.
3798 * dwarf2out.c (loc_descriptor_from_tree): Likewise.
3799 * explow.c (set_mem_attributes): Likewise.
3800 * expr.c (expand_assignment, get_inner_reference): Likewise.
3801 (expand_expr, expand_expr_unaligned, do_jump): Likewise.
3802 * fold-const.c (operand_equal_p): Likewise.
3803 * tree.c (staticp, stabilize_reference): Likewise.
3804 * varasm.c (decode_addr_const): Likewise.
3806 Sun Jun 3 21:59:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3808 * reload.c (reload_inner_reg_of_subreg): Return 1 for PLUS.
3809 (push_reload): Handle non-REG in reload_inner_reg_of_subreg case.
3811 2001-06-03 kaz Kojima <kkojima@rr.iij4u.or.jp>
3813 * gcc/config/sh/sh.c (print_operand_address, print_operand): Call
3814 mark_constant_pool_use before output_addr_const.
3815 (struct pool_node): New field wend.
3816 (add_constant): Note a sequence of constants that are referenced
3818 (pool_window_label, pool_window_last): New variables.
3819 (dump_table): Emit a unspec_volatile representing the end of a
3820 sequence of constants.
3821 (mark_constant_pool_use): New function.
3822 * gcc/config/sh/sh.md (UNSPECV_WINDOW_END): New constant.
3823 (consttable_2): Add the second operand which flags whether
3824 this consttable entry was used or not.
3825 (consttable_4, consttable_8, consttable_sf, consttable_df):
3827 (consttable_window_end): New insn.
3829 2001-06-03 Alexandre Oliva <aoliva@redhat.com>
3831 * insn-addr.h (INSN_ADDRESSES_NEW): Make insn_uid__ unsigned.
3832 Reformat according to coding standards.
3835 * config/sh/sh.c (print_operand_address): Cast INTVAL to int.
3836 (shl_and_kind): Cast wide constant.
3837 (gen_far_branch): Define as static, as in declaration.
3838 (barrier_align): Compute cache-line length as unsigned. Add
3839 parentheses in initial credit computation.
3840 (rounded_frame_size): Add parentheses.
3841 (permanent_obstack): Remove declaration. Include ggc.h for
3842 declaration of ggc_add_root_rtx().
3843 (get_free_reg): Removed declaration of unused variable reg.
3844 (legitimize_pic_address): Mark mode argument as unused.
3846 2001-06-03 Igor Shevlyakov <igor@windriver.com>
3848 * config/sh/sh.c (output_branch): Support for insn with lenght
3849 attr 12 & 16 which represents cond branches outside +-4096 range.
3851 2001-06-03 Alexandre Oliva <aoliva@redhat.com>
3853 * config/sh/lib1funcs.asm (ic_invalidate): Align the
3854 cache-mirroring sequence. Add nops.
3856 2001-06-03 Joseph S. Myers <jsm28@cam.ac.uk>
3858 * doc/install-old.texi: Remove more old installation
3860 * doc/install.texi: Add relevant parts here.
3862 2001-06-03 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3864 * doc/install.texi2html: New script.
3866 2001-06-03 David Edelsohn <edelsohn@gnu.org>
3868 * doc/install.texi: Update AIX information again.
3870 2001-06-02 Joseph S. Myers <jsm28@cam.ac.uk>
3872 * doc/gcc.texi, doc/install-old.texi: Remove old system-specific
3873 installation documentation.
3874 * doc/install.texi: Move it to here.
3876 2001-06-02 Joseph S. Myers <jsm28@cam.ac.uk>
3878 * doc/install.texi: Clean up Texinfo markup.
3880 2001-06-02 Joseph S. Myers <jsm28@cam.ac.uk>
3882 * doc/cpp.texi, doc/cppinternals.texi, doc/gcc.texi: Move contents
3883 to just after title page.
3885 2001-06-02 Joseph S. Myers <jsm28@cam.ac.uk>
3887 * doc/install-old.texi: Remove documentation of some configuration
3889 * doc/install.texi: Add relevant parts of this documentation here.
3891 2001-06-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3893 * contrib.texi: Updated entries for Mark Mitchell, Joseph S. Myers,
3894 Gerald Pfeifer, Bernd Schmidt, and Dean Wakerley.
3896 Sat Jun 2 12:23:51 CEST 2001 Jan Hubicka <jh@suse.cz>
3898 * i386.md (all uses of ext_register_operand): Make sure they are
3899 VOIDmode; replace all uses outside zero_extend.
3900 (and?i splitters): Use ext_register_operands.
3901 (test?i peep2): Remove ignored constraints.
3902 * i386.c (ext_register_operand): Check that operand is
3903 eighter pseudo or hard or 'Q' register.
3905 Sat Jun 2 06:53:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3907 * tree.h (struct record_layout_info_s): New field unpadded_align.
3908 (set_lang_adjust_rli): New declaration.
3909 * stor-layout.c (layout_decl): If DECL is packed, but at alignment
3910 it would have if not packed, do not downgrade DECL_ALIGN.
3911 (lang_adjust_rli, set_lang_adjust_rli): New.
3912 (start_record_layout): Initialize new field unpadded_align.
3913 (debug_rli): Display it.
3914 (place_union_field, place_field): Set it.
3915 (layout_type, case RECORD_TYPE): Call via lang_adjust_rli if set.
3917 * print-tree.c (print_node): Don't print "regdecl" when bit doesn't
3918 mean that; use proper names instead.
3919 Print DECL_NO_STATIC_CHAIN.
3921 * except.c (expand_builtin_frob_return_addr): Add missing call
3922 to convert_memory_address #ifdef POINTERS_EXTEND_UNSIGNED.
3923 (expand_builtin_eh_return): Likewise.
3924 (expand_eh_return): Clean up ptr_mode != Pmode cases.
3926 2001-06-01 Jan van Male <jan.vanmale@fenk.wau.nl>
3928 * doc/invoke.texi: Remove references to papers about sequence points
3929 to readings.html, refer to that page.
3931 2001-06-01 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3933 * README: Update references to installation instructions.
3935 2001-06-01 Laurent Guerby <guerby@acm.org>
3936 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3938 * doc/install.texi: Define srcdir when sources come from CVS.
3939 Significantly improve markup. Wrap overly long lines
3941 2001-06-01 DJ Delorie <dj@redhat.com>
3943 * c-tree.texi, contrib.texi, cpp.texi, cppinternals.texi,
3944 extend.texi, fdl.texi, gcov.texi, invoke.texi, md.texi,
3945 objc.texi, rtl.texi, tm.texi, texinfo.tex, gcc.1, cpp.1,
3946 gcov.1: Move to doc subdirectory.
3947 * install.texi: Move to doc/install-old.texi.
3948 * gcc.texi: Move to doc, refer to install-old.texi.
3949 * Makefile.in: Reflect move of docs to doc/.
3950 * f/Make-lang.in: Ditto.
3951 * java/Make-lang.in: Ditto.
3952 * doc/.cvsignore: New.
3954 2001-05-31 Jan van Male <jan.vanmale@fenk.wau.nl>
3956 * invoke.texi: use two spaces between command options, eliminate
3957 some 'overfull hboxes'
3959 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
3961 * Makefile.in (s-mlib): Make backtick-commands always succeed.
3962 (DRIVER_DEFINES): Ditto.
3964 2001-05-31 Richard Henderson <rth@redhat.com>
3966 * gcc.c (init_gcc_specs): When linking against libgcc_s.so,
3967 also link against libgcc.a.
3969 2001-05-31 Geoff Keating <geoffk@cygnus.com>
3971 * config/mips/mips.h (ASM_OUTPUT_ASCII): Convert to function.
3972 * config/mips/mips.c (mips_output_ascii): New function.
3973 * config/mips/mips-protos.h (mips_output_ascii): Prototype.
3975 * config/mips/mips.h (DWARF_CIE_DATA_ALIGNMENT): Force to 4.
3977 Thu May 31 19:09:53 CEST 2001 Jan Hubicka <jh@suse.cz>
3979 * flow.c (set_block_for_new_insns): Remove bogus shortcut.
3980 * i386.c (ix86_expand_int_movcc): Force one of operands to be register.
3982 2001-05-31 Rodney Brown <rbrown64@csc.com.au>
3984 * install.texi (Configuration): Add html links for --with-gnu-as &
3985 --with-gnu-ld and refer to them from hppa & SCO triplets.
3986 (Specific): Link back to with-gnu-ld for all ELF platfoms.
3987 (Specific): Reword AVR binutils recommendation.
3989 2001-05-30 Zack Weinberg <zackw@stanford.edu>
3991 * ggc-page.c (size_lookup): Increase minimum allocation size
3993 (ggc_print_statistics): Report size of each bin in bytes, not
3994 as its order; there is no longer a direct relationship.
3996 2001-05-31 Jan van Male <jan.vanmale@fenk.wau.nl>
3998 * extend.texi: Fix formating of examples, eliminate some
4000 * gcc.texi: Eliminate some 'overfull hboxes'.
4001 * invoke.texi: Use two spaces between command options, eliminate
4002 some 'overfull hboxes'.
4004 2001-05-30 Richard Henderson <rth@redhat.com>
4006 * dwarf2out.c (dwarf2out_finish): Don't emit DW_AT_stmt_list at -g1.
4008 2001-05-30 Tom Tromey <tromey@redhat.com>
4010 * gcc.c (do_spec_1): In `%O' case, if we computed saved_suffix,
4011 use it in the new association.
4013 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
4014 John David Anglin <dave@hiauly1.hia.nrc.ca>
4016 * gthr-posix.h (__gthread_active_ptr): Cast function pointer
4017 to target type to allow ISO C++ compiler to accept it.
4018 * gthr-dce.h (__gthread_active_ptr): Likewise.
4019 * gthr-solaris.h (__gthread_active_ptr): Likewise.
4021 2001-05-30 Neil Booth <neil@daikokuya.demon.co.uk>
4023 * cpplex.c (_cpp_lex_token): Revert patch of 16 May 2001
4024 so that we do accept comments in preprocessed input.
4026 2001-05-30 Neil Booth <neil@daikokuya.demon.co.uk>
4028 * cpphash.c (alloc_node): Cast allocated pointer.
4030 2001-05-30 Gordon Sadler <gbsadler1@lcisp.com>
4032 * invoke.texi (Option Summary): Remove -isystem-c++ from options.
4034 2001-05-29 Stan Shebs <shebs@apple.com>
4036 * gcc.texi: Add links for information about Objective-C.
4038 2001-05-29 Nathan Sidwell <nathan@codesourcery.com>
4040 * configure.in (gcc_version): Remove unrequired \ on ". (Solaris
4041 /bin/sed fails on [^\"]).
4042 (configargs.h): Likewise.
4044 2001-05-29 Hartmut Schirmer <SchirmerH@Innovative-Systems.de>
4046 * config/sh/sh.h (IDENT_ASM_OP): End with TAB, not LF.
4048 2001-05-28 Stan Shebs <shebs@apple.com>
4050 * objc/objc.gperf: Remove, no longer used.
4052 2001-05-28 Joseph S. Myers <jsm28@cam.ac.uk>
4054 * c-tree.texi, contrib.texi, cpp.texi, extend.texi, gcc.texi,
4055 gcov.texi, install.texi, md.texi, objc.texi, rtl.texi, tm.texi:
4056 Remove trailing whitespace.
4058 2001-05-28 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4060 * doc/install.texi (Specific): http://reality.sgi.com/ariel/freeware/
4061 became http://freeware.sgi.com/.
4063 2001-05-27 Geoffrey Keating <geoffk@redhat.com>
4065 * local-alloc.c (update_equiv_regs): Don't eliminate constant
4068 2001-05-27 Stan Shebs <shebs@apple.com>
4070 * objc/objc-act.c: Add/fix various comments.
4071 (init_selector): Remove, no longer used.
4072 (build_msg_pool_reference): Ditto.
4073 (objc_debug): Ditto.
4075 2001-05-27 Neil Booth <neil@daikokuya.demon.co.uk>
4077 * c-decl.c (init_decl_processing):
4078 Don't call start_identifier_warnings.
4079 * flags.h (warn_id_clash, id_clash_len): Remove.
4080 * stringpool.c: Don't include flags.h.
4081 (scan_for_clashes, do_identifier_warnings,
4082 start_identifier_warnings): Remove.
4083 * toplev.c (warn_id_clash, id_clash_len): Remove.
4084 (display_help): Don't document -Wid-clash.
4085 (decode_W_option): Print warning on -Wid-clash.
4086 * tree.h (start_identifier_warnings): Remove.
4087 * invoke.texi: Remove documentation of -Wid-clash.
4089 2001-05-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4091 * fixinc/fixtests.c: Declare entries in ENV_TABLE.
4093 2001-05-27 Bruce Korb <bkorb@gnu.org>
4095 * fixinc/check.tpl(HACK) add and use a Scheme variable
4096 (has no test text): error out if no "test_text" is defined
4097 * fixinc/fixincl.tpl: likewise
4098 (FIXIDX): make it an enumeration so we minimize diffs
4099 * fixinc/inclhack.def: re-alphabetize and add sort instructions
4100 * fixinc/fixincl.x: regenerate
4101 * fixinc/tests/base/stdio.h: test output got moved due to
4103 * README-fixinc: rewrite (mostly)
4105 2001-05-27 Neil Booth <neil@daikokuya.demon.co.uk>
4107 * cpplib.c (run_directive): Set pfile->directive.
4109 2001-05-23 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
4111 * c-tree.texi: Reformat the manual as a single chapter now
4112 included by gcc.texi.
4113 * gcc.texi: Include c-tree.texi. Merge all indexes.
4114 * Makefile.in (dvi): Add generation for the cppinternals
4115 documentation. Added dependencies on fdl.texi and c-tree.texi
4116 where appropriate. Use TEXI2DVI instead of custom tex calls.
4117 (info): Added dependencies on fdl.texi and c-tree.texi where
4118 appropriate. Remove the target c-tree.info.
4120 2001-05-27 Lars Brinkhoff <lars@nocrew.org>
4122 * combine.c (try_combine): Fix typo in comment.
4123 * expr.c (expand_expr): Likewise.
4124 * config/i370/i370.md (untyped_call): Likewise.
4126 2001-05-26 Bruce Korb <bkorb@gnu.org>
4128 * fixinc/fixtests.c(stdc_0_in_system_headers_test): Must return "FIX"
4129 when fixincl is operating in test mode
4130 * fixinc/inclhack.def(AAB_dgux_int_varargs) : aesthetics
4131 (AAB_ultrix_limits): remove redundant text
4132 (AAB_ultrix_memory): ditto
4133 (AAB_ultrix_string): ditto
4134 (djgpp_wchar_h): fix the test text
4135 (irix_stdio_va_list): add test text
4136 (irix_limits_const): add a testing output file (limits.h is overwritten)
4137 (strict_ansi_not_ctd): put limits.h second in list for same reason
4138 (solaris27_mutex_init): test text needed selection text, too
4140 * fixinc/fixtests.c(stdc_0_in_system_headers_test): Must return "FIX"
4141 when fixincl is operating in test mode
4143 2001-05-26 Philip Blundell <philb@gnu.org>
4145 * config/c4x/c4x-protos.h: Use GCC_C_PRAGMA_H in place of _C_PRAGMA_H.
4146 * config/i960/i960-protos.h: Likewise.
4147 * config/i370/i370-protos.h: Likewise.
4148 * config/h8300/h8300-protos.h: Likewise,
4149 * config/sh/sh-protos.h: Likewise.
4150 * config/v850/v850-protos.h: Likewise.
4152 2001-05-26 Philip Blundell <philb@gnu.org>
4154 * config/arm/arm-protos.h: Use GCC_C_PRAGMA_H in place of _C_PRAGMA_H.
4156 2001-05-25 Zack Weinberg <zackw@stanford.edu>
4158 * toplev.c (debug_args, f_options, W_options): Mark
4159 descriptions for translation.
4160 (display_help): Translate descriptions on output.
4162 * cp/lang-options.h, f/lang-options.h, java/lang-options.h,
4163 objc/lang-options.h: Mark descriptions for translation.
4165 * aclocal.m4: Quote final argument of patsubst. Use
4166 3-argument form of AC_DEFINE. Restore quotes to [] while
4168 * configure.in: Remove unnecessary changequote calls.
4169 * configure, config.in: Regenerate.
4171 2001-05-25 Sam TH <sam@uchicago.edu>
4173 * basic-block.h: Fix header include guards.
4174 * bitmap.h c-dump.h c-lex.h c-pragma.h c-tree.h collect2.h
4175 cppdefault.h cpphash.h cpplib.h defaults.h diagnostic.h errors.h
4176 except.h flags.h gcc.h gcov-io.h graph.h gstab.h gthr-aix.h
4177 gthr-dce.h gthr-posix.h gthr-rtems.h gthr-single.h gthr-solaris.h
4178 gthr-vxworks.h gthr-win32.h gthr.h hard-reg-set.h hwint.h
4179 insn-addr.h libgcc2.h mbchar.h mkdeps.h params.h prefix.h real.h
4180 rtl.h sbitmap.h system.h timevar.h toplev.h tradcpp.h tsystem.h
4181 varray.h version.h: Likewise.
4182 * config/dbxelf.h config/fp-bit.h config/arm/arm-protos.h
4183 config/arm/arm.h config/c4x/c4x-protos.h
4184 config/h8300/h8300-protos.h config/h8300/h8300.h
4185 config/i370/i370-protos.h config/i370/i370.h
4186 config/i960/i960-protos.h config/mcore/mcore.h
4187 config/mips/mips-protos.h config/sh/sh-protos.h config/sh/sh.h
4188 config/v850/v850-protos.h config/v850/v850.h: Likewise.
4189 * fixinc/fixlib.h fixinc/server.h: Likewise.
4191 2001-05-25 Stacey Sheldon <ssheldon@Catena.com>
4193 * config/arc/initfini.c (.init): Fix typo.
4195 2001-05-25 Geoffrey Keating <geoffk@redhat.com>
4197 * config/rs6000/rs6000.md (fseldfsf4): Correct mode of operand 4.
4199 2001-05-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4201 * i386/i386.h (CC1_CPU_SPEC): Clarify -m486 etc deprecation messages.
4203 2001-05-25 Richard Henderson <rth@redhat.com>
4205 * libgcc-std.ver: Export XFmode and TFmode versions of symbols.
4207 2001-05-25 Richard Henderson <rth@redhat.com>
4209 * config.gcc (all gnu and linux): Use t-slibgcc-elf-ver with t-linux.
4210 (i386-*-solaris2): Use t-slibgcc-elf-ver or t-slibgcc-sld.
4211 (sparc*-*-solaris2): Likewise.
4212 * config/t-linux: Remove shared libgcc macros.
4213 * config/t-slibgcc-elf-ver: Move from sparc/t-slibgcc.
4214 * config/t-slibgcc-sld: Move from sparc/t-slibgcc-sld.
4216 2001-05-25 Loren J. Rittle <ljrittle@acm.org>
4218 * config.gcc (*-*-freebsd*): Report bad configuration.
4220 2001-05-25 David Edelsohn <edelsohn@gnu.org>
4222 * xcoffout.h (DBX_OUTPUT_GCC_MARKER): Do not emit any marker.
4224 * config/rs6000/aix.h (USER_LABEL_PREFIX): AIX symbols do not have
4226 (ASM_OUTPUT_LABELREF): Delete.
4228 2001-05-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4230 * fixinc/inclhack.def (strict_ansi_not, strict_ansi_not_ctd,
4231 strict_ansi_only): Don't run if stdc_0_in_system_headers.
4232 * fixinc/fixincl.x: Regenerate.
4233 * fixinc/fixtests.c (stdc_0_in_system_headers_test): New function.
4234 (FIX_TEST_TABLE): Declare it.
4235 * fixinc/fixlib.h: Include config.h.
4237 2001-05-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4239 * fixinc/inclhack.def (alpha___assert): Change char * args to
4240 const char * on Tru64 UNIX to avoid excessive warnings from
4242 * fixinc/fixincl.x: Regenerate.
4244 2001-05-25 Geoff Keating <geoffk@redhat.com>
4246 * dbxout.c (dbxout_symbol): Invert previous patch, which was
4247 outputting a tag only for variable-size records.
4249 2001-05-25 Jeff Knaggs <jknaggs@redhat.com>
4251 * config/alpha/alpha.md (movtf_internal): Use reg_overlap_mentioned_p
4252 instead of rtx_equal_p for early clobber test.
4254 2001-05-26 Mark Mitchell <mark@codesourcery.com>
4256 * builtins.def: Encode additional information, such as names and
4258 * builtin-types.def: New file.
4259 * builtins.c (built_in_names): Adjust use of DEF_BUILTIN.
4260 (built_in_decls): Likewise. Don't explicitly initialize global
4262 (expand_builtin_mathfn): Handle float and long double variants of
4264 (expand_builtin): Likewise.
4265 * c-common.c (c_common_nodes_and_builtins): Make it table-driven.
4266 (expand_tree_builtin): Handle long, long long, float, and long
4267 double variants of math functions.
4268 * c-common.h (c_tree_index): Remove some unused nodes.
4269 (void_ftype): Remove.
4270 (void_type_ptr): Likewise.
4271 (int_ftype_int): Likewise.
4272 (ptr_ftype_sizetype): Likewise.
4273 * c-decl.c (init_decl_processing): Remove creation of DWARF
4275 * defaults.h (MD_INIT_BUILTINS): Provide default definition.
4276 * tree.h (built_in_function): Adjust definition of DEF_BUILTIN.
4277 * Makefile.in (c-common.o): Depend on builtin-types.def.
4279 2001-05-25 Dale Johannesen <dalej@apple.com>
4281 * config/rs6000/t-darwin: Fix dependencies for darwin.o.
4283 2001-05-25 Neil Booth <neil@daikokuya.demon.co.uk>
4285 * c-parse.in (notype_initdcl): Remove redundant line.
4287 2001-05-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4289 * aclocal.m4: Fixed typo.
4290 (gcc_AC_HEADER_STDBOOL): Define.
4291 (gcc_AC_C__BOOL): Define.
4292 * configure.in: Use them.
4293 (AC_CHECK_HEADERS): Remove stdbool.h
4294 * configure, config.in: Regenerate.
4296 2001-05-25 Richard Henderson <rth@redhat.com>
4298 * function.c (expand_function_start): Don't abort on PARALLEL
4299 returns from hard_function_value.
4301 2001-05-25 Richard Henderson <rth@redhat.com>
4303 * config/i386/i386.md: Revert previous change. Do not apply
4304 the peephole if the components do not die after the sequence.
4306 2001-05-25 Joseph S. Myers <jsm28@cam.ac.uk>
4308 * c-parse.in (array_declarator): New. Handle C99 constructs.
4309 Don't restrict [*] declarators to C only.
4310 (after_type_declarator, parm_declarator_starttypename,
4311 parm_declarator_nostarttypename, notype_declarator,
4312 direct_absdcl1): Use it.
4313 * c-decl.c (build_array_declarator, set_array_declarator_type):
4314 New functions. Warn that [*] isn't properly implemented; pedwarn
4315 for [*] outside C99 mode if pedantic rather than giving a hard
4317 (grokdeclarator): Handle static and type qualifiers in parameter
4319 * c-tree.h (build_array_declarator, set_array_declarator_type):
4321 * extend.texi (Attribute Syntax): Document attributes in parameter
4324 2001-05-25 Mark Mitchell <mark@codesourcery.com>
4326 * config/i386/i386.md: Make sure cmpstr peepholes do not
4327 affect liveness information.
4329 2001-05-24 Mark Mitchell <mark@codesourcery.com>
4331 * c-typeck.c (digest_init): Issue error messages about
4332 invalid constants, not warnings.
4334 2001-05-24 Mark Mitchell <mark@codesourcery.com>
4336 * invoke.texi (-fno-builtin): Document that this is always on
4339 2001-05-24 Philip Blundell <philb@gnu.org>
4341 * doc/install.texi (arm*-*-linux-gnu): Say that binutils 2.10 is
4344 2001-05-24 Philip Blundell <philb@gnu.org>
4346 * config/arm/arm.c (output_return_instruction): Correctly handle
4347 interworking and interrupt functions.
4349 2001-05-24 Philip Blundell <philb@gnu.org>
4351 * config/arm/arm.h (TARGET_SWITCHES): Correct misleading help for
4352 -m{no-}sched-prolog. Fix typos and improve formatting.
4354 2001-05-24 Philip Blundell <philb@gnu.org>
4356 * invoke.texi (ARM Options): Improve wording slightly. Add
4357 documentation for more options, including those for Thumb mode.
4358 Don't mention options that don't exist or are unimplemented.
4359 (Thumb Options): Delete; merged into above section.
4361 2001-05-24 Geoff Keating <geoffk@redhat.com>
4363 * config/rs6000/linux.h (SIGNAL_FRAMESIZE): Define.
4364 (MD_FALLBACK_FRAME_STATE_FOR): Use it.
4366 Thu May 24 19:47:19 CEST 2001 Jan Hubicka <jh@suse.cz>
4368 * simplify-rtx.c (simplify_subreg): Fix CONCAT simplification;
4369 fix hard register simplification.
4371 Thu May 24 00:15:17 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4373 * sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Add all of CPP_SPEC instead
4374 of just copying CPP_CPU_SPEC.
4376 Thu May 24 15:56:48 CEST 2001 Jan Hubicka <jh@suse.cz>
4378 * i386.c (incdec_operand): Accept only 1 and -1.
4380 2001-05-23 Kelley Cook <kelley.cook@home.com>
4382 * Makefile.in: Move many of the *_H definitions eariler in the
4383 file, so that rules in t-* files that use them for
4384 dependencies will work in a parallel build.
4385 * config/i386/t-cygwin (winnt.o): Depend on $(CONFIG_H).
4387 2001-05-23 Richard Henderson <rth@redhat.com>
4389 * integrate.c (expand_inline_function): Handle CONCAT DECL_RESULT.
4391 2001-05-23 Neil Booth <neil@daikokuya.demon.co.uk>
4393 * cpp.texi: Update for handling of charconsts.
4394 * cpplex.c (maybe_read_ucs): Don't accept D800-DFFF. Update
4395 diagnostics. Skip to the end if the UCS is too short.
4396 (cpp_interpret_charconst): Long charconsts issue a warning
4399 2001-05-23 Richard Henderson <rth@redhat.com>
4401 * doc/install.texi (alpha-linux): Require binutils 2.11.
4403 2001-05-23 Neil Booth <neil@daikokuya.demon.co.uk>
4405 * c-lex.c (read_escape, read_ucs): Delete.
4406 (lex_string): Use cpp_parse_escape.
4407 * cpplex.c (read_ucs): Rename maybe_read_ucs. Do nothing
4408 if not C++ or not C99. Warn if traditional.
4409 (parse_escape): Rename cpp_parse_escape. Make the bitmask
4410 unsigned. Warn for out-of-range escape sequences here.
4411 Update to use maybe_read_ucs.
4412 (cpp_interpret_charconst): Don't warn here.
4413 * cpplib.h (cpp_parse_escape): New exported function.
4415 2001-05-23 Joseph S. Myers <jsm28@cam.ac.uk>
4417 * extend.texi (Attribute Syntax): Clarify application of
4418 attributes to parameters declared as functions or arrays.
4420 2001-05-23 Jason Merrill <jason_merrill@redhat.com>
4422 * dbxout.c (dbxout_type_methods): Do still group methods by name.
4424 2001-05-23 Zack Weinberg <zackw@stanford.edu>
4426 * diagnostic.c (vnotice): Kill.
4427 (fnotice): Call vfprintf directly.
4428 (diagnostic_for_decl, output_do_verbatim, output_verbatim,
4429 verbatim, set_diagnostic_context): Rename string argument to
4430 indicate that it is run through gettext.
4431 (vbuild_message_string, build_message_string, output_do_printf):
4432 Rename string argument to indicate that it is NOT run through
4434 (output_printf, diagnostic_for_decl, fatal_io_error, sorry,
4435 output_do_verbatim, set_diagnostic_context, fnotice, _fatal_insn):
4436 Run msgid argument through gettext.
4437 (default_print_error_function): Run constant strings through
4438 gettext when nothing else will.
4439 (fatal_error, internal_error, error_recursion): Use fnotice.
4440 Present complete sentences to gettext.
4442 2001-05-23 Mark Mitchell <mark@codesourcery.com>
4444 * jump.c (mark_jump_label): Fix thinko in 2001-05-19 change.
4446 2001-05-23 Richard Henderson <rth@redhat.com>
4448 * function.c (expand_function_start): Always use a pseudo
4449 for the function result value.
4451 2001-05-22 Richard Henderson <rth@redhat.com>
4453 * config/mips/iris6.h (EH_FRAME_SECTION_ASM_OP): Give the
4454 section pointer alignment.
4456 * doc/install.texi (alpha-linux): Require binutils >= 2.10.
4458 * unwind-dw2-fde.c (__deregister_frame_info): Stringize use
4459 of __USER_LABEL_PREFIX__.
4461 2001-05-22 Richard Henderson <rth@redhat.com>
4463 * unwind-dw2-fde.c (__deregister_frame_info): Stubbify in favour of...
4464 (__deregister_frame_info_bases): New.
4465 * unwind-dw2-fde.h: Declare it.
4466 * libgcc-std.ver: Export it.
4467 * crtstuff.c (__do_global_dtors_aux): Call it if we would have
4468 called __register_frame_info_bases.
4470 2001-05-22 Loren J. Rittle <ljrittle@acm.org>
4472 * config/freebsd.h (FBSD_CPP_PREDEFINES): Use #endif/#if pair
4473 instead of #elif (which is OK for this case but not in general).
4475 2001-05-22 Andrew MacLeod <amacleod@redhat.com>
4477 * builtins.c (expand_builtin_longjmp): A longjmp can be a call too.
4478 * config/ia64/ia64.md (nonlocal_goto): Reverse label and frame pointer
4479 parameters to __ia64_nonlocal_goto. Flag as NO_RETURN.
4480 * config/ia64/ia64.c (ia64_expand_epilogue): Make sure we are issuing
4481 "r2" to the assembly file. Only issue allocs with non-zero parameters.
4483 2001-05-22 Loren J. Rittle <ljrittle@acm.org>
4484 David O'Brien <obrien@freebsd.org>
4486 * config/freebsd.h (LIB_SPEC): Key the exact setting to
4487 configure-time options and target version of FreeBSD. Set-up
4488 to match architectural change in threading support. Correctly
4489 report when -pthread option is not supported by configure-time
4491 (FBSD_CPP_PREDEFINES): Move from architecture-specific files
4492 and extend to encode target version number in run-time setting
4493 of __FreeBSD__ macro to match the system compiler.
4494 (CPP_PREDEFINES): Likewise.
4495 (PREFERRED_DEBUGGING_TYPE): Change to DWARF2_DEBUG.
4497 * config/alpha/freebsd.h (CPP_PREDEFINES): Moved to common freebsd.h.
4498 * config/i386/freebsd.h (CPP_PREDEFINES): Likewise.
4500 2001-05-22 Loren J. Rittle <ljrittle@acm.org>
4501 David O'Brien <obrien@freebsd.org>
4503 * config.gcc (the unlabeled system switch statement): Add
4504 generic configuration section to handle *-*-freebsd*. Also,
4505 to match the system compiler, default to threading support (it
4506 may be disabled with the standard --disable-threads
4507 configuration-time switch).
4508 (i[34567]86-*-freebsd* in machine-specific section): Use it.
4509 (alpha*-*-freebsd* in machine-specific section): Likewise.
4511 * config/freebsd3.h: New file to expose FBSD_MAJOR macro (3).
4512 * config/freebsd4.h: New file to expose FBSD_MAJOR macro (4).
4513 * config/freebsd5.h: New file to expose FBSD_MAJOR macro (5).
4514 * config/freebsd6.h: New file to expose FBSD_MAJOR macro (6).
4515 * config/freebsd-nthr.h: New file to expose FBSD_NO_THREADS macro.
4517 2001-05-22 Loren J. Rittle <ljrittle@acm.org>
4518 David O'Brien <obrien@freebsd.org>
4520 * config/t-freebsd (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
4521 * config/t-freebsd-thread (TARGET_LIBGCC2_CFLAGS): Add
4522 -pthread instead setting macro.
4524 2001-05-22 Richard Henderson <rth@redhat.com>
4526 * crtstuff.c (__register_frame_info_bases): Declare.
4527 (frame_dummy): Use it, if CRT_GET_RFIB_TEXT or CRT_GET_RFIB_DATA.
4528 (__do_global_dtors_aux, __do_global_dtors): Streamline.
4530 * config/i386/linux.h (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): New.
4531 (CRT_GET_RFIB_DATA): New.
4532 * config/i386/sysv4.h: Likewise.
4533 * config/i386/sco5.h: Likewise.
4534 (ASM_PREFERRED_EH_DATA_FORMAT): New.
4536 2001-05-22 Richard Henderson <rth@redhat.com>
4538 * rtl.c (read_string): Break out from ...
4539 (read_rtx): ... here.
4541 2001-05-22 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4543 * doc/install.texi (Specific): Remove a bogus and duplicate part
4544 copied from the end of the document.
4546 2001-05-22 Bernd Schmidt <bernds@redhat.com>
4548 * Makefile.in (LIBGCC_DEPS): Correct LIB1ASMSRC dependency.
4550 2001-05-22 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4552 * install.texi: Remove obsolete information on SunOS as well as
4553 i386-sun-sunos4, i860-intel-osf1, and powerpcle-*-solaris2*.
4554 (Installing GNU CC on the Sun): Remove section.
4556 2001-05-22 Alexandre Oliva <aoliva@redhat.com>
4558 * cppfiles.c (remove_component_p): Don't assume lstat/stat will
4559 keep errno unchanged on success.
4561 2001-05-22 Joseph S. Myers <jsm28@cam.ac.uk>
4563 * c-lex.c (lex_number): If pedantic and not C99, pedwarn exactly
4564 once for hexadecimal floats, whether or not they contain a decimal
4565 point. Don't let the setting of pedantic otherwise affect the
4566 parsing of hexadecimal floats.
4568 2001-05-22 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4570 * README.ACORN: Remove obsolete file.
4572 2001-05-22 Jan Hubicka <jh@suse.cz>
4574 * combine.c (gen_binary): Use swap_commutative_operands_p
4575 (simplify_comparison): Likewise.
4576 * expmed.c (emit_store_flag): Likewise.
4577 * expr.c (compare_from_rtx): Likewise.
4578 (do_compare_rtx_and_jump): Likewise.
4579 * optabs.c (emit_cmp_and_jump_insn): Revert last patch; abort
4580 if not emitting a branch and operands want swapping.
4582 2001-05-22 Neil Booth <neil@daikokuya.demon.co.uk>
4584 * c-lex.c (c_lex): Just cast cpp's hashnode to gcc's one.
4585 * stringpool.c: (IS_FE_IDENT, make_identifier): Delete.
4586 (maybe_get_identifier): Update.
4587 * tree.h (make_identifier): Delete.
4589 2001-05-21 Richard Henderson <rth@redhat.com>
4591 * combine.c (subst): Do not substitute for a register as
4592 a destination subreg/strict_low_part/zero_extract.
4594 * combine.c (simplify_comparison): Update op1 after constant
4596 * recog.c (const_int_operand): Accept only constants valid
4598 * genrecog.c: Update comments wrt const_int_operand.
4600 * emit-rtl.c (init_emit_once): Zero unused memory in a
4603 2001-05-21 Mark Mitchell <mark@codesourcery.com>
4605 * tree.h (type_num_arguments): Declare it.
4606 * tree.c (type_num_arguments): New function.
4608 2001-05-21 Richard Henderson <rth@redhat.com>
4610 * dwarf2out.c (current_funcdef_number): Move outside dwarf2
4613 2001-05-21 Geoff Keating <geoffk@redhat.com>
4615 * config/rs6000/rs6000.md (maxsf3): Use rs6000_emit_minmax.
4617 (minsf3): Use rs6000_emit_minmax.
4618 (minsf3+1): Generalize to handle both SMIN and SMAX. Use
4620 (movsfcc): Use rs6000_emit_cmove.
4621 (fselsfsf4): Don't compare a CONST_INT with a floating-point value.
4622 Don't generate emit_fselsfsf4.
4623 (fseldfsf4): Likewise.
4624 (maxdf3): Use rs6000_emit_minmax.
4626 (mindf3): Use rs6000_emit_minmax.
4627 (mindf3+1): Generalize to handle both SMIN and SMAX. Use
4629 (movdfcc): Use rs6000_emit_cmove.
4630 (fseldfdf4): Don't compare a CONST_INT with a floating-point value.
4631 Don't generate emit_fselsfsf4.
4632 (fselsfdf4): Likewise.
4633 * config/rs6000/rs6000.c (zero_fp_constant): New predicate.
4634 (min_max_operator): New predicate.
4635 (rs6000_emit_cmove): New function.
4636 (rs6000_emit_minmax): New function.
4637 * config/rs6000/rs6000-protos.h: Prototype new functions.
4638 * config/rs6000/rs6000.h (PREDICATE_CODES): Add zero_fp_constant
4639 and min_max_operator.
4641 * config/rs6000/rs6000.c (output_cbranch): Handle all
4642 conditional types in the switch statement.
4644 2001-05-21 Mark Mitchell <mark@codesourcery.com>
4646 * c-decl.c (finish_decl): Don't set DECL_C_HARD_REGISTER for
4647 non-register variables.
4648 * extend.texi: Document that asm-specifications do not make sense
4649 for non-static local variables.
4651 2001-05-21 Jason Merrill <jason_merrill@redhat.com>
4653 * dbxout.c (MINIMAL_DEBUG, flag_minimal_debug): Lose.
4654 (dbxout_type_fields): Lose minimal_debug support.
4655 (dbxout_type_methods, dbxout_type): Likewise.
4657 2001-05-17 Andrew Haley <aph@redhat.com>
4659 * config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
4661 2001-05-21 Richard Henderson <rth@redhat.com>
4663 * dwarf2out.c (DEBUG_FRAME_SECTION): Rename from FRAME_SECTION.
4666 2001-05-20 Richard Henderson <rth@redhat.com>
4668 * dwarf2out.c (DEBUG_ABBREV_SECTION, DEBUG_ARANGES_SECTION,
4669 DEBUG_MACINFO_SECTION, DEBUG_LOC_SECTION, DEBUG_PUBNAMES_SECTION,
4670 DEBUG_STR_SECTION): Rename from s/DEBUG_//. Update all users.
4671 * dwarfout.c (DEBUG_SFNAMES_SECTION, DEBUG_SRCINFO_SECTION,
4672 DEBUG_MACINFO_SECTION, DEBUG_PUBNAMES_SECTION, DEBUG_ARANGES_SECTION):
4674 * config/mips/iris6.h (DEBUG_SFNAMES_SECTION, DEBUG_SRCINFO_SECTION,
4675 DEBUG_MACINFO_SECTION, DEBUG_PUBNAMES_SECTION, DEBUG_ARANGES_SECTION,
4676 DEBUG_FRAME_SECTION, DEBUG_ABBREV_SECTION): Rename as above.
4677 (DEBUG_LOC_SECTION, DEBUG_STR_SECTION): New.
4678 * config/ia64/ia64.h (DEBUG_ABBREV_SECTION, DEBUG_ARANGES_SECTION,
4679 DEBUG_PUBNAMES_SECTION): Rename as above.
4680 (DEBUG_MACINFO_SECTION, DEBUG_LOC_SECTION, DEBUG_STR_SECTION): New.
4682 2001-05-20 Richard Henderson <rth@redhat.com>
4684 * optabs.c (emit_cmp_and_jump_insns): Don't swap commutative
4685 operands unless the operation is commutative.
4687 2001-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4689 * fold-const.c (tree_expr_nonnegative_p): Detect more non-negative
4692 2001-05-21 Joseph S. Myers <jsm28@cam.ac.uk>
4694 * extend.texi: Clarify documentation of extensions included in ISO
4695 C99. Prefer C99 terminology and syntax to old GNU terminology and
4696 syntax. Add more index entries. Document mixed declarations and
4697 code as an extension in C89 mode. Warn about future changes to
4698 semantics of inline functions. Fixes PR other/930.
4700 Sun May 20 16:39:24 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4702 * expr.c (expand_expr, case ARRAY_REF): Don't fold constant
4703 access if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
4704 (expand_expr, case COMPONENT_REF): Do copy if misaligned even
4705 if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
4707 * stmt.c (expand_decl): Set mode, alignment, and sizes for CONST_DECL.
4709 2001-05-20 Richard Henderson <rth@redhat.com>
4711 * sched-deps.c (sched_analyze_insn): Force volatile memory reads
4712 to be output before a branch.
4714 2001-05-20 Richard Henderson <rth@redhat.com>
4716 * Makefile.in (dwarf2asm.o): Depend on $(TREE_H).
4718 2001-05-20 Richard Henderson <rth@redhat.com>
4720 * config/i386/att.h (ASM_SHORT, ASM_LONG): Add trailing \t.
4721 (ASM_DOUBLE): Remove.
4722 * config/i386/bsd.h, config/i386/sco5.h: Likewise.
4723 * config/i386/sun386.h: Likewise.
4725 * config/i386/i386.h (UNALIGNED_SHORT_ASM_OP): New.
4726 (UNALIGNED_INT_ASM_OP, INT_ASM_OP): New.
4728 * config/i386/cygwin.h (INT_ASM_OP): Remove.
4729 * config/i386/freebsd-aout.h, config/i386/i386-aout.h: Likewise.
4730 * config/i386/i386-coff.h, config/i386/i386-interix.h: Likewise.
4731 * config/i386/netbsd.h, config/i386/openbsd.h: Likewise.
4733 * config/i386/cygwin.h: Adjust uses of ASM_LONG for trailing \t.
4734 * config/i386/djgpp.h, config/i386/i386.h: Likewise.
4735 * config/i386/i386elf.h, config/i386/ptx4-i.h: Likewise.
4736 * config/i386/sco5.h, config/i386/svr3gas.h: Likewise.
4737 * config/i386/sysv4.h, config/i386/vsta.h: Likewise.
4738 * config/i386/win32.h: Likewise.
4740 2001-05-20 Joseph S. Myers <jsm28@cam.ac.uk>
4742 * invoke.texi: Add more options to summary list.
4744 2001-05-20 Joseph S. Myers <jsm28@cam.ac.uk>
4746 * invoke.texi: Document meaning of -pedantic when -std=gnu* is
4747 used. Fixes PR c/2291.
4748 * gcc.1: Regenerate.
4750 2001-05-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4752 * config/m68hc11/m68hc11.c (m68hc11_override_options): Ignore
4753 the -fpic and -fPIC options, clear flag_pic.
4755 2001-05-20 Neil Booth <neil@daikokuya.demon.co.uk>
4757 * hashtable.c (calc_hash): Fix HASHSTEP definition.
4758 * stringpool.c (make_identifier): No statistics here anymore.
4759 * objc-act.c (steup_string_decl): Remove redundant check.
4761 2001-05-20 Neil Booth <neil@daikokuya.demon.co.uk>
4763 * Makefile.in (OBJS, LIBCPP_OBJS, LIBCPP_DEPS,
4764 cpplib.o, cpphash.o, fix-header): Update.
4765 (hashtable.o): New target.
4766 * c-common.h: Include cpplib.h. Define C_RID_CODE and
4767 struct c_common_identifier here.
4768 * c-lang.c (c_init_options): Update. Call set_identifier_size.
4769 * c-lex.c (c_lex): Update.
4770 * c-pragma.h: Update.
4771 * c-tree.h (struct lang_identifier): Contain c_common_identifier.
4773 (C_RID_CODE): Delete.
4774 * cpphash.c: Rewrite to use hashtable.c.
4775 * cpphash.h: Update include guards.
4776 (struct cpp_reader): Remove hashtab.
4777 hash_ob and buffer_ob are no longer pointers. Add hash_table
4779 (HASHSTEP, _cpp_init_hashtable, _cpp_lookup_with_hash): Delete.
4780 (_cpp_cleanup_hashtable): Rename _cpp_destroy_hashtable.
4781 (_cpp_cleanup_stacks): Rename _cpp_init_directives.
4782 * cppinit.c (cpp_create_reader): Update.
4783 * cpplex.c (cpp_ideq, parse_identifier, cpp_output_token): Update.
4784 (cpp_interpret_charconst): Eliminate warning.
4785 * cpplib.c (do_pragma, do_endif, push_conditional,
4786 cpp_push_buffer, cpp_pop_buffer): Update.
4787 (_cpp_init_stacks): Rename cpp_init_directives.
4788 (_cpp_cleanup_stacks): Remove.
4789 * cpplib.h: Update include guards. Include tree-core.h and c-rid.h.
4790 (cpp_hashnode, cpp_token, NODE_LEN, NODE_NAME,
4791 cpp_forall_identifiers, cpp_create_reader): Update.
4792 (C_RID_CODE, cpp_make_node): New.
4793 (c_common_identifier): New identifier node for C front ends.
4794 * cppmain.c (main): Update.
4795 * fix-header.c (read_scan_file): Update.
4796 * flags.h (id_clash_len): Make unsigned.
4797 * ggc.h (ggc_mark_nonnull_tree): New.
4800 * stringpool.c: Update comments and copyright. Update to use
4802 * toplev.c (approx_sqrt): Move to hashtable.c.
4803 (id_clash_len): Make unsigned.
4804 * toplev.h (ident_hash): New.
4805 * tree.c (gcc_obstack_init): Move to hashtable.c.
4806 * tree.h: Include hashtable.h.
4807 (IDENTIFIER_POINTER, IDENTIFIER_LENGTH): Update.
4808 (GCC_IDENT_TO_HT_IDENT, HT_IDENT_TO_GCC_IDENT): New.
4809 (struct tree_identifier): Update.
4810 (make_identifier): New.
4812 * cp-tree.h (struct lang_identifier, C_RID_YYCODE): Update.
4813 (C_RID_CODE): Remove.
4814 * lex.c (cxx_init_options): Call set_identifier_size. Update.
4815 (init_parse): Don't do it here.
4817 * objc-act.c (objc_init_options): Call set_identifier_size. Update.
4819 Sat May 19 18:23:04 2001 Richard Henderson <rth@redhat.com>
4821 * except.c (dw2_build_landing_pads): Use word_mode, not Pmode,
4823 (expand_eh_return): Convert between word_mode and Pmode.
4824 * unwind-dw2.c (extract_cie_info): Do not assume words and pointers
4826 (execute_stack_op): Likewise.
4827 (execute_cfa_program): Likewise.
4828 (uw_frame_state_for): Likewise.
4829 (uw_update_context_1): Likewise.
4830 * unwind.inc (_Unwind_Reason_Code): Likewise.
4831 * config/mips/mips.h (EH_RETURN_DATA_REGNO): Define.
4832 (EH_RETURN_STACKADJ_RTX): Likewise.
4833 * config/mips/mips.c (compute_frame_size): Make space for saving
4834 EH return registers.
4835 (mips_expand_epilogue): Handle EH stack adjustments.
4836 * config/mips/mips.md (eh_return): New pattern.
4837 (eh_set_lr_si): Likewise.
4838 (eh_set_lr_di): Likewise.
4839 Add splitter to perform EH return after reload.
4841 2001-05-19 Mark Mitchell <mark@codesourcery.com>
4843 * jump.c (mark_jump_label): Tidy previous change.
4845 2001-05-19 Bruce Korb <bkorb@gnu.org>
4847 * fixinc/genfixes: no need for two warnings
4848 * fixinc/Makefile.in: open stdin for those building with a closed one.
4850 2001-05-19 Mark Mitchell <mark@codesourcery.com>
4852 * jump.c (jump_optimize_1): Tidy.
4853 (mark_jump_label): When changing the label in a LABEL_REF, change
4854 update any REG_EQUAL notes as well.
4856 2001-05-19 Joseph S. Myers <jsm28@cam.ac.uk>
4858 * c-parse.in (parm_declarator): Split into
4859 parm_declarator_starttypename and parm_declarator_nostarttypename.
4860 (parm_declarator_starttypename, parm_declarator_nostarttypename):
4861 New. Allow parenthesised sub-declarators which don't begin with a
4862 TYPENAME. Fixes PR c/166.
4864 2001-05-19 Mark Mitchell <mark@codesourcery.com>
4866 * defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): New
4868 * tm.texi (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER):
4870 * toplev.c (main): If the target does not allow profiling without
4871 a frame pointer, issue an error message.
4872 * config/i386/linux.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER):
4875 Sat May 19 07:53:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4877 * recog.c (general_operand): Modify last change to allow it if reload
4880 Sat May 19 10:23:54 CEST 2001 Jan Hubicka <jh@suse.cz>
4882 * recog.c (general_operand): Prohibit nonzero subreg bytes on
4883 subregs containing mem.
4885 Sat May 19 09:40:45 2001 Denis Chertykov <denisc@overta.ru>
4887 * regrename.c (regrename_optimize): frame pointer register can
4890 2001-05-18 Jason Merrill <jason_merrill@redhat.com>
4892 * README.DWARF: Move into dwarfout.c.
4894 2001-05-18 Dale Johannesen <dalej@apple.com>
4896 * config/rs6000/rs6000.c (secondary_reload_class): Fix Darwin
4897 specific misuse of r0 as a reload address.
4899 Fri May 18 22:42:04 CEST 2001 Jan Hubicka <jh@suse.cz>
4901 * combine.c (combine_simplify_rtx): Clear op0_mode if simplification
4904 Fri May 18 07:26:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4906 * genrecog.c (enum decision_type): Add DT_elt_zero-wide_safe.
4907 (add_to_sequence): Make that decision type.
4908 (maybe_both_true_2, nodes_identical_1, factor_tests): Use it.
4909 (write_switch, write_cond, debug_decision_2): Likewise.
4911 * dbxout.c (dbxout_type): Use host_integerp and fix typo in testing
4913 (dbxout_symbol, case TYPE_DECL): Don't generate tag for records of
4916 2001-05-18 Stan Shebs <shebs@apple.com>
4918 * configure.in (gcc_cv_as_eh_frame): Cope with old assemblers.
4919 * configure: Regenerate.
4921 2001-05-18 Per Bothner <per@bothner.com>
4923 Changes needed for java/jvspec.c
4924 * gcc.h (n_infiles, outfiles): Add declarations.
4925 * gcc.c (n_infiles, outfiles): Mske no longer static.
4927 Fri May 18 10:14:42 2001 Jeffrey A Law (law@cygnus.com)
4929 * config/pa/som.h (EXCEPTION_SECTION): Define.
4931 2001-05-18 Daniel Berlin <dan@cgsoftware.com>
4933 * dwarf2out.c: Add dw_loc_list_ref, a reference to a location
4935 Add have_location_lists, a variable to determine whether we need a
4936 .debug_loc section or not.
4937 (enum dw_val_class): Add dw_val_class_loc_list.
4938 (dw_val_struct): Add val_loc_list.
4939 (dw_loc_list_struct): New structure, represents location lists.
4940 (new_loc_list): New function, return a new location list, given
4941 the range and location expression.
4942 (add_loc_descr_to_loc_list): New function, add a location
4943 expression to a location list, given the expression and range.
4944 (output_loc_list): New function, output a location list.
4945 (gen_internal_sym): Modified to take symbol prefix, so we can
4946 reuse it for location list symbols.
4947 (add_AT_loc_list): New function, add a location list to a DIE at
4948 the named attribute.
4949 (AT_loc_list): New function, return the location list reference
4950 for a given attribute, if it's a location list.
4951 (print_die): Handle dw_val_class_loc_list.
4952 (size_of_die): Ditto.
4953 (value_format): Ditto.
4954 (output_die): Ditto.
4955 (output_location_lists): New function, output all of the location
4956 lists for a DIE and it's children.
4957 (dwarf2out_finish): Call output_location_lists if we have location
4961 Fri May 18 15:39:16 CEST 2001 Jan Hubicka <jh@suse.cz>
4963 * gcse.c (try_replace_reg): First try global replace, later try to
4964 simplify the expression.
4966 * gcse.c (find_used_regs): Change calling convention; work via
4968 (cprop_insn): Update call of find_used_regs; work for CALL_INSNs too.
4970 2001-05-18 Bernd Schmidt <bernds@redhat.com>
4973 2001-02-09 Nick Clifton <nickc@redhat.com>
4974 * config/arm/arm.md: Change output constraint on post inc
4975 load/store multiple patterns to be a read/write constraint.
4977 2001-05-18 Mark Mitchell <mark@codesourcery.com>
4979 * basic-block.h (struct basic_block_def): Add documentation about
4980 what a basic block is, and what the various fields are used for.
4981 * flow.c (calculate_globlal_regs_live): Add documentation about
4982 how the algorithm works, and how we know that it will terminate.
4983 Check that the the inductive assumption that guarantees
4984 termination actually holds.
4985 (mark_used_regs): Treat conditionally set registers as used.
4986 (debug_regset): Add comment.
4987 * rtl.texi (cond_exec): Add documentation.
4989 * function.c (expand_function_start): Avoid creating BLKmode
4992 2001-05-17 Mark Mitchell <mark@codesourcery.com>
4994 * dwarf2out.c (output_comp_unit): Always output a compilation-unit
4995 DIE, even if it has no children.
4996 (dwarf2out_finish): Always output the line-number table, even if
4999 2001-05-18 David Edelsohn <edelsohn@gnu.org>
5001 * rs6000.md (movsfcc,movdfcc): Remove NE case.
5003 2001-05-17 Bruce Korb <bkorb@gnu.org>
5005 * fixinc/fixincl.tpl: rewritten as an AutoGen version 5 template
5006 * fixinc/genfixes: emit a warning if AutoGen is out of date
5008 2001-05-17 Brendan Conoboy <blc@cygnus.com>
5009 Bruce Korb <bkorb@gnu.org>
5011 * fixinc/fixincl.sh(FIXINC): accept local directory if fixincl not
5012 found in fixinc directory. Facilitates binary distributions.
5014 2001-05-17 Jeffrey Oldham <oldham@codesourcery.com>
5016 * dbxout.c (dbxout_symbol_location): For CONCAT, skip types not
5019 Thu May 17 19:42:39 2001 Mark Kettenis <kettenis@wins.uva.nl>
5021 * dwarf2out.c (modified_type_die): Equate qualified type to die.
5023 Thu May 17 23:19:46 CEST 2001 Jan Hubicka <jh@suse.cz>
5025 * integrate.c (copy_rtx_and_substitute): Use simplify_gen_subreg.
5026 (simplify_subreg): Handle complex types represented as CONCAT.
5028 * recog.c (validate_replace_rtx_1): Properly canonicalize expression
5029 * rtl.h (swap_commutative_operands_p): Declare.
5030 * rtlanal.c (swap_commutative_operands_p): New.
5031 (operand_preference): New static function.
5033 * combine.c (combine_simplify_rtx): Use swap_commutative_operands_p.
5034 (gen_binary): Likewise.
5035 * optabs.c (emit_cmp_and_jump_insns, emit_conditional_move): Likewise.
5036 * simplify-rtx.c (simplify_gen_binary,
5037 simplify_gen_relational): Likewise.
5039 Thu May 17 20:43:36 CEST 2001 Jan Hubicka <jh@suse.cz>
5041 * cse.c (fold_rtx): Use simplify_subreg.
5043 * simplify-rtx.c (simplify_replace_rtx): Use simplify_gen_subreg.
5044 (simplify_gen_subreg): New.
5045 (simplify_rtx): Use simplify_subreg.
5046 * rtl.h (simplify_gen_subreg): Declare.
5048 2001-05-17 Mark Mitchell <mark@codesourcery.com>
5050 * doc/install.texi: Update Solaris information.
5052 * except.h (protect_cleanup_actions): Remove it.
5053 (lang_protect_cleanup_actions): Declare it.
5054 * except.c (protect_cleanup_actions): Remove it.
5055 (lang_protect_cleanup_actions): New variable.
5056 (init_eh): Don't make protect_cleanup_actions a GC root.
5057 (expand_eh_region_and_cleanup): Call
5058 lang_protect_cleanup_actions.
5059 (output_function_exception_table): Remove unused `align'
5061 * varasm.c (assemble_external): Abort if we have not yet
5062 opened the assembly output file.
5064 Thu May 17 11:54:50 2001 Jeffrey A Law (law@cygnus.com)
5066 * except.c (sjlj_emit_function_enter): Call assemble_external_libcall
5067 for eh_personality_libfunc.
5069 Thu May 17 19:48:00 CEST 2001 Jan Hubicka <jh@suse.cz>
5071 * recog.c (validate_replace_rtx_1): Use "TO" mode if not VOIDmode
5072 when calling simplify_subreg. This is needed to allow replacing
5073 of expression of one mode by expression of different mode.
5075 Thu May 17 19:40:03 CEST 2001 Jan Hubicka <jh@suse.cz>
5077 * simplify-rtx.c (simplify_subreg): Avoid creating of incorrect subregs.
5079 2001-05-17 Bernd Schmidt <bernds@redhat.com>
5081 * expr.c (protect_from_queue): Protect against subsequent calls to
5083 (expand_expr, case ADDR_EXPR): Prevent protect_from_queue from being
5086 Thu May 17 18:17:34 CEST 2001 Jan Hubicka <jh@suse.cz>
5088 * simplify_rtx.c (simplify_subreg): Fix simplification of nested subregs.
5090 2001-05-17 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5092 * gccbug.in (CATEGORIES): Add "bootstrap".
5094 Thu May 17 16:59:41 CEST 2001 Jan Hubicka <jh@suse.cz>
5096 * simplify-rtx.c (simplify_subreg): Break out from ...
5097 * combine.c (combine_splify_rtx) ... here and ...
5098 * recog.c (validate_replace_rtx_1): ... here;
5099 * rtl.h (subreg_lowpart_parts_p, simplify_subreg): Declare.
5100 * emit-rtl.c (subreg_lowpart_parts_p): Break out from ...
5101 (subreg_lowpart_p): ... here.
5103 2001-05-17 Bernd Schmidt <bernds@redhat.com>
5105 * stmt.c (expand_asm_operands): For inout operands, make sure
5106 the substitution of '=' for '+' makes it into the rtl.
5108 * reload1.c (delete_output_reload): Call eliminate_regs on substed.
5109 (reload_as_needed): Call update_eliminable_offsets a bit later.
5111 2001-05-17 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5113 * gcc.texi (gccbug): Refer to the web pages for detailed information
5116 2001-05-16 Zack Weinberg <zackw@stanford.edu>
5118 * libgcc1-test.c, libgcc1.c, config/i386/perform.h: Delete file.
5120 * Makefile.in: Delete variables: OLDCC, CCLIBFLAGS, OLDAR,
5121 OLDAR_FLAGS, LIBGCC1, LIBGCC1_TEST, CROSS_LIBGCC1,
5122 LIB1FUNCS, and LIB1FUNCS_EXTRA. Delete rules: libgcc1-test,
5123 libgcc1-test.o. Clarify commentary now that libgcc1 no longer exists.
5124 * cross-make: Don't set LIBGCC1.
5125 * mklibgcc.in: Delete all code for building from libgcc1.c.
5126 Always honor LIB1ASMFUNCS if set.
5128 * crtstuff.c, floatlib.c, longlong.h, config/fp-bit.c,
5129 config/arc/lib1funcs.asm, config/arm/lib1funcs.asm,
5130 config/d30v/libgcc1.asm, config/fr30/lib1funcs.asm,
5131 config/h8300/lib1funcs.asm, config/i386/cygwin.asm,
5132 config/i386/uwin.asm, config/m68hc11/larith.asm,
5133 config/m68k/lb1sf68.asm, config/mcore/lib1.asm,
5134 config/mn10200/lib1funcs.asm, config/sh/lib1funcs.asm,
5135 config/sparc/lb1spc.asm, config/sparc/lb1spl.asm,
5136 config/v850/lib1funcs.asm, config/c4x/libgcc.S:
5137 Delete or update references to libgcc1 in commentary.
5139 * config/t-libc-ok, config/t-linux, config/t-linux-aout,
5140 config/t-netbsd, config/a29k/t-a29kbare, config/a29k/t-vx29k,
5141 config/alpha/t-interix, config/alpha/t-osf, config/alpha/t-vms,
5142 config/arc/t-arc, config/arm/t-arm-aout, config/arm/t-arm-coff,
5143 config/arm/t-arm-elf, config/arm/t-linux, config/arm/t-pe,
5144 config/arm/t-semi, config/arm/t-strongarm-coff,
5145 config/arm/t-strongarm-elf, config/arm/t-strongarm-pe,
5146 config/arm/t-xscale-coff, config/arm/t-xscale-elf, config/avr/t-avr,
5147 config/c4x/t-c4x, config/d30v/t-d30v, config/fr30/t-fr30,
5148 config/h8300/t-h8300, config/i386/t-beos, config/i386/t-cygwin,
5149 config/i386/t-i386elf, config/i386/t-interix, config/i386/t-netware,
5150 config/i386/t-next, config/i386/t-rtems-i386, config/i386/t-sol2,
5151 config/i960/t-960bare, config/i960/t-vxworks960, config/ia64/t-ia64,
5152 config/m32r/t-m32r, config/m68hc11/t-m68hc11-gas, config/m68k/t-lynx,
5153 config/m68k/t-m68kbare, config/m68k/t-m68kelf,
5154 config/m68k/t-mot3300-gald, config/m68k/t-mot3300-gas,
5155 config/m68k/t-next, config/m68k/t-vxworks68, config/m88k/t-bug,
5156 config/m88k/t-dgux, config/m88k/t-dgux-gas, config/m88k/t-dguxbcs,
5157 config/m88k/t-luna, config/m88k/t-luna-gas, config/m88k/t-m88k,
5158 config/m88k/t-m88k-gas, config/m88k/t-sysv4, config/mcore/t-mcore,
5159 config/mcore/t-mcore-pe, config/mips/t-bsd, config/mips/t-bsd-gas,
5160 config/mips/t-cross64, config/mips/t-ecoff, config/mips/t-elf,
5161 config/mips/t-iris6, config/mips/t-r3900, config/mips/t-svr3,
5162 config/mips/t-svr3-gas, config/mips/t-svr4, config/mips/t-svr4-gas,
5163 config/mips/t-ultrix, config/mn10200/t-mn10200,
5164 config/mn10300/t-mn10300, config/pa/t-linux, config/pa/t-linux64,
5165 config/pa/t-pa, config/pa/t-pa64, config/pa/t-pro,
5166 config/pdp11/t-pdp11, config/pj/t-pj, config/rs6000/t-aix43,
5167 config/rs6000/t-beos, config/rs6000/t-darwin, config/rs6000/t-newas,
5168 config/rs6000/t-ppccomm, config/rs6000/t-rs6000, config/sh/t-linux,
5169 config/sh/t-sh, config/sparc/t-chorus-elf, config/sparc/t-elf,
5170 config/sparc/t-sol2, config/sparc/t-sp86x, config/sparc/t-sparcbare,
5171 config/sparc/t-sparclite, config/sparc/t-splet,
5172 config/sparc/t-sunos41, config/sparc/t-vxsparc,
5173 config/sparc/t-vxsparc64, config/v850/t-v850:
5174 Don't set any of LIBGCC1, CROSS_LIBGCC1, or LIBGCC1_TEST.
5176 * config/alpha/alpha.h, config/i386/i386.h, config/i860/i860.h:
5177 Don't set FLOAT_VALUE_TYPE, FLOAT_ARG_TYPE, INTIFY, or FLOATIFY.
5178 * config/d30v/d30v.h: Don't mention LIBGCC_NEEDS_DOUBLE,
5179 FLOAT_VALUE_TYPE, FLOAT_ARG_TYPE, FLOATIFY, INTIFY,
5180 nongcc_SI_type, nongcc_word_type, or perform_*
5181 * config/i860/fx2800: Don't define perform_umodsi3 or perform_modsi3.
5183 * config/i386/386bsd.h, config/i386/beos-elf.h,
5184 config/i386/linux-aout.h, config/i386/linux-oldld.h,
5185 config/i386/linux.h, config/i386/mach.h, config/i386/netbsd.h,
5186 config/i386/openbsd.h, config/i386/osfrose.h, config/i386/rtemself.h:
5187 Don't include i386/perform.h.
5189 * config/a29k/t-a29k, config/arm/t-semiaof, config/i370/t-i370,
5190 config/i370/t-linux, config/i370/t-mvs, config/i370/t-oe,
5191 config/i386/t-djgpp, config/i386/t-i386bare, config/i386/t-vsta,
5192 config/ia64/t-hpux, config/mips/t-mips, config/mips/t-mips-gas,
5193 config/mips/t-osfrose, config/sparc/t-sp64, config/sparc/t-sunos40,
5194 config/vax/t-openbsd, config/vax/t-vax: Delete.
5196 * config.gcc: Remove references to deleted files.
5197 (arm-semi-aof): Use arm/t-semi for tmake_file.
5199 * gcc.texi, install.texi, invoke.texi, tm.texi:
5200 Delete or rewrite text which is no longer relevant now that
5201 libgcc1 no longer exists.
5203 * config/t-openbsd, config/alpha/t-interix, config/i386/t-interix:
5204 No need to set INSTALL_ASSERT_H. (Missed in previous sweep.)
5206 2001-05-16 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
5207 Bruce Korb <bkorb@gnu.org>
5209 * fixinc/inclhack.def(solaris27_mutex_init): Fix broken mutex
5212 2001-05-16 Zack Weinberg <zackw@stanford.edu>
5214 * i386.md: Add two peepholes to clean up code generated by
5217 2001-05-16 Richard Henderson <rth@redhat.com>
5219 * dwarf2asm.c (eh_data_format_name): Add names for "pointer size"
5220 variants of non-absolute encodings.
5222 * config/i386/i386.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
5224 * libgcc-std.ver (_Unwind_Find_FDE, __register_frame_info_bases,
5225 __register_frame_info_table_bases): Export.
5227 2001-05-16 Richard Henderson <rth@redhat.com>
5229 * except.c (eh_data_format_name): Move to ...
5230 * dwarf2asm.c: ... here. Use designated initializers if available.
5231 (dw2_asm_output_encoded_addr_rtx): Accept varargs commentary.
5232 * dwarf2asm.h: Update declarations.
5233 * dwarf2out.c (output_cfi) [DW_CFA_set_loc]: If for_eh, mind
5234 ASM_PREFERRED_EH_DATA_FORMAT.
5235 (output_call_frame_info): Likewise. Use 'L' augmentation for
5238 * unwind-dw2-fde.h (struct fde_vector): New.
5239 (struct old_object): Rename from struct object.
5240 (struct object): New.
5241 (__register_frame_info_bases): Declare.
5242 (__register_frame_info_table_bases): Declare.
5243 (struct dwarf_fde): Remove explicit pc_begin/pc_range members.
5244 * unwind-dw2-fde.c (objects): Remove.
5245 (unseen_objects, seen_objects): New.
5246 (__register_frame_info_bases): New.
5247 (__register_frame_info): Use it.
5248 (__register_frame_info_table_bases): New.
5249 (__register_frame_info_table): Use it.
5250 (__deregister_frame_info): Rewrite for changed object struct.
5251 (base_from_object, get_cie_encoding, get_fde_encoding): New.
5252 (fde_unencoded_compare): Rename from fde_compare; uninline.
5253 (fde_single_encoding_compare, fde_mixed_encoding_compare): New.
5254 (start_fde_sort): Adjust for new definition of fde_vector.
5255 (fde_insert): Likewise.
5256 (end_fde_sort): Likewise. Select comparison function based
5257 on properties of the object.
5258 (fde_split): Take object and fde_compare_t arguments.
5259 (frame_heapsort, fde_merge): Likewise.
5260 (classify_object_over_fdes): Rename from count_fdes. Handle
5261 encoded pointers. Collect encoding, mixed_encoding, and pc_begin
5263 (add_fdes): Handle encoded pointers.
5264 (init_object): Rename from frame_init. Update for new struct object.
5265 (linear_search_fdes): Rename from search_fdes. Handle encoded
5267 (binary_search_unencoded_fdes): Broken out from _Unwind_Find_FDE.
5268 (binary_search_single_encoding_fdes): New.
5269 (binary_search_mixed_encoding_fdes): New.
5270 (search_object): New.
5271 (_Unwind_Find_FDE): Update for new struct object. Fill in
5273 * unwind-dw2.c: Include unwind-pe.h. Constify all pointers
5274 iterating over EH data.
5275 (_Unwind_FrameState): Remove saw_lsda, addr_encoding. Add
5276 fde_encoding, lsda_encoding.
5277 (read_uleb128, read_sleb128): Remove.
5278 (read_encoded_pointer): Remove. All callers use read_encoded_value.
5279 (extract_cie_info): Set lsda_encoding from 'L' augmentation.
5280 (uw_frame_state_for): Don't set bases.func. Handle encoded fde
5282 * unwind-pe.h: Add "struct" to _Unwind_Context references.
5284 2001-05-16 Neil Booth <neil@cat.daikokuya.demon.co.uk>
5286 * cppexp.c (lex): Use NODE_NAME and NODE_LEN.
5287 * cpphash.c (_cpp_lookup_with_hash): Similarly.
5288 * cpplex.c (cpp_ideq, parse_identifier, cpp_token_len,
5289 cpp_spell_token, cpp_output_token): Similarly.
5290 * cpplib.c (lex_macro_node, do_undef, do_pragma,
5291 do_pragma_poison, parse_assertion, do_assert): Similarly.
5292 * cppmacro.c (builtin_macro, parse_args, funlike_invocation_p,
5293 save_parameter, _cpp_create_definition, check_trad_stringification,
5294 cpp_macro_definition): Similarly.
5295 * cppmain.c (cb_define, cb_undef, dump_macro): Similarly.
5296 * c-lex.c (cb_undef, c_lex): Similarly.
5297 * fix-header.c (recognized_function): Similarly.
5298 * cpplib.h (NODE_LEN, NODE_NAME): New.
5299 (cpp_hashnode): Rename length len.
5301 Wed May 16 13:41:10 2001 Jeffrey A Law (law@cygnus.com)
5303 * pa32-regs.h (HARD_REGNO_MODE_OK): Allow TI/TFmode values in
5306 2001-05-16 Andreas Jaeger <aj@suse.de>
5308 * Makefile.in (toplev.o): Add dependency on dwarf2asm.h.
5310 * toplev.c: Include dwarf2asm.h for prototype of
5311 dw2_output_indirect_constants.
5313 Wed May 16 19:53:53 CEST 2001 Jan Hubicka <jh@suse.cz>
5315 * stmt.c (expand_asm_operands): Be able to offload addressof
5316 expression to memory. (PR optimization/185)
5318 Wed May 16 18:53:23 CEST 2001 Jan Hubicka <jh@suse.cz>
5320 * combine.c (combine_simplify_rtx): Set op0_mode to VOIDmode after
5321 applying distributive law.
5323 2001-05-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
5325 * pa-hpux10.h (THREAD_MODEL_SPEC): Define.
5327 * gthr-dce.h (UNUSED): Attribute unused macro.
5328 (__gthread_key_dtor): Make arguments UNUSED.
5329 (__gthread_key_delete): Revise for compatibility with DRAFT4
5332 2001-05-16 David Edelsohn <edelsohn@gnu.org>
5334 * doc/install.texi: Update AIX information.
5335 * README.RS6000: Remove obsolete file.
5337 2001-05-16 Jakub Jelinek <jakub@redhat.com>
5338 Nathan Sidwell <nathan@codesourcery.com>
5340 * gcc.c (give_switch): Don't write before start of string.
5341 Always append suffix.
5343 2001-05-16 Nathan Sidwell <nathan@codesourcery.com>
5345 * cpplex.c (_cpp_lex_token, '/' case): Comments can't appear
5348 2001-05-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5350 * README.ALTOS: Remove obsolete file.
5352 2001-05-16 Neil Booth <neil@daikokuya.demon.co.uk>
5354 * c-lex.h (save_and_forget_protocol_qualifiers,
5355 forget_protocol_qualifiers, remember_protocol_qualifiers):
5356 Remove deleted functions' prototypes.
5358 2001-05-16 Neil Booth <neil@daikokuya.demon.co.uk>
5360 * c-parse.in (methodtype): New production.
5361 (methoddef, methodproto): Collapse separate '-' and '+'
5364 2001-05-16 Neil Booth <neil@cat.daikokuya.demon.co.uk>
5366 * c-common.h (RID_FIRST_PQ): New.
5367 * c-parse.in (objc_pq_context): New.
5368 (objc parser): Set objc_pq_context rather than calling
5369 remember_protocol_qualifiers and forget_protocol_qualifiers.
5370 Don't call save_and_forget_protocol_qualifiers.
5371 (yylexname): Handle objc protocol qualifiers here.
5372 * stringpool.c (struct str_header): Replace with sp_hashnode.
5373 (SP_EMPTY, SP_LEN, SP_TREE, SP_STR, SP_VALID): New.
5374 (alloc_string): Rename alloc_ident. Use the SP_ accessors.
5375 Allocate an IDENTIFIER_NODE for each identifier.
5376 (FORALL_STRINGS, set_identifier): Delete.
5377 (FORALL_IDS, expand_string_table, stringpool_statistics): Update.
5378 (ggc_alloc_string): Use an obstack.
5379 (get_identifier, maybe_get_identifier, mark_string_hash): Update.
5380 * tree.h: Update comments.
5381 (set_identifier): Delete.
5382 * objc/objc-act.c (N_PQ, saved_pq, saved_not_pq,
5383 save_and_forget_protocol_qualifiers, forget_protocol_qualifiers,
5384 remember_protocol_qualifiers): Delete.
5386 Tue May 15 22:14:09 2001 Jeffrey A Law (law@cygnus.com)
5388 * flow.c (life_analysis): After life analysis is complete, do
5389 an optional scan over insns looking for REG_LABEL notes that
5390 reference a deleted label.
5391 (propagate_block_delete_insn): Verify INOTE is a CODE_LABEL
5392 before peeking at LABEL_NUSES.
5394 2001-05-15 Richard Henderson <rth@redhat.com>
5396 * unwind-sjlj.c (_Unwind_GetDataRelBase): New.
5397 (_Unwind_GetTextRelBase): New.
5399 2001-05-15 Mark Mitchell <mark@codesourcery.com>
5401 * config/sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
5403 2001-05-15 Geoffrey Keating <geoffk@redhat.com>
5405 * objc/objc-act.c (handle_class_ref): Use rest_of_decl_compilation
5406 so that CHOOSE_SECTION gets used.
5408 * config/rs6000/sysv4.h (ASM_PREFERRED_EH_DATA_FORMAT): Treat
5409 TARGET_RELOCATABLE like flag_pic for now.
5411 2001-05-15 David Edelsohn <edelsohn@gnu.org>
5413 * rs6000.md (movdi splitter): Sign extend more efficiently.
5414 * rs6000.c (reg_or_arith_cint_operand): Redefine 64-bit constant
5415 to "long long" valid on 32-bit and 64-bit hosts.
5416 (logical_operand): Cast trunc_int_for_mode return value.
5417 (rs6000_emit_move): Shift macro to encapsulate variable.
5418 (rs6000_va_start): Use HOST_WIDE_INT_PRINT_DEC.
5419 (rs6000_emit_{prologue,epilogue}): EH regno is unsigned but
5420 plus_constant requires signed argument.
5422 2001-05-15 Loren J. Rittle <ljrittle@acm.org>
5424 * gthr-posix.h: Make additional pthread-* functions weak.
5426 Tue May 15 13:51:32 CEST 2001 Jan Hubicka <jh@suse.cz>
5428 * recog.c (apply_change_group): Avoid unneeded validating.
5430 2001-05-14 David Edelsohn <edelsohn@gnu.org>
5432 * rs6000.c (num_insns_constant_wide): Constants are sign-extended.
5433 (num_insns_constant): CONST_INT can be 64-bits.
5435 2001-05-14 Stan Shebs <shebs@apple.com>
5437 * config/darwin.h (LIB_SPEC): Just use -lSystem.
5438 (LIBGCC_SPEC): Don't define.
5440 2001-05-14 Richard Henderson <rth@redhat.com>
5442 * configure.in (gcc_cv_as_eh_frame): New test.
5443 * config.in, configure: Rebuild.
5444 * gcc.c (init_spec): Honor USE_AS_TRADITIONAL_FORMAT.
5446 2001-05-14 Andrew MacLeod <amacleod@redhat.com>
5448 * config/ia64/lib1funcs.asm (__divtf3): Fix incorrect bits in
5449 extended precision divide.
5451 2001-05-14 Andrew MacLeod <amacleod@redhat.com>
5453 * config/ia64/ia64.c (rtx_needs_barrier): Call rtx_needs_barrier
5454 for RETURNS as well.
5456 Mon May 14 17:34:48 CEST 2001 Jan Hubicka <jh@suse.cz>
5458 * i386.h (TARGET_64BIT): Define to constant if !TARGET_BI_ARCH
5459 (CPP_CPU??_SIZE_TYPE): New.
5460 (CPP_CPU??_SPEC, CPP_CPUCOMMON_SPEC): Break out from...
5461 (CPP_CPU_SPEC): ... here; support choosing of CPU.
5462 (EXTRA_SPECS): Add cpp_cpu??, cpp_cpu??sizet, cpp_cpucommon.
5463 (MAX_LONG_TYPE_SIZE, MAX_BITS_PER_WORD): Define to 32 for 32bit-only
5465 * i386.c (override_options): Add sorry about not suported modes.
5467 Mon May 14 08:56:47 2001 Jeffrey A Law (law@cygnus.com)
5469 * config/pa/som.h (NM_FLAGS): Remove.
5470 (ASM_OUTPUT_FUNCTION_PREFIX): No longer truncate subspace names.
5471 (ASM_OUTPUT_SECTION_NAME): Remove.
5472 (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Likewise.
5474 2001-05-14 Mark Mitchell <mark@codesourcery.com>
5476 * regrename.c (regrename_optimize): Do not rename registers to
5479 2001-05-14 Alexandre Oliva <aoliva@redhat.com>
5481 * rtl.texi (CALL_INSN_FUNCTION_USAGE): Note that (and when) it may
5482 contain MEMs. Remove useless distinction about clobbering
5485 2001-05-13 Geoff Keating <geoffk@redhat.com>
5487 * config/rs6000/rs6000.h (EXCEPTION_SECTION): Move to...
5488 * config/rs6000/aix.h (EXCEPTION_SECTION): ... here.
5489 * config/rs6000/sysv4.h (CONST_SECTION_ASM_OP): Delete.
5490 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
5491 (EXCEPTION_SECTION): Define.
5493 2001-05-13 Zack Weinberg <zackw@stanford.edu>
5495 * libgcc2.c, libgcc2.h: Restore __eprintf. Label as used for
5496 binary backward compat only.
5497 * Makefile.in (LIB2FUNCS_ST): New. Put _eprintf here, not
5498 in LIB2FUNCS. Pass it to mklibgcc.
5499 * mklibgcc.in: Handle LIB2FUNCS_ST.
5501 * Makefile.in (installdirs): Don't create $(gcc_tooldir).
5503 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
5505 * tm.texi (THREAD_MODEL_SPEC): Document it.
5506 * gcc.c (main): Use it.
5507 * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Define it.
5508 * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Likewise.
5510 2001-05-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5512 * rtl.h (SYMBOL_REF_WEAK): New macro.
5513 * rtlanal.h (rtx_addr_can_trap): Use it, a weak SYMBOL_REF can trap.
5514 * varasm.c (make_decl_rtl): Mark SYMBOL_REF weak if necessary.
5515 * rtl.texi (SYMBOL_REF_WEAK): Document it.
5516 * gcc.texi: Remove wrong description.
5518 2001-05-13 Mark Mitchell <mark@codesourcery.com>
5520 * Makefile.in (STAMP): New macro.
5521 Replace all uses of `touch' with $(STAMP).
5522 * fixinc/Makefile.in: Likewise.
5524 Sun May 13 07:26:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5526 * configure.in: ldopen is never in -lexc, so don't test for it.
5527 Add test for exc_resume in -lexc for Ada.
5528 * configure: Regenerated.
5530 2001-05-12 Richard Henderson <rth@redhat.com>
5532 * dwarf2asm.c (size_of_encoded_value): New function.
5533 * dwarf2asm.h: Declare it.
5534 * except.c (output_function_exception_table): Align the TType
5535 array only as wide as the encoding.
5537 2001-05-12 Zack Weinberg <zackw@stanford.edu>
5539 * extend.texi: Document #pragma GCC java_exceptions.
5541 2001-05-12 Neil Booth <neil@cat.daikokuya.demon.co.uk>
5543 * c-parse.in (bison parser, init_reswords): Remove uses of
5545 * c-tree.h (doing_objc_thang): Remove.
5547 2001-05-12 Neil Booth <neil@daikokuya.demon.co.uk>
5549 * cpplex.c (_cpp_lex_token): Ensure we warn at most once
5550 about files not ending in newlines.
5552 2001-05-12 Neil Booth <neil@cat.daikokuya.demon.co.uk>
5554 * dwarfout.c (dwarfout_init): Add cast.
5555 * sched-deps.c (sched_analyze_insn): Remove unused vars.
5556 * unwind-dw2-fde.c (_Unwind_Find_FDE): Flag unused parameter so.
5558 * method.c (build_mangled_C99_name): Remove unused prototype.
5560 2001-05-12 Alexandre Oliva <aoliva@redhat.com>
5562 * config/arm/arm.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Use delta.
5564 2001-05-12 Alexandre Oliva <aoliva@redhat.com>
5566 * defaults.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
5567 * tm.texi (TARGET_PRTMEMFUNC_VBIT_LOCATION): Document.
5569 2001-05-11 Richard Henderson <rth@redhat.com>
5571 * defaults.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
5572 * dwarf2asm.c (dw2_force_const_mem, dw2_output_indirect_constant_1,
5573 dw2_output_indirect_constants, dw2_asm_output_encoded_addr_rtx): New.
5574 * dwarf2asm.h (dw2_asm_output_encoded_addr_rtx): Prototype.
5575 (dw2_output_indirect_constants): Prototype.
5576 * dwarf2out.c (dwarf2out_begin_prologue): Generate
5577 current_function_func_begin_label if we'll need it for EH. Exit
5578 early for IA64_UNWIND_INFO.
5579 * except.c: Get DW_EH_PE_* defines from dwarf2.h.
5580 (eh_data_format_name): Update for indirect references.
5581 (output_function_exception_table): Care for IA64_UNWIND_INFO.
5582 Handle ASM_PREFERRED_EH_DATA_FORMAT.
5583 * except.h (MUST_USE_SJLJ_EXCEPTIONS): IA64_UNWIND_INFO needn't
5584 define HAVE_eh_return etc.
5585 * final.c (final_start_function): Always call dwarf2out_begin_prologue.
5586 (final_end_function): Don't call output_function_exception_table.
5587 * toplev.c (compile_file): Call dw2_output_indirect_constants.
5588 (rest_of_compilation): Invoke output_function_exception_table
5589 for ia64 before assemble_end_function.
5590 * tm.texi (ASM_PREFERRED_EH_DATA_FORMAT): Document.
5591 (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Document.
5593 * unwind-dw2.c (_Unwind_GetTextRelBase, _Unwind_GetDataRelBase): New.
5594 * unwind.h: Declare them.
5595 * libgcc-std.ver: Export them.
5596 * unwind-pe.h: New file.
5598 * config/alpha/elf.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
5600 * config/ia64/fde-glibc.c: Use "struct unw_table_entry"
5602 (find_fde_for_dso): Extract DT_PLTGOT.
5603 (_Unwind_FindTableEntry): Rename from __ia64_find_fde; return
5604 the segment and gp as well.
5605 * config/ia64/frame-ia64.c: Remove file.
5606 * config/ia64/frame-ia64.h: Remove file.
5607 * config/ia64/unwind-ia64.c: New file.
5608 * config/ia64/unwind-ia64.h: New file.
5609 * config/ia64/ia64.h (ASM_OUTPUT_EH_CHAR): Remove.
5610 (ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT): Remove.
5611 (ASM_OUTPUT_EH_DOUBLE_INT): Remove.
5612 (ASM_PREFERRED_EH_DATA_FORMAT): New.
5613 (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): New.
5614 (IA64_UNWIND_INFO): Re-enable.
5615 (HANDLER_SECTION): Remove.
5616 (EH_RETURN_DATA_REGNO): New.
5617 * config/ia64/ia64.md (exception_receiver): Remove.
5618 * config/ia64/t-glibc (LIB2ADDEH): Re-enable.
5619 * config/ia64/t-ia64 (LIB2ADDEH): Re-enable.
5621 2001-05-11 Richard Henderson <rth@redhat.com>
5623 * config/ia64/ia64.c (group_barrier_needed_p): Don't allow
5624 calls and jumps to be bundled together.
5625 (ia64_reorg): Emit a break after a noreturn call that ends
5627 * config/ia64/ia64.md (break_f): New.
5629 2001-05-12 Neil Booth <neil@daikokuya.demon.co.uk>
5631 * c-lex.c (lex_charconst): Convert into a simple wrapper
5632 around cpp_interpret_charconst, to which most of the code
5634 * cppexp.c (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE,
5635 MAX_LONG_TYPE_SIZE, MAX_INT_TYPE_SIZE, MAX_CHAR_TYPE_MASK,
5636 MAX_WCHAR_TYPE_MASK, parse_escape, parse_charconst): Remove.
5637 (lex): Use cpp_interpret_charconst.
5638 * cpplex.c (parse_escape, read_ucs, cpp_interpret_charconst,
5639 hex_digit_value): New functions.
5640 (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): New macros.
5641 * cpplib.h (cpp_interpret_charconst): New prototype.
5642 * Makefile.in: Update.
5644 2001-05-12 Dean Wakerley <dean@wakerley.com>
5646 * doc/install.texi: New file. Converted to texinfo from the HTML
5647 documentation in wwwdocs/htdocs/install.
5649 Fri May 11 15:50:13 2001 Jeffrey A Law (law@cygnus.com)
5651 * gcse.c (insert_insn_end_bb): Do not search for assignments to
5652 non-argumment registers that are mentioned in CALL_INSN_FUNCTION_USAGE.
5654 * toplev.c (compile_file): Move comment for opening output
5655 file to just before the code that opens the output file.
5657 2001-05-11 Jakub Jelinek <jakub@redhat.com>
5659 * regmove.c (regmove_optimize): Suppress the optimization for
5660 unchanging destination register. Add comment above function.
5662 2001-05-11 Zack Weinberg <zackw@stanford.edu>
5664 * Makefile.in: Exterminate all references to assert.h.
5665 * cross-make: Likewise.
5667 * configure.in: Correct commentary.
5668 * configure: Regenerate.
5670 * libgcc-std.ver, libgcc2.c, libgcc2.h, sys-protos.h:
5673 * config/t-freebsd, config/t-linux, config/t-linux-aout,
5674 config/t-netbsd, config/t-rtems, config/x-linux,
5675 config/i386/t-beos, config/mcore/t-mcore, config/mcore/t-mcore-pe:
5676 No need to override INSTALL_ASSERT_H.
5678 * fixinc/fixinc.dgux, fixinc/fixinc.interix, fixinc/fixinc.ptx,
5679 fixinc/fixinc.svr4, fixinc/fixinc.winnt, fixinc/fixinc.wrap,
5680 fixinc/fixincl.sh: Don't install assert.h into objdir/include.
5682 2001-05-11 Graham Stott <grahams@redhat.com>
5684 * combine.c (simplify_comparison): Fix typo.
5686 2001-05-11 Mark Mitchell <mark@codesourcery.com>
5688 * loop.h (struct movables): Remove `num'.
5689 * loop.c (scan_loop): Don't set it. Use count_insns_in_loop.
5690 Adjust call to strength_reduce.
5691 (num_unmoved_movables): New function.
5692 (move_movables): Don't set movables->num.
5693 (strength_reduce): Compute the number of instructions in the loop
5694 here, rather than in the caller.
5695 (check_dbra_loop): Always clear reversible_mem_store if there
5696 are any memory sets.
5697 (loop_regs_scan): Don't count instructions here.
5698 (count_insn_in_loop): New function.
5700 2001-05-11 Mark Mitchell <mark@codesourcery.com>
5702 * optabs.c (emit_libcall_block): Don't mark calls as CONST_CALL_P.
5704 2001-05-11 Neil Booth <neil@daikokuya.demon.co.uk>
5706 * c-common.c (finish_label_expr): New function, lifted from
5707 from cp/semantics.c.
5708 * c-common.h (finish_label_expr, lookup_label): New prototypes.
5709 * c-parse.in: Move 3 blocks of parser code into new functions.
5710 * c-typeck.c (simple_asm_stmt, c_cast_expr): New functions.
5711 * c-tree.h (simple_asm_stmt, c_cast_expr): New prototypes.
5712 (lookup_label): Remove.
5714 2001-05-11 Alexandre Oliva <aoliva@redhat.com>
5716 * config/mn10300/t-mn10300 (dp-bit.c, fp-bit.c): Don't define
5717 FLOAT_BIT_ORDER_MISMATCH.
5719 2001-05-10 David Edelsohn <edelsohn@gnu.org>
5721 * expr.c (emit_push_insn): Convert PUSH_ROUNDING argument to
5722 bytes. Reported by Kazu Hirata <kazu@hxi.com>.
5724 2001-05-10 David Edelsohn <edelsohn@gnu.org>
5726 * expr.c (emit_group_load): extract_bit_field requires a REG or
5729 Thu May 10 14:45:44 2001 Jeffrey A Law (law@cygnus.com)
5731 * cse.c (cse_insn): Mostly remove first hunk of code which collapsed
5732 a computed jump into an unconditional jump.
5733 In second hunk of code for collapsing computed and conditional jumps
5734 into unconditional jumps, reemit the jump in additional cases.
5736 * jump.c (jump_optimize_1): Do not wrap the new jump target
5737 inside a LABEL_REF; gen_jump will do that automatically.
5739 2001-05-10 Toon Moene <toon@moene.indiv.nluug.nl>
5741 * dwarf2out.c (mem_loc_descriptor): Do not pass constant pool
5742 contents for a SYMBOL_REF in case of floating point constants.
5744 2001-05-10 DJ Delorie <dj@redhat.com>
5746 * c-common.c (combine_strings): Widen strings in a
5747 host-endian-independent way.
5749 2001-05-10 Joseph S. Myers <jsm28@cam.ac.uk>
5751 * c-parse.in: Remove many shift/reduce conflicts. Update
5753 (declspecs_nosc_nots_nosa_noea, declspecs_nosc_nots_nosa_ea,
5754 declspecs_nosc_nots_sa_noea, declspecs_nosc_nots_sa_ea,
5755 declspecs_nosc_ts_nosa_noea, declspecs_nosc_ts_nosa_ea,
5756 declspecs_nosc_ts_sa_noea, declspecs_nosc_ts_sa_ea,
5757 declspecs_sc_nots_nosa_noea, declspecs_sc_nots_nosa_ea,
5758 declspecs_sc_nots_sa_noea, declspecs_sc_nots_sa_ea,
5759 declspecs_sc_ts_nosa_noea, declspecs_sc_ts_nosa_ea,
5760 declspecs_sc_ts_sa_noea, declspecs_sc_ts_sa_ea, declspecs_ts,
5761 declspecs_nots, declspecs_ts_nosa, declspecs_nots_nosa,
5762 declspecs_nosc_ts, declspecs_nosc_nots, declspecs_nosc, declspecs,
5763 maybe_type_quals_setattrs, typespec_nonattr, typespec_attr,
5764 typespec_reserved_nonattr, typespec_reserved_attr,
5765 typespec_nonreserved_nonattr, maybe_setattrs, structsp_attr,
5766 structsp_nonattr, components_notype, component_notype_declarator,
5767 absdcl1_ea, absdcl1_noea, direct_absdcl1, absdcl_maybe_attribute,
5768 firstparm, setspecs_fp): New
5769 (typed_declspecs, reserved_declspecs, typed_typespecs,
5770 reserved_typespecquals, declmods, typespec, typespecqual_reserved,
5771 typed_declspecs_no_prefix_attr reserved_declspecs_no_prefix_attr
5772 declmods_no_prefix_attr, nonempty_type_quals, structsp,
5773 type_quals): Remove. Users updated.
5774 (initdecls, notype_initdecls, after_type_declarator,
5775 parm_declarator, notype_declarator, absdcl1, components, ivars):
5776 Don't allow attributes at the start of a declarator; include them
5777 in the production containing the declarator instead. Always
5778 require type specifiers before trying to redeclare a typedef name.
5779 (typename): Allow for attributes but warn that they are ignored.
5780 (parmlist, firstparm, setspecs_fp): Include attributes in
5781 parmlist; suck them off the parser stack in firstparm using
5784 Thu May 10 09:17:42 2001 Jeffrey A Law (law@cygnus.com)
5786 * ifcvt.c (merge_if_block): Use any_uncondjump_p, not simplejump_p
5787 to determine if a block has an unconditional jump at its end.
5789 * jump.c (jump_optimize_1): When converting a conditional jump
5790 to an unconditional jump, build the jump using gen_jump instead
5791 of just modify operands in-place.
5793 2001-05-09 Zack Weinberg <zackw@stanford.edu>
5795 * cppinit.c (cpp_post_options): Shut off macro expansion if
5797 * cpplib.c (_cpp_handle_directive): If -fpreprocessed, accept
5798 IN_I directives only if the # is in column 1 and the directive
5799 name begins in column 2.
5800 * cppmain.c (scan_buffer): Insert a space between # and an
5801 identifier, when that identifier is a directive name.
5803 * tradcpp.c (struct file_buf): Add a pointer to the next entry
5804 in the header search path.
5805 (enum node_type): Add T_INCLUDE_NEXT.
5806 (directive_table): Add entry for include_next.
5807 (do_include_next): New function.
5808 (process_include): New routine, broken out of do_include.
5809 (finclude): Insert 'nhd' argument, to be copied into
5810 next_header_dir of the new buffer.
5811 (main): Adjust to match.
5812 * gsyslimits.h, limity.h: Un-indent #include_next.
5814 2001-05-09 Joseph S. Myers <jsm28@cam.ac.uk>
5816 * objc.texi: Move from ../libobjc/objc-features.texi. Adjust for
5817 inclusion as a chapter of the GCC manual.
5818 * gcc.texi: Include objc.texi.
5819 * fdl.texi: Use @unnumberedsec for the addendum.
5820 * Makefile.in ($(srcdir)/gcc.info, gcc.dvi): Update dependencies.
5822 Wed May 9 16:01:41 CEST 2001 Jan Hubicka <jh@suse.cz>
5824 * i386.md (DImode move splitters): Use !MMX and !SSE for the condition.
5826 Wed May 9 10:40:25 2001 Alexandre Oliva <aoliva@redhat.com>
5828 * regclass.c (scan_one_insn): Update REG_N_REFS when optimizing
5829 handling of two-address insns.
5831 Wed May 9 10:36:18 2001 Alexandre Oliva <aoliva@redhat.com>
5833 * Makefile.in (NM_FOR_TARGET): Look for ./nm, then
5834 ../binutils/nm-new instead of ../binutils/nm.
5836 Wed May 9 12:15:46 CEST 2001 Jan Hubicka <jh@suse.cz>
5838 * i386.md (movdi splitter): Fix the splitting condition
5839 (float_extenddftf splitter): Fix mode.
5841 Wed May 9 12:05:39 CEST 2001 Jan Hubicka <jh@suse.cz>
5843 * genrecog.c (write_switch): Avoid outputting of switch for
5844 types wider than int.
5846 2001-05-03 Andrew Haley <aph@cambridge.redhat.com>
5848 * reload1.c (copy_eh_notes): New function.
5849 (emit_input_reload_insns): Call it.
5850 (emit_output_reload_insns): Call it.
5852 2001-05-07 Zack Weinberg <zackw@stanford.edu>
5854 * config.gcc (i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*):
5856 * config/i386/sco.h, config/i386/sco4.h, config/i386/scodbx.h,
5857 config/i386/sco4dbx.h, config/i386/x-sco4: Delete file.
5859 * optabs.c: Delete #ifdef BROKEN_LDEXP block.
5861 2001-05-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
5863 * pa.md (interspace_jump): Revise comment.
5864 (builtin_longjmp): Block initial setup insns from delay slot of
5866 (builtin_setjmp_receiver): New expander to save and restore PIC
5869 * som.h (NM_FLAGS): Remove `-n' sort option. Revise comment.
5872 Mon May 7 09:30:14 2001 Jeffrey A Law (law@cygnus.com)
5874 * toplev.c (compile_file): Set up the output file before we call
5875 the various initializers for the compiler.
5877 * except.c (sjlj_mark_call_sites): Do not search for assignments to
5878 non-argumment registers that are mentioned in CALL_INSN_FUNCTION_USAGE.
5880 * pa.h (MAX_LONG_TYPE_SIZE): Should be 32, not 64.
5881 * pa-64.h (*_TYPE_SIZE): Undefine before redefining.
5883 2001-05-06 Zack Weinberg <zackw@stanford.edu>
5885 * Makefile.in (tradcpp0): Correct typo in dependency list.
5887 2001-05-06 Geoff Keating <geoffk@redhat.com>
5889 * config/rs6000/rs6000.c (rs6000_emit_prologue): Don't save
5890 the link register if we're not going to use it.
5892 * config/rs6000/rs6000.c (output_profile_hook): Fix a warning.
5893 (output_function_profiler): Likewise.
5895 2001-05-07 Alan Modra <amodra@one.net.au>
5897 * pa.c (compute_frame_size): 64-bit frame marker is 16 bytes.
5899 2001-05-06 Alexandre Oliva <aoliva@redhat.com>
5901 * unroll.c (loop_iterations): Don't sign-extend abs_diff;
5902 zero-extend it. Make abs_inc unsigned.
5904 * optabs.c (expand_binop): Sign-extend xop0 and xop1 from the
5905 widest mode in narrowing and widening operations.
5907 * config/mips/mips.md: Sign extend CONST_INTs.
5909 2001-05-06 Andreas Jaeger <aj@suse.de>
5911 * invoke.texi (Option Summary): Add -momit-leaf-frame-pointer
5912 (i386 Options): Document -momit-leaf-frame-pointer.
5914 2001-05-06 Neil Booth <neil@daikokuya.demon.co.uk>
5916 * c-typeck.c (internal_build_compound_expr): Check for
5917 array to pointer conversion just once.
5919 2001-05-05 Richard Henderson <rth@redhat.com>
5921 * integrate.c (copy_insn_list): Substitute NOTE_EXPECTED_VALUE.
5923 2001-05-05 Richard Henderson <rth@redhat.com>
5925 * except.c (remove_fixup_regions): Adjust REG_EH_REGION notes
5926 to the parent of the fixup region.
5928 2001-05-05 Jakub Jelinek <jakub@redhat.com>
5930 * gcc.c (cpp_options): Define __NO_INLINE__ unless we are honoring
5932 * cpp.texi (__NO_INLINE): Document it.
5934 2001-05-05 Neil Booth <neil@daikokuya.demon.co.uk>
5936 * cppfiles.c (struct include_file): New member err_no.
5937 (find_or_create_entry): Set it.
5938 (open_file): Don't set fds to -2. Instead, use err_no to
5939 remember previous errors, if any.
5941 2001-05-05 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5943 * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Optimize moves
5944 between X and Y by using sequences of xgdx and xgdy.
5946 2001-05-05 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5948 * config/m68hc11/m68hc11.md ("*logicalsi3_silshr16"): Use '?' instead
5949 of '!' for the 'D' alternative ('!' is too strong).
5950 ("*logicalsi3_silshl16"): Likewise.
5951 ("movstricthi"): Accept 'A' when 'd' constraint, remove spurious '+'.
5952 ("movstrictsi"): Remove spurious '+'.
5953 ("movstrictqi"): Don't accept 'A' and remove spurious '+'.
5954 ("tstqi_1", "*lshrqi3_const1"): Put 'm' constraint before 'd'.
5955 ("subqi3"): Disparage with '!' the 'x' and 'y' registers to avoid
5958 2001-05-04 David Edelsohn <edelsohn@gnu.org>
5960 * calls.c (store_one_arg): Don't divide align by BITS_PER_UNIT.
5962 2001-05-04 Lars Brinkhoff <lars@nocrew.org>
5964 * simplify-rtx.c (simplify_binary_operation): Simplify ~a + 1
5967 2001-05-04 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5969 * config/rs6000/rs6000.md (ashldi3 splits): Guard with
5972 2001-05-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5974 * config/m68hc11/m68hc11.md (lshrhi3_const1): Fix shift of
5975 soft register, use ror instead of rol.
5977 2001-05-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5979 * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Take
5980 into account pre/post increment decrement for 68HC12.
5981 Fix other problems in replacement and fix call to reg_mentioned_p.
5983 2001-05-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5985 * config/m68hc11/larith.asm (L_regs_frame): New for _.frame.
5986 Put the soft registers in bss for 68HC12.
5987 (L_regs_d3_4): New for _.d3 and _.d4.
5988 (L_regs_d5_6): Likewise.
5989 (L_regs_d1_2): Likewise.
5990 * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Compile new parts.
5992 2001-05-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5994 * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__HAVE_SHORT_DOUBLE__
5995 to the pre-processor when -fshort-double is specified.
5996 * config/m68hc11/m68hc11.2 (CPP_SPEC): Likewise.
5998 2001-05-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6000 * config/m68hc11/larith.asm (divmodhi4): Empty for 68HC12.
6001 (__mulsi3): Rewrite for 68HC12.
6002 * config/m68hc11/m68hc11.md (divmodhi4): Use idivs for 68HC12.
6003 Mark 'x' constraint with earlyclobber to prevent a
6004 RELOAD_FOR_OTHER_ADDRESS to go in it.
6005 (mulhi3_m68hc12): New pattern.
6006 (mulhi3_m68hc11): Rename of mulhi3.
6007 (mulhi3): New expand for 68HC12 optimisation.
6008 (umulhisi3, mulhisi3): New patterns for 68HC12.
6010 2001-05-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6012 * config/m68hc11/m68hc11.md (*tbne, *tbeq): New patterns for 68HC12.
6013 (extendqisi2, extendqihi2, extendhisi2): Use sex for 68HC12.
6014 (uminqi3, umaxqi3, uminhi3, umaxhi3): New pattern for 68HC12.
6016 2001-05-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6018 * config/m68hc11/m68hc11.h (CONST_COSTS): Make the cost of
6019 constants cheap after reload.
6020 * config/m68hc11/m68hc11.c (m68hc11_shift_cost): Shift by 16 and 32
6022 (m68hc11_rtx_costs): Cost of multiplication by 65536 is expensive
6023 so that gcc prefers a shift by 16.
6024 (m6811_cost, m6812_cost): Make the shift cheap compared to an add.
6026 2001-05-04 Nick Clifton <nickc@cambridge.redhat.com>
6028 * config/arm/elf.h (ASM_OUTPUT_ALIGNED_COMMON): Define.
6030 2001-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6032 * alpha.h: NULL_PTR -> NULL.
6039 * i386.md: Likewise.
6042 * m68hc11.h: Likewise.
6043 * rs6000.h: Likewise.
6046 * sparc.h: Likewise.
6050 * final.c: Likewise.
6052 * recog.c: Likewise.
6054 2001-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6056 * i386.c (ix86_emit_restore_regs_using_mov, ix86_save_reg): Change
6057 `bool' parameter to `int'.
6059 * hash.c (hash_lookup): Likewise.
6061 * hash.h (hash_lookup): Likewise.
6063 * tlink.c (symbol_hash_lookup, demangled_hash_lookup): Likewise.
6065 Fri May 4 13:10:03 CEST 2001 Jan Hubicka <jh@suse.cz>
6067 * i386.c (x86_initialize_trampoline): Fix mode of constant.
6069 2001-05-03 Geoff Keating <geoffk@redhat.com>
6071 * invoke.texi (i386 Options): Delete references to -malign-jumps,
6072 -malign-loops, -malign-functions.
6073 * i386.c (ix86_align_funcs): Delete.
6074 (ix86_align_loops): Delete.
6075 (ix86_align_jumps): Delete.
6076 (override_options): Mark -malign-* as obsolete. Emulate their
6077 behaviour with the -falign-* options. Default -falign-* from
6078 the processor table.
6079 * i386.h (FUNCTION_BOUNDARY): Define to 16; revert Richard Kenner's
6080 patch of Wed May 2 13:09:36 2001.
6081 (LOOP_ALIGN): Delete.
6082 (LOOP_ALIGN_MAX_SKIP): Delete.
6083 (LABEL_ALIGN_AFTER_BARRIER): Delete.
6084 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Delete.
6086 2001-05-04 Andreas Jaeger <aj@suse.de>
6088 * except.h: Add prototype declaration for
6089 expand_builtin_init_dwarf_reg_sizes.
6091 2001-05-03 Geoffrey Keating <geoffk@redhat.com>
6093 * Makefile.in (site.exp): Set TESTING_IN_BUILD_TREE.
6095 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6097 * config/m68hc11/m68hc11.md ("bitcmpqi"): New pattern for bitb
6099 ("bitcmpqi2"): New pattern for bit-extract and test.
6100 ("bitcmphi"): New pattern for bitb/bita instructions.
6102 2001-05-03 Joseph S. Myers <jsm28@cam.ac.uk>
6104 * gccbug.in: Use a temporary directory when the mktemp command is
6107 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6109 * config/m68hc11/m68hc11.h (STATIC_CHAIN_REGNUM): Use soft z register
6111 (INITIALIZE_TRAMPOLINE): Call it.
6112 (TRAMPOLINE_SIZE): Define according to 68HC11/68HC12.
6113 (TRAMPOLINE_TEMPLATE): Remove.
6114 * config/m68hc11/m68hc11.c (m68hc11_initialize_trampoline): New.
6115 * config/m68hc11/m68hc11-protos.h (m68hc11_initialize_trampoline):
6118 2001-05-03 David O'Brien <obrien@FreeBSD.org>
6120 * config/t-freebsd: Don't install "assert.h" in gcc. Compile crtbeginS.o
6121 and crtendS.o with PIC.
6123 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6125 * config/m68hc11/larith.asm (__mulqi3): Fix multiplication of two
6127 (___subdi3, ___adddi3): Use x instead of y as index register.
6128 (__init_bss_section, __map_data_section): Optimize for 68HC12.
6129 (__memset, __memcpy): Likewise.
6130 (regs): Put the soft registers in bss for 68HC12.
6131 (abort): Use trap to abort for 68hc12.
6132 (__mulhi3, __mulhi32): Use emul for 68hc12.
6133 (__mulsi3): Avoid to use the tmp soft register for 68hc12.
6135 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6137 * config/m68hc11/m68hc11.h (LIMIT_RELOAD_CLASS): Don't define.
6138 * config/m68hc11/m68hc11-protos.h (limit_reload_class): Remove.
6139 * config/m68hc11/m68hc11.c (limit_reload_class): Remove.
6140 (m68hc11_override_options): Remove setting of flag_no_nonansi_builtin.
6141 Set 68HC12 min offset to -65536.
6142 (print_operand): Put parenthesis arround the operand if it refers
6143 to a symbol having the same name as a register.
6144 (m68hc11_z_replacement): When z register is replaced by its
6145 equivalent soft register, force the insn to be re-recognized.
6146 (m68hc11_check_z_replacement): Fix the test when destination is
6147 the index register and z dies in the insn.
6148 (m68hc11_reorg): Remove the REG_DEAD notes beforce recomputing them.
6150 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6152 * config/m68hc11/m68hc11.c (m68hc11_override_options): Initialize
6153 costs according to processor variant.
6154 (m68hc11_shift_cost): New function to compute shift costs.
6155 (m68hc11_rtx_costs): Define costs according to processor variant.
6156 (m6811_cost): Costs for 68HC11.
6157 (m6812_cost): Costs for 68HC12.
6158 (COSTS_N_INSNS): Remove.
6160 * config/m68hc11/m68hc11.h (RTX_COSTS): New.
6161 (DEFAULT_RTX_COSTS): Remove.
6162 (CONST_COSTS): Define costs according to OUTER_CODE.
6163 (processor_costs): New struct to define costs.
6164 (m68hc11_cost): Pointer to current costs.
6166 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6168 * config/m68hc11/m68hc11.md (*addhi3_68hc12): Fix generation
6169 and use m68hc11_notice_keep_cc when using leax/leay.
6170 (addhi3 split): Reject split if the insn is handled by
6172 * config/m68hc11/m68hc11.c (m68hc11_split_move): For 68HC12 the
6173 push must be handled in a special way if the source operand uses
6174 sp as index register.
6175 (m68hc11_notice_keep_cc): New function.
6176 (m68hc11_gen_movhi): Use it when an insn changes a register but
6178 (m68hc11_gen_movqi): Fix move for 68HC12.
6179 * config/m68hc11/m68hc11-protos.h (m68hc11_notice_keep_cc): Declare.
6181 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6183 * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Use LCT_CONST
6184 and don't pass operands[0] to emit_library_call_value.
6186 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6188 * config/m68hc11/m68hc11.md (tsthi_1): Use cpd for 68HC12.
6189 (zero_extendsi split): Simplify and use (zero_extendhi).
6190 (*addhi3): Remove 'w' constraint since stack pointer is handled
6192 (*ashlhi3_2): Operand 2 is clobbered use '+' for its constraint.
6193 (*ashlhi3, *ashrhi3, *lshrhi3): Likewise.
6194 (*ashrhi3_const): Fix shift by 7.
6195 (*lshrsi3_const16): Fix template.
6196 (call, call_value): Fix constraint and predicate.
6198 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6200 * config/m68hc11/m68hc11.md (X_REGNUM, D_REGNUM): New constant.
6201 (Y_REGNUM, SP_REGNUM, PC_REGNUM, A_REGNUM, B_REGNUM): Likewise.
6202 (CC_REGNUM): Likewise.
6203 (*unnamed splits): Use above constants instead of hard coded numbers.
6204 (*adcq, *subcq, *addsi_carry, *rotlqi3_with_carry): Likewise.
6205 (*rotlhi3_with_carry, *rotrhi3_with_carry): Likewise.
6206 (*return_16bit, *unnamed peepholes): Likewise.
6208 2001-05-03 David O'Brien <obrien@FreeBSD.org>
6210 * config.gcc(rs6000-ibm-aix|powerpc-ibm-aix): Do not include
6211 rs6000/rs6000.h twice.
6213 2001-05-03 Mark Elbrecht <snowball3@bigfoot.com>
6215 * config/i386/djgpp.h (CPP_PREDEFINES): Define __GO32__.
6216 (CPP_SPEC): Conditionally define MSDOS and GO32.
6217 (SUBTARGET_SWITCHES): Ignore -mbnu210 and -mno-bnu210.
6218 (SUBTARGET_OVERRIDE_OPTIONS): Warn that -mbnu210 and -mno-bnu210 are
6220 (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Remove.
6222 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
6224 * config/mn10300/mn10300.md: Sign-extend GEN_INT operands.
6226 2001-05-03 Mark Mitchell <mark@codesourcery.com>
6228 * integrate.h (struct inline_remap): Add leaf_reg_map table.
6229 * integrate.c (expand_inline_function): Use xcalloc to allocate
6231 (copy_rtx_and_substitute): Use the leaf_reg_map for leaf
6234 2001-05-03 Mark Mitchell <mark@codesourcery.com>
6236 * c-dump.c (dequeue_and_dump): Don't look at DECL_ASSEMBLER_NAME
6239 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
6241 * config/mn10300/mn10300.h (LINK_SPEC): Pass --relax to the
6242 linker if -mrelax is given.
6243 (TARGET_SWITCHES): Document -mrelax.
6245 Re-installed 2001-01-09's patch:
6246 * hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long
6247 if it's wider than long and the target's long is wider than the
6250 2001-05-02 David O'Brien <obrien@FreeBSD.org>
6252 * config.gcc, config/rs6000/aix51.h, config/rs6000/mach.h: Do not
6253 directly include rs6000/rs6000.h. Instead do it in tm.h.
6255 2001-05-02 Stan Shebs <shebs@apple.com>
6257 * objc/objc-act.c (STRING_OBJECT_CLASS_NAME): Default to
6258 NSConstantString for NeXT-style runtimes.
6259 (STRING_OBJECT_GLOBAL_NAME): New macro.
6260 (enum objc_tree_index): Add values OCTI_CNST_STR_GLOB_ID and
6261 OCTI_STRING_CLASS_DECL.
6262 (constant_string_global_id): New macro.
6263 (string_class_decl): Ditto.
6264 (setup_string_decl): New function.
6265 (build_objc_string_object): Use it to build a NeXT runtime
6266 compatible string initializer.
6268 2001-05-02 Jakub Jelinek <jakub@redhat.com>
6270 * tradcpp.c (do_define): Make sure we don't walk past limit.
6272 2000-05-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6274 * config/rs6000/rs6000.c (rs6000_legitimate_address): Allow any stack
6275 offsets if not REG_OK_STRICT.
6277 * config/rs6000/rs6000.h (REG_OK_STRICT_FLAG): New macro.
6278 (INT_REG_OK_FOR_INDEX_P): Likewise.
6279 (INT_REG_OK_FOR_BASE_P): Likewise.
6280 (REG_OK_FOR_INDEX_P): Use INT_REG_OK_FOR_INDEX_P.
6281 (REG_OK_FOR_BASE_P): Use INT_REG_OK_FOR_BASE_P.
6282 (LEGITIMATE_OFFSET_ADDRESS_P): Use INT_REG_OK_FOR_INDEX_P and
6283 INT_REG_OK_FOR_BASE_P instead of REG_OK_FOR_INDEX_P and
6284 REG_OK_FOR_BASE_P. Take an additional parameter.
6285 (LEGITIMATE_INDEXED_ADDRESS_P): Likeewise.
6286 (LEGITIMATE_INDIRECT_ADDRESS_P): Likewise.
6287 (LEGITIMATE_LO_SUM_ADDRESS_P): Likewise.
6288 (GO_IF_LEGITIMATE_ADDRESS): Move code into new function
6289 rs6000_legitimate_address() and use it.
6290 * config/rs6000/rs6000.c: Update all callers.
6291 (rs6000_legitimate_address): New function.
6293 2001-05-02 David Edelsohn <edelsohn@gnu.org>
6295 * config/rs6000/rs6000.c (rs6000_emit_move): Merge
6296 special_constant conditional blocks together.
6298 2001-05-02 Dale Johannesen <dalej@apple.com>
6300 * config/rs6000/rs6000.h (RS6000_ARG_SIZE): Remove unused NAMED
6302 (STRICT_ARGUMENT_NAMING): Define.
6303 * config/rs6000/rs6000.c (function_arg_advance, function_arg,
6304 function_arg_partial_nregs, setup_incoming_varargs): Remove
6305 args logic which depends on "named" now that STRICT_ARGUMENT_NAMING
6308 Wed May 2 13:09:36 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6310 * config/i386/i386.h (FUNCTION_BOUNDARY): Result is unsigned.
6312 * function.c (fixup_var_regs_1, case SUBREG): Use promoted mode
6315 * expr.c (store_field): Do nothing except elaborate side-effects if
6318 2001-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6320 * c-lex.c: NULL_PTR -> NULL.
6322 * emit-rtl.c: Likewise.
6324 * genpeep.c: Likewise.
6326 * mips-tdump.c: Likewise.
6327 * reload1.c: Likewise.
6328 * rtlanal.c: Likewise.
6330 * stor-layout.c: Likewise.
6331 * toplev.c: Likewise.
6333 2001-05-01 Per Bothner <per@bothner.com>
6335 * expr.c (expand_expr): When compiling LABELED_BLOCK_EXPR,
6336 call do_pending_stack_adjust before emiting label.
6338 2001-05-01 Mark Mitchell <mark@codesourcery.com>
6340 * extend.texi: Fix typo.
6342 2001-05-01 Stan Shebs <shebs@apple.com>
6344 * objc/objc-act.c (build_module_descriptor): Clear DECL_CONTEXT
6345 of UOBJC_MODULES_decl.
6346 (generate_strings): Clear DECL_CONTEXT of new decl nodes.
6347 (generate_descriptor_table): Ditto.
6348 (generate_protocols): Ditto.
6349 (generate_protocol_list): Ditto.
6350 (generate_classref_translation_entry): Ditto.
6352 2001-05-01 Jeffrey Oldham <oldham@codesourcery.com>
6354 * invoke.texi (Optimize Options): Add documentation for `--param
6355 max-delay-slot-insn-search' and `--param
6356 max-delay-slot-live-search' and reorder --param section.
6357 * params.def: Modify initial comment.
6358 * params.h (param_info): Add `help' member.
6359 * toplev.c (lang_independent_params): Include `help' description.
6360 (display_help): Print --param parameters.
6362 2001-05-01 Zack Weinberg <zackw@stanford.edu>
6364 * config.gcc: Don't default xmake_file to ${cpu_type}/x-${cpu_type}.
6365 Remove references to deleted files.
6366 (*-*-openbsd): No need to override xmake_file.
6367 (*-*-sysv4): Treat like *-*-sysv.
6369 * configure.in: Probe for ldopen in various places, and set up
6370 collect2 to be linked with them if found.
6371 Don't dink with Windows registry stuff unless $host_os is a
6372 Win32 os name. Check to see if we need -ladvapi32.
6373 * configure: Regenerate.
6375 * Makefile: Get rid of CLIB and HOST_CLIB.
6376 Substitute in COLLECT2_LIBS and link collect2 against its contents.
6377 * build-make: Get rid of HOST_CLIB.
6379 * config/a29k/x-unix, config/alpha/x-osf, config/i386/x-aix,
6380 config/i386/x-osfrose, config/m68k/x-dpx2, config/mips/x-iris3,
6381 config/mips/x-mips, config/mips/x-osfrose, config/mips/x-sony,
6382 config/mips/x-sysv, config/rs6000/x-aix31, config/rs6000/x-aix41,
6383 config/rs6000/x-rs6000: Delete.
6385 * config/i386/x-cygwin, config/m68k/t-aux, config/mips/x-iris:
6388 24 x-host fragments remain, 0 x-cpu, 3 top level.
6390 2001-05-01 Zack Weinberg <zackw@stanford.edu>
6392 * aclocal.m4 (gcc_AC_C_CHAR_BIT): Correct test program.
6393 * configure: Regenerate.
6395 2001-05-01 Angela Marie Thomas <angela@cygnus.com>
6397 * Makefile.in (install-headers): Remove redundant dependency.
6399 2001-05-01 Nathan Sidwell <nathan@codesourcery.com>
6401 * c-tree.texi (USING_STMT): Document.
6403 2001-05-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6405 * bitmap.c: Change NULL_PTR to NULL or "(rtx*)0".
6406 * c-common.c: Likewise.
6407 * c-decl.c: Likewise.
6408 * combine.c: Likewise.
6409 * rs6000.c: Likewise.
6410 * except.c: Likewise.
6411 * explow.c: Likewise.
6413 * fold-const.c: Likewise.
6414 * function.c: Likewise.
6417 * integrate.c: Likewise.
6419 * objc/objc-act.c: Likewise.
6420 * recog.c: Likewise.
6421 * reg-stack.c: Likewise.
6422 * reload.c: Likewise.
6423 * reload1.c: Likewise.
6424 * simplify-rtx.c: Likewise.
6426 * varasm.c: Likewise.
6428 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
6430 * diagnostic.def: New file.
6431 * diagnostic.h (diagnostic_t): New enum.
6432 * Makefile.in (diagnostic.o): Depend on diagnostic.def
6434 2001-04-30 Zack Weinberg <zackw@stanford.edu>
6436 * tsystem.h: Test only POSIX for availability of string.h
6438 * config.gcc (all systems): If USG appeared in xm_defines,
6439 change it to POSIX. If both USG and POSIX appeared, just
6440 delete USG. Remove unnecessary quotes around xm_defines
6442 (m68k-crds-unos*): Don't #define unos - tested nowhere.
6443 (m68k-apple-aux*): Don't #define AUX - tested nowhere.
6444 (alpha*-*-linux*ecoff*, powerpc-*-linux*libc1,
6445 powerpc-*-linux*): No need to set xm_defines - handled by
6446 global settings for *-*-linux*.
6448 2001-04-30 Zack Weinberg <zackw@stanford.edu>
6450 * dbxout.c, mips-tfile.c, config/mips/mips.c, xcoffout.c:
6451 Always include gstab.h, not system stab.h. Don't provide
6452 default definitions of N_CATCH or N_OPT. Always use the
6453 gstab.h variant of STAB_CODE_TYPE.
6454 * final.c: Don't include stab.h/gstab.h at all, or provide
6455 defaults for N_SLINE and N_SOL.
6457 * xcoffout.c: Can assume N_MAIN, N_DSLINE, N_BSLINE, N_BINCL,
6458 N_EINCL, N_EXCL, N_M2C, N_SCOPE, N_CATCH, and N_OPT are
6460 * sdbout.c: Always include gsyms.h instead of system syms.h.
6462 * configure.in: No need to check for stab.h.
6463 * configure, config.in: Regenerate.
6464 * Makefile.in (final.o): Don't depend on gstab.h.
6466 2001-04-30 Mark Mitchell <mark@codesourcery.com>
6467 Richard Henderson <rth@redhat.com>
6469 * extend.texi: Improve documentation of volatile asms.
6471 2001-04-30 Mark Mitchell <mark@codesourcery.com>
6473 * c-tree.texi: Fix thinko.
6474 * gcc.texi: Likewise.
6476 2001-04-30 Richard Henderson <rth@redhat.com>
6478 * c-common.c (c_promoting_integer_type_p): New function, from the
6479 corpse of old macro. Properly promote too-small enumerations and
6480 booleans. Adjust all callers.
6481 * c-common.h (C_PROMOTING_INTEGER_TYPE_P): Remove.
6482 (c_promoting_integer_type_p): Declare.
6483 * c-decl.c: Adjust C_PROMOTING_INTEGER_TYPE_P invocations.
6484 * c-typeck.c: Likewise.
6485 (default_conversion): Remove now redundant boolean check.
6487 2001-04-30 Jan Hubicka <jh@suse.cz>
6488 Richard Henderson <rth@redhat.com>
6490 * regmove.c (try_apply_stack_adjustment): Remove now redundant
6492 (combine_stack_adjustments_for_block): Don't combine stack
6493 allocation followed by deallocations. Handle grow-up stacks.
6495 2001-04-30 Mark Mitchell <mark@codesourcery.com>
6497 * fdl.texi: New file.
6498 * c-tree.texi: Use the GFDL.
6499 * gcc.texi: Likewise.
6501 2001-04-30 Stan Shebs <shebs@apple.com>
6503 * invoke.texi: Add a section documenting Objective-C options.
6505 2001-04-27 Andrew Haley <aph@cambridge.redhat.com>
6507 * emit-rtl.c (try_split): Copy EH notes to sequence.
6509 2001-04-30 Mark Mitchell <mark@codesourcery.com>
6511 * regmove.c (record_stack_memrefs): Catch all references to the
6514 2001-04-29 Toomas Rosin <toomas at ns dot tklabor dot ee>
6516 * Makefile.in (stmp-fixinc): quote shell assignment values
6518 2001-04-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6520 * c-aux-info.c: NULL_PTR->NULL in calls to `concat'.
6524 * prefix.c: Likewise.
6526 2001-04-28 Stan Shebs <shebs@apple.com>
6528 * objc/objc-act.c (handle_class_ref): Rewrite to flush target
6529 specific code and use new macro ASM_DECLARE_UNRESOLVED_REFERENCE.
6530 * config/darwin.h (ASM_DECLARE_UNRESOLVED_REFERENCE): Define.
6531 * tm.texi (ASM_DECLARE_UNRESOLVED_REFERENCE): Document.
6533 * config/darwin.h (STANDARD_EXEC_PREFIX): Don't define.
6534 (NEXT_OBJC_RUNTIME): Define.
6536 Sat Apr 28 21:02:58 CEST 2001 Jan Hubicka <jh@suse.cz>
6538 * rtl.h (simplify_gen_relational): Add cmp_mode parameter.
6539 * simplify-rtx.c (simplify_gen_relational): Likewise.
6541 * simplify-rtx.c (simplify_replace_rtx): Handle relationals and MEMs.
6543 * i386.h (VALID_SSE_REG_MODE): Accept MMX modes if SSE2
6544 * i386.md (movsi_1, movdi2, movdi_1_rex64): Handle SSE2 moves.
6546 * i386.md (negsf2, negdf2, abssf2, absdf2): Force operands to
6547 registers in SSE case; fix handling of the immediates.
6548 (negsf2_ifs, abssf2_ifs): Tweak constraints; require
6549 operands to be in regsiters before reload.
6550 (negdf2_ifs, absdf2_ifs): Likewise; disable for 64bit
6551 (negdf2_ifs_rex64, absdf2_ifs_rtx64): New.
6552 (abstf,absxf,negtf,negxf splitters): Compute
6553 properly the regnum for x86_64.
6554 (avsdf2_if_rex64): New.
6556 Sat Apr 28 10:36:23 2001 Jeffrey A Law (law@cygnus.com)
6558 * flow.c (propagate_block_delete_insn): Handle deletion of ADDR_VEC
6559 and ADDR_DIFF_VEC insns when the proceeding CODE_LABEL was put
6560 into the constant pool.
6561 * jump.c (jump_optimize_1): Remove barrier successors after all
6562 the LABEL_NUSES counds have been computed.
6563 (delete_barrier_successors): When deleting a tablejump insn, also
6564 delete the jump table it uses.
6565 * varasm.c (force_const_mem): Set LABEL_PRESERVE_P when forcing a
6568 2001-04-28 Martin Kalen <martin.kalen@todaysystems.com.au>
6570 * pa.c (FRP): Remove erroneous white space in macro definition.
6572 2001-04-28 Andreas Jaeger <aj@suse.de>
6574 * invoke.texi: Use XX-bit instead of XXbit or XX bit where
6576 * extend.texi: Likewise.
6577 * tm.texi: Likewise.
6579 2001-04-28 Andreas Jaeger <aj@suse.de>
6581 * md.texi: Use XX-bit instead of XXbit or XX bit where
6584 2001-04-28 Jens Schweikhardt <schweikh@schweikhardt.net>
6586 * gcc.c (process_command): Allow -l lib in addition to -llib
6587 for POSIX compliance. This fixes PR c/2347.
6589 * invoke.texi: Update section on Link Options accordingly.
6591 2001-04-27 Zack Weinberg <zackw@stanford.edu>
6593 * function.c (purge_addressof_1): Remove the duplicate
6594 if (code == SET) block. Fold the two if (code == ADDRESSOF)
6597 2001-04-28 Jason Merrill <jason_merrill@redhat.com>
6599 * except.c (expand_eh_region_start): Don't start a new block.
6600 (expand_eh_region_end): Don't end a block.
6601 * stmt.c (expand_end_bindings): Don't end EH blocks.
6602 (expand_decl_cleanup): Starting an EH region won't change the block.
6603 (mark_block_as_eh_region, mark_block_as_not_eh_region): Lose.
6604 (is_eh_region): Lose.
6607 2001-04-27 Jeffrey Oldham <oldham@codesourcery.com>
6609 * except.c (expand_eh_region_end_cleanup): word_mode, not Pmode.
6611 * collect2.c (main): Add `-L' case to remove duplicate entries.
6612 (is_in_args): New function to check for a duplicate argument.
6613 * defaults.h (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): New macro.
6614 * tm.texi (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): New documentation.
6615 * config/mips/iris6.h (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES):
6616 Define to be nonzero.
6618 2001-04-27 Andreas Jaeger <aj@suse.de>
6619 Richard Henderson <rth@redhat.com>
6621 * md.texi (Machine Constraints): Document additional i386
6622 constraints and fix description of "A".
6624 Fri Apr 27 10:43:49 2001 Jeffrey A Law (law@cygnus.com)
6626 * tm.texi (TARGET_MEM_FUNCTIONS): Update text.
6628 2001-04-27 Jason Merrill <jason_merrill@redhat.com>
6630 * except.c (get_exception_filter): word_mode, not Pmode.
6632 2001-04-26 Geoffrey Keating <geoffk@redhat.com>
6634 * config/sparc/sparc.md (movsf_no_f_insn): Add more alternatives
6635 common to other movsf patterns. Move up so that in future
6636 people who change the other patterns will change it too.
6637 (movsf_lo_sum): Allow even for soft-float; add appropriate
6639 (movsf_high): Likewise.
6640 (movsf_high+1): Allow even for soft-float.
6642 * function.c (expand_function_end): Always clobber the
6643 return registers, even if there is no return label.
6645 Thu Apr 26 20:28:21 CEST 2001 Jan Hubicka <jh@suse.cz>
6647 * (ix86_expand_fp_movcc): Re-enable SSE conditional move generation.
6649 Thu Apr 26 19:20:28 CEST 2001 Jan Hubicka <jh@suse.cz>
6651 * i386.md (abs/neg splitter): Fix calculation of sign bit for TFmodes
6652 (pushqi2_rex64, pushhi2_rex64): Add.
6654 2001-04-26 Andrew Haley <aph@cambridge.redhat.com>
6656 * except.c (expand_eh_region_end_cleanup): Force pending stack
6657 adjust before emitting label that branches around cleanup code.
6659 2001-04-26 H.J. Lu (hjl@gnu.org)
6661 * config.gcc (mips*-*-linux*): Add elfos.h to tm_file.
6663 * config/mips/ecoff.h (STARTFILE_SPEC): Undefine before
6665 * config/mips/elf64.h (MAX_OFILE_ALIGNMENT): Likewise.
6666 (ASM_OUTPUT_SECTION_NAME): Likewise.
6667 (ASM_WEAKEN_LABEL): Likewise.
6668 (UNIQUE_SECTION): Likewise.
6669 (ASM_OUTPUT_CONSTRUCTOR): Likewise.
6670 (ASM_OUTPUT_DESTRUCTOR): Likewise.
6671 * config/mips/elf.h (MAX_OFILE_ALIGNMENT): Likewise.
6672 (ASM_OUTPUT_SECTION_NAME): Likewise.
6673 (ASM_WEAKEN_LABEL): Likewise.
6674 (UNIQUE_SECTION): Likewise.
6675 (ASM_OUTPUT_CONSTRUCTOR): Likewise.
6676 (ASM_OUTPUT_DESTRUCTOR): Likewise.
6677 * config/mips/linux.h (HANDLE_SYSV_PRAGMA): Likewise.
6678 * config/mips/mips.h (DBX_CONTIN_LENGTH): Likewise.
6679 (ASM_FILE_START): Likewise.
6680 (ASM_OUTPUT_SOURCE_LINE): Likewise.
6681 (ASM_DECLARE_OBJECT_NAME): Likewise.
6682 (ASM_FILE_END): Likewise.
6683 (ASM_DECLARE_FUNCTION_NAME): Likewise.
6684 (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
6685 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
6686 (ASM_OUTPUT_CASE_LABEL): Likewise.
6687 (ASM_OUTPUT_SKIP): Likewise.
6688 (ASM_OUTPUT_ASCII): Likewise.
6689 (ASM_OUTPUT_IDENT): Likewise.
6690 (READONLY_DATA_SECTION): Likewise.
6691 (EXTRA_SECTIONS): Likewise.
6692 (EXTRA_SECTION_FUNCTIONS): Likewise.
6693 (SELECT_RTX_SECTION): Likewise.
6694 (SELECT_SECTION): Likewise.
6696 * config/mips/linux.h (INVOKE__main): Undefine.
6697 (CTOR_LIST_BEGIN): Likewise.
6698 (CTOR_LIST_END): Likewise.
6699 (DTOR_LIST_BEGIN): Likewise.
6700 (DTOR_LIST_END): Likewise.
6701 (SET_ASM_OP): Defined it to ".dummy".
6702 (ASM_OUTPUT_DEF): Defined.
6703 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Defined.
6705 2001-04-26 Nick Clifton <nickc@cambridge.redhat.com>
6707 * config/arm/arm.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define, if the
6708 assembler supports .p2align.
6710 2001-04-26 Nathan Sidwell <nathan@codesourcery.com>
6712 * c-lex.c (c_lex): Remove # from %o diagnostic formatting.
6714 2001-04-26 Jakub Jelinek <jakub@redhat.com>
6716 * integrate.c (expand_inline_function): Check for error_mark_node
6719 2001-04-26 Jakub Jelinek <jakub@redhat.com>
6721 * config/i386/i386.h (CC1_CPU_SPEC): Fix deprecation warnings for
6724 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
6726 * configure.in (configargs.h): Define thread_model.
6727 * configure: Rebuilt.
6728 * gcc.c (main): Print it with -v.
6730 2001-04-25 Joseph S. Myers <jsm28@cam.ac.uk>
6732 * invoke.texi: Document -Wmissing-braces, -dumpspecs,
6733 -dumpmachine, -dumpversion, -fmem-report and -ftime-report.
6734 * gcc.1: Regenerate.
6736 2001-04-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6738 * dwarfout.c (is_pseudo_reg, type_main_variant, is_tagged_type,
6739 is_redundant_typedef): Use static inline instead of inline static.
6741 Wed Apr 25 18:21:01 2001 Christopher Faylor <cgf@cygnus.com>
6743 * config/i386/cygwin.h: Move W32API search to LINK_SPEC to ensure that
6744 this directory is always searched.
6746 2001-04-25 Richard Henderson <rth@redhat.com>
6748 * config/i386/i386.c (ix86_expand_epilogue): Properly compute size
6749 of registers to restore along non eh_return path.
6751 2001-04-25 Jakub Jelinek <jakub@redhat.com>
6753 * c-format.c (check_format_info_recurse): Handle
6754 PLUS_EXPR for format string.
6756 2001-04-25 Jakub Jelinek <jakub@redhat.com>
6758 * config/ia64/ia64.h (CC1_SPEC): Define.
6759 * config/ia64/linux.h (CC1_SPEC): Define.
6761 Wed Apr 25 17:09:50 2001 J"orn Rennecke <amylaar@redhat.com>
6763 * emit-rtl.c (constant_subword): Also do sign extension in
6764 BITS_PER_WORD == 16 case.
6766 2001-04-25 Jason Merrill <jason_merrill@redhat.com>
6768 * loop.c (try_swap_copy_prop): Go back to checking insn.
6770 2001-04-25 Jakub Jelinek <jakub@redhat.com>
6772 * emit-rtl.c (subreg_hard_regno): Only do HARD_REGNO_MODE_OK check
6773 if check_mode is non-zero.
6775 2001-04-25 Jakub Jelinek <jakub@redhat.com>
6777 * config/i386/i386.c (ix86_expand_int_movcc): If overlap between
6778 out and comparison sequence has been detected, put result into
6779 proper temporary pseudo.
6781 2001-04-24 Zack Weinberg <zackw@stanford.edu>
6783 * Makefile.in (LIB2FUNCS): Remove _varargs and __dummy.
6784 * libgcc-std.ver: Remove __builtin_saveregs, __dummy, and __empty.
6785 * libgcc2.c: Remove __dummy and __builtin_saveregs.
6786 * libgcc2.h: Don't prototype __builtin_saveregs or __dummy.
6787 * config/i860/varargs.asm: New file - preserve i860 __builtin_saveregs
6788 for future reference.
6790 2001-04-24 Jason Merrill <jason_merrill@redhat.com>
6792 * except.c (reachable_handlers): Step out one level from a RESX.
6794 * except.c (struct eh_region): Rename 'last' to 'resume'.
6795 (mark_eh_region, duplicate_eh_region_1): Adjust.
6796 (expand_eh_region_end_cleanup): Remember the jump, not the barrier.
6797 (build_post_landing_pads): Likewise.
6798 (expand_end_catch, expand_eh_region_end_allowed): Don't set it.
6799 (expand_eh_region_end_must_not_throw): Likewise.
6800 (connect_post_landing_pads): Thread (only) regions with non-deleted
6803 * except.c (expand_eh_region_end_cleanup): Save the EH return data
6804 registers around the cleanup.
6805 (get_exception_filter): New fn.
6806 (finish_eh_generation): Use it.
6808 2001-04-24 Nathan Sidwell <nathan@codesourcery.com>
6810 * c-semantics.c (add_scope_stmt): Don't call
6811 current_scope_stmt_stack multiple times.
6813 2001-04-24 Zack Weinberg <zackw@stanford.edu>
6814 Nathan Sidwell <nathan@codesourcery.com>
6816 Lazy __FUNCTION__ generation.
6817 * c-common.h (RID_FUNCTION_NAME, RID_PRETTY_FUNCTION_NAME,
6818 RID_C99_FUNCTION_NAME): New _RIDs.
6819 (CTI_FUNCTION_ID, CTI_PRETTY_FUNCTION_ID, CTI_FUNC_ID): Remove.
6820 (CTI_FUNCTION_NAME_DECL, CTI_PRETTY_FUNCTION_NAME_DECL,
6821 CTI_C99_FUNCTION_NAME_DECL, CTI_SAVED_FUNCTION_NAME_DECLS): New
6823 (function_id_node, pretty_function_id_node, func_id_node): Remove.
6824 (c99_function_name_decl_node, function_name_decl_node,
6825 pretty_function_name_decl_node, saved_function_name_decls):
6827 (struct language_function): Remove x_function_name_declared_p.
6828 (make_fname_decl): Remove a parameter.
6829 (declare_function_names): Remove prototype.
6830 (start_fname_decls, finish_fname_decls): Prototype.
6831 (fname_as_string): Likewise.
6832 (fname_string, fname_decl): Likewise.
6833 * c-common.c (make_fname_decl): Adjust.
6834 (struct fname_var_t): New struct.
6835 (fname_vars): New static array.
6836 (declare_function_name): Remove.
6837 (start_fname_decls, finish_fname_decls): New functions.
6838 (fname_as_string): New function from remnants of
6839 declare_function_name.
6840 (fname_string, fname_decl): New functions.
6842 * c-decl.c (c_function_name_declared_p): Remove.
6843 (init_decl_processing): Don't generate __FUNCTION__ et al ids,
6844 don't call declare_function_name. Call start_fname_decls.
6845 (c_make_fname_decl): Adjust parameters. Generate the name. Don't
6846 clobber the line number. Call finish_decl.
6847 (start_function): Call start_fname_decls.
6848 (finish_function): Call finish_fname_decls.
6849 Remove c_function_name_declared_p.
6850 (push_c_function_context): Don't push c_function_name_declared_p.
6851 (pop_c_function_context): Don't pop c_function_name_declared_p.
6852 (c_begin_compound_stmt): Don't check c_function_name_declared_p.
6853 * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): New tokens.
6854 (program): Call finish_fname_decls for C.
6855 (primary): Add VAR_FUNC_NAME.
6856 (reswords): Add slots for __FUNCTION__ et al.
6857 (rid_to_yy): Add mappings for __FUNCTION__ et al.
6858 (yylexname): If it's a STRING_FUNC_NAME generate the function name
6859 now. Don't look for VAR_DECLs containing __FUNCTION__ et al.
6860 * c-semantics.c (prune_unused_decls): Remove.
6861 (finish_stmt_tree): Don't call prune_unused_decls.
6862 (genrtl_decl_stmt): Don't prune unused decls here.
6864 2001-04-24 Nick Clifton <nickc@cambridge.redhat.com>
6866 * dwarf2out.c (mem_loc_descriptor): If a SYMBOL_REF is in the
6867 constant pool, use the pool's SYMBOL_REF instead.
6869 * config/v850/v850.h (STRICT_ALIGNMENT): Always set, even for the
6872 2001-04-23 Joseph S. Myers <jsm28@cam.ac.uk>
6874 * c-convert.c (convert): When converting to a BOOLEAN_TYPE, avoid
6875 passing nested NOP_EXPRs to fold.
6877 Mon Apr 23 14:32:12 CEST 2001 Jan Hubicka <jh@suse.cz>
6879 * reg-stack.c (emit_swap_insn): Do not get pass CALL_INSNs.
6881 2001-04-22 Mark Mitchell <mark@codesourcery.com>
6883 * loop.c (loop_delete_insns): Add prototype.
6885 2001-04-23 Phil Edwards <pme@sources.redhat.com>
6887 * configure.in: Remove ENABLE_STD_NAMESPACE.
6888 * config.in: Regenerated.
6889 * configure: Regenerated.
6891 2001-04-22 Stan Shebs <shebs@apple.com>
6893 * config.gcc (powerpc-*-darwin*): Move the flag in xm-darwin.h
6895 * config/rs6000/xm-darwin.h: Remove file.
6897 2001-04-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6899 * collect2.c (main): Use concat in lieu of xmalloc/sprintf.
6900 (write_c_file_stat): Likewise.
6902 * dbxout.c (dbxout_init): Likewise.
6904 * profile.c (output_func_start_profiler): Likewise.
6906 2001-04-22 Philipp Thomas <pthomas@suse.de>
6908 * ABOUT-GCC-NLS: Now that gettext 0.10.37 is out,
6909 require it instead of the CVS version.
6910 * cpperror.c (v_message): Put a blank before the macro
6911 body to not confuse exgettext.
6913 2001-04-21 Mark Mitchell <mark@codesourcery.com>
6915 * flow.c (proagate_one_insn): Remove useless assignment.
6916 * jump.c (delete_insn): Tidy.
6917 * loop.c (try_copy_prop): When deleting an instruction with a
6918 REG_RETVAL note, delete the entire libcall sequence.
6919 (loop_delete_insns): New function.
6920 * unroll.c (initial_reg_note_copy): Copy INSN_LIST notes, even if
6921 we're not substituting into them yet.
6923 2001-04-21 Kazu Hirata <kazu@hxi.com>
6925 * config/h8300/h8300.c (general_operand_src): Fix a comment typo.
6927 * config/sparc/sparc.c (sparc_flat_eligible_for_epilogue_delay):
6929 * config/i960/i960.c (signed_arith_operand): Likewise.
6931 * calls.c (expand_call): Fix a comment typo.
6933 2001-04-20 Zack Weinberg <zackw@stanford.edu>
6935 * configure.in: Probe for times, clock, struct tms, and clock_t.
6936 * configure, config.in: Regenerate.
6937 * timevar.c: Replace ifdef forest in get_time with (relatively)
6938 straightforward series of checks based on autoconf's probes.
6940 Fri Apr 20 12:24:50 2001 Jeffrey A Law (law@cygnus.com)
6942 * config/pa/som.h (NM_FLAGS): Define.
6944 2001-04-20 Bernd Schmidt <bernds@redhat.com>
6946 * ia64.h (MD_SCHED_REORDER, MD_SCHED_REORDER2): Pass CLOCK to called
6948 * ia64-protos.h (ia64_sched_reorder): Additional arg for clock.
6949 * ia64.c (nop_cycles_until): New function.
6950 (prev_cycle, prev_first, last_issued): New static variables.
6951 (ia64_sched_reorder): Additional arg for clock.
6952 On final scheduling pass, emit extra NOPs as needed.
6953 Set prev_first and prev_cycle.
6954 (ia64_sched_reorder2): Pass clock arg down to ia64_sched_reorder.
6955 (ia64_variable_issue): Set last_issued.
6957 2001-04-20 Alexandre Oliva <aoliva@redhat.com>
6959 * config/i386/i386.c (ix86_expand_int_movcc,
6960 ix86_expand_strlensi_unroll_1): Sign-extend CONST_INTs.
6962 2001-04-20 Geoff Keating <geoffk@redhat.com>
6964 * config/rs6000/rs6000.md (ctrsi_internal1, ctrsi_internal2,
6965 ctrsi_internal3, ctrsi_internal4, ctrsi_internal5,
6966 ctrsi_internal6, ctrdi_internal1, ctrdi_internal2,
6967 ctrdi_internal3, ctrdi_internal4, ctrdi_internal5,
6968 ctrdi_internal6): In the short-branch case, this insn is only 4
6969 bytes long. Reported by Reza Yazdani <reza@apple.com>.
6971 2001-04-20 Jakub Jelinek <jakub@redhat.com>
6973 * reg-stack.c (check_asm_stack_operands): Issue error if "=t" resp.
6974 "=u" is used together with "st" resp. "st(1)" clobber.
6976 2001-04-20 Jakub Jelinek <jakub@redhat.com>
6978 * gcse.c (gcse_main): Fix comment typo.
6979 (delete_null_pointer_check): Likewise.
6980 (hash_scan_set): Don't consider sets with REG_EQUIV MEM notes.
6981 * cse.c (cse_insn): Likewise.
6982 * function.c (fixup_var_refs_insns_with_hash): The sequence is
6985 2001-04-19 Zack Weinberg <zackw@stanford.edu>
6987 * toplev.c: Excise all code for the undocumented -dm option.
6988 (float_signal): Call signal just once, unconditionally.
6990 2001-04-19 Geoff Keating <geoffk@redhat.com>
6992 * fold-const.c (fold): Use first_rtl_op rather than
6993 TREE_CODE_LENGTH when looping over parameters of a tree.
6994 Correct strange grouping in test for evaluated SAVE_EXPR.
6996 Thu Apr 19 19:15:26 2001 Jeffrey A Law (law@cygnus.com)
6998 * config/pa/pa-linux.h (CPLUSPLUS_CPP_SPEC): Undefine.
6999 * config/pa/pa.h (CPLUSPLuS_CPP_SPEC): Define.
7001 * config/pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Truncate subspace
7002 name at 32 total characters.
7003 (ASM_OUTPUT_SECTION_NAME): Similarly. Also, only support placing
7004 functions in named sections -- data items can still go into unique
7005 sections, but they have normal names (ie $LIT$ and $DATA$).
7007 * config/pa/som.h (SUPPORTS_INIT_PRIORITY): SOM does not support
7010 2001-04-19 DJ Delorie <dj@redhat.com>
7012 * config/alpha/vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX
7013 to TARGET_OBJECT_SUFFIX and TARGET_EXECUTABLE_SUFFIX.
7014 * config/i386/cygwin.h: Likewise.
7015 * config/i386/mingw32.h: Likewise.
7016 * config/vax/vms.h: Likewise.
7017 * config/i386/djgpp.h: Remove NO_AUTO_EXE_SUFFIX.
7019 * config/alpha/xm-vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX
7020 to HOST_OBJECT_SUFFIX and HOST_EXECUTABLE_SUFFIX.
7021 * config/i386/xm-cygwin.h: Likewise.
7022 * config/i386/xm-djgpp.h: Likewise.
7023 * config/i386/xm-mingw32.h: Likewise.
7024 * config/vax/xm-vms.h: Likewise.
7026 * mkdeps.c (deps_add_default_target): Use TARGET_OBJECT_SUFFIX
7027 instead of OBJECT_SUFFIX.
7028 * collect2.c (find_a_file): Look for files matching the extension
7029 HOST_EXECUTABLE_SUFFIX instead of EXECUTABLE_SUFFIX.
7030 * gcc.c (DEFAULT_SWITCH_CURTAILS_COMPILATION): Depend on
7031 TARGET_EXECUTABLE_SUFFIX.
7032 (find_a_file): Use HOST_EXECUTABLE_SUFFIX.
7033 (make_relative_prefix): Likewise.
7034 (convert_filename): Use TARGET_ suffixes throughout. Remove
7036 (process_command): Likewise.
7037 (do_spec_1): Likewise.
7038 * java/lang.c (init_parse): Likewise.
7040 * gcc.texi : Document four new options matching the pattern
7041 (HOST|TARGET)_(OBJECT|EXECUTABLE)_SUFFIX. Remove documentation
7042 for deleted macros OBJECT_SUFFIX and EXECUTABLE_SUFFIX. Remove
7043 documentation for NO_AUTO_EXE_SUFFIX.
7045 2001-04-19 Mark Mitchell <mark@codesourcery.com>
7047 * toplev.h (struct lang_hooks): Allow decode_option to indicate
7048 that language-independent processing should not be done.
7049 * toplev.c (main): Adjust accordingly.
7051 * rtl.texi (jump_insn): Expand on JUMP_LABEL documentation.
7052 * loop.c (load_mems): Handle a NULL JUMP_LABEL for a JUMP_INSN.
7054 * mips.md (reload_outputdi): Require that operand0 be a
7057 2001-04-19 Jakub Jelinek <jakub@redhat.com>
7059 * invoke.texi (-Wshadow): Clarify.
7061 2001-04-18 Mark Mitchell <mark@codesourcery.com>
7063 * loop.c (load_mems): Examine all the instructions in the loop
7064 before concluding that all jumps branch to the first instruction
7067 Wed Apr 18 20:32:03 2001 Christopher Faylor <cgf@cygnus.com>
7069 * config/i386/xm-cygwin.h (CPP_SPEC): Fix typo.
7071 2001-04-18 Jakub Jelinek <jakub@redhat.com>
7073 * cpp.texi (-Wwhite-space): Remove.
7074 (-Wall): -Wall does not imply -Wwhite-space.
7076 2001-04-17 Zack Weinberg <zackw@stanford.edu>
7078 * dbxout.c (dbxout_init): If DBX_OUTPUT_GCC_MARKER is defined,
7079 use it instead of blindly generating a .stabs.
7080 * xcoffout.h: Define DBX_OUTPUT_GCC_MARKER so we put the type
7082 * xcoffout.c: Don't bother defining default for N_CATCH.
7083 (UNKNOWN_STAB): Use internal_error.
7084 (stab_to_sclass): Remove now-unnecessary aborts.
7085 Remove #if 0'ed case N_BROWS. Add #ifdef N_OPT block.
7087 Tue Apr 17 21:41:11 2001 Jeffrey A Law (law@cygnus.com)
7089 * jump.c (mark_all_labels): Canonicalize the tail recursion
7090 label attached to CALL_PLACEHOLDER insns.
7092 2001-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7094 * output.h (dump_flow_info, free_basic_block_vars,
7095 which_alternative): Delete redundant prototypes.
7097 * rtl.h (bss_section): Likewise.
7099 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
7101 * dbxout.c (N_OPT): Define if not available from <stab.h>
7103 2001-04-17 John David Anglin <dave@hiauly1.hia.nrc.ca>
7105 * vax.h (PROMOTE_PROTOTYPES): Define for compatibility with system
7106 libraries and native K&R compilers.
7108 2001-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7110 * c-typeck.c (convert_arguments): Don't check for width changes
7113 * invoke.texi (-Wtraditional): Update documentation.
7115 2001-04-16 Zack Weinberg <zackw@stanford.edu>
7117 * toplev.c (output_lang_identify): Delete.
7118 (compile_file): Don't call ASM_IDENTIFY_GCC or ASM_IDENTIFY_LANGUAGE.
7119 Don't generate gcc2_compiled. label. Don't emit a nop if profiling.
7120 If IDENT_ASM_OP is defined, emit an .ident "GCC (GNU) <version>"
7121 after calling ASM_FILE_END.
7123 * dbxout.c (dbxout_init): Don't call ASM_IDENTIFY_GCC_AFTER_SOURCE.
7124 Instead, unconditionally emit an N_OPT stab with string equal
7125 to STABS_GCC_MARKER, which defaults to "gcc2_compiled."
7127 * defaults.h: Don't provide default for ASM_IDENTIFY_LANGUAGE.
7129 * config/dbxelf.h, config/freebsd.h, config/nextstep.h,
7130 config/psos.h, config/ptx4.h, config/1750a/1750a.h,
7131 config/alpha/alpha.h, config/alpha/elf.h, config/arc/arc.h,
7132 config/arm/aof.h, config/arm/coff.h, config/arm/elf.h,
7133 config/arm/linux-elf.h, config/avr/avr.h, config/d30v/d30v.h,
7134 config/dsp16xx/dsp16xx.h, config/h8300/h8300.h,
7135 config/i370/i370.h, config/i386/beos-elf.h,
7136 config/i386/osf1elf.h, config/i386/osfrose.h,
7137 config/ia64/sysv4.h, config/m68k/3b1.h, config/m68k/auxgas.h,
7138 config/m68k/crds.h, config/m68k/hp320.h, config/m68k/m68kv4.h,
7139 config/m68k/mot3300.h, config/m68k/news.h, config/m68k/sgs.h,
7140 config/m68k/tower-as.h, config/mcore/mcore-elf.h,
7141 config/mips/iris6.h, config/mips/osfrose.h,
7142 config/mips/sni-svr4.h, config/pa/som.h, config/pdp11/pdp11.h,
7143 config/sparc/sp64-elf.h:
7144 Delete definitions of any or all of: ASM_IDENTIFY_GCC,
7145 ASM_IDENTIFY_GCC_AFTER_SOURCE, and ASM_IDENTIFY_LANGUAGE.
7147 * config/elfos.h, config/freebsd.h, config/linux.h,
7148 config/alpha/elf.h, config/arm/linux-elf.h, config/i386/i386elf.h,
7149 config/i386/ptx4-i.h, config/mips/gnu.h, config/mips/linux.h,
7150 config/sparc/linux.h, config/sparc/linux64.h: Delete definitions
7151 of ASM_FILE_START which merely emit a .version directive. Delete
7152 definitions of ASM_FILE_END which merely emit an .ident directive.
7154 * config/avr/avr.h, config/vax/vax.h: Delete definition of
7155 ASM_IDENTIFY_GCC and move part of its logic into
7158 * config/i386/att.h, config/i386/gas.h, config/i386/linux.h,
7159 config/sparc/linux-aout.h: Don't emit .version directive in
7162 * config/i386/dgux.c, config/m88k/m88k.c, config/sh/sh.c
7163 (output_file_start): Correct comment.
7165 * config/i386/osfrose.h: Don't emit trailing .ident directive.
7166 * config/m68k/mot3300.h: Override STABS_GCC_MARKER to "gcc2_compiled%"
7168 * config/pa/lib2funcs.asm: Delete gcc_compiled. label.
7169 * config/rs6000/aix.h: Correct comment.
7171 * config/i386/i386afe.h: Delete.
7172 * config.gcc: Remove references to i386afe.h.
7174 * tm.texi: Delete documentation of ASM_IDENTIFY_GCC. The
7175 other macros deleted by this patch were undocumented.
7177 Mon Apr 16 08:03:48 2001 Jeffrey A Law (law@cygnus.com)
7179 * pa.md (reload_outdi): Operand 0 must be a non hard register.
7181 * pa.c (secondary_reload_class): SAR<->FP copies require a
7184 * install.texi (mips-mips-bsd): Update list of functions
7185 required to include memmove.
7186 * tm.texi (TARGET_MEM_FUNCTIONS): Update list of implicitly
7187 used functions to include memmove.
7189 2001-04-15 Toon Moene <toon@moene.indiv.nluug.nl>
7191 * i386.md (sqrtdf2): SFmode should be DFmode.
7193 2001-04-15 Alexandre Oliva <aoliva@redhat.com>
7195 * gcse.c (compute_ld_motion_mems): ASM outputs aren't moveable.
7196 (find_moveable_store): Likewise.
7198 2001-04-15 Jim Wilson <wilson@redhat.com>
7200 * function.c (expand_function_end): Handle PARALLEL real_decl_rtl.
7202 Sat Apr 14 16:24:19 CEST 2001 Jan Hubicka <jh@suse.cz>
7204 * i386.md (ashldi3_1_rex64): Add 'J' to the constraints
7205 (ashrdi3_1_rex64): Change 'n' constraint to 'J'.
7207 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
7209 * config/mn10300/mn10300.md (cmpsi): Tell reload to disregard the
7212 2001-04-14 Alan Modra <amodra@one.net.au>
7214 * pa.c (force_mode): New function.
7215 (emit_move_sequence): Use it instead of generating new rtx_REGs.
7217 2001-04-13 Jim Wilson <wilson@redhat.com>
7219 * config/ia64/ia64.c (ia64_expand_epilogue): Emit alloc if sibcall_p.
7220 (first_instruction): New static variable.
7221 (rtx_needs_barrier): Return 1 for alloc.
7222 (init_insn_group_barriers): Set first_instruction.
7223 (rws_sum): Delete duplicate definition.
7224 (group_barrier_needed_p): Return 0 when first_instruction true.
7225 (safe_group_barrier_needed_p): Save and restore first_instruction
7226 around group_barrier_needed_p call.
7228 Fri Apr 13 21:40:28 2001 Loren J. Rittle <ljrittle@acm.org>
7230 * expr.h (enum libfunc_index): Add LTI_memmove.
7231 (memmove_libfunc): Define macro.
7232 * optabs.c (init_optabs): Initialize memmove_libfunc.
7233 * expr.c (expand_assignment): Use memmove_libfunc instead of
7236 2001-04-13 Alan Modra <alan@linuxcare.com.au>
7238 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Disallow PIC LO_SUM
7241 2001-04-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7243 * Makefile.in (reg-stack.o): Depend on reload.h.
7244 (insn-attrtab.o): Depend on flags.h.
7246 * genattrtab (main): Include flags.h in insn-attrtab.c.
7248 * reg-stack.c: Include reload.h.
7250 * sparc.h (flag_pic): Delete redundant declaration.
7252 * output.h (flag_pic): Likewise.
7254 * tree.h (pedantic): Likewise.
7256 2001-04-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7258 * Makefile.in (toplev.o, jump.o, regmove.o): Depend on reload.h
7260 * jump.c, regmove.c, toplev.c: Include reload.h.
7262 * reload.h (reload_cse_regs): Declare.
7264 * rtl.h (find_equiv_reg, operands_match_p, safe_from_earlyclobber,
7265 reload_cse_regs, init_reload, mark_home_live, reload,
7266 init_caller_save): Delete redundant prototypes.
7268 2001-04-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7270 * Makefile.in (ssa.o, regclass.o): Depend on $(EXPR_H).
7272 * regclass.c, ssa.c: Include expr.h.
7274 * rtl.h (memory_address, force_reg, emit_queue, emit_move_insn,
7275 gen_move_insn): Delete redundant declarations.
7277 2001-04-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7279 * Makefile.in (CFLAGS, BOOT_CFLAGS): Partly revert 2000-10-27 patch.
7280 (stage1_build): Instead pass down STAGE1_CFLAGS here. Pass down
7281 MAKEINFO and MAKEINFOFLAGS too.
7282 (stage4_build): Correctly order -B flags.
7284 2001-04-13 Alan Modra <amodra@one.net.au>
7286 * pa.c (hppa_init_pic_save): Set rtx_unchanging for
7287 PIC_OFFSET_TABLE_SAVE_RTX.
7288 (zdepi_cint_p): Describe zdepi insn.
7289 Formatting and white space fixes throughout file.
7291 * pa.c (uint32_operand): Don't use long constant >= 2^32.
7292 (emit_move_sequence): Use HOST_WIDE_INT constants. Don't worry
7293 about 32->64 bit sign extension if 32 bit HOST_WIDE_INTs.
7294 (compute_movstrsi_length): Make `align' unsigned to avoid warning.
7295 (output_64bit_and): Use plain `int's for shift counts.
7296 (output_64bit_ior): Likewise.
7297 (function_arg_partial_nregs): Use unsigned vars to avoid warnings.
7298 * pa.h (CONST_OK_FOR_LETTER_P): Use HOST_WIDE_INT constants for case
7301 * pa-hpux10.h (NEW_HP_ASSEMBLER): Define to 1.
7302 * pa-hpux11.h (NEW_HP_ASSEMBLER): Likewise.
7303 * pa.h (LEGITIMATE_CONSTANT_P) Collapse two defines depending on
7304 NEW_HP_ASSEMBLER into one. Kill warnings.
7306 * pa-gas.h: Delete file.
7307 * config.gcc: Match `parisc' as well as `hppa' for cpu_type=pa.
7308 Add new targets hppa*64*-*-linux* and parisc*64*-*-linux*. Update
7309 hppa*-*-linux*. For all pa targets, remove pa/gas.h from tm_file,
7310 instead setting MASK_GAS | MASK_JUMP_IN_DELAY in target_cpu_default2.
7312 * config/pa/mill32.S: New file.
7313 * config/pa/mill64.S: New file.
7314 * config/pa/t-linux (LIBGCC1, CROSS_LIBGCC1, LIB1ASMFUNCS,
7315 LIB1ASMSRC, CRTSTUFF_T_CFLAGS_S, TARGET_LIBGCC2_CFLAGS): Define.
7316 * config/pa/t-linux64: New file.
7317 * config/pa/t-pa64 (CROSS_LIBGCC1): Change to libgcc1-asm.a
7318 (LIB1ASMFUNCS, LIB1ASMSRC): Define.
7319 (TARGET_LIBGCC2_CFLAGS): Add -Dpa64=1 -DELF=1.
7321 * elfos.h (SELECT_SECTION): Undef before defining.
7322 * pa-linux.h (LINUX_DEFAULT_ELF, PTRDIFF_TYPE, CPP_SPEC): Remove.
7323 (LIB_SPEC): Remove -lmilli.
7324 (DBX_REGISTER_NUMBER): Remove.
7325 (PREFERRED_DEBUGGING_TYPE, DWARF2_ASM_LINE_DEBUG_INFO,
7326 (DWARF2_UNWIND_INFO, ASM_SPEC, LINK_SPEC, FUNCTION_OK_FOR_SIBCALL,
7327 NO_PROFILE_COUNTERS, SELECT_RTX_SECTION, INCOMING_RETURN_ADDR_RTX,
7328 DWARF_FRAME_RETURN_COLUMN, STRING_ASM_OP, TEXT_SECTION_ASM_OP,
7329 DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, ASM_FILE_START,
7330 ASM_OUTPUT_DEF, ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT,
7331 ASM_OUTPUT_LABEL, ASM_GLOBALIZE_LABEL, ASM_DECLARE_FUNCTION_NAME,
7332 TARGET_GAS): Define.
7333 * pa.c (output_arg_descriptor): Disable for TARGET_ELF32.
7334 (function_arg): If TARGET_ELF32, pass fp args in both general and fp
7335 regs if we don't have a prototype.
7336 * pa.md (canonicalize_funcptr_for_compare): Not for TARGET_ELF32.
7337 * pa.h (TARGET_ELF32): Default to 0 if undefined.
7338 (EH_RETURN_DATA_REGNO, EH_RETURN_STACKADJ_RTX,
7339 EH_RETURN_HANDLER_RTX): Define.
7340 * pa32-regs.h (DBX_REGISTER_NUMBER): Remove unnecessary test.
7341 (DWARF_FRAME_REGNUM): Define.
7342 * pa64-regs.h (DWARF_FRAME_REGNUM): Define.
7343 * pa32-linux.h: New file.
7344 * pa64-linux.h: New file.
7346 * pa-64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
7347 (ASM_OUTPUT_DOUBLE_INT): Format, protect macro with do..while.
7348 (LINK_SPEC, LIB_SPEC, MD_EXEC_PREFIX, MD_STARTFILE_PREFIX,
7349 NEW_HP_ASSEMBLER, ASM_FILE_START, OBJECT_FORMAT_ELF,
7350 DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_FORMAT,
7351 DWARF2_ASM_LINE_DEBUG_INFO, USE_CONST_SECTION, CONST_SECTION_ASM_OP,
7352 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
7353 FINI_SECTION_ASM_OP, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS,
7354 READONLY_DATA_SECTION, CONST_SECTION_FUNCTION, CTORS_SECTION_FUNCTION,
7355 DTORS_SECTION_FUNCTION, ASM_OUTPUT_SECTION_NAME, MAKE_DECL_ONE_ONLY,
7356 UNIQUE_SECTION_P, UNIQUE_SECTION, INT_ASM_OP, ASM_OUTPUT_CONSTRUCTOR,
7357 ASM_OUTPUT_DESTRUCTOR, TYPE_ASM_OP, SIZE_ASM_OP, ASM_WEAKEN_LABEL,
7358 TYPE_OPERAND_FMT, ASM_DECLARE_RESULT): Move to..
7359 * pa64-hpux.h: New file.
7360 (ASM_FILE_START): Correct typo.
7361 (PREFERRED_DEBUGGING_FORMAT): Rename to PREFERRED_DEBUGGING_TYPE.
7362 * config.gcc: Modify for above.
7364 Fri Apr 13 00:09:22 EDT 2001 John Wehle (john@feith.com)
7366 * jump.c (jump_optimize_1): Don't delete dead stores here.
7367 * toplev.c (rest_of_compilation): Call delete_trivially_dead_insns
7368 prior to running jump optimize before cse2.
7370 2001-04-12 Richard Henderson <rth@redhat.com>
7372 * Makefile.in (regmove.o): Depend on except.h.
7373 * regmove.c: Include it.
7375 2001-04-12 Stan Shebs <shebs@apple.com>
7377 * objc/objc-act.c: Remove all code ifdefed with the never-used
7378 macro OBJC_INT_SELECTORS.
7379 * config/d30v/d30v.h: Remove commented-out ref to OBJC_INT_SELECTORS.
7380 * tm.texi: Remove doc for OBJC_INT_SELECTORS.
7382 Thu Apr 12 18:13:37 2001 Rodney Brown <RodneyBrown@mynd.com>
7384 * config/pa/quadlib.c: Add prototypes.
7386 2001-04-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7388 * bitmap.h (debug_bitmap): Delete redundant prototype.
7390 * rtl.h (get_frame_size): Likewise.
7392 2001-04-12 Jim Wilson <wilson@redhat.com>
7394 * config/ia64/ia64.md (extendsfdf2, extendsftf2, extenddftf2): Simplify
7395 to just emit an fnorm.
7398 2001-04-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7400 * c-common.h (truthvalue_conversion, type_for_mode,
7401 type_for_size): Delete redundant declarations.
7403 * c-lex.h (is_class_name): Likewise.
7405 * c-tree.h (pedantic, convert, getdecls, gettags,
7406 global_bindings_p, init_decl_processing, insert_block,
7407 maybe_build_cleanup, poplevel, print_lang_decl,
7408 print_lang_identifier, print_lang_type, pushdecl, pushlevel,
7409 set_block, incomplete_type_error, build_function_call,
7410 lvalue_or_else, mark_addressable): Likewise.
7412 * expr.h (expand_tree_builtin): Likewise.
7414 2001-04-12 Mark Mitchell <mark@codesourcery.com>
7416 * invoke.texi: Document --param max-gcse-memory.
7418 2001-04-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7420 * configure.in (errno): Check for declaration.
7421 * configure, config.in: Regenerated.
7423 * system.h (errno): Only declare if not already done.
7425 2001-04-12 Alexandre Oliva <aoliva@redhat.com>
7427 * recog.c (general_operand, immediate_operand,
7428 nonmemory_operand): Require CONST_INTs to be sign-extended
7429 values for their modes.
7431 2001-04-12 Alexandre Oliva <aoliva@redhat.com>
7433 * expmed.c (store_bit_field): Truncate CONST_INTs.
7434 (expand_mult_highpart, expand_divmod): Likewise.
7435 * expr.c (convert_modes, store_field): Likewise.
7436 * integrate.c (expand_inline_function): Use promote_mode() to
7437 determine whether to convert_modes() an argument as signed
7439 * optabs.c (expand_binop): Get CONST_INT operands
7440 sign-extended for their appropriate modes.
7441 * stmt.c (emit_case_nodes): Convert node values to the
7443 (expand_end_case): Convert minval and range to the appropriate
7445 * unroll.c (loop_iterations): Truncate abs_diff to the mode of
7446 the iteration variable.
7447 * varasm.c (immed_double_const): Don't require words to be
7448 narrower than host wide ints to properly sign-extend
7451 2001-04-12 kaz Kojima <kkojima@rr.iij4u.or.jp>
7453 * sh.md (builtin_setjmp_receiver): New expander.
7455 2001-04-12 David Edelsohn <dje@watson.ibm.com>
7457 * config/rs6000/rs6000.c (rs6000_emit_move): Do not
7458 special-case HOST_BITS_PER_WIDE_INT != 32. Use same criteria
7459 for generating CONST_INT and CONST_DOUBLE.
7461 2001-04-12 Alexandre Oliva <aoliva@redhat.com>
7463 * config/rs6000/rs6000.c (logical_operand): CONST_INTs are
7464 already sign-extended.
7465 (rs6000_emit_prologue): Make register iterator signed.
7466 (rs6000_emit_epilogue): Likewise.
7467 * config/rs6000/rs6000.md (addsi3, adddi3): Sign-extend high
7469 (movsf split, movdf split): Sign-extend CONST_INTs.
7470 (movdi splits): Likewise.
7472 2001-04-12 Kelley Cook <kelley.cook@home.com>
7474 * config-lang.in (lang_dirs): Add in zlib.
7476 2001-04-11 Alexandre Oliva <aoliva@redhat.com>
7478 * config/i386/i386.md: Apply trunc_int_for_mode() to GEN_INT
7479 operands that make it to RTL.
7481 2001-04-11 Stan Shebs <shebs@apple.com>
7483 Add Darwin (Mac OS X kernel) native support.
7484 * config.gcc (powerpc-*-darwin*): Add native bits.
7485 * config/darwin.c: New file, generic Darwin support functions.
7486 * config/darwin.h: New file, generic Darwin definitions.
7487 * config/darwin-protos.h: New file, generic Darwin prototypes.
7488 * rs6000/darwin.h: New file, Darwin for PowerPC.
7489 * rs6000/t-darwin: New file, Darwin makefile fragment.
7490 * rs6000/rs6000.h (OBJECT_MACHO): New macro.
7491 (TARGET_MACHO): Ditto.
7492 (rs6000_abi): Add ABI_DARWIN.
7493 (RS6000_REG_SAVE): Add ABI_DARWIN case.
7494 (RS6000_SAVE_AREA): Ditto.
7495 (FP_ARG_MAX_REG): Ditto.
7496 (RETURN_ADDRESS_OFFSET): Ditto.
7497 * rs6000/rs6000.c (rs6000_legitimize_address): Add TARGET_MACHO
7499 (rs6000_emit_move): Add ABI_DARWIN cases.
7500 (print_operand): Ditto.
7501 (first_reg_to_save): Ditto.
7502 (rs6000_stack_info): Ditto, also align stack by 16 instead of 8.
7503 (debug_stack_info): Ditto.
7504 (rs6000_emit_prologue): Ditto.
7505 (rs6000_emit_epilogue): Ditto.
7506 (output_profiler_hook): Ditto.
7507 (output_function_profiler): Ditto.
7508 (rs6000_add_gc_roots): Call machopic_add_gc_roots if TARGET_MACHO.
7509 (output_mi_thunk): Add TARGET_MACHO case.
7510 (add_compiler_stub): Ditto.
7511 (output_compiler_stub): Ditto.
7512 (no_previous_def): Ditto.
7513 (output_call): Ditto.
7514 (machopic_output_stub): Ditto.
7515 (rs6000_machopic_legitimize_pic_address): Ditto.
7516 (toc_section): Ditto.
7517 * rs6000/rs6000.md (addsi3_high): New TARGET_MACHO pattern.
7518 (macho_high): Ditto.
7521 (load_macho_picbase): Ditto.
7522 (call): Add TARGET_MACHO case to modify function.
7523 (call_value): Ditto.
7524 (call_nonlocal_sysv): Add ABI_DARWIN case.
7525 (call_value_nonlocal_sysv): Ditto.
7526 * rs6000/rs6000-protos.h (rs6000_machopic_legitimize_pic_address):
7528 (machopic_output_stub): Ditto.
7529 * ginclude/stddef.h: Test _BSD_WCHAR_T_DEFINED_.
7531 2001-04-11 Mark Mitchell <mark@codesourcery.com>
7533 * dwarf2out.c (modified_type_die): Don't create new types here.
7534 * tree.h (get_qualified_type): New function.
7535 (build_qualified_type): Adjust comment.
7536 * tree.c (get_qualified_type): New function.
7537 (build_qualified_type): Use it.
7539 2001-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7541 * cpp.texi (-Wtraditional): Update description.
7543 * invoke.texi (-Wtraditional): Likewise.
7545 2001-04-11 Jim Wilson <wilson@redhat.com>
7547 * config/ia64/ia64.h (FUNCTION_ARG_BOUNDARY): Return 128 if argument
7548 requires more than 64 bits of alignment.
7550 2001-04-11 Neil Booth <neil@daikokuya.demon.co.uk>
7552 * cpplib.c (do_line): Sanity check iff enable checking.
7554 2001-04-11 Richard Henderson <rth@redhat.com>
7556 * Makefile.in (insn-recog.o): Depend on toplev.h.
7557 (insn-emit.o, doloop.o): Likewise.
7558 * genrecog.c, genemit.c: Include toplev.h in generated file.
7559 * doloop.c: Include toplev.h.
7561 2001-04-11 Mark Mitchell <mark@codesourcery.com>
7563 * Makefile.in (gcse.o): Depend on params.h.
7564 * gcse.c: Include params.h.
7565 (gcse_main): Don't do GCSE if doing so will take inordinate
7567 * params.def (PARAM_MAX_GCSE_MEMORY): New parameter.
7568 * params.h (MAX_GCSE_MEMORY): New macro.
7570 2001-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7572 * Makefile.in (insn-output.o): Depend on $(EXPR_H).
7574 * genoutput.c (output_prologue): Include expr.h in insn-output.c.
7576 2001-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7578 * output.h (assemble_real): Declare if REAL_VALUE_TYPE is defined.
7580 * real.h (ereal_atof, real_value_truncate, target_isnan,
7581 target_isinf, target_negative, assemble_real, debug_real): Delete
7582 redundant prototypes.
7584 * Makefile.in (ifcvt.o): Depend on toplev.h.
7586 * c-semantics.c: Include expr.h.
7588 * ifcvt.c: Include toplev.h.
7590 * expr.h (rtx_equal_p): Delete prototype.
7592 * rtl.h (exact_log2_wide, floor_log2_wide, permalloc,
7593 protect_from_queue, gen_jump, gen_beq, gen_bge, gen_ble,
7594 eliminate_constant_term, expand_complex_abs, find_single_use,
7595 make_tree, init_expr_once, init_optabs, supports_one_only):
7598 * tree.h (exact_log2_wide, floor_log2_wide, expand_null_return,
7599 rest_of_type_compilation, emit_queue, do_pending_stack_adjust,
7600 expand_assignment, store_expr, emit_line_note_after,
7601 emit_line_note_force, split_specs_attrs, label_rtx): Likewise.
7603 * toplev.h (exact_log2_wide, floor_log2_wide): Add prototype.
7605 * sparc-protos.h: Delete redundant prototypes.
7607 2001-04-11 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
7609 * reload.c (push_reload): Add condition missed in SUBREG byte
7612 Wed Apr 4 00:28:23 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7614 * sparc/sol2-sld-64.h (STARTFILE_SPEC): Added missing blank.
7616 Wed Apr 11 14:06:10 CEST 2001 Jan Hubicka <jh@suse.cz>
7618 * i386.md (floatsisf_sse): Fix output template
7619 * i386.c (ix86_expand_fp_movcc)
7621 * reg-stack.c (emit_pop_insn): Handle complex modes.
7622 (move_for_stack_reg): Emit proper move mode.
7623 (subst_stack_regs_pat): Handle complex modes.
7625 2001-04-11 Jakub Jelinek <jakub@redhat.com>
7627 * cpplex.c (_cpp_lex_token): Only warn if -Wcomment.
7629 2001-04-10 Richard Henderson <rth@redhat.com>
7631 * libgcc2.h (__terminate_func_ptr): Remove typedef.
7632 (__pure_virtual, __terminate, __terminate_set_func,
7633 __default_terminate, __throw_type_match, __empty,
7634 __get_eh_context, __get_eh_info, __get_dynamic_handler_chain,
7635 __eh_rtime_match, __unwinding_cleanup, __rethrow,
7636 __sjthrow, __sjpopnthrow, __eh_alloc, __eh_free):
7637 Remove prototypes of deleted functions.
7639 2001-04-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7641 * c-typeck.c (convert_arguments): -Wtraditional now activates
7642 -Wconversion warnings, except for changes in signed-ness.
7643 Detect complex<->int & int<->complex conversions as well.
7645 * invoke.texi (-Wtraditional): Document it.
7647 Tue Apr 10 17:45:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7649 * gcse.c (update_ld_motion_stores): Don't use variable I for an insn.
7650 * flow.c (set_block_for_new_insns): Remove needless cast and
7651 properly check for unset block number.
7653 2001-04-10 Andrew MacLeod <amacleod@redhat.com>
7655 * function.c (purge_single_hard_subreg_set): Only check REGNO if
7656 the subreg was a hard register. Pseudos are left as subregs.
7658 2001-04-09 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7660 * Makefile.in (LIB2FUNCS_STATIC_EXTRA): New macro.
7661 (LIB2ADD_ST): New macro, pass it to mklibgcc.
7662 * mklibgcc.in (libgcc2_st_objs): New variable, set it from LIB2ADD_ST.
7663 (libgcc_st_objs): New, set from libgcc2_st_objs. Use it for libgcc.a.
7664 * config/rs6000/t-ppccomm (LIB2FUNCS_STATIC_EXTRA): New macro.
7666 2001-04-09 Bo Thorsen <bo@suse.co.uk>
7668 * config/i386/i386.md: "TARGET_64BIT && TARGET_64BIT": Removed one.
7670 2001-04-09 Andrew MacLeod <amacleod@redhat.com>
7672 * output.h (set_block_num): Missed it earlier, remove deprecated
7675 2001-04-09 Andrew MacLeod <amacleod@redhat.com>
7677 * gcse.c (oprs_unchanged_p): Pass basic_block to load_killed_in_block_p.
7678 (load_killed_in_block_p): Change bb parameter from int to basic_block.
7679 (oprs_not_set_p): Pass basic_blocks instead of ints as parameters.
7680 (handle_rd_kill_set): Change bb parameter from int to basic_block.
7681 (compute_kill_rd): Pass basic_blocks instead of ints as parameters.
7682 (expr_killed_p): Change bb parameter from int to basic_block, pass
7683 basic_blocks instead of ints as parameters.
7684 (compute_ae_kill): Pass basic_blocks instead of ints as parameters.
7685 (expr_reaches_here_p_work, expr_reaches_here_p): Change bb parameter
7686 from int to basic_block, pass basic_blocks instead of ints as parms.
7687 (pre_expr_reaches_here_p_work, pre_expr_reaches_here_p): Change bb
7688 parameter from int to basic_block, pass basic_blocks instead of ints.
7689 (process_insert_insn): Pass basic_blocks instead of ints as parameters.
7690 (insert_insn_end_bb): Change bb parameter from int to basic_block,
7691 pass basic_blocks instead of ints.
7692 (pre_edge_insert, pre_insert_copy_insn, pre_insert_copies): Pass
7693 basic_blocks instead of ints as parameters.
7694 (pre_delete): Pass basic_blocks instead of ints as parameters.
7695 (hoist_expr_reaches_here_p): Change bb parameter from int to
7696 basic_block, pass basic_blocks instead of ints.
7697 (hoist_code): Pass basic_blocks instead of ints as parameters.
7698 (reg_set_info, store_ops_ok, store_killed_after, store_killed_before):
7699 Change bb parameter from int to basic_block.
7700 (build_store_vectors): Pass basic_blocks instead of ints as parameters.
7701 (insert_insn_start_bb): Change bb parameter from int to basic_block,
7702 pass basic_blocks instead of ints.
7703 (insert_store): Pass basic_blocks instead of ints as parameters.
7704 (replace_store_insn, delete_store): Change bb parameter from int to
7705 basic_block, pass basic_blocks instead of ints.
7706 (store_motion): Pass basic_blocks instead of ints as parameters.
7708 2001-04-09 Andrew MacLeod <amacleod@redhat.com>
7710 * basic-block.h (set_new_block_for_insns): New Prototype.
7711 (set_block_num): Delete prototype.
7712 * flow.c (set_block_num): Remove obsolete function.
7713 (set_block_for_new_insns): Set BB for single or multiple insns.
7714 * gcse.c (handle_avail_expr): Use set_block_for_new_insns.
7715 (process_insn_end_bb): Use set_block_for_new_insns or
7716 set_block_for_insn instead of set_block_num.
7717 (pre_insert_copy_insn): Use set_block_for_new_insns.
7718 (update_ld_motion_stores): Use set_block_for_new_insns.
7719 (insert_insn_start_bb): Use set_block_for_new_insns.
7720 (replace_store_insn): Use set_block_for_new_insns.
7722 2001-04-09 Andrew MacLeod <amacleod@redhat.com>
7723 Jeff Law <law@redhat.com>
7725 * alias.c (get_addr): Externalize.
7726 (canon_true_dependence): New function. Behaves like true_dependance
7727 except it already assumes a MEM has been canonicalized.
7728 * flags.h (flag_gcse_lm, flag_gcse_sm): New optimization flags.
7729 * gcse.c (struct ls_expr): Add load/store expressions structure.
7730 (modify_mem_list, canon_modify_mem_list): New variable.
7731 (gcse_main): Initialize & finalize alias analysis. Use enhanced
7732 load motion and store motion if requested.
7733 (alloc_gcse_mem): Allocate space for modify_mem_list array.
7734 (free_gcse_mem): Free the modify_mem_list array.
7735 (oprs_unchanged_p): Use load_killed_in_block_p.
7736 (gcse_mems_conflict_p, gcse_mem_operand): New variables.
7737 (mems_conflict_for_gcse_p): New function. Don't kill loads
7738 with stores to themselves if its in the load/store expression list.
7739 (load_killed_in_block_p): New function.
7740 (canon_list_insert): New Function.
7741 (record_last_mem_set_info): Keep a list of all instructions which
7742 can modify memory for each basic block.
7743 (compute_hash_table, reset_opr_set_tables): Clear modify_mem_list.
7744 (oprs_not_set_p): Use load_killed_in_block_p.
7745 (mark_call, mark_set, mark_clobber): Use record_last_mem_set_info.
7746 (expr_killed_p): Use load_killed_in_block_p.
7747 (compute_transp): Do not pessimize memory references.
7748 (pre_edge_insert): Update stores for a load motion expression.
7749 (one_pre_gcse_pass): Check loads/stores for extra load motion.
7750 (ldst_entry): Find or create a ldst_expr structure.
7751 (free_ldst_entry): Free memory for an individual item.
7752 (free_ldst_mems): Free entire load/store expression list.
7753 (print_ldst_list): Print debug info.
7754 (find_rtx_in_ldst): Try to find an rtx expression in the ldst list.
7755 (enumerate_ldsts): Assign integer values to each entry in list.
7756 (first_ls_expr): First expression in the list.
7757 (next_ls_expr): Next expression in the list.
7758 (simple_mem): Check if expression qualifies for ld/st expression list.
7759 (invalidate_any_buried_refs): Remove from expression list if its
7760 used in some other way we dont understand.
7761 (compute_ld_motion_mems): Find all potential enhanced load motion
7763 (trim_ld_motion_mems): Remove any expressions which are invalid.
7764 (update_ld_motion_stores): Copy store values to registers for loads
7765 which have been moved.
7766 (regvec, st_antloc, num_store): New global statics.
7767 (reg_set_info): Marks registers as set.
7768 (store_ops_ok): Verfies registers expressions are valid in a block.
7769 (find_moveable_store): Look for moveable stores in a pattern.
7770 (compute_store_table): Find stores in a function worth moving, maybe.
7771 (load_kills_store): Check dependance of a load and store.
7772 (find_loads): Find any loads in a pattern.
7773 (store_killed_in_insn): Check if a store is killed in an insn.
7774 (store_killed_after): Check is store killed after an insn in a block.
7775 (store_killed_before): Check is store killed before an insn in a block.
7776 (build_store_vectors): Generate the antic and avail vectors.
7777 (insert_insn_start_bb): Insert at the start of a BB, update BLOCK_HEAD.
7778 (insert_store): Add a store to an edge.
7779 (replace_store_insn): Replace a store with a SET insn.
7780 (delete_store): Delete a store insn.
7781 (free_store_memory): Free memory.
7782 (store_motion): Perform store motion.
7783 * invoke.texi: Add documentation for -fcse-lm and -fgcse-sm.
7784 * rtl.h (get_addr, canon_true_dependence): Add prototypes.
7785 * toplev.c (flag_gcse_lm, flag_gcse_sm): New Variables.
7786 (f_options): Add gcse-lm and gcse-sm.
7788 Mon Apr 9 16:18:03 CEST 2001 Jan Hubicka <jh@suse.cz>
7790 * i386.c (expand_fp_movcc): Fix condition reversal code.
7792 * i386.c (ix86_register_move_cost): Fix handling of reformating penalty
7793 * i386.h (INTEGER_CLASS_P, MAYBE_INTEGER_CLASS_P): New.
7794 (CLASS_MAX_NREGS): Use it.
7796 * i386.h (HARD_REGNO_NREGS): Handle properly TF and TCmodes on 64bit;
7797 handle properly complex values.
7798 (CLASS_MAX_NREGS): Likewise; update comment.
7800 2001-04-05 Bernd Schmidt <bernds@redhat.com>
7802 * ia64.c (ia64_flag_schedule_insns2): New variable.
7803 (ia64_override_options): Initialize it. Clear
7804 flag_schedule_insns_after_reload.
7805 (ia64_reorg): Only do scheduling if ia64_flag_schedule_insns2.
7807 Mon Apr 9 15:09:13 CEST 2001 Jan Hubicka <jh@suse.cz>
7809 * i386.md (truncdfsf2_*): Add i387->int/sse reg alternatives;
7810 Do not require source to match destination anymore;
7811 Add abort to the nontrivial cases that should be handled by split.
7812 (fix_trunc?fdi): Add SSE case for x86_64.
7813 (floatdi?f): Likewise.
7814 (floatdi?f_sse): New.
7815 (fix_trunc?fdi_sse): New.
7817 2001-04-09 Richard Sandiford <rsandifo@redhat.com>
7819 * dwarfout.c (DEBUG_ARANGES_BEGIN_LABEL): New label.
7820 (DEBUG_ARANGES_END_LABEL): Ditto.
7821 (dwarfout_init): Generate length and version fields at the start
7822 of the .debug_aranges info. Insert DEBUG_ARANGES_BEGIN_LABEL
7823 after the length field.
7824 (dwarfout_finish): Insert DEBUG_ARANGED_END_LABEL at the end of
7825 the .debug_aranges info.
7827 Sun Apr 8 00:43:27 CEST 2001 Jan Hubicka <jh@suse.cz>
7829 * i386.c (call, call_value): Make sure that resulting call_insn
7830 does have proper second operand.
7832 Sun Apr 8 22:50:49 2001 Christopher Faylor <cgf@cygnus.com>
7834 * config/i386/xm-cygwin.h (GET_ENV_PATH_LIST): Eliminate obsolete
7835 function. Remove include of sys/cygwin.h.
7837 Sun Apr 8 22:20:27 2001 Christopher Faylor <cgf@cygnus.com>
7839 * config/i386/cygwin.h (STARTFILE_SPEC): search */lib/w32api by default.
7840 (CPP_SPEC): Always search */include/w32api for header files.
7841 (ASM_OUTPUT_SECTION_NAME): Avoid testing NULL DECL.
7842 (LINK_SPEC): Add "cyg" to the library search prefixes.
7844 2001-04-08 Philip Blundell <philb@gnu.org>
7846 * config/arm/arm.h (ASM_OUTPUT_LABELREF): Use asm_fprintf.
7848 2001-04-08 Neil Booth <neil@daikokuya.demon.co.uk>
7850 * cpperror.c (print_location): Don't special case <stdin>.
7851 (_cpp_begin_message): Handle WARNING_SYSHDR the same as
7852 WARNING, but we don't check if we're in system headers.
7853 * cpplib.h (enum error_type): WARNING_SYSHDR: New.
7854 * cpplib.c (do_warning): Warn in system headers.
7856 2001-04-07 Mumit Khan <khan@NanoTech.Wisc.EDU>
7858 * mbchar.c: Include config.h first.
7860 2001-04-07 Zack Weinberg <zackw@stanford.edu>
7862 * config.gcc: Set default for xmake_file at top, not bottom.
7863 Change places that set xmake_file to "none" to set to the
7864 empty string instead, or remove them entirely if there is no
7865 default xmake_file for this cpu_type. Remove references to
7868 * config/x-lynx, config/convex/x-convex, config/elxsi/x-elxsi,
7869 config/i386/x-isc, config/i386/x-isc3, config/i386/x-ncr3000,
7870 config/i386/x-next, config/i386/x-sco, config/i386/x-sysv3,
7871 config/i386/x-vsta, config/i860/x-sysv4, config/m68k/x-amix,
7872 config/m68k/x-apollo68, config/m68k/x-ccur, config/m68k/x-crds,
7873 config/m68k/x-hp2bsd, config/m68k/x-mot3300, config/m68k/x-mot3300-gas,
7874 config/m68k/x-tower, config/m88k/x-sysv4, config/mips/x-dec-osf1,
7875 config/mips/x-sni-svr4, config/mips/x-ultrix, config/romp/x-mach,
7876 config/romp/x-romp, config/rs6000/x-beos, config/rs6000/x-lynx,
7877 config/rs6000/x-mach, config/rs6000/x-sysv4, config/sparc/x-sysv4:
7880 * config/a29k/x-unix, config/i386/x-aix, config/i386/x-osf1elf,
7881 config/i386/x-osfrose, config/m68k/x-dpx2, config/mips/x-iris3,
7882 config/mips/x-mips, config/mips/x-osfrose, config/mips/x-sony,
7883 config/mips/x-sysv, config/rs6000/x-aix31:
7884 Just set CLIB to -lld or -lmld, as appropriate.
7886 * config/arm/x-riscix, config/i370/x-oe, config/i386/x-dgux,
7887 config/i386/x-sco4, config/i386/x-sco5, config/m68k/x-hp320,
7888 config/m68k/x-hp320g, config/m68k/x-next, config/m88k/x-dgux,
7889 config/mips/x-iris, config/pa/x-pa:
7890 Just set (some of) FIXPROTO_DEFINES, STMP_FIXPROTO,
7891 OTHER_FIXINCLUDES_DIRS.
7893 * config/i386/x-djgpp: Don't set LN or LN_S.
7894 * config/m88k/x-dolph: Don't define __m88k__.
7895 * config/m88k/x-tekXD88: Don't set AR_FLAGS.
7896 * config/pa/x-pa-mpeix: Just set up quadlib.asm.
7897 * config/i860/fx2800.h: No need to #undef SVR4.
7899 38 x-host fragments remain, 2 x-cpu.
7901 2001-04-07 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7903 * c4x.h (HARD_REGNO_NREGS): HCmode mode uses 2 regs not 4.
7905 2001-04-06 Neil Booth <neil@daikokuya.demon.co.uk>
7907 * cpplib.c (cpp_push_buffer): Give stdin buffers the name <stdin>.
7909 2001-04-06 Neil Booth <neil@daikokuya.demon.co.uk>
7911 * configure.in: Add check for lstat.
7912 * configure, config.in: Regenerate.
7913 * cppinit.c (append_include_chain): Make empty path ".".
7914 * cpplib.c (do_line): Don't simplify #line paths.
7915 * cppfiles.c (remove_component_p): New function.
7916 (find_or_create_entry): Acknowledge stat () errors during
7917 path simplification.
7918 (handle_missing_header): Don't simplify paths.
7919 (_cpp_simplify_pathname): Don't simplify VMS paths. Return
7920 the empty path untouched. Don't leave a trailing '/'.
7922 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
7924 * cppdefault.c (GPLUSPLUS_BACKWARD_INCLUDE_DIR): Add.
7925 * Makefile.in (-DGPLUSPLUS_BACKWARD_INCLUDE_DIR): Add.
7927 2001-04-06 Neil Booth <neil@daikokuya.demon.co.uk>
7929 * cppfiles.c (open_file): Fail directories silently, but
7930 with an errno of NOENT set.
7931 (read_include_file): Move the common exit code to the sole
7932 caller. Return an int indicating success or failure. Let
7933 open_file handle directories.
7934 (stack_include_file): If read_include_file fails,
7935 push a "null" buffer.
7937 2001-04-05 DJ Delorie <dj@redhat.com>
7939 * function.h (virtuals_instantiated): Declare.
7940 * function.c: (virtuals_instantiated): Make global.
7941 * calls.c (emit_library_call_value_1): Use
7942 virtual_outgoing_args_rtx only if it hasn't been instantiated.
7943 Otherwise, use the stack pointer directly.
7945 Thu Apr 5 19:13:33 CEST 2001 Jan Hubicka <jh@suse.cz>
7947 * i386.c (x86_initialize_trampoline): New global function.
7948 * i386.h (TRAMPOLINE_SIZE): Size is 23 for x86_64.
7949 (INITIALIZE_TRAMPOLINE): Move offline.
7950 * i386-protos.h (x86_initialize_trampoline): Declare.
7952 Thu Apr 5 19:02:15 CEST 2001 Jan Hubicka <jh@suse.cz>
7954 * i386.md (movdi_1_rex64): Allow SSE->SSE reg move.
7955 (lea_0): Rename to lea_1.
7956 (lea_1_zext, lea_1_rex64, lea_2_rex64): New patterns.
7957 (lea_general_?): Allow SImodes on TARGET_64BIT
7958 (lea_general_?_zext): New patterns.
7959 (call_1, call_1_rex64): Fix.
7961 Thu Apr 5 19:00:15 CEST 2001 Jan Hubicka <jh@suse.cz>
7963 * i386.c (ix86_split_long_move): Use PUT_MODE instead of change_address.
7965 Thu Apr 5 18:25:56 CEST 2001 Jan Hubicka <jh@suse.cz>
7967 * i386.c (function_arg): Return constm1_rtx for last argument.
7968 (ix86_expand_prologue): Update gen_call calls.
7969 * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
7970 * i386.md (call_pop): Likewise.
7971 (call): Second operand is VOIDmode.
7972 (call_0): Likewise; Support 64bits.
7973 (call_exp): New expander.
7974 (call_1): Get to the sync.
7975 (call_1_exp): New pattern.
7976 (call_value): Support 64bit.
7977 (call_value_exp): New pattern.
7978 (untyped_call): Update gen_call call.
7979 (call_value_pop): Disable for 64bit.
7980 (call_value_0_rex64): New pattern.
7981 (call_value_1_rex64): Likewise.
7983 2001-04-05 Bo Thorsen <bo@suse.de>
7985 * i386.md: Don't allow "builtin_setjmp_receiver" for TARGET_64BIT.
7987 Thu Apr 5 13:44:17 2001 J"orn Rennecke <amylaar@redhat.com>
7989 * i386.md (*andsi_1+3): If used after reload, make sure the operand
7990 satisfies ANY_QI_REG_P.
7992 2001-04-05 Bernd Schmidt <bernds@redhat.com>
7994 * config/ia64/ia64.c (rtx_needs_barrier): A PARALLEL can contain
7997 * sched-deps.c (sched_analyze_insn): Revert more of the March 27
8000 2001-04-04 Zack Weinberg <zackw@stanford.edu>
8002 * config.gcc: Remove default for xm_file. Clean up local
8003 machine type handling. Remove settings of xm_file to
8004 something that doesn't exist. In the big switch, set xm_file,
8005 don't append to it (the value before the big switch is always
8006 null). Don't force build_xm_file or host_xm_file to have a value.
8007 * configure.in: Remove default for xm_file. Do not special
8008 case $cpu/xm-$cpu.h not existing.
8009 * configure: Regenerate.
8011 2001-04-04 Diego Novillo <dnovillo@redhat.com>
8013 * simplify-rtx.c (simplify_binary_operation): Check for overflow
8014 when folding integer division and modulo operations.
8016 2001-04-04 Andrew MacLeod <amacleod@redhat.com>
8018 * dwarf2out.c (output_cfi): Add 'for_eh' parameter, use PTR_SIZE
8019 instead of DWARF2_ADDR_SIZE for EH addresses.
8020 (output_call_frame_info): Use PTR_SIZE instead of DWARF2_ADDR_SIZE for
8023 2001-04-04 Richard Henderson <rth@redhat.com>
8025 * config/ia64/ia64.h (IA64_UNWIND_INFO): Disable.
8026 * config/ia64/t-glibc (LIB2ADDEH): Disable.
8027 * config/ia64/t-ia64 (LIB2ADDEH): Disable.
8029 2001-04-04 Richard Henderson <rth@redhat.com>
8031 * configure.in (gcc_cv_as_leb128): Escape "." in regexp.
8032 * configure: Rebuilt.
8034 2001-04-04 Jakub Jelinek <jakub@redhat.com>
8036 * gcse.c (delete_null_pointer_checks_1): Add delete_list argument,
8037 push insns to delete to it instead of deleting them.
8038 (delete_null_pointer_checks): Delete insns from delete_list after
8039 all delete_null_pointer_checks_1 passes are done.
8041 2001-04-04 Richard Henderson <rth@redhat.com>
8043 * configure.in (gcc_cv_as_leb128): Tweek minor number extraction.
8044 * configure: Rebuilt.
8046 2001-04-04 Zack Weinberg <zackw@stanford.edu>
8048 * expr.h: Remove #ifdef FUNCTION_CONVERSION_BUG logic.
8049 * config/romp/xm-romp.h: Delete.
8051 2001-04-04 Bernd Schmidt <bernds@redhat.com>
8053 * sched-deps.c (sched_analyze_insn): Partially revert March 27
8056 2001-04-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8058 * emit-rtl.c (mark_label_nuses) Increment the label uses for
8059 all labels present in rtx.
8060 (try_split) Call new function for all split insns.
8062 2001-04-04 Jakub Jelinek <jakub@redhat.com>
8064 * recog.c (validate_replace_rtx_1): Instead of aborting just make
8065 sure the change won't be validated.
8067 Wed Apr 4 00:45:38 EDT 2001 John Wehle (john@feith.com)
8069 * rtl.h (set_noop_p): Declare.
8070 * flow.c (set_noop_p): Move from here ...
8071 * rtlanal.c (set_noop_p): ... to here and enhance.
8072 * cse.c (delete_trivially_dead_insns): Use it.
8073 * gcse.c (hash_scan_set): Likewise.
8074 * jump.c (delete_noop_moves): Likewise.
8075 * recog.c (split_all_insns): Likewise.
8077 2001-04-04 Alan Modra <alan@linuxcare.com.au>
8079 * dwarf2out.c (dwarf2out_frame_debug_expr): Support adjusting
8080 stack pointer via a LO_SUM. Ditto for setting a temp register
8081 used to save to the stack. Set cfa_temp when setting fp, and
8082 allow matches to cfa_temp in addition to cfa_store when saving
8083 regs. Handle POST_INC and LO_SUM register stores. Document the
8084 changes and errors in rule 12 doco.
8086 * pa.c (set_reg_plus_d, store_reg, load_reg): Return last insn.
8087 (actual_fsize, local_fsize, save_fregs): Move for store_reg to see.
8088 (load_reg): Move closer to epilogue code.
8089 (DO_FRAME_NOTES): Define to control the following..
8090 (FRP): Define to set RTX_FRAME_RELATED_P on insns.
8091 (hppa_expand_prologue): Use FRP and REG_FRAME_RELATED_EXPR
8093 (hppa_expand_epilogue): Likewise.
8095 2001-04-03 Richard Henderson <rth@redhat.com>
8097 * configure.in (gcc_cv_as_leb128): Reject gas before 2.11.
8098 * configure: Rebuild.
8100 2001-04-03 Richard Henderson <rth@redhat.com>
8102 * rtl.h (LCT_THROW): New.
8103 * calls.c (emit_library_call_value_1): Handle it.
8104 * except.c (connect_post_landing_pads): Use it.
8106 2001-04-03 Zack Weinberg <zackw@stanford.edu>
8108 * gansidecl.h: Delete file.
8109 * configure.in: Change all refs to gansidecl.h to use
8110 ansidecl.h. Adjust *_file_list so they know where ansidecl.h
8112 * configure: Regenerate.
8114 * Makefile.in (intl.o): Don't depend on gansidecl.h.
8115 * defaults.h: s/gansidecl.h/ansidecl.h/ in comment.
8116 * ggc.h, config/fr30/fr30.h, config/mcore/mcore.c:
8117 Don't include gansidecl.h.
8118 * intl.c, main.c, version.c, fixinc/fixlib.h,
8119 fixinc/procopen.c, fixinc/server.c: Include ansidecl.h not
8122 Tue Apr 3 19:41:21 CEST 2001 Jan Hubicka <jh@suse.cz>
8124 * i386.c (ix86_force_to_memory, ix86_free_from_memory):
8127 2001-04-03 Zack Weinberg <zackw@stanford.edu>
8129 * config/i386/xm-beos.h, config/i386/xm-isc.h,
8130 config/i386/xm-next.h, config/i386/xm-sco.h,
8131 config/i386/xm-sco5.h, config/m68k/xm-plexus.h,
8132 config/m88k/xm-m88k.h: Delete.
8134 * config/i386/xm-djgpp.h: Don't define __MSDOS__.
8135 * config/romp/xm-romp.h: Don't define bcopy.
8136 * config/rs6000/xm-beos.h: Don't define bcopy, HAVE_VPRINTF,
8137 HAVE_PUTENV, HAVE_RENAME, or USE_C_ALLOCA.
8139 * config.gcc: Remove references to deleted files.
8141 14 xm-host.h remain, 1 xm-cpu.h.
8143 2001-04-03 Jakub Jelinek <jakub@redhat.com>
8144 David S. Miller <davem@pierdol.cobaltmicro.com>
8145 Andrew MacLeod <amacleod@redhat.com>
8147 Use byte offsets in SUBREGs instead of words.
8149 * alias.c (nonlocal_mentioned_p): Use subreg_regno function.
8150 * caller-save.c (mark_set_regs): Change callers of subreg_hard_regno
8151 to pass new argument.
8152 (add_stored_regs): Use subreg_regno_offset function.
8153 * calls.c (expand_call): For non-paradoxical SUBREG take endianess
8155 (precompute_arguments): Use gen_lowpart_SUBREG.
8156 * combine.c (try_combine): Replace explicit XEXP with SUBREG_REG.
8157 (combine_simplify_rtx): Rework to use SUBREG_BYTE.
8158 (simplify_set): Rework to use SUBREG_BYTE.
8159 (expand_field_assignment): Use SUBREG_BYTE.
8160 (make_extraction): Use SUBREG_BYTE.
8161 (if_then_else_cond): Use SUBREG_BYTE.
8162 (apply_distributive_law): Use SUBREG_BYTE and fixup subreg comments.
8163 (gen_lowpart_for_combine): Compute full byte offset.
8164 * cse.c (mention_regs): Use SUBREG_BYTE.
8165 (remove_invalid_subreg_refs): Rework to use SUBREG_BYTE.
8166 (canon_hash): Use SUBREG_BYTE.
8167 (fold_rtx): Pass SUBREG_BYTE div UNITS_PER_WORD to operand_subword.
8168 (gen_lowpart_if_possible): Formatting.
8169 * dbxout.c (dbxout_symbol_location): Compute SUBREG hard regnos
8171 * dwarf2out.c (is_pseudo_reg): Fixup explicit XEXP into SUBREG_REG
8172 (mem_loc_descriptor): Fixup explicit XEXP into SUBREG_REG
8173 (loc_descriptor): Fixup explicit XEXP into SUBREG_REG
8174 * dwarfout.c (is_pseudo_reg): Fixup explicit XEXP into SUBREG_REG
8175 (output_mem_loc_descriptor): Fixup explicit XEXP into SUBREG_REG
8176 (output_loc_descriptor): Fixup explicit XEXP into SUBREG_REG
8177 * emit-rtl.c (gen_rtx_SUBREG): New function, used to verify
8178 certain invariants about SUBREGs the compiler creates.
8179 (gen_lowpart_SUBREG): New function.
8180 (subreg_hard_regno): New function to get the final register number.
8181 (gen_lowpart_common): Use SUBREG_BYTE.
8182 (gen_imagpart): Spacing nits.
8183 (subreg_realpart_p): Use SUBREG_BYTE.
8184 (gen_highpart): Use SUBREG_BYTE.
8185 (subreg_lowpart_p): Always compute endian corrected goal offset,
8186 even at the byte level, then compare against that.
8187 (constant_subword): New function, pulled out all constant cases
8188 from operand_subword and changed second argument name to offset.
8189 (operand_subword): Detect non REG/SUBREG/CONCAT/MEM cases early
8190 and call constant_subword to do the work. Return const0_rtx if
8191 looking for a word outside of OP.
8192 (operand_subword_force): Change second arg name to offset.
8193 * expmed.c (store_bit_field): Use SUBREG_BYTE.
8194 (store_split_bit_field): Use SUBREG_BYTE.
8195 (extract_bit_field): Use SUBREG_BYTE.
8196 (extract_split_bit_field): Use SUBREG_BYTE.
8197 (expand_shift): Use SUBREG_BYTE.
8198 * expr.c (store_expr, expand_expr): Use gen_lowpart_SUBREG.
8199 * final.c (alter_subreg) Use subreg_hard_regno and SUBREG_BYTE.
8200 * flow.c (set_noop_p): Use SUBREG_BYTE.
8201 (mark_set_1): Remove ALTER_HARD_SUBREG. Use subreg_regno_offset instead.
8202 * function.c (fixup_var_refs_1): Fixup explicit XEXP into a SUBREG_REG.
8203 (fixup_memory_subreg): Use SUBREG_BYTE and remove byte endian
8205 (optimize_bit_field): Use SUBREG_BYTE.
8206 (purge_addressof_1): Use SUBREG_BYTE.
8207 (purge_single_hard_subreg_set): Use subreg_regno_offset function.
8208 (assign_params): Mark arguments SUBREG_PROMOTED_VAR_P if they are
8209 actually promoted by the caller and PROMOTE_FOR_CALLS_ONLY is true.
8210 * gengenrtl.c (special_rtx): Add SUBREG.
8211 * global.c (mark_reg_store): Use SUBREG_BYTE.
8212 (set_preference): Rework to use subreg_regno_offset and SUBREG_BYTE.
8213 * ifcvt (noce_emit_move_insn): Use SUBREG_BYTE.
8214 * integrate.c (copy_rtx_and_substitute): Use SUBREG_BYTE and make sure
8215 final byte offset is congruent to subreg's mode size.
8216 (subst_constants): Use SUBREG_BYTE.
8217 (mark_stores): Use subreg_regno_offset function.
8218 * jump.c (rtx_renumbered_equal_p, true_regnum): Use subreg_regno_offset
8219 function and SUBREG_BYTE.
8220 * local-alloc.c (combine_regs): Use subreg_regno_offset function.
8221 (reg_is_born): Use subreg_hard_regno.
8222 * recog.c (valid_replace_rtx_1): Use SUBREG_BYTE and remove byte
8223 endian correction code. Don't combine subregs unless resulting
8224 offset aligns with type. Fix subreg constant extraction for DImode.
8225 Simplify SUBREG of VOIDmode CONST_DOUBLE.
8226 (general_operand): Remove dead mode_altering_drug code.
8227 (indirect_operand): Use SUBREG_BYTE.
8228 (constrain_operands): Use subreg_regno_offset function.
8229 * reg-stack.c (get_true_reg): Use subreg_regno_offset function.
8230 * regmove.c (regmove_optimize): Use SUBREG_BYTE.
8231 (optimize_reg_copy_3): Use gen_lowpart_SUBREG.
8232 * regs.h (REG_SIZE): Allow target to override.
8233 (REGMODE_NATURAL_SIZE): New macro which target can override.
8234 * reload.c (reload_inner_reg_of_subreg): subreg_regno should be used
8235 on the entire subreg rtx.
8236 (push_reload): Use SUBREG_BYTE in comments and code.
8237 (find_dummy_reload): Use subreg_regno_offset. Only adjust offsets
8238 for hard registers inside subregs.
8239 (operands_match_p): Use subreg_regno_offset.
8240 (find_reloads): Use SUBREG_BYTE and only advance offset for subregs
8241 containing hard regs.
8242 (find_reload_toplev): Use SUBREG_BYTE. Remove byte endian
8243 corrections when fixing up MEM subregs.
8244 (find_reloads_address_1): Use SUBREG_BYTE, subreg_regno, and
8245 subreg_regno_offset where appropriate.
8246 (find_reloads_subreg_address): Use SUBREG_BYTE. Remove
8247 byte endian corrections when fixing up MEM subregs.
8248 (subst_reloads): When combining two subregs, make sure final
8249 offset is congruent to subreg's mode size.
8250 (find_replacement): Use SUBREG_BYTE and subreg_regno_offset.
8251 (refers_to_regno_for_reload_p): Use subreg_regno.
8252 (reg_overlap_mentioned_for_reload_p): Use subreg_regno_offset.
8253 * reload1.c (eliminate_regs) Use SUBREG_BYTE. Remove byte endian
8254 correction code for memory subreg fixups.
8255 (forget_old_reload_1): Use subreg_regno_offset.
8256 (choose_reload_regs): Use subreg_regno.
8257 (emit_input_reload_insns): Use SUBREG_BYTE.
8258 (reload_combine_note_store): Use subreg_regno_offset.
8259 (move2add_note_store): Use subreg_regno_offset.
8260 * resource.c (update_live_status, mark_referenced_resources): Use
8261 subreg_regno function.
8262 (mark_set_resources): Use subreg_regno function.
8263 * rtl.h (SUBREG_WORD): Rename to SUBREG_BYTE.
8264 (subreg_regno_offset, subreg_regno): Define prototypes.
8265 (subreg_hard_regno, constant_subword, gen_rtx_SUBREG): Newi functions.
8266 (gen_lowpart_SUBREG): Add prototype.
8267 * rtl.texi (subreg): Update to reflect new byte offset representation.
8268 Add mentioning of the effect that BYTES_BIG_ENDIAN has on subregs now.
8269 * rtlanal.c (refers_to_regno_p): Use subreg_regno.
8270 (reg_overlap_mentioned_p): Use subreg_regno.
8271 (replace_regs); Make sure final offset of combined subreg is
8272 congruent to size of subreg's mode.
8273 (subreg_regno_offset): New function.
8274 (subreg_regno): New function.
8275 * sched-vis.c (print_value): Change SUBREG_WORD to SUBREG_BYTE.
8276 * sdbout.c (sdbout_symbol): Compute offset using alter_subreg.
8277 * stmt.c (expand_anon_union_decl): Use gen_lowpart_SUBREG.
8278 * tm.texi (ALTER_HARD_SUBREG): Remove, it is now dead.
8279 (SUBREG_REGNO_OFFSET): Describe SUBREG_REGNO_OFFSET overrides.
8280 * config/a29k/a29k.c (gpc_reg_operand): Use subreg_regno.
8281 (a29k_get_reloaded_address): Use SUBREG_BYTE.
8282 (print_operand): Use SUBREG_BYTE.
8283 * config/alpha/alpha.c (print_operand_address): Use SUBREG_BYTE.
8284 * config/arm/arm.c (arm_reload_in_hi): Use SUBREG_BYTE.
8285 (arm_reload_out_hi): Use SUBREG_BYTE.
8286 * config/d30v/d30v.c (d30v_split_double): Use subreg_regno_offset
8287 instead of SUBREG_WORD.
8288 (d30v_print_operand_memory_reference): Use subreg_regno_offset.
8289 * config/dsp16xx/dsp16xx.md (extendqihi2, zero_extendqihi2): Fix
8290 SUBREG creation to use byte offset.
8291 * config/h8300/h8300.md (Unnamed HImode zero extraction and 16bit
8292 inverted load insns): Fix explicit rtl subregs to use byte
8294 * config/i370/i370.md (cmpstrsi, movstrsi, mulsi3, divsi3,
8295 udivsi3, umodsi3): Generate SUBREGs with byte offsets.
8296 * config/i860/i860.c (single_insn_src_p): Use SUBREG_BYTE.
8297 * config/i860/i860.md (mulsi3_big): Fixup explicit SUBREGs in rtl
8298 to use byte offsets.
8299 (unnamed fmlow.dd insn): Fixup SUBREGS to use byte offsets.
8300 * config/i960/i960.md (extendhisi2): Generate SUBREGs with byte
8301 offsets, also make sure it is congruent to SUBREG's mode size.
8302 (extendqisi2, extendqihi2, zero_extendhisi2, zero_extendqisi2,
8303 unnamed ldob insn): Generate SUBREGs with byte offset.
8304 (zero_extendqihi2): SUBREG's are byte offsets.
8305 * config/m68hc11/m68hc11.c (m68hc11_gen_lowpart): Use SUBREG_BYTE.
8306 (m68hc11_gen_highpart): Use SUBREG_BYTE.
8307 * config/m68k/m68k.md (zero_extendhisi2, zero_extendqihi2,
8308 zero-extendqisi2): Generate SUBREGs with byte offset.
8309 (umulsidi3, mulsidi3, subreghi1ashrdi_const32,
8310 subregsi1ashrdi_const32, subreg1lshrdi_const32): Fixup explicit
8311 subregs in rtl to use byte offsets.
8312 * config/m88k/m88k.md (extendsidi2): fixup subregs to use byte offset.
8313 * config/mips/mips.c (mips_move_1word): Use subreg_regno_offset.
8314 (mips_move_2words): Use subreg_regno_offset.
8315 (mips_secondary_reload_class): Use subreg_regno_offset.
8316 * config/mips/mips.md (DImode plus, minus, move, and logical op
8317 splits): Fixup explicit subregs in rtl to use byte offsets.
8318 * config/mn10200/mn10200.c (print_operand): Use subreg_regno function.
8319 * config/mn10300/mn10300.c (print_operand): Use subreg_regno function.
8320 * config/ns32k/ns32k.md (udivmoddisi4): Fix explicit subregs in
8321 rtl to use byte offsets.
8322 * config/pa/pa.c (emit_move_sequence): Use SUBREG_BYTE.
8323 * config/pa/pa.md (floatunssisf2, floatunssidf2, mulsi3): fix explicit
8324 subregs to use byte offsets.
8325 * config/pdp11/pdp11.md (zero_extendhisi2, modhi3, modhi3+1):
8326 Fixup explicit subregs in rtl to use byte offsets.
8327 * config/romp/romp.c (memory_offset_in_range_p): Use SUBREG_BYTE
8328 and remove byte endian correction code.
8329 * config/sh/sh.c (output_movedouble): Use subreg_regno.
8330 (gen_ashift_hi): Use SUBREG_BYTE.
8331 (regs_used): Use subreg_regno_offset.
8332 (machine_dependent_reorg): Use subreg_regno_offset.
8333 * config/sh/sh.h (INDEX_REGISTER_RTX_P): Use SUBREG_BYTE.
8334 * config/sh/sh.md (DImode and DFmode move splits): Use subreg_regno.
8335 (movdf_i4): Subregs are byte offsets now.
8336 * config/sparc/sparc.c (ultra_find_type): Use SUBREG_BYTE.
8337 * config/sparc/sparc.h (ALTER_HARD_SUBREG): Removed.
8338 (REGMODE_NATURAL_SIZE): Override.
8339 (REG_SIZE): For SUBREG check float mode on SUBREG_REG's mode.
8340 * config/sparc/sparc.md (TFmode move splits): Generate SUBREGs
8342 (zero_extendhisi2, zero_extendqidi2_insn, extendhisi2,
8343 extendqihi2, sign_extendqihi2_insn, sign_extendqisi2_insn,
8344 extendqidi2): Generate SUBREGs with byte offsets, also make sure
8345 it is congruent to SUBREG's mode size.
8346 (smulsi3_highpart_v8plus): Fix explicit subregs in rtl to use byte
8348 (cmp_siqi_trunc, cmp_siqi_trunc_set, cmp_diqi_trunc,
8349 cmp_diqi_trunc_set, lshrdi3_v8plus+1, lshrdi3_v8plus+2,
8350 lshrdi3_v8plus+3, lshrdi3_v8plus+4): Use proper
8351 SUBREG_BYTE offset for non-paradoxical subregs in patterns.
8352 * config/v850/v850.c (print_operand, output_move_double): Use
8353 subreg_regno function.
8355 2001-04-03 Alexandre Oliva <aoliva@redhat.com>
8357 * configure.in (target_subdir): Use target_alias, not target.
8358 * configure: Rebuilt.
8360 * config/sh/crtn.asm (init, fini): Restore r15 from r14, not the
8362 * config/sh/crti.asm: Fix typos in comments.
8364 2001-04-03 Alan Modra <alan@linuxcare.com.au>
8366 * pa.h: Revise comments for TARGET_NO_SPACE_REGS and
8367 TARGET_FAST_INDIRECT_CALLS.
8368 * pa.c (override_options): TARGET_NO_SPACE_REGS is now OK with
8370 (return_addr_rtx): Short circuit export stub matching when
8371 TARGET_NO_SPACE_REGS.
8372 (output_millicode_call): For out of range calls, make -fPIC
8373 take precedence, then TARGET_PORTABLE_RUNTIME, then ble. Don't
8374 return before delay slot checks when TARGET_PORTABLE_RUNTIME.
8375 * pa.md: Modify length attr calculation of all millicode insns to
8378 2001-04-02 Geoffrey Keating <geoffk@redhat.com>
8380 * configure.in (gcc_cv_as_leb128): Correct name of cache variable.
8381 Require at least 2.11 in the version test. Specifically check
8382 for and reject GAS version 2.10.90.
8383 * configure: regenerate.
8385 2001-04-03 Alan Modra <alan@linuxcare.com.au>
8387 * pa.c (override_options): Remove PIC profiling warning.
8388 (hp_profile_labelno): Delete.
8389 (hp_profile_label_rtx): Delete.
8390 (hp_profile_label_name): Delete.
8391 (pa_add_gc_roots): Remove reference to hp_profile_label_rtx.
8392 (output_function_prologue): Remove profiling code and all tests on
8393 profile_flag. Move store of PIC_OFFSET_TABLE_REGNUM now that
8394 merge_sp_adjust_with_store can work for PIC and profiling.
8395 (hppa_expand_epilogue): Remove profile_flag test.
8396 (hppa_can_use_return_insn_p): Likewise.
8397 (hppa_init_pic_save): Emit before tail_recursion_reentry, and
8398 cater for PROFILE_HOOK.
8399 (hppa_profile_hook): New function.
8400 * pa.h (FUNCTION_PROFILER): Now does nothing.
8401 (PROFILE_HOOK): Define.
8402 (hppa_profile_hook): Declare.
8403 (PROFILE_BEFORE_PROLOGUE): Delete.
8404 (ASM_OUTPUT_REG_PUSH): Delete.
8405 (ASM_OUTPUT_REG_POP): Delete.
8406 * pa.md (call_profiler): Turn it into a call insn, and don't `use'
8407 r24. Accept function name operand, and use this and a locally
8408 generated label to calculate pc-rel offset to func start.
8410 2001-04-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8412 * $(HOST_PREFIX_1)errors.o, $(HOST_PREFIX_1)ggc-none.o,
8413 ggc-common.o, ggc-simple.o, ggc-page.o, ggc-none.o: Depend on
8416 2001-04-03 Alan Modra <alan@linuxcare.com.au>
8418 * dwarf2out.c (dwarf2out_frame_debug_expr): Move errant HIGH and
8419 LO_SUM cases to where they belong.
8421 2001-04-02 Richard Henderson <rth@redhat.com>
8423 * except.h (lang_eh_type_covers): Mark extern.
8424 (lang_eh_runtime_type): Likewise.
8426 2001-04-02 Zack Weinberg <zackw@stanford.edu>
8428 * genattr.c, gencheck.c, gencodes.c, genconfig.c, genflags.c,
8429 gengenrtl.c: Wrap generated header in multiple-include guard.
8430 Improve error checking.
8432 2001-04-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8434 * configure.in: Don't check for putenv.
8435 * configure: Regenerate.
8436 * gcc.c (putenv): Don't define.
8437 * vax/xm-vms.h: Handle putenv.
8439 2001-04-02 Jakub Jelinek <jakub@redhat.com>
8441 * ifcvt.c (noce_emit_move_insn): New.
8442 (noce_try_store_flag, noce_try_store_flag_constants,
8443 noce_try_store_flag_inc, noce_try_store_flag_mask,
8444 noce_try_cmove, noce_try_cmove_arith, noce_try_minmax,
8445 noce_try_abs): Use it.
8446 (noce_process_if_block): Likewise.
8447 For STRICT_LOW_PART, take mode from its SUBREG.
8449 2001-04-02 Jakub Jelinek <jakub@redhat.com>
8451 * fold-const.c (fold): Before optimizing unsigned comparison with
8452 0x7fffffffU, make sure arg0 is integral type.
8454 2001-04-02 Joseph S. Myers <jsm28@cam.ac.uk>
8456 * c-tree.texi: Document representation of wide strings.
8458 2001-04-01 Richard Henderson <rth@redhat.com>
8460 * except.h (expand_builtin_dwarf_fp_regnum): Declare.
8462 Sun Apr 1 11:49:05 CEST 2001 Jan Hubicka <jH@suse.cz>
8464 * i386.md: remove obsoleted comments.
8465 (adddi_?): Rename to adddi_?_rex64; disable for 32bit.
8466 (x86_movsicc_0_m1_rex64): Rename to x86_movdicc_0_m1_rex64;
8467 fix output template.
8469 2001-03-31 Marek Michalkiewicz <marekm@linux.org.pl>
8471 * config/avr/libgcc.S (__mulhi3): Optimize previous change.
8473 2001-03-30 Bernd Schmidt <bernds@redhat.com>
8475 * loop.c (load_mems): When generating a load from a pseudo, update
8478 Fri Mar 30 17:36:43 CEST 2001 Jan Hubicka <jh@suse.cz>
8480 * i386.c (ix86_split_long_move): Use change address to compensate
8481 stack pointer change in push instruction.
8483 Fri Mar 30 00:31:00 CEST 2001 Jan Hubicka <jh@suse.cz>
8485 * i386.md (sse_movdfcc_eq): Fix constraint (sse_mov?fcc splitter): Use operands_match_p
8486 instead of rtx_equal_p; fix the output template.
8488 Fri Mar 30 00:21:41 CEST 2001 Jan Hubicka <jh@suse.cz>
8490 * i386.c (ix86_expand_setcc): Support 64bit.
8491 (ix86_expand_int_movcc): Likewise.
8492 * i386.md (movdicc_rex64, x86_movsicc_0_m1_rex64, movdicc_c_rex64):
8495 * i386.md (allocate_stack_worker): Turn to expander.
8496 (allocate_stack_worker_1, allocate_stack_worker_rex64): New insns.
8498 * i386.c (print_reg): Do not print x86_64 style regs on IA-32
8500 2001-03-29 Richard Henderson <rth@redhat.com>
8502 * libgcc2.c [L__main]: Include unwind-dw2-fde.h instead of frame.h.
8504 2001-03-28 Matthew Hiller <hiller@redhat.com>
8506 * config/mn10300/mn10300.md (cmpsi): Fix first alternative's
8509 * MAINTAINERS: Added self.
8511 2001-03-28 Richard Henderson <rth@redhat.com>
8513 * Makefile.in (cs-tconfig.h): Depend on CONFIG_H, not GCONFIG_H.
8514 Use ALL_CFLAGS not HOST_CFLAGS for sjlj detection.
8516 2001-03-28 Jim Wilson <wilson@redhat.com>
8518 * config/ia64/ia64.md (movtf): Change DImode to TFmode in calls to
8521 2001-03-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8523 * toplev.h (fatal_error): Add ATTRIBUTE_NORETURN.
8525 * tradcif.y (yyerror): Likewise. Add format specifier in call to
8528 * tradcpp.c (macroexpand): Likewise for call to `error_with_line'.
8530 2001-03-28 DJ Delorie <dj@redhat.com>
8532 * Makefile.in (stage1_build): Revert CFLAGS patch.
8534 2001-03-28 Marek Michalkiewicz <marekm@linux.org.pl>
8536 * config/avr/libgcc.S (__mulhi3): Correct tests to exit the loop
8537 when multiplier or multiplicand is zero.
8539 2001-03-28 Bernd Schmidt <bernds@redhat.com>
8541 * cselib.c (hash_rtx): Don't do tail recursion elimination by hand.
8543 * config/ia64/ia64.c (update_set_flags): New function, broken out of
8545 (set_src_needs_barrier): Likewise.
8546 (rtx_needs_barrier): For SET case, use these two functions. Rework
8547 PARALLEL case to handle all inputs before all outputs.
8548 (emit_insn_group_barriers): Call init_insn_group_barriers only if we
8549 saw a label and no stop bit since then.
8550 (maybe_rotate, process_epilogue): Add prototypes.
8552 2001-03-28 Richard Henderson <rth@redhat.com>
8554 * config/rs6000/rs6000.h (EPILOGUE_USES): Use TARGET_AIX,
8555 not TARGET_TOC for special toc restore handling.
8556 * config/rs6000/rs6000.md (eh_return): Likewise.
8558 2001-03-28 Richard Henderson <rth@redhat.com>
8560 * config/sparc/sparc.c (eligible_for_epilogue_delay): False if
8561 current_function_calls_eh_return.
8562 (output_function_epilogue): Handle eh_return.
8563 * config/sparc/sparc.h (DOESNT_NEED_UNWINDER): Remove.
8564 (EH_RETURN_DATA_REGNO): New.
8565 (EH_RETURN_STACKADJ_RTX): New.
8566 (EH_RETURN_HANDLER_RTX): New.
8567 * config/sparc/sparc.md (call/short branch peepholes): Check
8568 can_throw_internal instead of in_same_eh_region.
8570 * config/rs6000/rs6000.c (rs6000_stack_info): Allocate space
8571 for eh_return data registers.
8572 (rs6000_emit_prologue): Save eh_return data registers.
8573 (rs6000_emit_epilogue): Force inline restores if eh_return.
8574 Restore eh_return data registers. Mind EH_RETURN_STACKADJ_RTX.
8575 * config/rs6000/rs6000.h (rs6000_stack_t): Add ehrd_offset.
8576 (EH_RETURN_DATA_REGNO, EH_RETURN_STACKADJ_RTX): New.
8577 (EPILOGUE_USES): True for TOC_REGISTER if calls_eh_return and
8578 the target uses one.
8579 * config/rs6000/rs6000.md (eh_epilogue, eh_reg_restore): Remove.
8580 (return_eh_si, return_eh_di): Remove.
8581 (eh_return): New, from corpse of eh_epilogue.
8582 (eh_set_lr_si, eh_set_lr_di): New.
8584 * config/i386/i386.c (general_no_elim_operand): Disallow virtual regs.
8585 (ix86_save_reg): If maybe_eh_return, true for EH_RETURN_DATA_REGNOs.
8586 True for pic register if current_function_calls_eh_return.
8587 (ix86_expand_epilogue): Change "emit_return" argument into "style".
8588 Handle eh_return requirements.
8589 * config/i386/i386.h (EH_RETURN_DATA_REGNO): New.
8590 (EH_RETURN_STACKADJ_RTX): New.
8591 * config/i386/i386.md (exception_receiver): Remove.
8592 (eh_return, eh_return_1): New.
8593 * config/i386/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
8595 * config/alpha/alpha.c (alpha_sa_mask): Add EH_RETURN_DATA_REGNOs.
8596 (alpha_mark_machine_status): No eh_epilogue_sp_ofs ...
8597 (alpha_expand_epilogue): ... use EH_RETURN_STACKADJ_RTX instead.
8598 * config/alpha/alpha.h (machine_function): Remove eh_epilogue_sp_ofs.
8599 (EH_RETURN_DATA_REGNO): New.
8600 (EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX): New.
8601 * config/alpha/alpha.md (eh_epilogue): Remove.
8602 (exception_receiver): Use $26 for ldgp input.
8603 * config/alpha/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
8605 2001-03-28 Richard Henderson <rth@redhat.com>
8607 * except.c: Rewrite entirely for IA-64 ABI exception handling.
8608 * except.h: Likewise.
8610 * Makefile.in (LIB2ADDEH): Mention unwind-dw2*.c
8611 (LIB2ADDEHDEP): New.
8612 (LIB2FUNCS_EH): Remove.
8613 (LIB2ADD): Remove LIB2ADDEH.
8614 (libgcc.mk): Pass LIB2ADDEHDEP, don't pass LIB2FUNCS_EH.
8615 (LIBGCC_DEPS): Use LIB2ADDEHDEP.
8616 (crt{begin,end}[S].o): Likewise.
8617 (except.o): Update includes.
8618 * mklibgcc.in: Remove LIB2FUNCS_EH, add LIB2ADDEH, LIB2ADDEHDEP.
8619 (libgcc2_c_dep): Use LIB2ADDEHDEP.
8621 * basic-block.h (struct basic_block_def): Remove eh_beg, eh_end.
8622 * bb-reorder.c (reorder_basic_blocks): Don't disable for EH.
8623 * builtins.def (BUILT_IN_EH_RETURN_DATA_REGNO): New.
8624 * builtins.c (expand_builtin): Implement it.
8625 [BUILT_IN_EH_RETURN]: Update for nr arguments change.
8626 * c-common.c (c_common_nodes_and_builtins): Declare it.
8627 * c-decl.c (init_decl_processing): Update __builtin_eh_return.
8628 * calls.c (libfunc_nothrow): Remove.
8629 (emit_library_call_value_1): Don't call it.
8630 * crtstuff.c: Include unwind-dw2-fde.h instead of frame.h.
8631 * dwarf2.h (dwarf_call_frame_info): Add dwarf2.1 elements.
8632 (DW_EH_PE_*): New defines for pointer encoding in .eh_frame.
8633 * dwarf2out.c (struct dw_fde_struct): Add uses_eh_lsda, funcdef_number.
8634 (current_funcdef_number): Globalize.
8635 (output_call_frame_info): Emit frame data if an lsda is needed.
8636 Generate augmentation for personality routine. Don't play with
8638 (dwarf2out_begin_prologue): Record funcdef_number.
8639 * dwarf2out.h (current_funcdef_number): Declare.
8640 * expr.c (expand_expr): Update for except.h name changes.
8641 Remove POPDCC_EXPR, POPDHC_EXPR. Add EXC_PTR_EXPR.
8642 * expr.h (LTI_throw, LTI_rethrow): Remove.
8643 (LTI_sjthrow, LTI_sjpopnthrow, LTI_terminate): Remove.
8644 (LTI_eh_rtime_match): Remove.
8645 (LTI_unwind_resume, LTI_eh_personality): Add.
8646 (LTI_unwind_sjlj_register, LTI_unwind_sjlj_unregister): Add.
8647 * final.c (final): Don't call check_exception_handler_labels,
8648 init_insn_eh_region, or free_insn_eh_region.
8649 (final_scan_insn): Always emit debug labels for
8650 NOTE_INSN_EH_REGION notes.
8651 * flags.h (flag_new_exceptions): Remove.
8652 * flow.c (entry_exit_blocks): Remove eh_beg, eh_end.
8653 (record_active_eh_regions): Remove.
8654 (count_basic_blocks): Check all instructions for REG_EH_REGION.
8655 Use can_throw_internal.
8656 (find_basic_blocks_1): Likewise.
8657 (move_stray_eh_region_notes): Remove.
8658 (find_label_refs): No eh_return_stub_label.
8659 (make_edges): Likewise. No init/free_eh_nesting_info. Handle RESX.
8660 (make_eh_edge): No eh_nest_info. Update for reachable_handlers
8662 (delete_unreachable_blocks): Don't track deleted handlers.
8663 (flow_delete_block): Use maybe_remove_eh_handler.
8664 (delete_eh_regions): Remove.
8665 (merge_blocks): Don't check for eh region match.
8666 (mark_regs_live_at_end): Handle EH_RETURN_DATA_REGNO,
8667 EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX.
8668 (init_propagate_block_info): Disable dead frame store optimization
8669 when current_function_calls_eh_return.
8670 (dump_bb): Don't print eh_beg, eh_end.
8671 * function.c (fixup_var_refs): No catch_clauses.
8672 (expand_function_end): Likewise. Call expand_eh_return before
8673 the return register use. Call sjlj_emit_function_exit_after.
8674 (expand_function_start): Force pseudo DECL_RESULT if sjlj exceptions.
8675 * function.h (struct function): Add calls_eh_return, uses_eh_lsda.
8676 * ifcvt.c (dead_or_predicable): Remove eh region check.
8677 * integrate.c (function_cannot_inline_p): Disallow __builtin_eh_return.
8678 Don't check for EH vs parameters.
8679 (expand_inline_function_eh_labelmap, eif_eh_map): Remove.
8680 (expand_inline_function): Call duplicate_eh_regions.
8681 (copy_insn_list): Don't handle NOTE_INSN_EH_REGION_BEG/END.
8682 (copy_insn_notes): Remap REG_EH_REGION notes.
8683 (copy_rtx_and_substitute): Remove SYMBOL_REF_NEED_ADJUST check.
8684 * integrate.h (struct inline_remap): Add local_return_label.
8685 * jump.c (jump_optimize_1): Don't init/free_insn_eh_region, nor
8686 check_exception_handler_labels, nor exception_optimize.
8687 (find_cross_jump): No EH region check.
8688 * optabs.c (init_optabs): Update for changed eh libfuncs.
8689 * rtl.def (RESX): New.
8690 * rtl.h (SYMBOL_REF_NEED_ADJUST): Remove.
8691 * stmt.c (expand_decl_cleanup): Simplify using_eh_for_cleanups_p
8692 checks. Update for except.h name changes.
8693 (expand_cleanups): Likewise.
8694 (expand_dcc_cleanup, expand_dhc_cleanup): Remove.
8695 * toplev.c (dump_file_index, dump_file): Add .02.eh dump.
8696 (compile_file): Call init_eh before init_optabs. Don't
8697 output_exception_table here.
8698 (rest_of_compilation): Call convert_from_eh_region_ranges,
8699 convert_to_eh_region_ranges, output_function_exception_table.
8700 Don't emit_eh_context.
8701 * tree.def (POPDHC_EXPR, POPDCC_EXPR): Remove.
8702 (EXC_PTR_EXPR): New.
8704 * md.texi (eh_epilogue): Remove.
8705 (eh_return): Document.
8706 * tm.texi (EH_RETURN_DATA_REGNO): Document.
8707 (EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX): Document.
8709 * eh-common.h: Remove file.
8710 * frame-dwarf2.c, frame.c, frame.h: Remove files.
8711 * libgcc2.c (L_eh): Remove.
8713 * unwind-dw2-fde.c: New file, largely copied from frame.c.
8714 * unwind-dw2-fde.h: New file.
8715 * unwind-dw2.c: New file, largely cribbed from frame-dwarf2.c.
8716 * unwind-sjlj.c, unwind.h, unwind.inc: New files.
8717 * libgcc-std.ver: Update for eh symbols.
8719 2001-03-27 Richard Henderson <rth@redhat.com>
8721 * regmove.c (perhaps_ends_bb_p): Use can_throw_internal to
8722 reduce false positives.
8723 (regmove_optimize): Disable if flag_non_call_exceptions.
8725 * stmt.c (expand_return): Remove always true predicate.
8726 (expand_decl_cleanup_no_eh): Remove dead code.
8728 * sched-deps.c (sched_analyze_insn): Consolidate scheduling
8729 barrier code. Add a scheduling barrier if a non-call insn
8730 can throw internally.
8732 * rtlanal.c (rtx_addr_can_trap_p): Virtual registers cannot trap.
8733 Auto-inc addresses trap only if their base register does.
8735 * except.c (can_throw_internal): Rename from can_throw.
8736 * except.h, resource.c: Update references.
8738 * integrate.c (copy_insn_list): Use returnjump_p.
8739 (copy_insn_notes): Recurse for CALL_PLACEHOLDER.
8741 * function.h (struct function): Move all boolean valued fields
8742 to single bit fields at the end of the struct.
8744 * bb-reorder.c, dwarf2out.c, except.c, except.h, flow.c,
8746 Rename asynchronous_exceptions to flag_non_call_exceptions.
8748 * gthr-single.h (UNUSED): New. Distinguish between how C
8749 and C++ mark unused function arguments. Use throughout.
8751 * Makefile.in (cs-tconfig.h): Copy USING_SJLJ_EXCEPTIONS
8752 value to target configuration header.
8753 * configure.in (CONFIG_SJLJ_EXCEPTIONS): New.
8754 * config.in, configure: Rebuild.
8755 * except.h (USING_SJLJ_EXCEPTIONS): New. Define based on
8756 configuration and target defines.
8757 (exceptions_via_longjmp): Remove.
8758 * dwarf2out.c, except.c, final.c, toplev.c, config/ia64/ia64.c:
8759 Use USING_SJLJ_EXCEPTIONS instead of exceptions_via_longjmp.
8761 * except.h (flag_non_call_exceptions): Move ...
8762 * flags.h: ... here.
8764 * combine.c (distribute_notes) [REG_EH_REGION]: If non-call
8765 exceptions, put the note on the trapping instruction.
8767 * flags.h (flag_new_exceptions): Remove.
8768 * toplev.c: Don't set it.
8769 * final.c: Don't check it.
8770 * except.c: Provide stub definition.
8772 * flow.c (tidy_fallthru_edges): Don't combine complex edges.
8773 (calculate_global_regs_live): Kill call-clobbered registers
8774 across exception edges.
8775 * reg-stack.c (convert_regs_1): Kill the entire target stack
8776 across non-call exception edges.
8778 * flow.c (cleanup_cfg): Take no argument.
8779 * output.h, sibcall.c, toplev.c: Update all calls.
8781 2001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8783 * configure.in: Don't check for bcopy.
8784 * configure, config.in: Regenerate.
8786 * system.h: Don't define or prototype bcopy, instead poison it.
8788 2001-03-27 Richard Henderson <rth@redhat.com>
8790 * function.c (expand_function_start): Set DECL_REGISTER on
8791 a pseudo used for DECL_RESULT.
8793 * rtl.h (LCT_NORETURN): New.
8794 * calls.c (emit_library_call_value_1): Handle it.
8796 2001-03-27 Stan Shebs <shebs@apple.com>
8798 * objc/objc-act.c (objc_init): Use dump_base_name.
8799 (gen_declaration): Clear the buffer arg.
8800 (gen_declaration_1): New function, body of gen_declaration.
8801 (adorn_decl): Call gen_declaration_1 instead of gen_declaration.
8802 (gen_method_decl): Ditto, plus always clear buffer arg.
8803 (error_with_ivar): Simplify.
8804 (warn_with_method): Ditto.
8805 (build_message_expr): Don't clear buffers.
8806 (dump_interface): Ditto.
8807 (objc_debug): Ditto.
8808 (build_keyword_selector): Clear the buffer by only zeroing
8810 (objc_implementation_context): Declare.
8811 (start_class): Warn about missing @end.
8812 (finish_objc): Ditto.
8814 2001-03-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
8816 * reload1.c (eliminate_regs): Don't abort on MEM USEs.
8818 2001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8820 * Makefile.in (SYSTEM_H): Define.
8821 Depend on $(SYSTEM_H), not system.h.
8823 * objc/Make-lang.in: Depend on $(SYSTEM_H), not system.h.
8825 2001-03-27 Jim Wilson <wilson@redhat.com>
8827 * final.c (final_scan_insn, case NOTE_INSN_BASIC_BLOCK): Call
8829 * config/ia64/ia64.c (block_num, need_copy_state): New static vars.
8830 (process_epilogue): New static function.
8831 (process_set): Call process_epilogue instead of emitting .restore
8833 (process_for_unwind_directive): Handle NOTE_INSN_BASIC_BLOCK.
8835 * flow.c (struct reg_cond_life_info): New fields orig_condition
8837 (init_propagate_block_info): Set new fields.
8838 (mark_regno_cond_dead): Set and use new fields.
8839 (flush_reg_cond_reg_1): Likewise.
8840 (and_reg_cond, case AND): Check for redundant AND conditions.
8841 (mark_used_reg): Delete unnecessary clears before freeing splay trees.
8844 2001-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
8846 * cppmacro.c (stringify_arg): Null terminate strings.
8848 2001-03-27 Zack Weinberg <zackw@stanford.edu>
8850 * config.gcc (m68hc11-*-*, m68hc12-*-*): Convert to new tm.h
8851 inclusion style. xm-m68hc11.h no longer exists.
8852 * config/m68hc11/xm-m68hc11.h: Delete file.
8853 * config/m68hc11/m68hc12.h: Convert to new tm.h inclusion style.
8855 * config/m68hc11/m68hc11.h: Convert to new tm.h inclusion style.
8856 Don't define GCC_VERSION, N_, or PARAMS; don't include
8857 gansidecl.h or stdio.h. Define inhibit_libc here.
8858 Make code conditioned on #if GCC_VERSION > 2095 unconditional.
8859 Delete code conditioned on #if GCC_VERSION == 2095.
8861 * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c:
8862 Make code conditioned on #if GCC_VERSION > 2095 unconditional.
8863 Delete code conditioned on #if GCC_VERSION == 2095.
8865 2001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8867 * system.h: Include symcat.h.
8868 (STRINGIFY): Don't define.
8870 * configure.in: Adjust comment.
8872 * builtins.c: Use STRINGX, not STRINGIFY.
8873 * gencheck.c: Likewise.
8874 * gengenrtl.c: Likewise.
8875 * protoize.c: Likewise.
8877 * cpplex.c: Don't include symcat.h.
8878 * cpplib.c: Likewise.
8880 * gansidecl.h (HAVE_STRINGIZE): Don't define.
8882 2001-03-27 Alan Modra <alan@linuxcare.com.au>
8884 * c-typeck.c (digest_init): Fold init expression.
8886 2001-03-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8888 * sbitmap.c (sbitmap_copy): Call memcpy, not bcopy.
8890 2001-03-27 Alan Modra <alan@linuxcare.com.au>
8892 * except.c (eh_regs): Save results of build_pointer_type to a temp
8893 as FUNCTION_VALUE macro may evaluate its args multiple times.
8895 2001-03-26 Mark Mitchell <mark@codesourcery.com>
8897 * c-common.h (DECL_NUM_STMTS): New macro.
8898 * c-decl.c (duplicate_decls): Copy DECL_NUM_STMTS, not
8900 (pushdecl): Likewise.
8901 * c-semantics.c (add_stmt): Update DECL_NUM_STMTS.
8902 * integrate.c (expand_inline_function): Don't check
8904 * print-tree.c (print_node): Don't print it.
8905 * toplev.c (rest_of_compilation): Don't try to inline when
8906 flag_no_inline is on.
8907 * tree.h (DECL_FRAME_SIZE): Remove.
8908 (tree_decl): Adjust accordingly.
8910 2001-03-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8912 * combine.c (try_combine): Use memcpy, not bcopy.
8914 * genattrtab.c (expand_units): Likewise.
8916 Mon Mar 26 15:55:08 CEST 2001 Jan Hubicka <jh@suse.cz>
8918 * i386.md (push mem DI peep2): New.
8919 (mov 0, mov -1 peep2): Handle 64bit.
8920 (lea to arithmetics peep2): Handle 64bit leas.
8921 (rsp arithmetics to push/pop peep2s): New.
8923 * i386.md (truncdfsf2_3, trunctfsf2_2): Change predicate to memory_operand.
8925 Mon Mar 26 14:35:18 CEST 2001 Jan Hubicka <jh@suse.cz>
8927 * i386.c (struct machine_function): Add save_varrargs_registers.
8928 (ix86_save_varrargs_registers): New macro.
8929 (ix86_frame_layout): Support 64bit; support red zones and varrargs area.
8930 (ix86_expand_prologue): Likewise.
8931 (ix86_emit_epilogue_esp_adjustement): Likewise.
8932 (ix86_expand_epilogue): Likewise.
8933 * i386.md (pro_epilogue_adjust_stack): Turn to expander; support 64bit.
8934 (pro_epilogue_adjust_stack_1): New insn.
8935 (pro_epilogue_adjust_stack_rex64): Likewise.
8936 * i386.h (MASK_NO_RED_ZONE): New constant.
8937 (TARGET_RED_ZONE): New macro.
8938 (TARGET_OPTIONS): Add "red-zone" and "no-red-zone"
8939 (RED_ZONE_SIZE): New constant.
8940 (RED_ZONE_RESERVE): New constant.
8942 2001-03-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8944 * toplev.c (set_float_handler): Use memcpy, not bcopy.
8946 2001-03-25 Kazu Hirata <kazu@hxi.com>
8948 * config/h8300/h8300.md (umodqi3): Output a tab instead of a
8951 (umodhi3): Likewise.
8954 2001-03-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8956 * mkconfig.sh (DEFINES): Handle entries with '='.
8958 * config.gcc: Don't use i370/xm-mvs.h or ns32k/xm-pc532-min.h.
8959 Set xm_defines to MACRO=value instead.
8961 * i370/xm-mvs.h: Delete.
8963 * ns32k/xm-pc532-min.h: Likewise.
8965 Sun Mar 25 15:01:40 CEST 2001 Jan Hubicka <jh@suse.cz>
8967 * i386.md (ashldi3, ashrdi3, lshrdi3): Change predicates to
8969 use ix86_expand_binary_operator
8970 (?sh??i_?): Disable for 64bit.
8971 * i386.h (PREDICATE_CODES): Add shiftdi_operand.
8972 * i386.c (shiftdi_operand): New predicate.
8974 * (ashldi3_1_rex64, ashldi3_cmp_rex64, ashlsi3_1_zext, ashlsi3_cmp_zext,
8975 ashrdi3_63_rex64, ashrdi3_1_one_bit_rex64, ashrdi3_1_rex64,
8976 ashrdi3_one_bit_cmp_rex64, ashrdi3_cmp_rex64, ashrsi3_31_zext,
8977 ashrsi3_1_one_bit_zext, ashrsi3_1_zext, ashrsi3_one_bit_cmp_zext,
8978 ashrsi3_cmp_zext, lshrdi3_1_one_bit_rex64, lshrdi3_1_rex64,
8979 lshrdi3_cmp_one_bit_rex64, lshrdi3_cmp_rex64, lshrsi3_1_one_bit_zext,
8980 lshrsi3_1_zext, lshrsi3_cmp_one_bit_zext, lshrsi3_cmp_zext,
8981 rotlsi3_1_one_bit_rex64, rotldi3_1_rex64,
8982 rotlsi3_1_one_bit_zext, rotlsi3_1_zext, rotrdi3_1_one_bit_rex64,
8983 rotrdi3_1_rex64, rotrsi3_1_one_bit_zext, rotrsi3_1_zext): New patterns.
8984 (rotldi3, rotrdi3): New expanders.
8986 Sun Mar 25 14:25:33 CEST 2001 Jan Hubicka <jh@suse.cz>
8988 * i386.md (movstrsi): Move offline.
8990 (strmovdi_rex64): New.
8991 (strmov?i): Accept 64bit.
8992 (strmov?i_rex64): New.
8993 (strmov?i_rex_1): New.
8994 (strmov?i_1): Disable for 64bit.
8995 (rep_mov?i_rex64): New.
8996 (rep_mov?i): Disable for 64bit.
8997 (clrstrsi): Move offline.
8998 (strset?i_rex64): New.
8999 (strset?i: Accept 64bit.
9000 (rep_stos?i): Disable for 64bit.
9001 (rep_stos?i_rex64): New.
9002 (strset?i_rex_1): New.
9003 (strset?i_1): Disable for 64bit.
9004 (cmpstrsi): Accept 64bit.
9005 (cmpstrsi_nz_1): Rename to cmpstrqi_nz_1; Disable for 64bit.
9006 (cmpstrqi_nz_rex_1): New.
9007 (cmpstrsi_1): Rename to cmpstrqi_1; Disable for 64bit.
9008 (strlensi): Move offline.
9010 (strlenqi_1): Disable for 64bit; fix constraints.
9011 (strlenqi_rex_1): New.
9012 * i386.c (ix86_adjust_counter): New static function.
9013 (ix86_zero_extend_to_Pmode): Likewise.
9014 (ix86_expand_aligntest): Likweise.
9015 (ix86_expand_strlensi_unroll_1): Make static; update for 64bit.
9016 (ix86_expand_movstr): New global function.
9017 (ix86_expand_clrstr): New global function.
9018 (ix86_expand_strlen): New global function.
9019 * i386-protos.h (ix86_expand_movstr, ix86_expand_clrstr,
9020 ix86_expand_strlen): Declare.
9021 (ix86_expand_strlensi_unroll_1): Delete.
9023 Sat Mar 24 23:15:19 CET 2001 Jan Hubicka <jh@suse.cz>
9025 * i386.md (cmpdi): Fix operand predicates.
9026 (cmpdi_ccno_1_rex64, cmpdi_minus_1_rex64, cmpdi_1_rex64,
9027 cmpdi_1_insn_rex64): New patterns.
9028 (adddi3): Turn to expander.
9029 (adddi3_1, adddi3_carry_rex64, adddi3_cc_rex64): New patterns.
9030 (addsi3_carry_zext): New pattern.
9031 (adddi_?_rex64): New patterns and splitters.
9032 (addsi_?_zext): New patterns.
9033 (subsi3_carry_zext): New pattern.
9034 (subdi_?_rex64): New patterns and splitters.
9035 (iorsi_?_zext): New patterns.
9036 (iordi_?_rex64): New patterns and splitters.
9037 (iorsi_?_zext): New patterns.
9038 (iorsi_?_zext_imm): New patterns.
9039 (xorsi_?_zext): New patterns.
9040 (xordi_?_rex64): New patterns and splitters.
9041 (xorsi_?_zext): New patterns.
9042 (negdi*): New patterns.
9043 (one_cmpldi*): Likewise.
9044 (one_cmplsi*_zext, negsi*_zext): Likewise.
9045 (testqi_ext_3_rex64): New pattern.
9047 Sat Mar 24 21:13:28 CET 2001 Jan Hubicka <jh@suse.cz>
9049 * i386-protos.h (ix86_split_long_move): Return void.
9050 * i386.c (ix86_split_to_parts): Handle 64bit target.
9051 (ix86_split_long_move): Likewise.
9052 * i386.md (all calls to ix86_split_long_move): Update.
9054 2001-03-23 Richard Henderson <rth@redhat.com>
9056 * config/mips/iris4.h (ASM_OUTPUT_ASCII): Rename local variables
9057 to avoid shadowing arguments.
9059 2001-03-23 Jakub Jelinek <jakub@redhat.com>
9061 * varasm.c (make_decl_rtl): Don't append var_labelno discriminator
9062 to variable names where DECL_NAME is different from
9063 DECL_ASSEMBLER_NAME.
9065 2001-03-23 Jim Wilson <wilson@redhat.com>
9067 * varasm.c (make_decl_rtl): Add TREE_PUBLIC check to abort test.
9068 (assemble_alias): Call make_decl_rtl.
9070 Fri Mar 23 16:59:08 2001 J"orn Rennecke <amylaar@redhat.com>
9072 * stor-layout.c (layout_type): Give OFFSET_TYPE a MODE_INT type.
9074 2001-03-23 Bryce McKinlay <bryce@albatross.co.nz>
9076 * extend.texi: Document the "java_interface" attribute.
9078 2001-03-22 Zack Weinberg <zackw@stanford.edu>
9080 * mkconfig.sh: Use a subshell with redirected stdout,
9081 instead of closing stdout and confusing commands that run
9082 afterward. Throw away output of cmp.
9084 2001-03-22 Gordon Sadler <gbsadler1@lcisp.com>
9086 * Makefile.in (stage1_build): Pass CFLAGS to stage1_build.
9088 Thu Mar 22 22:15:59 CET 2001 Jan Hubicka <jh@suse.cz>
9090 * i386.md (zero_extendsidi2_32): Break out from ...
9091 (zero_extendsidi2): ... here ; turn to expander.
9092 (zero_extendsidi2_rex64): New.
9093 (extendsidi2_32): Break out from ...
9094 (extendsidi2): ... here ; turn to expander.
9095 (extendsidi2_rex64): New.
9096 (zero_extendhidi2, zero_extendqidi2, extendhidi2, extendqidi2): New.
9097 (trunc?f?f splitters): Add 64bit versions.
9099 Thu Mar 22 21:41:16 CET 2001 Jan Hubicka <jh@suse.cz>
9101 * i386.md (pushsi, pushsi2_prologue): Disable.
9102 (pushsi2_rex64): New.
9103 (movabs?i_1_rex64, movabs?i_2_rex64): New.
9104 (movqi_ext_1): Disable for 64bit.
9105 (movqi_ext_1_rex64): New.
9106 (pushdi2_rex64): New pattern, peep2s and splitter.
9107 (pushdi2_prologue_rex64): New pattern.
9108 (popdi1_epilogue_rex64, popdi1, movdi_xor_rex64, movdi_or_rex64):
9110 (movdi splitters): Disable for 64bit.
9111 (movdi_1_rex64): New pattern, peep2s and splitters.
9112 (swapdi): New pattern.
9113 (pushsf): Disable for 64bit.
9114 (pushsf_rex64): New pattern and splitter.
9115 (pushdf_nointeger): Disable for 64bit.
9116 (pushdf_integer): Handle the 64bit case.
9117 (pushtf): Likewise; update splitters.
9119 2001-03-22 Richard Henderson <rth@redhat.com>
9121 * mkconfig.sh: Include insn-flags.h.
9122 * Makefile.in (CONFIG_H): Include insn-flags.h.
9123 (lots of objects): Remove insn-codes.h and insn-flags.h.
9125 * alias.c, bb-reorder.c, calls.c, do-loop.c, flow.c, haifa-sched.c,
9126 integrate.c, jump.c, loop.c, predict.c, profile.c, reg-stack.c,
9127 regmove.c, reorg.c, a29k/a29k.c, alpha/alpha.c, arc/arc.c, arm/arm.c,
9128 avr/avr.c, clipper/clipper.c, convex/convex.c, d30v/d30v.c,
9129 dsp16xx/dsp16xx.c, fr30/fr30.c, h8300/h8300.c, i370/i370.c,
9130 i386/i386.c, i860/i860.c, ia64/ia64.c, m32r/m32r.c, m68hc11/m68hc11.c,
9131 m68k/m68k.c, m88k/m88k.c, mcore/mcore.c, mn10200/mn10200.c,
9132 mn10300/mn10300.c, ns32k/ns32k.c, pa/pa.c, pdp11/pdp11.c,
9133 pj/pj.c, romp/romp.c, rs6000/rs6000.c, sh/sh.c, sparc/sparc.c,
9134 v850/v850.c, vax/vax.c:
9135 Don't include insn-flags.h.
9137 * diagnostic.c, expr.h, reload.c, toplev.c:
9138 Don't include insn-codes.h.
9140 * builtins.c, combine.c, except.c, explow.c, expmed.c, expr.c,
9141 final.c, function.c, optabs.c, recog.c, reload1.c, stmt.c,
9142 c4x/c4x.c, i960/i960.c, mips/mips.c:
9143 Don't include insn-codes.h or insn-flags.h.
9145 * genemit.c, genopinit.c, genoutput.c: Don't include insn-codes.h
9146 or insn-flags.h in the generated code.
9147 * genflags.c (gen_proto): Use "struct rtx_def *" instead of "rtx".
9148 (main): Forward declare struct rtx_def.
9150 2001-03-22 Joseph S. Myers <jsm28@cam.ac.uk>
9152 * invoke.texi (-ffast-math): Remove duplicate line about
9155 * gcc.texi: Remove more obsolete documentation of bugs and
9156 installation problems.
9158 2001-03-21 Kazu Hirata <kazu@hxi.com>
9160 * config/h8300/h8300.md (movsi_h8300hs): Split the 2nd alternative
9163 2001-03-20 Jason Merrill <jason@redhat.com>
9165 * collect2.c (is_ctor_dtor): Always use '_' in the file fn names,
9167 * tree.c (FILE_FUNCTION_FORMAT): Likewise.
9168 * varasm.c (CHKR_PREFIX): Likewise.
9170 Wed Mar 21 14:27:11 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9172 * gcse.c (hash_scan_set): An expression is not anticipatible if it
9173 is part of a multi-SET insn.
9175 * cse.c (find_comparison_args): Remove previous change.
9176 * ifcvt.c (noce_process_if_block): When moving an insn, remove any
9179 * config/i386/i386.md (conditional_trap): Remove warning.
9181 * recog.c (push_operand): Fix error in last change that caused
9182 undefined symbol on many targets.
9184 * sdbout.c: #include ggc.h.
9185 (sdbout_init): Move to end of file.
9186 Call ggc_add_tree_root for anonymous_types.
9187 (sdbout_symbol): Use DECL_NAME for local, not DECL_ASSEMBLER_NAME.
9188 (sdbout_one_type): Use DECL_NAME for field name.
9189 * Makefile.in (sdbout.o): Show includes ggc.h.
9191 Wed Mar 21 20:33:26 CET 2001 Jan Hubicka <jh@suse.cz>
9193 * i386.c (override_options): Default ix86_regparm to REGPARM_MAX.
9194 (override_options): Use properlimits for preferred_stack_boundary.
9195 (ix86_valid_type_attribute_p): Disable stdcall and cdecl attributes
9197 (ext_register_operand): Accept DImode.
9198 (load_pic_register): Abort on 64bit.
9199 (gen_push): Use Pmode instead of SImode.
9200 (ix86_save_reg): Pic reg is never used on 64bit.
9201 (ix86_expand_prologue): Likewise.
9202 (ix86_emit_save_regs): Use Pmode instead of SImode.
9203 (legitimate_address_p): Check displacement for 64bit.
9204 (print_operand): Avoid outputting of (%rip) on 64bit.
9205 (print_operand_address): Output (%rip) where possible.
9206 (split_di): Abort on 64bit registers.
9207 (ix86_expand_branch): DImode comparison is simple for x86_64.
9208 (memory_address_length): Recognize memory addresses formed using
9210 (ix86_data_alignment, ix86_local_alignment): Align arrays to 16 bytes
9212 * i386.h (TARGET_USE_SAHF): Disable for 64bit.
9214 Wed Mar 21 18:51:19 CET 2001 Jan Hubicka <jh@suse.cz>
9216 * recog.c (push_operand): Recognize new format of push instructions.
9218 Wed Mar 21 10:53:57 CET 2001 Jan Hubicka <jh@suse.cz>
9220 * i386.md (pushqi1): New.
9221 * i386-protos.h (x86_64_general_operand, x86_64_szext_general_operand,
9222 x86_64_nonmemory_operand, x86_64_szext_nonmemory_operand,
9223 x86_64_immediate_operand, x86_64_immediate_operand,
9224 x86_64_zext_immediate_operand): Declare.
9225 * i386.c (x86_64_general_operand, x86_64_szext_general_operand,
9226 x86_64_nonmemory_operand, x86_64_szext_nonmemory_operand,
9227 x86_64_immediate_operand, x86_64_immediate_operand,
9228 x86_64_zext_immediate_operand): define.
9229 * i386.h (PREDICATE_CODES): Add new predicates.
9231 Wed Mar 21 10:25:13 CET 2001 Jan Hubicka <jh@suse.cz>
9233 * i386.md (pophi1, popqi1, pushqi1): Remove.
9235 * expr.c (emit_single_push_insn): New function.
9236 (move_by_pieces): Accept NULL as destination for push instructions.
9237 (gen_push_operand): Kill.
9238 (emit_push_insn): Pass NULL when pushing; avoid updating of
9239 stack_pointer_delta.
9240 * expr.h (gen_push_operand): Kill.
9242 Tue Mar 20 20:15:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9244 * rtl.texi (COMPARE): Clarify documentation and reference section
9247 2001-03-20 Stan Shebs <shebs@apple.com>
9249 * objc/objc-act.c (get_static_reference): Use NULL_TREE.
9250 (get_object_reference): Ditto.
9251 (error_with_ivar): Use error_with_file_and_line.
9252 (warn_with_method): Use warning_with_file_and_line.
9254 2001-03-20 Tom Tromey <tromey@redhat.com>
9256 * libgcc-std.ver: Added __fixunssfsi and __fixunsdfsi.
9258 2001-03-20 Mark Mitchell <mark@codesourcery.com>
9260 * tree.c (set_decl_assembler_name): Set DECL_ASSEMBLER_NAME for
9261 variables that are TREE_PUBLIC, even if not TREE_STATIC.
9263 2001-03-20 DJ Delorie <dj@redhat.com>
9265 * Makefile.in (install-libgcc): Pass complete list of variables.
9266 (install-multilib): Ditto.
9268 2001-03-20 David Billinghurst <David.Billinghurst@riotinto.com>
9270 * config/i386/cygwin.h: Declare ctor_section, dtor_section
9271 drectve_section, switch_to_section.
9273 * winnt.c: Declare functions associated_type, gen_stdcall_suffix,
9274 i386_pe_dllexport_p, i386_pe_dllimport_p, i386_pe_mark_dllexport,
9275 i386_pe_mark_dllimport.
9277 2001-03-20 David Billinghurst <David.Billinghurst@riotinto.com>
9279 * config/i386/cygwin.h: Include <stdio.h> Declare and constify
9280 functions i386_pe_*.
9282 * config/i386/winnt.c: Include "tm_p.h" and "toplev.h" Constify
9283 i386_pe_* functions with char * arguments.
9285 2001-03-20 Alexandre Oliva <aoliva@redhat.com>
9287 * config/sh/sh.md (movsf_ie): Fix output patterns for fpul load
9289 (movsi_ie): Introduce fpul store.
9291 2001-03-20 Alan Modra <alan@linuxcare.com.au>
9293 * Makefile.in (OBJS): Remove hashtab.o.
9295 2001-03-19 Stan Shebs <shebs@apple.com>
9297 * objc/objc-act.c (maybe_objc_method_name): Remove, never called.
9298 * c-lang.c (maybe_objc_method_name): Ditto.
9299 * c-tree.h (maybe_objc_method_name): Remove decl.
9301 2001-03-19 Tom Tromey <tromey@redhat.com>
9303 * gcc.c (init_gcc_specs): Fix comment.
9305 2001-03-19 Mark Mitchell <mark@codesourcery.com>
9307 Compute DECL_ASSEMBLER_NAME lazily.
9308 * tree.h (DECL_ASSEMBLER_NAME): Compute it lazily.
9309 (DECL_ASSEMBLER_NAME_SET_P): New macro.
9310 (SET_DECL_ASSEMBLER_NAME): Likewise.
9311 (COPY_DECL_ASSEMBLER_NAME): Likewise.
9312 (set_decl_assembler_name): Declare.
9313 (lang_set_decl_assembler_name): Likewise.
9314 * tree.c (lang_set_decl_assembler_name): New variab.e
9315 (set_decl_assembler_name): New function.
9316 (init_obstacks): Set lang_set_decl_assembler_name.
9317 (build_decl): Don't set DECL_ASSEMBLER_NAME.
9318 * c-decl.c (duplicate_decls): Use SET_DECL_ASSEMBLER_NAME,
9319 COPY_DECL_ASSEMBLER_NAME, etc. Don't set DECL_ASSEMBLER_NAME
9320 where it's not necessary.
9321 (builtin_function): Likewise.
9322 (finish_decl): Likewise.
9323 * dbxout.c (dbxout_type_methods): Likewise.
9324 * ggc-common.c (ggc_mark_trees): Likewise.
9325 * profile.c (output_func_start_profiler): Likewise.
9326 * varasm.c (make_decl_rtl): Likewise.
9328 * cse.c (find_comparison_args): Update documentation. Fix
9329 mishandling of COMPARE operations.
9331 * tree.def (ABS_EXPR): Add documentation.
9332 * fold-const.c (fold): Improve folding of ABS_EXPRs.
9334 2001-03-19 Zack Weinberg <zackw@stanford.edu>
9336 * Makefile.in (hash.o): Depend on $(GCONFIG_H), not $(CONFIG_H).
9338 2001-03-19 Jakub Jelinek <jakub@redhat.com>
9340 * crtstuff.c (init_dummy): Use CRT_END_INIT_DUMMY if defined.
9341 Remove ia32 linux PIC kludge and move it...
9342 * config/i386/linux.h (CRT_END_INIT_DUMMY): ...here.
9344 Mon Mar 19 18:53:54 CET 2001 Jan Hubicka <jh@suse.cz>
9346 * i386.md (absdf2 expander): Fix 64bit case.
9348 2001-03-19 Brad Lucier <lucier@math.purdue.edu>
9350 * Makefile.in: Have splay-tree.o depend on $(GCONFIG_H).
9352 2001-03-16 Andrew Haley <aph@cambridge.redhat.com>
9354 * config/ia64/libgcc-ia64.ver: Add __ia64_backtrace.
9356 2001-03-19 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
9358 * README.X11: Remove obsolete file.
9360 2001-03-18 Anthony Green <green@redhat.com>
9362 * config/pj/pj.h: Remove some trailing commas.
9363 (ASM_SPEC): Use -EB and -EL, not -mb and -ml.
9365 2001-03-18 Richard Henderson <rth@redhat.com>
9367 * defaults.h (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Move from ...
9368 * calls.c: ... here.
9369 * combine.c, expr.c, final.c, function.c toplev.c: Don't provide
9370 defaults for them here.
9372 2001-03-17 Anthony Green <green@redhat.com>
9374 * config/pj/lib1funcs.S: Fix broken comment.
9375 * config/pj/pj.h (LOCAL_LABEL_PREFIX): Prefix internal
9378 2001-03-18 Joseph S. Myers <jsm28@cam.ac.uk>
9380 * gcc.texi: Remove obsolete information relating to build and
9381 installation problems with enquire or the Pyramid C compiler.
9383 2001-03-17 Richard Henderson <rth@redhat.com>
9385 * dwarf2out.c (queue_reg_save): New.
9386 (flush_queued_reg_saves, clobbers_queued_reg_save): New.
9387 (dwarf2out_frame_debug_expr): Call queue_reg_save instead of
9389 (dwarf2out_frame_debug): Call flush_queued_reg_saves when needed.
9390 (cfa, cfa_store, cfa_temp): Make static.
9391 * final.c (final_scan_insn): Always call dwarf2out_frame_debug.
9393 2001-03-17 Richard Henderson <rth@redhat.com>
9395 * integrate.h (struct inline_remap): Add local_return_label.
9396 * integrate.c (expand_inline_function): Initialize it and emit
9397 it after copy_insn_notes.
9398 (copy_insn_list): Don't store local_return_label here.
9399 (copy_insn_notes): New function split out from copy_insn_list.
9401 2001-03-17 Richard Henderson <rth@redhat.com>
9403 * dwarf2out.c (lookup_filename): Emit .file if the assembler
9404 is generating .debug_line.
9405 (dwarf2out_init): Add main_input_filename to the file table first.
9406 * configure.in (as_dwarf2_debug_line): Test with file number 1
9407 instead of file number 0.
9409 Sat Mar 17 11:52:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9411 * combine.c (undobuf): Remove field previous_undos; all refs deleted.
9412 (gen_rtx_combine): Deleted; all references changed as appropriate.
9413 (gen_unary): Deleted; all refs changed to call simplify_gen_unary.
9415 * print-tree.c (print_node): Print DECL_NONADDRESSABLE_P.
9417 2001-03-17 David Billinghurst <David.Billinghurst@riotinto.com>
9419 * config/i386/xm-cygwin.h: Include <sys/cygwin.h. Remove unused
9422 2001-03-16 Jim Wilson <wilson@redhat.com>
9424 * config/ia64/ia64.c (ia64_compute_frame_size): If reg_fp is zero,
9425 then set it to LOC_REG (79) instead of aborting.
9427 2001-03-16 Phil Edwards <pme@sources.redhat.com>
9429 * gccbug.in: Remove high priority.
9431 2001-03-16 Richard Henerson <rth@redhat.com>
9433 * aclocal.m4 (gcc_AC_EXAMINE_OBJECT): Substitute leading od
9434 output with a space instead of deleting it.
9435 * configure: Regenerate.
9437 2001-03-16 Zack Weinberg <zackw@stanford.edu>
9439 * aclocal.m4 (gcc_AC_EXAMINE_OBJECT): New utility macro which
9440 handles the gory details of converting an object file into
9441 something that's safe to grep.
9442 (gcc_AC_C_COMPILE_BIGENDIAN): Rename to
9443 gcc_AC_C_COMPILE_ENDIAN. Use gcc_AC_EXAMINE_OBJECT. Put
9444 newlines at either end of the string we're looking for.
9445 Make 'checking ...' message less stilted.
9446 (gcc_AC_C_FLOAT_FORMAT): Use gcc_AC_EXAMINE_OBJECT. Handle
9447 ARM in-memory layout and its hypothetical converse. Don't
9448 define HOST_FLOAT_WORDS_BIG_ENDIAN unless it's different from
9449 HOST_WORDS_BIG_ENDIAN.
9451 * configure.in: Adjust for renamed macro. Move
9452 gcc_AC_C_FLOAT_FORMAT below gcc_AC_C_COMPILE_ENDIAN.
9453 * configure, config.in: Regenerate.
9455 2001-03-16 Laurynas Biveinis <lauras@softhome.net>
9457 * fixinc/Makefile.in: Set SHELL.
9459 2001-03-16 Laurynas Biveinis <lauras@softhome.net>
9461 * fixinc/fixincl.c (fix_with_system): Quote file names before
9462 passing them to shell.
9464 2001-03-16 Laurynas Biveinis <lauras@softhome.net>
9466 * Makefile.in: Use fix-header$(build_exeext) instead
9469 2001-03-16 Richard Henderson <rth@redhat.com>
9471 * dwarf2out.c: Revert most of 2000-11-25 and 2001-01-24 changes.
9472 (LN_PROLOG_AS_LABEL, LN_PROLOG_END_LABEL): New.
9473 (size_of_line_prolog): Remove.
9474 (output_line_info): Compute prologue size via label difference.
9475 (lookup_filename): Return "unspecified" for <internal> and <built-in>.
9477 * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Require that the
9478 assembler error when redefining file numbers.
9479 * config.in, configure: Rebuild.
9481 * dwarf2asm.c (dw2_asm_output_data): Mask data to the output size.
9482 (dw2_asm_output_data_uleb128): Use space not tab after .uleb128.
9483 (dw2_asm_output_delta_uleb128): Likewise.
9484 (dw2_asm_output_delta_sleb128): Similarly.
9485 (dw2_asm_output_data_sleb128): Similarly. Print number in decimal.
9487 2001-03-16 Michael Meissner <meissner@redhat.com>
9489 * mips.h (BITMASK_HIGH): Replacement for 0x80000000 that avoids
9491 (BITMASK_UPPER16): Replacement for 0xffff0000 that avoids
9493 (BITMASK_LOWER16): Replacement for 0x0000ffff.
9495 * mips.c (save_restore_insns): Use BITMASK_UPPER16/BITMASK_LOWER16
9496 instead of 0xffff0000/0x0000ffff to avoid warnings about constants
9497 being unsigned in ISO C and signed in traditional.
9498 (expand_prologue): Ditto.
9499 (RA_MASK): Use BITMASK_HIGH to avoid warnings.
9501 * mips.md (divmodsi4,divmodsi4): Use BITMASK_HIGH to avoid
9503 (divsi3,divdi3): Ditto.
9504 (modsi3,moddi3): Ditto.
9505 (fix_truncdfsi2,fix_truncdfdi2): Ditto.
9506 (fix_truncsfsi2,fix_truncsfdi2): Ditto.
9507 (movsi split): Use BITMASK_UPPER16/BITMASK_LOWER16 to avoid
9510 Fri Mar 16 14:47:57 CET 2001 Jan Hubicka <jh@suse.cz>
9512 * i386.c (ix86_expand_fp_movcc): Do not attempt to construct
9513 SSE based conditional moves on LTGT/UNEQ conditions;
9514 Canonicalize EQ to NE.
9515 * i386.md (sse_mov?fcc): Disallow EQ and NE in IEEE mode.
9516 (sse_mov?fcc_ne): New.
9518 * i386-protos.h (sign_extended_value, zero_extended_value): Declare.
9520 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
9522 * config/sh/sh.c (sh_expand_prologue): Insns that set up the PIC
9523 register may be dead.
9525 2001-03-16 Brad Lucier <lucier@math.purdue.edu>
9527 * Makefile.in (hash.o): Depend on CONFIG_H.
9529 2001-03-15 Mark Mitchell <mark@codesourcery.com>
9531 * dwarf2out.c (rtl_for_decl_location): Use DECL_RTL_IF_SET.
9533 2001-03-15 Richard Henderson <rth@redhat.com>
9535 * config/ia64/ia64.h (ASM_OUTPUT_DWARF_OFFSET): New.
9536 (ASM_OUTPUT_DWARF_PCREL): New.
9537 * config/ia64/hpux.h (ASM_OUTPUT_DWARF_OFFSET): Remove.
9539 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
9541 * cppfiles.c (stack_include_file): Use MAX of sysp.
9543 2001-03-15 Steve Ellcey <sje@cup.hp.com>
9545 * config.gcc (ia64*-*-hpux*): New case.
9546 * config/ia64/hpux.h: New file for HP-UX support.
9547 * config/ia64/t-hpux: New file for HP-UX support.
9549 2001-03-16 Bruce Korb <bkorb@gnu.org>, Alexandre Oliva <aoliva@redhat.com>
9551 * fixinc/inclhack.def (irix_stdio_va_list): New.
9552 * fixinc/fixincl.x: Rebuilt.
9554 2001-03-15 Richard Henderson <rth@redhat.com>
9556 * dwarf2asm.c (dw2_asm_output_offset): Use ASM_OUTPUT_DWARF_OFFSET
9557 if provided by the target.
9558 (dw2_asm_output_pcrel): Likewise with ASM_OUTPUT_DWARF_PCREL.
9559 (dw2_asm_output_addr): New.
9560 * dwarf2asm.h (dw2_asm_output_addr): Declare.
9561 * dwarf2out.c (output_cfi): Use it for program addresses.
9562 (output_call_frame_info, output_die): Likewise.
9563 (output_aranges, output_line_info): Likewise.
9565 2001-03-15 Bruce Korb <bkorb@gnu.org>
9567 * gcc.c(main): make more rigorous
9568 * collect2.c(main): guard against ignoring SIGCHLD
9569 * protoize.c(main): ditto
9570 * gcc/fixinc/fixincl.c(initialize): ditto
9572 2001-03-15 Mark Mitchell <mark@codesourcery.com>
9574 * sdbout.c (sdbout_symbol): Use DECL_RTL_SET_P, SET_DECL_RTL.
9575 (sdbout_parms): Likewise.
9577 Thu Mar 15 12:57:14 2001 Jeffrey A Law (law@cygnus.com)
9579 * reload1.c (reload_cse_simplify_set): For LOAD_EXTEND_OP, do not
9580 "widen" a destination that is already wider than a word. Also do
9581 not widen if LOAD_EXTEND_OP is NIL for the given mode.
9583 2001-03-15 Bernd Schmidt <bernds@redhat.com>
9585 * config/ia64/ia64.c (ia64_sched_reorder): Remove debugging aids.
9587 Thu Mar 15 11:30:31 EST 2001 John Wehle (john@feith.com)
9589 * i960.h (ROUND_TYPE_SIZE_UNIT): Fix typo.
9591 Thu Mar 15 11:24:29 EST 2001 John Wehle (john@feith.com)
9593 * i960.h (i960_maxbitalignment,
9594 i960_last_maxbitalignment): Declare.
9595 * i960.c (i960_maxbitalignment,
9596 i960_last_maxbitalignment): Make global.
9597 (process_pragma): Delete.
9598 (i960_pr_align, i960_pr_noalign): Move from here ...
9599 * i960-c.c: ... to this new file.
9600 * t-960bare (i960-c.o): New rule.
9601 * t-vxworks960 (i960-c.o): Likewise.
9602 * config.gcc (i960-*-*): Define c_target_objs and
9605 2001-03-15 Bernd Schmidt <bernds@redhat.com>
9607 * cselib.c (hash_rtx): For REG and MEM, just use value of expression
9608 without adding in rtx code and mode.
9610 * alias.c (init_alias_analysis): Don't use any rtx whose value
9611 varies as a known value.
9612 Delete a superfluous test.
9614 * config/ia64/ia64.c (maybe_rotate): New function, broken out of
9616 (ia64_sched_reorder): Call maybe_rotate; also rotate after
9617 scheduling a stop bit.
9618 (ia64_emit_nops): Correctly handle ASMs.
9620 2001-03-15 Mark Mitchell <mark@codesourcery.com>
9622 * varasm.c (assemble_variable): Use DECL_RTL_SET_P.
9624 2001-03-15 Neil Booth <neil@daikokuya.demon.co.uk>
9626 * cpp.texi: Update documentation for -include and -imacros.
9627 * cppfiles.c (struct include_file): Remove "defined" memeber.
9628 (find_or_create_entry): Make a copy of the file name, and
9630 (open_file): Update to ensure we use the simplified filename.
9631 (stack_include_file): Don't set search_from.
9632 (cpp_included): Don't simplify the path name here.
9633 (find_include_file): New prototype. Call search_from to
9634 get the start of the "" include chain. Don't simplify the
9636 (_cpp_execute_include): New prototype. Move diagnostics to
9637 do_include_common. Update.
9638 (_cpp_pop_file_buffer): Don't set defined.
9639 (search_from): New prototype. Use the preprocessor's cwd
9640 for files included from the command line.
9641 (read_name_map): Don't simplify the pathname here.
9642 * cpphash.h (enum include_type): New.
9643 (struct buffer): Delete search from. New search_cached.
9644 (_cpp_execute_include): Update prototype.
9645 * cppinit.c (do_includes): Use _cpp_execute_include.
9646 * cpplib.c (do_include_common): New function.
9647 (do_include, do_include_next, do_import): Use it.
9649 2001-03-14 Mark Mitchell <mark@codesourcery.com>
9651 * varasm.c (assemble_alias): Use DECL_ASSEMBLER_NAME, not the
9652 contents of the RTL, to determine the name of the object.
9654 2001-03-14 Mark Mitchell <mark@codesourcery.com>
9656 * tree.h (DECL_RTL): Allocate RTL lazily.
9657 (SET_DECL_RTL): New macro.
9658 (DECL_RTL_SET_P): Likewise.
9659 (COPY_DECL_RTL): Likewise.
9660 (DECL_RTL_IF_SET): Likewise.
9661 * varasm.c (make_decl_rtl): Add assertions about the kind of
9662 declaration we are processing.
9663 * c-decl.c (duplicate_decls): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc.
9664 (start_decl): Likewise.
9665 (finish_decl): Likewise.
9666 * c-semantics.c (emit_local_var): Likewise.
9667 * calls.c (expand_call): Likewise.
9668 * dbxout.c (dbxout_symbol): Likewise.
9669 * emit-rtl.c (unshare_all_rtl): Likewise.
9670 (unshare_all_decls): Likewise.
9671 (reset_used_decls): Likewise.
9672 * expr.c (store_constructor): Likewise.
9673 (safe_from_p): Likewise.
9674 (expand_expr): Likewise.
9675 * function.c (put_var_into_stack): Likewise.
9676 (instantiate_decls_1): Likewise.
9677 (assign_parms): Likewise.
9678 (expand_function_start): Likewise.
9679 (expand_function_end): Likewise.
9680 * ggc-common.c (gcc_mark_trees): Likewise.
9681 * integrate.c (function_cannot_inline_p): Likewise.
9682 (copy_decl_for_inlining): Likewise.
9683 (expand_inline_function): Likewise.
9684 (integrate_parm_decls): Likewise.
9685 (integrate_decl_tree): Likewise.
9686 * print-tree.c (print_node): Likewise.
9687 * reg-stack.c (stack_result): Likewise.
9688 * stmt.c (label_rtx): Likewise.
9689 (expand_return): Likewise.
9690 (expand_decl): Likewise.
9691 (expand_decl_cleanup): Likewise.
9692 (expand_anon_union_decl): Likewise.
9693 * toplev.c (check_global_declarations): Likewise.
9694 (rest_of_decl_compilation): Likewise.
9695 * tree.c (simple_cst_equal): Likewise.
9696 * objc/objc-act.c (generate_static_references): Likewise.
9698 2001-03-14 Zack Weinberg <zackw@stanford.edu>
9700 * aclocal.m4 (gcc_AC_C_CHARSET, gcc_AC_C_COMPILE_BIGENDIAN,
9701 gcc_AC_C_FLOAT_FORMAT): New macros.
9702 * configure.in: Add AC_PROG_CPP after CC tests;
9703 gcc_AC_C_CHARSET and gcc_AC_C_FLOAT_FORMAT after the sizeof
9704 tests; and gcc_AC_C_COMPILE_BIGENDIAN after gcc_AC_C_CHAR_BIT.
9705 * configure, config.in: Regenerate.
9707 * config/a29k/xm-a29k.h, config/arc/xm-arc.h,
9708 config/arm/xm-arm.h, config/c4x/xm-c4x.h,
9709 config/convex/xm-convex.h, config/d30v/xm-d30v.h,
9710 config/i370/xm-linux.h, config/i370/xm-oe.h,
9711 config/ia64/xm-ia64.h, config/m32r/xm-m32r.h,
9712 config/m68k/xm-m68k.h, config/mips/xm-mips.h,
9713 config/pa/xm-linux.h, config/pa/xm-pa.h,
9714 config/rs6000/xm-lynx.h, config/rs6000/xm-mach.h,
9715 config/rs6000/xm-rs6000.h, config/rs6000/xm-sysv4.h,
9716 config/sparc/xm-sparc.h, config/vax/xm-vax.h,
9717 config/we32k/xm-we32k.h: Delete.
9719 * config/i370/xm-mvs.h, config/m88k/m88k.h,
9720 config/romp/xm-romp.h, config/rs6000/xm-beos.h,
9721 config/vax/xm-vms.h: Don't define any of:
9722 HOST_FLOAT_FORMAT, HOST_EBCDIC, HOST_WORDS_BIG_ENDIAN
9724 * config/rs6000/aix.h: Define COLLECT_EXPORT_LIST here.
9726 * config.gcc: Remove references to deleted files.
9727 (i370-*-opened*): Use i370/xm-mvs.h (which now defines only
9728 FATAL_EXIT_CODE, which is the same between oe and mvs).
9730 2001-03-14 DJ Delorie <dj@redhat.com>
9731 Vladimir Makarov <vmakarov@redhat.com>
9733 * config/i960/i960.c (i960_function_prologue): Compute size of
9734 frame according to number of registers actually saved there.
9736 2001-03-14 Richard Henderson <rth@redhat.com>
9738 * expr.c (emit_move_insn_1): Fix else if around #endif.
9740 Wed Mar 14 22:39:12 CET 2001 Jan Hubicka <jh@suse.cz>
9743 * md.texi (machine constraints): Document 'Q', 'R', 'e' and 'Z'
9746 Wed Mar 14 22:26:10 CET 2001 Jan Hubicka <jh@suse.cz>
9748 * i386.c (ix86_cmodel_string, ix86_cmodel): Define.
9749 (override_options): Parse cmodel string.
9750 (x86_64_sign_extended_value, x86_64_zero_extended_value): New.
9751 * i386.h (TARGET_OPTIONS): Add "cmodel".
9752 (EXTRA_CONSTRAINT): Recognize 'e' and 'Z'.
9754 (ix86_cmodel_string, ix86_cmodel): Declare.
9756 Wed Mar 14 22:26:54 CET 2001 Jan Hubicka <jh@suse.cz>
9759 * i386.h (GENERAL_REG_P): Add missing REG_P.
9761 2001-03-14 Laurynas Biveinis <lauras@softhome.net>
9763 * configure.in: Use $gcc_cv_as instead of $as.
9764 * configure: Regenerated.
9766 2001-03-14 Neil Booth <neil@daikokuya.demon.co.uk>
9768 * cppfiles.c (stack_include_file): Only increase the include
9769 count if we actually process the file properly, as opposed
9770 to treating it as length zero. Only call read_include_file
9771 if not DO_NOT_REREAD. Handle the -H include file output
9773 (read_include_file): Remove now redundant DO_NOT_REREAD check.
9774 (cpp_included, find_include_file): Simplify pathnames after
9775 remapping them. If remapping, don't use the remapped file
9776 name's buffer as our scratch buffer.
9777 (cpp_pop_file_buffer): Replace the multiple include macro
9778 only if it isn't yet set.
9779 (read_name_map): Simplify remapped names when reading in.
9780 (remap_filename): Move code to code path that uses it.
9781 (_cpp_simplify_pathname): Return the input pointer.
9782 * cpphash.h (_cpp_simplify_pathname): Update prototype.
9784 2001-03-14 Mark Mitchell <mark@codesourcery.com>
9786 * expr.c (expand_expr): Revove bogus conditional.
9788 Wed Mar 14 19:29:50 CET 2001 Jan Hubicka <jh@suse.cz>
9790 * expr.c (emit_move_insn_1): Guard PUSH_ROUNDING use by ifdef.
9792 2001-03-14 Jakub Jelinek <jakub@redhat.com>
9794 * reg-stack.c (stack_result): Unconditionally use
9795 FUNCTION_OUTGOING_VALUE resp. FUNCTION_VALUE.
9797 Wed Mar 14 16:36:25 CET 2001 Jan Hubicka <jh@suse.cz>
9799 * expr.c (emit_move_insn_1): Split push of complex value when
9800 no suitable push instruction exist.
9802 * i386.md (QImode move/add/shift patterns): Use ANY_QI_REG_P
9803 instead of QI_REG_P.
9805 Tue Mar 13 22:22:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9807 * alias.c (handled_component_p, can_address_p): New functions.
9808 (get_alias_set): Use them.
9810 2001-03-13 Jim Wilson <wilson@redhat.com>
9812 * config/ia64/ia64.c (find_gr_spill): Subtract frame_pointer_needed
9813 from 80 in try_locals code.
9814 (ia64_expand_prologue): Add comment pointing to find_gr_spill change.
9816 2001-03-13 Zack Weinberg <zackw@stanford.edu>
9818 * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF, gcc_AC_C_CHAR_BIT,
9819 gcc_AC_C_LONG_LONG): New.
9820 * configure.in: Use them. Probe the size of short, int, long,
9821 and long long/__int64 if we have them. Move all the AC_C_*
9822 checks together, except gcc_AC_C_CHAR_BIT which has to go
9823 after AC_CHECK_HEADERS(limits.h).
9824 Take hwint.h out of host_xm_file and build_xm_file.
9826 * hwint.h: Unconditionally define HOST_BITS_PER_CHAR,
9827 HOST_BITS_PER_SHORT, HOST_BITS_PER_INT, HOST_BITS_PER_LONG,
9828 and HOST_BITS_PER_LONGLONG in terms of SIZEOF_* and CHAR_BIT.
9829 Move the HOST_WIDEST_INT setup logic here from system.h.
9830 Provide HOST_WIDEST_INT even if HOST_BITS_PER_LONGLONG is not
9832 * system.h: Include hwint.h after limits.h. HOST_WIDEST_INT
9833 is now handled by hwint.h.
9835 * config/alpha/xm-alpha-interix.h, config/alpha/xm-vms.h,
9836 config/c4x/xm-c4x.h, config/i370/xm-oe.h,
9837 config/ia64/xm-ia64.h: Don't define any of:
9838 HOST_BITS_PER_LONG, HOST_BITS_PER_CHAR, HOST_BITS_PER_SHORT,
9839 HOST_BITS_PER_LONGLONG.
9841 * config/alpha/xm-alpha.h, config/dsp16xx/xm-dsp16xx.h,
9842 config/h8300/xm-h8300.h, config/mips/iris6.h,
9843 config/mn10200/xm-mn10200.h, config/pa/xm-pa64hpux.h,
9844 config/sparc/xm-sp64.h: Delete.
9845 * config.gcc: Remove references to deleted files.
9847 * config/arm/xm-arm.h, config/mips/xm-mips.h: Don't define
9848 HOST_FLOAT_FORMAT to IEEE_FLOAT_FORMAT.
9849 * config/i370/xm-linux.h: Clarify floating-point situation in
9852 2001-03-13 Neil Booth <neil@daikokuya.demon.co.uk>
9854 * cppfiles.c (NO_INCLUDE_PATH): New macro.
9855 (find_include_file): Decide here which part of the include
9856 chain to start the search. Complain about an empty include
9857 chain in all cases apart from an abolsute file name.
9858 (_cpp_execute_include): Don't choose the search chain here.
9859 Don't call handle_missing_include in the case of an empty
9861 (_cpp_compare_file_date): Don't choose the search chain here.
9862 * cpplib.c (do_include_next): Move the in-main-file diagnostic
9863 here from _cpp_execute_include. Behave like #include if
9864 we're in the main file.
9866 2001-03-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9868 * system.h (malloc, realloc, calloc, strdup): Only poison these
9869 tokens when IN_GCC is defined.
9871 Tue Mar 13 14:38:44 CET 2001 Jan Hubicka <jh@suse.cz>
9873 * i386.md (abs?f expander): Support SSE case.
9874 (abd?f_if): Add new "USE"; add splitters.
9876 2001-03-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9878 * cpp.texi (poison): Explain the macro expansion exception.
9880 2001-03-13 Jakub Jelinek <jakub@redhat.com>
9882 * expr.c (store_expr): Add dont_store_target. If temp is already in
9883 target before copying to reg, don't store it into target again.
9885 2001-03-12 Neil Booth <neil@daikokuya.demon.co.uk>
9887 * cppinternals.texi: Update for file handling.
9889 2001-03-12 Jeffrey Oldham <oldham@codesourcery.com>
9891 * emit-rtl.c (remove_unnecessary_notes): Reverse Richard Kenner's
9892 2001-02-24 which broke building the Java library.
9893 * function.c (identify_blocks): Likewise.
9894 (all_blocks): Likewise.
9895 * integrate.c (integrate_decl_tree): Likewise.
9896 * print-tree.c (print_node): Likewise.
9897 * tree.h (BLOCK_NUMBER): Likewise.
9898 (struct tree_block): Likewise.
9900 2001-03-12 David Edelsohn <edelsohn@gnu.org>
9902 * rs6000/aix51.h (CPP_SPEC, CPLUSPLUS_CPP_SPEC): Fix typo in
9903 __WCHAR_TYPE__ definition.
9904 (WCHAR_TYPE_SIZE): #undef before #define.
9906 2001-03-12 Neil Booth <neil@daikokuya.demon.co.uk>
9908 * cppfiles.c: Update comments.
9909 (destroy_include_file_node): Rename destroy_node.
9910 (find_or_create_entry): New function.
9911 (open_file, _cpp_fake_include): Use it.
9912 (handle_missing_header): New function, broken out of
9913 _cpp_execute include. Don't segfault if there is no
9914 system or quoted path.
9915 (_cpp_execute_include): Use handle_missing_header.
9917 2001-03-12 Jeffrey Oldham <oldham@codesourcery.com>
9919 * jump.c (reversed_comparison_code_parts): Reverse Jan Hubricka's
9920 2001-02-28 patch because it breaks arm-linux and mips-sgi-irix6.5.
9922 Mon Mar 12 14:05:32 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9924 * flow.c (insn_dead_p): Don't consider two memrefs equivalent
9925 unless anti_dependence says they are.
9926 * alias.c (objects_must_conflict): If neither has a type specified,
9929 2001-03-12 Neil Booth <neil@daikokuya.demon.co.uk>
9930 David Billinghurst <David.Billinghurst@riotinto.com>
9932 * config/mips/iris5.h: Change WCHAR_TYPE to int.
9934 Mon Mar 12 16:32:21 CET 2001 Jan Hubicka <jh@suse.cz>
9936 * i386.md (trunctfdf2_2): Rename missnamed pattern.
9937 (*_one_bit): Remove type on the match_operand in attributes.
9939 Mon Mar 12 16:27:56 CET 2001 Jan Hubicka <jh@suse.cz>
9941 * i386.c: Commit forgotten hunk in previous patch.
9942 (regclass_map): Add extended registers.
9943 (dbx_register_map): Add missing frame register.
9945 Mon Mar 12 15:41:08 CET 2001 Jan Hubicka <jh@suse.cz>
9947 * i386.md (all XFmode patterns except swapxf): Disable for 64bit.
9949 * i386.md (x86_sahf_1): Disable for 64bit.
9950 (popsi*, pophi*): Likewise.
9951 (pushqi, pushhi): Likewise.
9952 (movdi, pushdi): Likewise.
9953 (zero extend DImode splitter): Likewise.
9954 (adddi, minusdi splitter): Likewise.
9955 (umulsidi): Likewise.
9957 (mulsidi): Disable for 64bit
9958 (lshift:DI/ashift:DI): Disable for 64bit.
9959 (loop patterns): Likewise.
9960 (call_pop, call_value_pop expanders and patterns): Likewise.
9961 (prologue_get_pc): Likewise.
9963 (fcmovDI pattern and splitter): Likewise.
9964 (movdfcc_1_rex64): New.
9966 Mon Mar 12 15:16:36 CET 2001 Jan Hubicka <jh@suse.cz>
9968 * i386.h (VALID_FP_MODE_P): XFmode is invalid on x86_64.
9969 (MODES_TIEABLE_P): QImodes and DImodes are tiable on x86_64.
9970 (HARD_REGNO_CALLER_SAVE_MODE): Save QImodes as QImodes for x86_64.
9971 (STATIC_CHAIN_REGNUM): Set to r10 for x86_64.
9972 (PIC_OFFSET_TABLE_REGNUM): Set to INVALID_REGNUM for x86_64.
9973 (LIMIT_RELOAD_CLASS): Avoid limiting of QImodes on x86_64.
9974 (SECONDARY_OUTPUT_RELOAD_CLASS): No need to QImodes.
9975 (PUSH_ROUNDING): x86_64 rounds to 64bits.
9976 (CONSTANT_ADDRESS_P): Accept CONST_DOUBLE.
9977 (REGPARM_MAX): Set to 6 for x86_64.
9978 (SSE_REGPARM_MAX): Set to 16 for x86_64.
9979 * i386.c (hard_regno_mode_ok): QImodes can be in all general purpose
9982 * (patterns that does use upper halves): Update constraints
9983 'q' to 'Q' and 'r' to 'R'.
9984 (cmpqi_ext_1): Disable for 64bit.
9985 (cmpqi_ext_3_insn): Likewise.
9986 (movqi_extzv_1): Likewsie.
9987 (addqi_ext_1): Liekwsie
9988 (testqi_ext_1): Liekwsie
9989 (andqi_ext_1): Liekwsie
9990 (xorqi_ext_1): Liekwsie
9991 (cmpqi_ext_1_rex64): New.
9992 (cmpqi_ext_3_insn_rex64): Likewise.
9993 (movqi_extzv_1_rex64): Likewsie.
9994 (addqi_ext_1_rex64): Liekwsie
9995 (testqi_ext_1_rex64): Liekwsie
9996 (andqi_ext_1_rex64): Liekwsie
9997 (xorqi_ext_1_rex64): Liekwsie
9999 2001-03-11 Zack Weinberg <zackw@stanford.edu>
10001 * configure.in: Move check for unsigned enumerated bitfields
10002 to macro in aclocal.m4. Disable it for now.
10003 * configure, config.in: Regenerate.
10004 * system.h: Don't do anything with ONLY_INT_FIELDS. Use the
10005 unsigned-int form of ENUM_BITFIELD() unless being compiled by GCC.
10006 * varasm.c (struct rtx_const): Use ENUM_BITFIELD(). Move enum
10007 kind above its first use.
10009 * config/xm-interix.h, config/alpha/xm-alpha.h,
10010 config/i370/xm-linux.h, config/i386/xm-beos.h,
10011 config/i386/xm-mingw32.h, config/mips/xm-mips.h,
10012 config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
10013 config/rs6000/xm-beos.h, config/rs6000/xm-sysv4.h,
10014 Don't define ONLY_INT_FIELDS under any circumstances.
10016 * config/pa/xm-pa.h: Don't define __BSD_NET2__.
10018 * config/pa/xm-pahpux.h, config/pa/xm-papro.h,
10019 config/sparc/xm-sysv4.h: Delete - now identical with some
10021 * config.gcc (hppa targets): Replace xm-pahpux.h and
10022 xm-papro.h with implicit xm-pa.h.
10023 (sparc targets): Replace xm-sysv4.h with implicit or explicit
10026 2001-03-12 Aldy Hernandez <aldyh@redhat.com>
10028 * reload1.c (reload_cse_simplify): Call reload_cse_simplify_set
10029 before reload_cse_noop_set_p.
10031 2001-03-11 Zack Weinberg <zackw@stanford.edu>
10033 * config.gcc: Where xm-host.h used to include another
10034 xm-host.h, list the nested header directly in xm_file. Remove
10035 references to deleted files. Can now use sparc/xm-sp64.h for
10036 sparcv9-*-solaris*.
10038 * config/xm-linux.h, config/arm/xm-linux.h,
10039 config/i386/xm-dos.h, config/i386/xm-gnu.h,
10040 config/i386/xm-linux.h, config/i386/xm-openbsd.h,
10041 config/i860/xm-fx2800.h, config/m68k/xm-atari.h,
10042 config/m68k/xm-linux.h, config/m68k/xm-sun3.h,
10043 config/sparc/xm-linux.h, config/sparc/xm-sysv4-64.h:
10046 * config/alpha/xm-alpha-interix.h: Don't include alpha/xm-alpha.h.
10047 * config/mips/xm-iris5.h: Don't include mips/xm-mips.h. Don't
10048 bother to wrap #undef in #ifdef.
10049 * config/pa/xm-linux.h, config/rs6000/xm-sysv4.h:
10050 Don't include xm-linux.h.
10051 * config/sparc/xm-sp64.h: Don't include sparc/xm-sparc.h.
10053 * configure.in: Wrap regexps using [] in changequote block.
10054 Use expr : not echo | grep. Simplify regexps.
10055 * configure: Regenerate.
10057 56 xm-files remain, 22 xm-arch.
10059 2001-03-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10061 * mips-tfile.c: Cast arg to PTR when specifier is HOST_PTR_PRINTF.
10062 (__proto, PTR_T, CPTR_T): Delete, use PARAMS/PTR instead.
10063 (local_index, local_rindex): Delete, use strchr/strrchr instead.
10064 (copy_object): Fix format specifier vs argument mismatch.
10066 * mips-tdump.c: Make local functions static.
10067 (rindex): Don't #undef.
10068 (__proto, PTR_T, CPTR_T): Delete, use PARAMS/PTR instead.
10069 (fatal, fancy_abort): Delete.
10070 (read_seek): Avoid signed/unsigned compare.
10072 Sun Mar 11 17:01:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10074 * combine.c (try_combine): Fix error in change to try original
10076 (gen_rtx_combine): Do same as gen_rtx for now.
10078 2001-03-11 Zack Weinberg <zackw@stanford.edu>
10080 * configure.in: AC_SUBST xm_defines.
10081 * configure: Regenerate.
10082 * Makefile.in: Set DEFINES=$(xm_defines) when building
10085 2001-03-11 Neil Booth <neil@daikokuya.demon.co.uk>
10087 * cppfiles.c (INCLUDE_LEN_FUDGE, ENOMEM): Delete.
10088 (cpp_included, find_include_file): Update.
10089 (_cpp_compare_file_date): Make else unconditional.
10091 2001-03-10 kaz Kojima <kkojima@rr.iij4u.or.jp>
10093 * config/sh/sh.h (LEGITIMATE_PIC_OPERAND_P): Defined.
10095 2001-03-10 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
10097 * config/sh/sh.md (umulhisi3_i, mulhisi3_i): Fix mnemonics.
10098 * config/sh/lib1funcs.asm (mulsi3): Convert mulu to mulu.w.
10100 Sat Mar 10 22:42:05 2001 Alexandre Oliva <aoliva@redhat.com>
10102 * tree.c (build_common_tree_nodes_2): Don't copy va_list_type_node
10103 if it's a record type.
10105 Sat Mar 10 17:52:54 2001 Christopher Faylor <cgf@cygnus.com>
10107 * config/i386/cygwin.h: Make ../w32api a system directory. Reorganize
10108 mingw includes slightly.
10110 2001-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10112 * system.h (malloc, realloc, calloc, strdup, bzero, bcmp, rindex):
10113 #undef token before poisoning it.
10115 2001-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10117 * alpha.c (check_float_value): Use memcpy, not bcopy.
10119 * m32r.c (m32r_sched_reorder): Likewise.
10121 * vax.c (check_float_value): Likewise.
10123 2001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
10125 * toplev.c (file_name_nondirectory): Remove.
10126 * toplev.h: Similarly.
10127 * dwarf2out.c (compute_section_prefix): Use lbasename instead
10128 of file_name_nondirectory.
10130 Sat Mar 10 10:36:45 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10132 * mips-tdump.c (read_seek): Call xmalloc, not malloc.
10133 * mips-tfile.c: Don't #undef rindex; not used.
10135 Sat Mar 10 14:34:59 CET 2001 Jan Hubicka <jh@suse.cz>
10137 * i386.h (DBX_REGISTER_NUMBER): Return proper values for 64bits.
10138 (dbx64_register_map): Declare.
10139 (RETURN_ADDR_RTX): Fix for 64bit.
10140 (DWARF_FRAME_RETURN_COLUMN): Set to 16 for 64bit.
10141 (INCOMING_FRAME_SP_OFFSET): Set to 8.
10142 * i386.c (dbx64_register_map): New global array.
10143 * beos-elf.h, freebsd.h, i386-interix.h, i386elf.h,
10144 linux.h (DBX_REGISTER_REGNUMBER): Use dbx64_register_map
10147 2001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
10149 * cppfiles.c (search_from): Use lbasename.
10150 * mkdeps.c (deps_add_default_target): Use lbasename.
10152 2001-03-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10154 * fixinc/server.c (load_data, run_shell): Use xmalloc, xrealloc &
10155 xcalloc in lieu of malloc, realloc & calloc.
10157 * gencheck.c (xmalloc): Use really_call_malloc, not malloc.
10159 * gengenrtl.c (xmalloc): Likewise.
10161 * gensupport.c (xcalloc, xrealloc, xmalloc): Use the
10162 really_call_* memory allocation routines.
10164 * stmt.c (check_for_full_enumeration_handling): Use
10165 really_call_calloc, not calloc.
10167 * system.h (really_call_malloc, really_call_calloc,
10168 really_call_realloc): Define.
10169 (malloc, realloc, calloc, strdup, bzero, bcmp, rindex): Poison.
10171 Fri Mar 9 18:39:19 2001 Jeffrey A Law (law@cygnus.com)
10173 * pa.md (builtin_longjmp): Rework slightly to work for PA64 too.
10175 2001-03-09 Nicola Pero <n.pero@mi.flashnet.it>
10177 * configure: Rebuilt.
10178 * configure.in: Only use `lang_requires' for languages athat are
10181 2001-03-09 Joseph S. Myers <jsm28@cam.ac.uk>
10183 * invoke.texi: Fix typo.
10184 * gcc.1: Regenerate.
10186 2001-03-09 Zack Weinberg <zackw@stanford.edu>
10188 * configure.in: Prune nonexistent files from build_xm_file,
10189 xm_file, and host_xm_file lists. Warn unless they're
10191 Don't generate *config.h here.
10192 AC_SUBST all variables needed to generate *config.h.
10193 * configure: Regenerate.
10194 * mkconfig.sh: New helper script, from code removed from
10196 * Makefile.in: Zap all MALLOC variables - no longer used
10197 anywhere, and malloc.c doesn't exist.
10198 Substitute in variables needed to generate *config.h.
10199 Stop lying about the dependencies contained in CONFIG_H and
10201 (HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
10202 (config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
10203 cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
10204 (all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
10205 $(TM_P_H), etc. as appropriate.
10207 * config.gcc: Zap references to deleted files.
10208 * ggc-none.c: Don't include rtl.h or tm_p.h.
10210 * config/i386/xm-beos.h, config/i386/xm-dgux.h,
10211 config/i386/xm-djgpp.h, config/i386/xm-dos.h,
10212 config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
10213 config/i386/xm-linux.h, config/i386/xm-linux.h,
10214 config/i386/xm-next.h, config/i386/xm-openbsd.h,
10215 config/i386/xm-sun.h, config/i386/xm-sysv3.h:
10216 Don't include i386/xm-i386.h.
10218 * config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
10219 config/i386/xm-i386.h, config/i860/xm-i860.h,
10220 config/i960/xm-i960.h, config/mcore/xm-mcore.h,
10221 config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
10222 config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
10223 Delete (empty except comments, #includes of other deleted
10224 files, and macros used nowhere).
10226 Fri Mar 9 20:05:27 CET 2001 Jan Hubicka <jh@suse.cz>
10228 * i386.h (MAX_WCHAR_TYPE_SIZE): New constant to keep tradcpp
10229 independent on TARGET_FLAGS.
10231 Fri Mar 9 19:52:52 CET 2001 Jan Hubicka <jh@suse.cz>
10233 * i386.h (FIRST_PSEUDO_REGISTER): Set to 53.
10235 (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ONES): Add
10237 (CONDITIONAL_REGISTER_USAGE): Set proper values according to
10239 (FIRST_REX_INT_REG, LAST_REX_INT_REG, FIRST_REX_SSE_REG,
10240 LAST_REX_SSE_REG): define.
10241 (enum reg_class): Add 'LEGACY_REGS'
10242 (REG_CLASS_CONTENTS): Likewise; add extended registers.
10243 (SSE_REGNO_P): Recognize extended registers.
10244 (ANY_QI_REG_P, REX_INT_REGNO_P, REX_INT_REG_P): New.
10245 (REG_CLASS_FROM_LETTER): Add 'R' and 'Q'.
10246 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P,
10247 REG_OK_FOR_BASE_NONSTRICT_P): Recognize REX registers.
10248 (REG_OK_FOR_STRREG_NONSTRICT_P, REG_OK_FOR_STRREG_STRICT_P,
10249 REG_OK_FOR_STRREG_P): Remove.
10250 (HI_REGISTER_NAMES): Add extended registers.
10251 (ADDITIONAL_REGISTER_NAMES): Likewise.
10252 (QI_REGISTER_NAMES): Add 8bit extended registers.
10253 (DEBUG_REG): Support extended registers.
10254 * i386.c (regclass_map): Add extended registers.
10255 (dbx_register-map): Likewise.
10256 (svr4_dbx_register_map): Likewise.
10257 (print_reg): Support extended registers.
10258 (print_operand): Support 64bit operands.
10260 Fri Mar 9 19:37:46 CET 2001 Jan Hubicka <jh@suse.cz>
10262 * i386.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 128bit for x86_64
10263 (BOOL_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
10264 FLOAT_TYPE_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE,
10265 DOUBLE_TYPE_SIZE, LONG_LONG_TYPE_SIZE): New constants.
10266 (BITS_PER_WORD, UNITS_PER_WORD, POINTER_SIZE, PARM_BOUNDARY,
10267 STACK_BOUNDARY): Set properly for 64bits.
10268 (MAX_BITS_PER_WORD, MIN_UNITS_PER_WORD): New constants.
10269 (EMPTY_FIELD_BOUNDARY): Define using BITS_PER_WORD.
10270 (BIGGEST_FIELD_ALIGNMENT): Set to 128 for 64bits.
10271 (MOVE_MAX): Set to 16.
10272 (MOVE_MAX_PIECES): 8 for 64bit.
10273 (Pmode): Set to SImode.
10275 Fri Mar 9 09:00:36 2001 Mike Stump <mrs@wrs.com>
10277 * cselib.c (hash_rtx): Ensure that hash isn't zero upon return.
10279 Fri Mar 9 17:38:08 CET 2001 Jan Hubicka <jh@suse.cz>
10281 * i386.h (mask_64bit): New constant.
10282 (target_64bit): New macro.
10283 (target_options): Add '64'/'32'
10284 (target_default): Define.
10285 * cygwin.h freebsd-aout.h i386-interix.h i386.h i386elf.h isc.h
10286 isccoff.h netbsd.h next.h openbsd.h p sco.h sco5.h scodbx.h sequent.h
10287 unix.h win32.h (TARGET_DEFAULT): Rename to TARGET_SUBTARGET_DEFAULT.
10289 Thu Mar 8 23:36:56 2001 Jeffrey A Law (law@cygnus.com)
10291 * config/pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Disable.
10293 Thu Mar 8 23:29:37 2001 John Wehle (john@feith.com)
10295 * rtlanal.c (rtx_varies_p): Check operand 0 of a
10296 LO_SUM unless for_alias is set.
10298 2001-03-08 Stan Shebs <shebs@apple.com>
10300 * objc/objc-act.c: Fix old typos in comments, add comments for
10302 (hash_init): Fix file name in error message.
10303 (hash_enter): Ditto.
10304 (hash_add_attr): Ditto.
10305 (continue_class): Ditto.
10307 2001-03-08 Bruce Korb <bkorb@gnu.org>
10309 gcc.c(main): ensure SIGCHLD handling is set to SIG_DFL so that
10310 wait4() can receive the signal.
10312 Thu Mar 8 21:09:10 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10314 * fixinc/inclhack.def (AAB_dgux_int_varargs): Don't use HTML
10316 * fixinc/fixincl.x: Regenerate.
10318 Thu Mar 8 21:09:10 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10320 * fixinc/inclhack.def (AAA_standards): Undo <standards.h> breakage
10322 * fixinc/fixincl.x: Regenerate.
10324 2001-03-08 Richard Henderson <rth@redhat.com>
10326 * configure.in (HAVE_AS_LEB128): New assembler check.
10327 * configure, config.in: Rebuilt.
10329 Thu Mar 8 19:54:04 CET 2001 Jan Hubicka <jh@suse.cz>
10331 * reg-stack.c (move_for_stack_reg): Avoid non-poping fst for
10334 2001-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10336 * config/ns32k/xm-pc532-min.h, config/we32k/xm-we32k.h: Delete
10337 references to the MAXPATHLEN macro.
10339 * config/alpha/xm-alpha.h, config/arm/xm-arm.h,
10340 config/i386/xm-cygwin.h, config/xm-linux.h: Delete references to
10343 * config/i386/xm-gnu.h, config/xm-gnu.h,
10344 config/alpha/xm-openbsd.h, config/i386/xm-openbsd.h,
10345 config/m68k/xm-openbsd.h, config/mips/xm-openbsd.h,
10346 config/sparc/xm-openbsd.h, config/xm-openbsd.h: Delete empty
10347 and/or unused files.
10349 * config.gcc: Define POSIX in xm_defines as appropriate in lieu of
10350 doing so in various xm-*.h files.
10352 Thu Mar 8 06:32:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10354 * config/i386/i386.md (clrstrsi): Call ix86_set_move_mem_attrs.
10356 2001-03-08 Alexandre Oliva <aoliva@redhat.com>
10358 * configure.in (enable_shared): Support per-package shared-library
10360 * configure: Rebuilt.
10362 2001-03-07 David Edelsohn <edelsohn@gnu.org>
10364 * rs6000.md (cr logic): Add original POWER mnemonic alternative
10365 for crnot. Set operands[5] in splitter.
10367 2001-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10369 * config/i370/xm-mvs.h, config/i370/xm-oe.h,
10370 config/i386/xm-beos.h, config/i386/xm-mingw32.h,
10371 config/m88k/xm-m88k.h, config/mips/xm-iris6.h,
10372 config/mips/xm-openbsd.h, config/pa/xm-pa64hpux.h,
10373 config/pa/xm-pahpux.h, config/rs6000/xm-beos.h,
10374 config/rs6000/xm-darwin.h, config/rs6000/xm-mach.h,
10375 config/rs6000/xm-rs6000.h, config/xm-interix.h: Delete references
10378 * config/vax/xm-vaxv.h, config/a29k/xm-unix.h,
10379 config/i370/xm-i370.h, config/i386/xm-dgux.h,
10380 config/i386/xm-sun.h, config/i386/xm-sysv3.h,
10381 config/m68k/xm-tower.h, config/m68k/xm-aux.h,
10382 config/m68k/xm-hp320.h, config/m68k/xm-amix.h,
10383 config/m68k/xm-altos3068.h, config/m68k/xm-mot3300.h,
10384 config/m68k/xm-m68kv.h, config/m88k/xm-openbsd.h,
10385 config/mips/xm-nws3250v4.h, config/mips/xm-sysv.h,
10386 config/mips/xm-iris3.h, config/mips/xm-iris4.h, config/xm-svr3.h,
10387 config/xm-svr4.h, config/sparc/xm-pbd.h, config/clipper/xm-clix.h:
10388 Delete unused and/or empty files.
10390 * config.gcc: Define USG in xm_defines as appropriate. Define
10391 POSIX in lieu of xm-svr4.h. Delete all references to the SVR3
10392 macro. Remove deleted xm-* files from $xm_files variable.
10394 2001-03-07 Tom Tromey <tromey@redhat.com>
10396 * configure: Rebuilt.
10397 * configure.in: Allow config-lang.in to set `lang_requires' to list
10398 of other required languages.
10400 2001-03-07 Andrew MacLeod <amacleod@redhat.com>
10402 * config/a29k/a29k.c (print_operand): Free a29k_last_prologue_insn
10404 (output_prologue): Use xmalloc not oballoc.
10405 (output_epilog): Free a29k_first_epilogue_insn when finished.
10406 * confif/a29k/a29k.h (PREDICATE_CODES): Remove shift_constant_operand.
10408 2001-03-07 Brad Lucier <lucier@math.purdue.edu>
10410 * builtins.c (expand_builtin_mathfn): Check
10411 flag_unsafe_math_optimizations, not flag_fast_math.
10412 (expand_builtin): Likewise
10413 * combine.c (combine_simplify_rtx): Likewise.
10414 (simplify_if_then_else): Likewise.
10415 * cse.c (fold_rtx): Likewise.
10416 * flags.h: Remove flag_fast_math. Add
10417 flag_unsafe_math_optimizations and flag_trapping_math.
10418 * fold-const.c (negate_expr): Check
10419 flag_unsafe_math_optimizations, not flag_fast_math.
10420 (invert_truthvalue): Likewise.
10421 (fold): Likewise. Before associating operands, check that
10422 code == MULT_EXPR, not code != MULT_EXPR.
10423 * ifcvt.c (noce_try_minmax): Check
10424 flag_unsafe_math_optimizations, not flag_fast_math.
10425 (noce_operand_ok): Check flag_trapping_math, not flag_fast_math.
10426 * invoke.texi: Document -funsafe-math-optimizations and
10427 -fno-trapping-math. Change documentation for -ffast-math.
10428 * jump.c (reversed_comparison_code_parts): Likewise.
10429 (rtx_equal_for_thread_p): Likewise.
10430 * optabs.c (emit_conditional_move): Likewise.
10431 * simplify-rtx.c (simplify_binary_operation): Likewise.
10432 (simplify_relational_operation): Likewise.
10433 (simplify_ternary_operation): Likewise.
10434 * toplev.c: Remove flag_fast_math. Add flag_trapping_math and
10435 flag_unsafe_math_optimizations. Remove fast-math entry from f_options.
10436 Add trapping-math and unsafe-math-optimizations entries to f_options.
10437 (set_fast_math_flags): New, sets flags for -ffast-math.
10438 (set_no_fast_math_flags): New, sets flags for -fno-fast-math.
10439 (decode_f_option): Add code to handle -ffast-math and -fno-fast-math.
10440 * toplev.h: Declare set_fast_math_flags and set_no_fast_math_flags.
10442 * config/alpha/alpha.c (alpha_emit_conditional_branch): Likewise.
10443 (alpha_emit_conditional_move): Initialize local_fast_math to
10444 flag_unsafe_math_optimizations, not flat_fast_math.
10445 * config/c4x/c4x.c (c4x_override_options): Call set_fast_math_flags
10446 instead of setting flag_fast_math to 1.
10447 * config/convex/convex.md: Check flag_unsafe_math_optimizations,
10448 not flag_fast_math.
10449 * config/i386/i386.c (override_options): Likewise
10450 * config/i386/i386.md: Likewise.
10451 * config/m68k/m68k.md: Likewise.
10452 * config/mips/mips.md: Likewise.
10453 * config/rs6000/rs6000.c (validate_condition_mode): Likewise.
10454 (rs6000_generate_compare): Likewise.
10456 2001-03-07 Laurynas Biveinis <lauras@softhome.net>
10458 * Makefile.in: Set RANLIB to @RANLIB@.
10459 Remove RANLIB_TEST.
10461 2001-03-07 Laurynas Biveinis <lauras@softhome.net>
10463 * fixinc/inclhack.def (djgpp_wchar_h): New test.
10464 * fixinc/fixincl.x: Regenerated.
10466 2001-03-07 Richard Henderson <rth@redhat.com>
10468 * config/alpha/alpha.md (call_osf_1_noreturn): New pattern.
10470 2001-03-07 Richard Henderson <rth@redhat.com>
10472 * emit-rtl.c (remove_unnecessary_notes): Verify proper nesting
10473 of block notes and exception handling notes.
10475 * lists.c (init_EXPR_INSN_LIST_cache): Don't check initialized.
10476 * toplev.c (rest_of_compilation): Call init_EXPR_INSN_LIST_cache ...
10477 (compile_file): ... here.
10479 2001-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10481 * fixinc/Makefile.in (FIXINC_DEFS): Add -DHAVE_CONFIG_H.
10483 * fixinc/gnu-regex.c: Don't include auto-host.h since we get
10484 config.h now. Include libiberty.h to handle alloca.
10486 2001-03-06 Zack Weinberg <zackw@stanford.edu>
10488 * c-parse.in (yylexname): New function, split out of _yylex.
10489 (objc_rid_sans_at): New table.
10490 (init_reswords): Initialize it.
10491 (_yylex): Give labels clearer names. Handle CPP_ATSIGN by
10492 retrieving the next token and checking it for significance as
10493 an ObjC keyword or string constant.
10495 * cpplex.c (_cpp_lex_token): Just return CPP_ATSIGN for '@'.
10496 * cpplib.h (TTYPE_TABLE): Add CPP_ATSIGN, drop CPP_OSTRING.
10498 * c-lex.c, c-parse.in, cppmacro.c, cpplex.c: Remove references
10501 2001-03-06 Stephen L Moshier <moshier@mediaone.net>
10503 * config/m68k/m68k.c (const_uint32_operand): Accept any
10504 const_int on a 32-bit host.
10506 2001-03-06 Nicola Pero <n.pero@mi.flashnet.it>
10508 * objc/objc-act.c (init_objc): Set save_lang_status,
10509 restore_lang_status, and mark_lang_status.
10511 2001-03-06 Krister Walfridsson <cato@df.lth.se>
10513 * dwarf2asm.c (dw2_asm_output_delta): Fix smallest_mode_for_size call.
10515 2001-03-06 Neil Booth <neil@daikokuya.demon.co.uk>
10517 * cppinternals.texi: Update.
10519 2001-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10521 * config/a29k/xm-a29k.h, config/a29k/xm-unix.h,
10522 config/alpha/xm-alpha.h, config/arc/xm-arc.h, config/arm/xm-arm.h,
10523 config/c4x/xm-c4x.h, config/clipper/xm-clix.h,
10524 config/convex/xm-convex.h, config/d30v/xm-d30v.h,
10525 config/dsp16xx/xm-dsp16xx.h, config/elxsi/xm-elxsi.h,
10526 config/h8300/xm-h8300.h, config/i370/xm-i370.h,
10527 config/i370/xm-linux.h, config/i370/xm-mvs.h, config/i370/xm-oe.h,
10528 config/i386/xm-i386.h, config/i860/xm-i860.h,
10529 config/i960/xm-i960.h, config/ia64/xm-ia64.h,
10530 config/m32r/xm-m32r.h, config/m68k/xm-m68k.h,
10531 config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
10532 config/mips/xm-mips.h, config/mn10200/xm-mn10200.h,
10533 config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
10534 config/pa/xm-linux.h, config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
10535 config/pa/xm-pahpux.h, config/pa/xm-papro.h, config/pj/xm-pj.h,
10536 config/romp/xm-romp.h, config/rs6000/xm-beos.h,
10537 config/rs6000/xm-lynx.h, config/rs6000/xm-rs6000.h,
10538 config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
10539 config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
10540 config/v850/xm-v850.h, config/vax/xm-vax.h, config/vax/xm-vms.h,
10541 config/we32k/xm-we32k.h: Delete HOST_BITS_PER_* definitions which
10542 match the defaults provided in hwint.h.
10544 * config/i386/xm-lynx.h, config/m68k/xm-lynx.h,
10545 config/sparc/xm-lynx.h, config/xm-std32.h: Delete files.
10547 * config.gcc (xm_file): Don't set to files which are deleted.
10549 * hwint.h: Provide default values for HOST_BITS_PER_*. No longer
10550 guard this file against these macros being undefined.
10552 2001-03-06 Zack Weinberg <zackw@stanford.edu>
10554 * objc/objc-act.c (objc_add_static_instance): Set DECL_INITIAL
10555 and DECL_DEFER_OUTPUT on the decl we create, before calling
10556 rest_of_decl_compilation.
10558 2001-03-06 Zack Weinberg <zackw@stanford.edu>
10560 * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE
10562 * configure, config.in: Regenerate.
10563 * config.gcc: Remove references to deleted files.
10565 * genattr.c, genattrtab.c, genextract.c, genoutput.c,
10566 genrecog.c, rtl.c: Do not use alloca anywhere.
10568 * Makefile.in, build-make, system.h, config/x-interix,
10569 config/x-svr4, config/xm-interix.h, config/xm-openbsd.h,
10570 config/alpha/xm-alpha.h, config/alpha/xm-vms.h,
10571 config/arc/xm-arc.h, config/arm/xm-arm.h,
10572 config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
10573 config/h8300/xm-h8300.h, config/i370/x-oe,
10574 config/i370/xm-linux.h, config/i386/x-aix, config/i386/x-beos,
10575 config/i386/x-ncr3000, config/i386/x-sco5,
10576 config/i386/xm-dgux.h, config/i860/x-sysv4,
10577 config/i960/xm-i960.h, config/m32r/xm-m32r.h,
10578 config/m68k/x-crds, config/m68k/x-dpx2, config/m68k/x-hp320,
10579 config/m68k/x-hp320g, config/m69k/x-mot3300,
10580 config/m68k/x-mot3300-gas, config/m68k/xm-amix.h,
10581 config/m68k/xm-hp320.h, config/m68k/xm-m68kv.h,
10582 config/m68k/xm-mot3300.h, config/m88k/x-dolph,
10583 config/m88k/x-sysv4, config/m88k/x-tekXD88,
10584 config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
10585 config/mips/x-iris, config/mips/x-iris3,
10586 config/mips/x-sni-svr4, config/mips/x-sysv,
10587 config/mips/xm-iris6.h, config/mips/xm-mips.h,
10588 config/mips/xm-nws3250v4.h, config/pa/x-hpux,
10589 config/pa/x-pa-mpeix, config/pa/xm-pa.h,
10590 config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h,
10591 config/pa/xm-papro.h, config/romp/xm-romp.h,
10592 config/rs6000/x-aix31, config/rs6000/x-aix41,
10593 config/rs6000/x-beos, config/rs6000/x-lynx,
10594 config/rs6000/x-mach, config/rs6000/x-rs6000,
10595 config/rs6000/x-sysv4, config/rs6000/xm-rs6000.h,
10596 config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
10597 config/sparc/x-sysv4, config/sparc/xm-linux.h,
10598 config/sparc/xm-pbd.h, config/sparc/xm-sparc.h,
10599 config/vax/xm-vms.h: Eradicate all references to alloca and
10602 * config/xm-alloca.h, config/clipper/x-clix,
10603 config/i386/xm-sysv4.h, config/i860/x-fx2800,
10604 config/i860/x-sysv3, config/m88k/x-sysv3,
10605 config/sparc/xm-sol2.h, config/we32k/x-we32k: Delete
10606 (contained only alloca related hacks).
10608 * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Just define
10611 2001-03-05 Brad Lucier <lucier@math.purdue.edu>
10613 * invoke.texi: Document __FAST_MATH__.
10615 2001-03-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10617 * crtstuff.c: Restore include of auto-host.h.
10619 2001-03-05 Fergus Henderson <fjh@cs.mu.oz.au>
10621 Put main() in a separate file, so that the language
10622 front-end can use a different main().
10625 * toplev.c: (main): Rename as toplev_main.
10626 * toplev.h: Declare toplev_main.
10627 * Makefile.in (OBJS): add toplev.o.
10628 (BACKEND): remove toplev.o, add main.o.
10630 2001-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
10632 * cppfiles.c (search_from): Special case the empty string.
10634 2001-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
10636 * cppfiles.c (_cpp_execute_include): Don't make a null-terminated
10637 copy of the filename. Don't use CPP_PREV_BUFFER. Don't call
10638 strlen or strcpy; we already know the length.
10639 (_cpp_compare_file_date): Similarly.
10640 * cpphash.h (struct cpp_reader): Delete done_initialising.
10641 (CPP_PREV_BUFFER): Delete.
10642 * cppinit.c (cpp_start_read): Don't set done_initialising.
10643 * cpplex.c (parse_string): Guarantee null-termination.
10644 (_cpp_equiv_toklists): Remove.
10645 * cpplib.c (glue_header_name): Null-terminate.
10646 (do_line): Don't leak memory.
10647 * cpplib.h (BT_WEAK): Delete.
10648 * cppmain.c (cb_ident): Strings are now null-terminated.
10650 2001-03-04 Laurynas Biveinis <lauras@softhome.net>
10652 * gcc.c (convert_filename): Append executable suffix
10653 if NO_AUTO_EXE_SUFFIX is not defined.
10654 * gcc.texi: Document NO_AUTO_EXE_SUFFIX.
10655 * config/i386/djgpp.h: Define NO_AUTO_EXE_SUFFIX.
10657 2001-03-03 David O'Brien <obrien@FreeBSD.org>
10659 from 2000-09-06 Zack Weinberg <zack@wolery.cumb.org>
10660 * c-parse.gperf, c-gperf.h: Delete.
10661 (c-gperf.h was accidently re-added to the CVS repo in the rev
10662 1.16 commit by tromey)
10664 2001-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
10666 * cpplex.c (_cpp_lex_token): Don't warn about directives in
10667 macro arguments when looking for the '('.
10668 * cppmacro.c (funlike_invocation_p): Set parsing_args to
10669 2 when really parsing arguments; 1 when looking for '('.
10670 Always restore the lexer position.
10672 2001-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
10674 * longlong.h (umul_ppmm): Don't use a multiline string.
10676 2001-03-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
10678 * fixinc/fixlib.h (t_bool): Add identifier `t_bool' in typedef.
10679 * fixinc/server.c (read_pipe_timeout): Use enum t_bool instead of
10680 t_bool in declaration because pcc can't combine volatile with typedef
10683 Sat Mar 3 19:47:13 CET 2001 Jan Hubicka <jh@suse.cz>
10685 * i386.c (ix86_expand_fp_compare): Delay creating of scratch register
10686 until when it is really needed.
10687 (ix86_expand_compare): Update call of ix86_expand_fp_compare.
10688 * i386.h (PREDICATE_CODES): Add all codes for sse_comparison_operator
10689 * i386.md (float?i?f splitter): Don't force source operand to memory
10691 (sse_movdfcc): Fix constraint.
10692 (sse_movdfcc splitter): Handle properly the second alternative.
10694 2001-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
10696 * cpplex.c (parse_string): Unconditionally pedwarn.
10698 2001-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
10700 * cpp.texi: Update.
10701 * cppexp.c (parse_number): Update.
10702 * cpplex.c (parse_string): Pedwarn if multiline string does not
10703 result from a system header's macro.
10704 * cpplib.h (sys_objmacro_p): Rename sys_macro_p.
10705 * cppmacro.c (sys_objmacro_p): Rename sys_macro_p. Return true
10706 for function-like macros too.
10707 * c-lex.c (lex_number): Update.
10709 2001-03-03 Richard Henderson <rth@redhat.com>
10711 * dwarf2out.c (output_call_frame_info): Fix augmentation length.
10713 Sat Mar 3 04:17:17 2001 J"orn Rennecke <amylaar@redhat.com>
10715 * combine.c (try_combine): If split with mode-changed scratch
10716 register didn't work, try the original mode.
10718 Sat Mar 3 03:46:47 2001 J"orn Rennecke <amylaar@redhat.com>
10720 * tm.texi: Change STRUCT_FORCE_BLK to MEMBER_TYPE_FORCES_BLK.
10721 * config/c4x/c4x.h: Likewise.
10722 * stor-layout.c (compute_record_mode): Likewise.
10723 (layout_type, case ARRAY_TYPE): Use MEMBER_TYPE_FORCES_BLK.
10725 2001-03-02 Zack Weinberg <zackw@stanford.edu>
10727 * configure.in: Kill tm.h. Include the files in the $tm_file
10728 list in all three of config.h, hconfig.h, tconfig.h, after the
10729 relevant set of xm_files. Put TARGET_CPU_DEFAULT in all
10730 three, include insn-codes.h in all three (#ifndef GENERATOR_FILE).
10731 * configure: Regenerate.
10732 * Makefile.in (clean): Don't delete tm.h.
10734 * system.h: If SUCCESS_EXIT_CODE and FATAL_EXIT_CODE are not
10735 defined, set them from EXIT_SUCCESS and EXIT_FAILURE. If
10736 those are not defined, set SEC and FEC to 0 and 1.
10737 * gcc.texi: Update to match.
10739 * crtstuff.c: Include tconfig.h, not auto-host.h and tm.h.
10740 * config/fp-bit.c, config/m68k/aux-crt2.asm,
10741 config/m68k/aux-crtn.asm, config/m68k/aux-mcount.c:
10742 Include tconfig.h, not tm.h.
10744 * config/xm-lynx.h, config/xm-std32.h,
10745 config/a29k/xm-a29k.h, config/a29k/xm-unix.h,
10746 config/alpha/xm-alpha.h, config/arc/xm-arc.h,
10747 config/avr/xm-avr.h, config/c4x/xm-c4x.h,
10748 config/clipper/xm-clix.h, config/convex/xm-convex.h,
10749 config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
10750 config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h,
10751 config/h8300/xm-h8300.h, config/i370/xm-linux.h,
10752 config/i386/xm-i386.h, config/i860/xm-i860.h,
10753 config/i960/xm-i960.h, config/ia64/xm-ia64.h,
10754 config/m32r/xm-m32r.h, config/m68hc11/xm-m68hc11.h,
10755 config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
10756 config/mips/xm-mips.h, config/mn10200/xm-mn10200.h,
10757 config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
10758 config/pa/xm-linux.h, config/pa/xm-pa.h,
10759 config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h,
10760 config/pa/xm-papro.h, config/pdp11/xm-pdp11.h,
10761 config/pj/xm-pj.h, config/romp/xm-romp.h,
10762 config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h,
10763 config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
10764 config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
10765 config/v850/xm-v850.h, config/vax/xm-vax.h,
10766 config/we32k/xm-we32k.h:
10767 Don't include tm.h.
10768 Don't define SUCCESS_EXIT_CODE or FATAL_EXIT_CODE.
10770 * config/i370/xm-i370.h, config/i370/xm-mvs.h,
10771 config/i370/xm-oe.h: Don't include tm.h. Don't define
10773 * config/vax/xm-vms.h: Don't include tm.h.
10775 * config/xm-lynx.h, config/avr/xm-avr.h,
10776 config/fr30/xm-fr30.h, config/pdp11/xm-pdp11.h,
10777 Delete; made empty by above changes.
10778 * config/i386/xm-lynx.h, config/m68k/xm-lynx.h,
10779 config/rs6000/xm-lynx.h, config/sparc/xm-lynx.h:
10780 Don't include config/xm-lynx.h or tm.h.
10782 * config/xm-gnu.h: Don't include fcntl.h.
10783 * config/sparc/xm-lynx.h: Don't include sys/types.h and
10785 * config/clipper/xm-clix.h, config/vax/xm-vax.h: Don't define isinf.
10787 2001-03-02 Richard Henderson <rth@redhat.com>
10789 * tm.texi (File Framework): Document UNALIGNED_SHORT_ASM_OP,
10790 UNALIGNED_INT_ASM_OP, and UNALIGNED_DOUBLE_INT_ASM_OP.
10792 2001-03-02 Richard Henderson <rth@redhat.com>
10794 * Makefile.in (OBJS): Add dwarf2asm.o.
10795 * dwarf2asm.c, dwarf2asm.h: New files.
10796 * dwarf2out.c (*): Use them.
10797 (size_of_uleb128, size_of_sleb128): Remove.
10798 (output_uleb128, output_sleb128): Remove.
10799 (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Remove.
10800 (UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Remove.
10801 (UNALIGNED_OFFSET_ASM_OP, UNALIGNED_WORD_ASM_OP): Remove.
10802 (FDE_LABEL, LINE_NUMBER_BEGIN_LABEL, LINE_NUMBER_END_LABEL): New.
10803 (ASM_OUTPUT_DWARF_DATA1, ASM_OUTPUT_DWARF_DELTA1): Remove.
10804 (ASM_OUTPUT_DWARF_DATA2, ASM_OUTPUT_DWARF_DELTA2): Remove.
10805 (ASM_OUTPUT_DWARF_DATA4, ASM_OUTPUT_DWARF_DELTA4): Remove.
10806 (ASM_OUTPUT_DWARF_DATA, ASM_OUTPUT_DWARF_DELTA): Remove.
10807 (ASM_OUTPUT_DWARF_ADDR, ASM_OUTPUT_DWARF_ADDR_DATA): Remove.
10808 (ASM_OUTPUT_DWARF_ADDR_DELTA, ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
10809 (ASM_OUTPUT_DWARF_OFFSET4, ASM_OUTPUT_DWARF_OFFSET): Remove.
10810 (ASM_OUTPUT_DWARF_CONST_DOUBLE): Remove.
10811 (ASM_OUTPUT_DWARF_NSTRING, ASM_OUTPUT_DWARF_STRING): Remove.
10812 (dwarf2out_frame_debug): Remove unused variables.
10813 (output_loc_operands): Don't abort on 8 byte constants if
10814 host integers are wide enough.
10815 (output_symbolic_ref): Remove.
10816 (size_of_die): Don't assume 4 byte host integers.
10817 (output_line_info): Use ASM_GENERATE_INTERNAL_LABEL for begin
10819 (add_const_value_attribute) [CONST_INT]: Verify we're not doing
10820 something stupid with HOST_WIDE_INT to long truncation.
10821 [CONST_DOUBLE]: Likewise.
10823 * config/arm/conix-elf.h (UNALIGNED_WORD_ASM_OP): Remove.
10824 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
10825 * config/arm/unknown-elf.h: Likewise.
10826 * config/rs6000/aix.h (UNALIGNED_SHORT_ASM_OP): New.
10827 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): New.
10828 (ASM_OUTPUT_DWARF_ADDR_VAR, ASM_OUTPUT_DWARF_DELTA_VAR): Remove.
10829 (ASM_OUTPUT_DWARF_DELTA2, ASM_OUTPUT_DWARF_DELTA4): Remove.
10830 (ASM_OUTPUT_DWARF_DELTA, ASM_OUTPUT_DWARF_ADDR_DELTA): Remove.
10831 (ASM_OUTPUT_DWARF_ADDR, ASM_OUTPUT_DWARF_DATA4): Remove.
10832 (ASM_OUTPUT_DWARF_DATA2, ASM_OUTPUT_DWARF_OFFSET4): Remove.
10833 (ASM_OUTPUT_DWARF_OFFSET): Remove.
10834 * config/rs6000/sysv4.h (ASM_OUTPUT_DWARF_ADDR): Remove.
10835 * config/sparc/sp64-elf.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
10836 (UNALIGNED_LONGLONG_ASM_OP, ASM_OUTPUT_DWARF_ADDR): Remove.
10837 (ASM_OUTPUT_DWARF_ADDR_CONST, ASM_OUTPUT_DWARF_REF): Remove.
10839 2001-03-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
10841 * cselib.c (hash_rtx): Cast enums to unsigned int.
10843 2001-03-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
10845 * print-rtl.c (print_rtx): Cast enums to int for comparison.
10846 * c-decl.c (grokdeclarator): Cast enums to int for comparison and
10848 * c-format.c (C_STD_VER): Cast to int for comparisons.
10849 (check_function_format): Cast various enums to int for &.
10850 (maybe_read_dollar_number): Likewise.
10851 (check_format_info): Likewise.
10852 (check_format_info_main): Likewise.
10853 * expr.c (emit_move_insn_1): Cast enums to unsigned int for comparison.
10854 (safe_from_p): Likewise.
10855 * varasm.c (const_hash): Cast enum to int for %.
10856 * emit-rtl.c (init_emit_once): Use int loop variable to work around
10857 pcc enum problems with < and ++ operators.
10858 * regclass.c (init_reg_sets_1): Cast enums for comparison.
10859 (choose_hard_reg_mode): Use unsigned int to iterate over CCmodes.
10860 (regclass_init): Change enum class to int to iterate over reg_classes.
10861 * genrecog.c (merge_trees): Cast enums for comparison.
10862 * rtl.h (GET_CODE): Cast to enum rtx_code.
10863 (PUT_CODE): Cast to ENUM_BITFIELD(rtx_code).
10864 (GET_MODE): Cast to enum machine_mode.
10865 (PUT_MODE): Cast to ENUM_BITFIELD(machine_mode).
10866 (GET_NOTE_INSN_NAME): Cast enum to int.
10867 * tree.h (TREE_CODE): Cast to enum tree_code.
10868 (TREE_SET_CODE): Cast VALUE to ENUM_BITFIELD(tree_code).
10869 * timevar.c (timevar_print): Change loop variable id from enum to
10871 * fixinc/fixincl.c (VLEVEL): Cast enums in comparison to unsigned int.
10872 * config/i386/i386.md: Use PUT_MODE for mode assignment.
10873 * toplev.c (compile_file): Cast enum DFI to int.
10874 (decode_d_option): Likewise.
10876 Fri Mar 2 12:18:13 2001 Christopher Faylor <cgf@cygnus.com>
10878 * cppinit.c (append_include_chain): Mark "after" include file name list
10879 as a system directory.
10880 * cpp.texi: Document new behavior.
10882 Fri Mar 2 11:59:43 CET 2001 Jan Hubicka <jh@suse.cz>
10884 * ifcvt.c (noce_operand_ok): Handle properly unarry operations.
10886 2001-03-02 Neil Booth <neil@daikokuya.demon.co.uk>
10888 * cppfiles.c (struct include_file): Update.
10889 (stack_include_file): Use search_from.
10890 (cpp_included, find_include_file): Update.
10891 (cpp_execute_include): Update. ptr->name may not be
10892 null terminated. Use the new search_from member variable
10894 (_cpp_compare_file_date): Similarly.
10895 (search_from): New function, similiar to actual_directory.
10896 (actual_directory): Delete.
10897 (remap_filename): Update. loc->name may not be null terminated.
10898 (struct file_name_list): Rename search_path. Update.
10899 * cpphash.h (struct cpp_buffer): Delete actual_dir. New members
10900 search_from and dir.
10901 (struct cpp_reader): Remove actual_dirs.
10902 * cppinit.c (struct cpp_pending): Update for renamed objects.
10903 (append_include_chain, remove_dup_dir, remove_dup_dirs,
10904 merge_include_chains, cpp_destroy, cpp_start_read): Similarly.
10905 * cpplib.h (struct cpp_options): Similarly.
10907 2001-03-01 Zack Weinberg <zackw@stanford.edu>
10909 * config/xm-lynx.h, config/xm-std32.h, config/a29k/xm-a29k.h,
10910 config/a29k/xm-unix.h, config/alpha/xm-alpha.h,
10911 config/arc/xm-arc.h, config/arm/xm-arm.h, config/c4x/xm-c4x.h,
10912 config/clipper/xm-clix.h, config/convex/xm-convex.h,
10913 config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
10914 config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h,
10915 config/h8300/xm-h8300.h, config/i370/xm-i370.h,
10916 config/i370/xm-linux.h, config/i370/xm-mvs.h,
10917 config/i370/xm-oe.h, config/i386/xm-aix.h,
10918 config/i386/xm-i386.h, config/i386/xm-osf.h,
10919 config/i860/xm-i860.h, config/i960/xm-i960.h,
10920 config/ia64/xm-ia64.h, config/m32r/xm-m32r.h,
10921 config/m68k/xm-m68k.h, config/m88k/xm-m88k.h,
10922 config/mcore/xm-mcore.h, config/mips/xm-mips.h,
10923 config/mn10200/xm-mn10200.h, config/mn10300/xm-mn10300.h,
10924 config/ns32k/xm-ns32k.h, config/pa/xm-linux.h,
10925 config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
10926 config/pa/xm-pahpux.h, config/pa/xm-papro.h,
10927 config/pj/xm-pj.h, config/romp/xm-romp.h,
10928 config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h,
10929 config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
10930 config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
10931 config/v850/xm-v850.h, config/vax/xm-vax.h,
10932 config/vax/xm-vms.h, config/we32k/xm-we32k.h:
10933 Do not define TRUE or FALSE.
10935 * config/i386/xm-aix.h, config/i386/xm-osf.h: Delete; made
10936 empty by above change.
10937 * config.gcc: Remove references to these files.
10939 * configure.in: Detect stdbool.h.
10940 * configure, config.in: Regenerate.
10941 * system.h: Include stddef.h here if available.
10942 Set HAVE__BOOL based on GCC_VERSION and __STDC_VERSION__.
10943 Then set up a sensible boolean type at the very end.
10945 * combine.c, cse.c, expr.c, fold-const.c, gensupport.c,
10946 config/mcore/mcore.c: Rename variables named 'true' and/or 'false'.
10948 * hash.h: Delete 'boolean' typedef and related #undefs.
10950 * function.c, ggc-common.c, hash.h, hash.c, tlink.c: Replace
10951 all uses of 'boolean' with 'bool'.
10953 2001-03-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
10955 * cpplib.c (_cpp_init_stacks): Cast enum for comparison.
10956 * cppexp.c (lex): Cast enums for comparison.
10957 * cppinit.c (parse_option): Cast enum for comparison.
10958 * cpplex.c (cpp_spell_token): Cast enums to int for minus.
10959 (cpp_output_token): Likewise.
10960 (cpp_can_paste): Cast enums for comparsion and plus/minus.
10961 (cpp_avoid_paste): Cast enums for minus and comparison.
10963 2001-03-01 Zack Weinberg <zackw@stanford.edu>
10965 * gcc.c, objc/lang-specs.h: Add zero initializer for cpp_spec
10966 field to all array elements.
10968 2001-03-01 Zack Weinberg <zackw@stanford.edu>
10970 * cpphash.h (struct cpp_reader): Add print_version field.
10971 * cppinit.c (cpp_handle_option): For -v, -version, and --version,
10972 just set print_version and other flags as appropriate.
10973 (cpp_post_options): Print version here if print_version is set.
10975 * toplev.c (exit_after_options): New flag.
10976 (independent_decode_option): Don't exit here; just set
10977 exit_after_options.
10978 (main): Exit after calling lang_hooks.post_options if
10979 exit_after_options is true.
10981 * cppinit.c (append_include_chain): Drop never-used case QUOTE.
10982 (merge_include_chains): Adjust comment to match code.
10984 2001-03-01 Zack Weinberg <zackw@stanford.edu>
10986 * stringpool.c (set_identifier): New function.
10987 * tree.h: Prototype it.
10989 * c-parse.in: Kill D_YES. If compiled for objc, call
10990 save_and_forget_protocol_qualifiers from init_reswords.
10991 * objc/objc-act.c (remember_protocol_qualifiers,
10992 forget_protocol_qualifiers): Don't diddle C_IS_RESERVED_WORD.
10993 Swap out the non-keyword IDENTIFIER_NODEs for keyword ones, or
10995 (save_and_forget_protocol_qualifiers): New function.
10996 * c-lex.h: Prototype save_and_forget_protocol_qualifiers.
10998 2001-03-01 Diego Novillo <dnovillo@redhat.com>
11000 * c-semantics.c (prune_unused_decls): Return error_mark_node
11001 instead of (tree) 1 to stop traversing the tree chain.
11003 2001-03-01 Bernd Schmidt <bernds@redhat.com>
11005 Fix a problem introduced by Kenner's Feb 18 change.
11006 * toplev.c (rest_of_compilation): Disable flag_cse_follow_jumps and
11007 flag_cse_skip_blocks only temporarily, not for ever.
11009 Thu Mar 1 09:49:58 2001 Jeffrey A Law (law@cygnus.com)
11011 * config/pa/som.h (ASM_IDENTIFY_GCC): Define.
11012 (ASM_IDENTIFY_GCC_AFTER_SOURCE): Likewise.
11014 * pa.c (emit_move_sequence): Verify operand0 is a hard register
11015 before determining its register class.
11017 2001-03-01 Bernd Schmidt <bernds@redhat.com>
11019 * config/ia64/ia64.c (ia64_hard_regno_rename_ok): Disallow renaming
11020 from reg 4 if current_function_calls_setjmp.
11021 (gen_nop_type): New function.
11022 (ia64_emit_nops): New function.
11023 (ia64_reorg): Call it.
11024 (ia64_sched_reorder): Move code that rotates bundles up a bit.
11026 * reload1.c (eliminate_regs_in_insn): Restrict the special case
11027 code not to try to optimize adds with anything but a REG destination.
11029 * sched-int.h (struct haifa_insn_data): Add new member priority_known.
11030 (INSN_PRIORITY_KNOWN): New accessor macro.
11031 * haifa-sched.c (priority): Use it instead of testing priority against
11034 2001-02-28 DJ Delorie <dj@redhat.com>
11036 * config/m68k/m68k.h (MOVE_BY_PIECES_P): Avoid pushing bytes,
11037 since that doesn't work the way gcc wants on a generic m68k.
11039 2001-02-28 Richard Henderson <rth@redhat.com>
11041 * caller-save.c (save_call_clobbered_regs): Fix typo in
11042 comparison last change.
11044 Wed Feb 28 19:31:42 CET 2001 Jan Hubicka <jh@suse.cz>
11046 * i386.c (pentium4_cost): New.
11047 (m_PENT4): New macro.
11048 (x86_push_memory, x86_movx,x86_cmove, x86_deep_branch, x86_use_sahf
11049 x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8
11050 x86_integer_DFmode_moves, x86_partial_reg_dependency,
11051 x86_memory_mismatch_stall): Add Pentium4
11052 (x86_use_q_reg, x86_use_any_reg): Kill.
11053 (override_options): Add pentium4.
11054 (incdec_operand): Return 0 for pentium4.
11055 (ix86_issue_rate): Add PROCESSOR_PENTIUM4 and PROCESSOR_ATHLON.
11056 * i386.h (x86_use_q_reg, x86_use_any_reg): Kill.
11057 (TARGET_PENTIUM4): Define.
11058 (enum processor_type): Add PROCESSOR_PENTIUM4.
11059 (CPP_CPU_DEFAULT_SPEC): Add pentium4 support.
11060 * i386.md (attribute "cpu"): Add pentium4.
11061 * invoke.texi (march): Add pentium4.
11063 Wed Feb 28 19:28:06 CET 2001 Jan Hubicka <jh@suse.cz>
11065 * i386.md (sse_mov?fcc*): New patterns and splitters.
11066 * i386.c (ix86_expand_movcc): Work post-reload; recognize
11067 the SSE based conditional moves.
11069 Wed Feb 28 19:18:23 CET 2001 Jan Hubicka <jh@suse.cz>
11071 * i386.md (attribute mode): Add "TI".
11072 (movsf_1): Add pxor support; remove constant propagation splitter.
11073 (movdf_integer): Likewise.
11074 (movdf_nointeger): Likewise.
11075 (movxf constant prop splitter): Handle all modes; update for SSE.
11076 * i386.h (CONST_DOUBLE_OK_FOR_LETTER): Add 'H' for SSE constants.
11077 * i386.c (standard_80387_constant_p): Rewrite.
11078 (standard_sse_constant_p): New.
11079 * i386-protos.h (standard_sse_constant_p): New.
11081 Wed Feb 28 19:05:37 CET 2001 Jan Hubicka <jh@suse.cz>
11083 * i386.md (sse_setccsf, sse_setccdf): New.
11084 (sse_cmp* patterns): Use '%D' instead of outputtting condition
11086 * i386.c (sse_comparison_operator): Accept the supported unordered
11087 comparses; be ready for fast_math.
11088 (print_operand): Support 'D'.
11090 Wed Feb 28 18:54:51 CET 2001 Jan Hubicka <jh@suse.cz>
11092 * jump.c (reversed_comparison_code): Kill.
11094 Wed Feb 28 18:50:15 CET 2001 Jan Hubicka <jh@suse.cz>
11096 * toplev.c (rest_of_compilation): Do post-reload splitting unconditionally
11099 Wed Feb 28 18:47:37 CET 2001 Jan Hubicka <jh@suse.cz>
11101 * i386.md (sse_andti3, sse_nandti_3, sse_xorti3): Add SSE2 versions;
11102 add missing '%' in constraints.
11104 Wed Feb 28 17:24:24 CET 2001 Jan Hubicka <jh@suse.cz>
11106 * c-common.c (build_common_tree_nodes): Build intTI_type_nodes
11107 for HOST_BITS_PER_WIDE_INT == 32 too.
11109 Wed Feb 28 17:22:35 CET 2001 Jan Hubicka <jh@suse.cz>
11111 * caller-save.c (reg_save_code, reg_restore_code): Index by mode, not
11113 (insert_save, insert_restore): New parameter save_mode.
11114 (init_caller_save): Update initialization of reg_save_code
11115 and reg_restore_code.
11116 (save_call_clobbered_regs): Compute save_modes and update calls to
11117 reg_save_code and reg_restore_code.
11118 (insert_restore): Unsignetize numbers; use save_modes to choose mode
11119 of spill; update use of reg_restore_code.
11120 (insert_save): Likewise.
11121 * i386.h (HARD_REGNO_CALLER_SAVE_MODE): Update.
11122 * c4x.h (HARD_REGNO_CALLER_SAVE_MODE): Update.
11123 * regs.h (HARD_REGNO_CALLER_SAVE_MODE): Likewise.
11125 Wed Feb 28 17:19:28 CET 2001 Jan Hubicka <jh@suse.cz>
11127 * ifcvt.c (noce_emit_store_flag, noce_try_store_flag_constants,
11128 noce_try_store_flag_inc, noce_try_store_flag_mask,
11129 noce_try_cmove_arith):
11130 Use reversed_comparison_code instead of reverse_comparison and
11131 can_reverse_comparison_p.
11133 Wed Feb 28 17:17:29 CET 2001 Jan Hubicka <jh@suse.cz>
11135 * jump.c (reversed_comparison_code_parts): Allow reversal of
11136 unordered compares in -ffast-math mode; reverse ordered compares
11137 for FP even w/o -ffast-math.
11139 2001-02-27 Richard Henderson <rth@redhat.com>
11141 * print-rtl.c (print_rtx) [i]: Don't print field five on
11142 NOTEs other than NOTE_INSN_DELETED_LABEL.
11144 2001-02-27 Zack Weinberg <zackw@stanford.edu>
11146 * mips/xm-iris4.h: Delete #if 0 block (there since before 1997).
11147 * pa/xm-linux.h, pa/xm-pa.h, pa/xm-papro.h: Don't declare errno.
11149 2001-02-27 Diego Novillo <dnovillo@redhat.com>
11151 * c-common.c (walk_stmt_tree): Visit the chain of the current tree
11152 even if walk_subtrees is 0.
11153 * c-semantics.c (prune_unused_decls): Return a non-null value to
11154 stop traversing the tree chain.
11156 2001-02-27 DJ Delorie <dj@redhat.com>
11158 * config/m68k/m68k.c (output_function_prologue): Save the new CFA
11159 register, *then* define it as the new CFA.
11161 Tue Feb 27 16:49:13 2001 Jeffrey A Law (law@cygnus.com)
11163 * pa.c (override_options): Promote -fpic to -fPIC.
11164 (legitimize_pic_address): Simplify due to removal of
11165 small PIC as a code generation option.
11166 (secondary_reload_class): Similarly.
11167 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Similarly.
11168 (PRINT_OPERAND_ADDRESS): Similarly.
11169 * pa.md (various patterns): Similarly.
11170 (small pic lo_sum pattern): Remove.
11172 Tue Feb 27 16:01:13 CET 2001 Jan Hubicka <jh@suse.cz>
11175 * md.texi (min, max): Document
11177 Tue Feb 27 15:51:35 CET 2001 Jan Hubicka <jh@suse.cz>
11179 * i386.md (movsf, movdf): Use movaps for reg-reg moves if
11180 TARGET_PARTIAL_REG_DEPENDENCY.
11181 (truncdfsf2_1_sse, truncdfsf2_2): Penalize the fpreg->mem case.
11183 Tue Feb 27 15:36:48 CET 2001 Jan Hubicka <jh@suse.cz>
11185 * i386.md (mins*, maxs*): New patterns, expanders and splitters.
11187 2001-02-26 Jeffrey Oldham <oldham@codesourcery.com>
11189 * mips.c (mips_make_temp_file): Fix thinko in last change.
11191 2001-02-26 Jason Eckhardt <jle@redhat.com>
11193 * combine.c (known_cond): Do not reverse the condition when
11194 SMAX/UMAX is being considered and the condition is for equality
11197 * testsuite/gcc.c-torture/execute/20010221-1.c: New test.
11199 2001-02-26 Philip Blundell <philb@gnu.org>
11201 * config.gcc: Remove obsolete targets "arm*-*-linuxoldld" and
11203 * config/arm/linux-elf.h: Remove historical relics related to
11204 above configurations.
11205 * config/arm/linux-oldld.h: Delete.
11206 * config/arm/linux-elf26.h: Delete.
11208 2001-02-26 Jason Merrill <jason@redhat.com>
11210 * c-decl.c (finish_decl): Set DECL_DEFER_OUTPUT on tentative file-scope
11212 * toplev.c (rest_of_decl_compilation): Check DECL_DEFER_OUTPUT to
11213 recognize a tentative definition. Lose obsolete code.
11215 * toplev.c (wrapup_global_declarations): Don't emit DECL_COMDAT
11216 variables unless necessary, either.
11218 2001-02-25 Richard Henderson <rth@redhat.com>
11220 * ifcvt.c (struct noce_if_info): Add test_bb.
11221 (noce_get_alt_condition): New.
11222 (noce_try_minmax, noce_try_abs): New.
11223 (noce_operand_ok): New.
11224 (noce_process_if_block): Use them.
11225 * rtlanal.c (may_trap_p): NEG and ABS can never trap.
11227 Sun Feb 25 14:26:17 2001 Christopher Faylor <cgf@cygnus.com>
11229 * config/i386/cygwin.h (CPP_SPEC): Add missing space before w32api
11232 2001-02-25 Zack Weinberg <zackw@stanford.edu>
11234 * config.gcc: Put back pa/t-openbsd and rs6000/t-openbsd.
11235 * config/mips/mips.c (mips_make_temp_file): Set temp_filename
11237 (mips_asm_file_end): Free temp_filename here.
11239 Sun Feb 25 08:34:23 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11241 * config/i386/i386-protos.h (ix86_set_move_mem_attrs): Move decl.
11242 * config/i386/i386.c (ix86_set_move_mem_attrs_1): Fix typo.
11244 * config/i386/i386.md (movstrsi): Handle FAIL case.
11246 2001-02-25 Neil Booth <neil@daikokuya.demon.co.uk>
11248 * cppinit.c (builtin_array): Update.
11249 (init_builtins): Flag builtins to warn if redefined or
11250 undefined. Define __GXX_WEAK as a normal macro.
11251 * cpplib.c (do_undef): Warn if flagged NODE_WARN.
11252 * cpplib.h (NODE_WARN): New flag.
11253 * cppmacro.c (builtin_macro): Remove handling of __GXX_WEAK__.
11254 Handle __STDC__ as a builtin only on Solaris.
11255 (warn_of_redefinition): Renamed from check_macro_definition.
11256 Reverse sense of test. Always warn if NODE_WARN.
11257 (_cpp_create_definition): Use warn_of_redefinition. Flag
11258 any macro beginning with "__STDC_" to require a mandatory
11259 warning if redefined or undefined.
11261 2001-02-24 Zack Weinberg <zackw@stanford.edu>
11263 * xm-interix.h, xm-lynx.h, alpha/xm-vms.h, convex/xm-convex.h,
11264 i370/xm-i370.h, i370/xm-linux.h, i370/xm-mvs.h, i370/xm-oe.h,
11265 i386/xm-beos.h, i386/xm-dos.h, i386/xm-mingw32.h,
11266 i860/xm-i860.h, m68k/xm-3b1.h, m68k/xm-amix.h, m68k/xm-aux.h,
11267 m68k/xm-crds.h, m68k/xm-mot3300.h, m88k/xm-sysv3.h,
11268 mips/xm-mips.h, rs6000/xm-beos.h, vax/xm-vms.h:
11269 Don't define any of:
11270 USE_PROTOTYPES, vfork, mktemp, SVR3, NO_SYS_PARAMS_H,
11271 P_tmpdir, MVS, NO_DBX_FORMAT, USE_STDARGS, STDC_HEADERS,
11272 NO_PRECOMPILES, i860, __PTR_TO_INT, __INT_TO_PTR, rindex,
11273 index, FULL_PROTOTYPES, AUX, R_OK, W_OK, X_OK, F_OK,
11274 STACK_DIRECTION, MIPS, MAX_READ_LEN, MAX_WRITE_LEN.
11276 * alpha/xm-alpha.h, clipper/xm-clix.h, d30v/xm-d30v.h,
11277 fr30/xm-fr30.h, i370/xm-linux.h: Remove commented-out macro
11280 * m68k/xm-3b1.h, m68k/xm-crds.h, m88k/xm-sysv3.h:
11281 Delete now-empty file.
11283 * alpha/vms.h: Define NEED_ATEXIT here...
11284 * alpha/xm-vms.h: ...not here.
11286 * i386/cygwin.h: Don't define PARAMS.
11287 * mips/mips.c: Don't prototype mktemp. Don't define
11288 P_tmpdir. Use make_temp_file to create temporary files.
11289 Don't be clever and delete temporary files early.
11290 * config.gcc: Drop references to deleted files. Don't define
11292 * gcc.texi: Don't mention USE_PROTOTYPES.
11294 Sat Feb 24 20:25:29 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11296 * config/i386/i386.c (ix86_set_move_mem_attrs): New function.
11297 (ix86_set_move_mem_attrs_1): Likewise.
11298 * config/i386/i386-protos.h (ix86_set_move_mem_attrs): New declaration.
11299 * config/i386/i386.md (movstrsi): Call it.
11301 2001-02-24 Zack Weinberg <zackw@stanford.edu>
11303 * config.gcc: Expunge references to alpha/t-pe, pa/t-openbsd,
11304 x-linux-aout, i386/t-go32, t-osf, m68k/x-m68kv,
11305 ns32k/xm-netbsd.h, rs6000/t-openbsd, rs6000/t-xnewas,
11306 rs6000/x-aix41-gld. These are nonexistent, empty, or obsolete.
11308 (i750a-*-*): Error here if hosting on i750a.
11309 (alpha*-*-winnt*, ix86-*-winnt3*): Remove stanzas entirely.
11311 * x-linux-aout, xm-freebsd.h, i386/beos-pe.h, ns32k/xm-netbsd.h:
11312 Remove (empty modulo comments).
11314 * 1750a/xm-1750a.h, alpha/config-nt.sed, alpha/win-nt.h,
11315 alpha/xm-winnt.h, i386/config-nt.sed, i386/os2.h,
11316 i386/t-winnt, i386/win-nt.h, i386/xm-freebsd.h, i386/xm-os2.h,
11317 i386/xm-winnt.h, m68k/x-alloca-c, m88k/x-dguxbcs,
11318 mips/x-netbsd, mips/x-nws3250v4, rs6000/t-xnewas,
11319 rs6000/t-xrs6000, rs6000/xm-cygwin.h: Remove (obsolete)
11321 * i386/crtdll.h, i386/cygwin.h, i386/mingw32.h:
11322 Remove reference to winnt.h in comment.
11323 * rs6000/t-newas, rs6000/t-rs6000: Override LIBGCC1_TEST to null.
11325 2001-02-24 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11327 * loop.c (check_dbra_loop): A biv has uses besides counting if it is
11328 used to set another biv.
11330 Sat Feb 24 06:45:21 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11332 * tree.h (BLOCK_DEAD): New macro.
11333 (struct tree_block): New flag, dead_flag.
11334 * print-tree.c (print_node, case 'b'): Print missing fields.
11335 * emit-rtl.c (remove_unnecessary_notes): Set BLOCK_DEAD.
11336 * function.c (identify_blocks): Enable test for misplaced notes.
11337 (all_blocks): Skip BLOCK_DEAD blocks.
11338 * integrate.c (integrate_decl_tree): Likewise.
11340 * errors.c (internal_error, trim_filename): New functions.
11341 (fancy_abort): Call internal_error.
11342 * errors.h (internal_error, trim_filename): New declarations.
11344 2001-02-24 Alexandre Oliva <aoliva@redhat.com>
11346 * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Reverted
11347 2000-08-26's patch.
11348 (EXTRA_CONSTRAINT): Formatting changes.
11350 2001-02-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11352 * rtl.c (rtl_check_failed_code2): Fix typo in last change.
11354 2001-02-23 Per Bothner <per@bothner.com>
11356 * gcc.c (record_temp_file, pfatal_with_name, error): Make non-static,
11357 so they can be called from java/jvspec.c.
11358 * gcc.h (record_temp_file, pfatal_with_name, error): Declare.
11360 Sat Feb 24 03:32:50 CET 2001 Jan Hubicka <jh@suse.cz>
11362 * i386.c (ix86_frame): New structure.
11363 (ix86_compute_frame_size): Kill.
11364 (ix86_compute_frame_layout): New.
11365 (ix86_save_reg): New.
11366 (ix86_can_use_return_insn_p): Use frame layout stuff.
11367 (ix86_expand_prologue): Likewise.
11368 (ix86_expand_epilogue): Likewise.
11369 (ix86_initial_elimination_offset): Likewise.
11370 (ix86_nsaved_regs): Use ix86_save_reg.
11371 (ix86_emit_save_regs): Likewise.
11373 Sat Feb 24 03:30:38 CET 2001 Jan Hubicka <jh@suse.cz>
11375 * flow.c (find_sub_basic_blocks): New function.
11376 (split_block): Be ready for basic block introduced by CODE_LABEL.
11377 (commit_one_edge_insertion): Call find_sub_basic_block.
11379 * flow.c (make_edges): Add edge from entry for blocks starting with
11380 label having ALTERNATE_NAME
11382 Sat Feb 24 03:19:42 CET 2001 Jan Hubicka <jh@suse.cz>
11384 * function.c (epilogue_done): Be ready for first basic block not
11385 containing PROLOGUE_END note.
11386 (reposition_prologue_and_epilogue_notes): Avoid placing
11387 PROLOGUE_END note between BASIC_BLOCK.
11389 Sat Feb 24 03:17:09 CET 2001 Jan Hubicka <jh@suse.cz>
11391 * loop.c (canonicalize_condition): Move to reversed_comparison_code.
11393 2001-02-21 DJ Delorie <dj@redhat.com>
11395 * config/i960/i960.h (FRAME_POINTER_REQUIRED): Revert removal of
11396 check for current_function_has_nonlocal_goto from 1999-11-12.
11398 Fri Feb 23 15:28:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11400 * diagnostic.c (trim_filename): No longer static.
11401 * toplev.h (trim_filename): Declare.
11402 * rtl.c (rtl_check_failed_bounds): Call internal_error.
11403 (rtl_check_failed_type1, rtl_check_failed_type2): Likewise.
11404 (rtl_check_failed_code1, rtl_check_failed_code2): Likewise.
11405 (rtvec_check_failed_bounds): Likewise.
11406 * tree.c (tree_check_failed, tree_class_check_failed): Likewise.
11408 * convert.c (convert_to_integer): Don't do unsigned unless result or
11409 both inputs are unsigned.
11411 * fold-const.c (fold_convert): Don't call size_int_type_wide if
11414 * c-decl.c (set_block): Set NAMES and BLOCKS from BLOCK.
11416 * varasm.c (output_constant): Recompute CODE after lang-specific fn.
11418 2001-02-23 Jeffrey Oldham <oldham@codesourcery.com>
11420 * Makefile.in (resource.o): Add params.h dependence.
11421 * params.def (MAX_DELAY_SLOT_LIVE_SEARCH): New parameter.
11422 * params.h (MAX_DELAY_SLOT_LIVE_SEARCH): Likewise.
11423 * resource.c: Add dependence on params.h.
11424 (current_live_regs): Fix explanatory comment.
11425 (find_basic_block): Add new parameter to permit limiting search
11427 (mark_target_live_regs): Add new argument to find_basic_block call.
11428 (incr_ticks_for_insn): Likewise.
11430 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
11432 * diagnostic.c (output_to_stream): Rename to
11433 output_buffer_to_stream. Loses the stream parameter.
11434 (init_output_buffer): Set diagnosic_buffer's stream.
11435 (flush_diagnostic_buffer): Adjust.
11436 (default_print_error_function): Likewise.
11437 (finish_diagnostic): Likewise.
11438 (verbatim): Likewise.
11440 * diagnostic.h (struct output_buffer): Add `stream' field.
11441 (output_buffer_attached_stream): New macro.
11443 2001-02-23 Jakub Jelinek <jakub@redhat.com>
11445 * fold-const.c (extract_muldiv) [case PLUS_EXPR]: If not MULT_EXPR,
11446 check if either operand is divisible by C.
11447 (multiple_of_p): Handle LSHIFT_EXPR with small constant shift.
11448 If type is signed, consider negative numbers as well.
11450 2001-02-22 Richard Henderson <rth@redhat.com>
11452 * config/ia64/crtbegin.asm (.fini): Use pc-relative relocs to
11453 reach .text instead of gp-relative relocs.
11454 * config/ia64/crtend.asm (.init): Likewise.
11456 2001-02-22 Andreas Jaeger <aj@suse.de>
11458 * extend.texi (C++ Attributes): Fix typo.
11460 2001-02-21 David Mosberger <davidm@hpl.hp.com>
11462 * config/ia64/ia64.c (ia64_epilogue_uses): For syscall_linkage
11463 functions, drop current_function_args_info.words test.
11464 (ia64_compute_frame_size): Mark syscall_linkage functions as
11465 using eight input registers.
11467 2001-02-21 Loren J. Rittle <ljrittle@acm.org>
11468 Bruce Korb <bkorb@gnu.org>
11470 * fixinc/inclhack.def (freebsd_gcc3_breakage): new fix
11471 * fixinc/README: Document how to convert sed substitutions
11472 to format style c_fix-es.
11473 * fixinc/fixincl.x: regen
11475 2001-02-21 Jeffrey D. Oldham <oldham@codesourcery.com>
11477 * gcc.c: Add comment explaining how to add a command-line option.
11478 Add title to specs language comment.
11480 2001-02-21 Jeffrey Oldham <oldham@codesourcery.com>
11482 * gcc.c (cc1_options): Add "-param".
11483 (DEFAULT_WORD_SWITCH_TAKES_ARG): Likewise.
11484 (option_map): Likewise.
11485 * toplev.c (display_help): Add entry for "--param".
11486 (independent_decode_option): Fix typographical error.
11488 Wed Feb 21 18:57:28 CET 2001 Catherine Moore <clm@redhat.com>
11489 Bernd Schmidt <bernds@redhat.com>
11490 Jan Hubicka <jh@suse.cz>
11492 * i386.c (function_arg_advance): Pass SSE arguments in registers.
11493 (function_arg): Likewise.
11495 Wed Feb 21 18:12:41 CET 2001 Jan Hubicka <jh@suse.cz>
11497 * i386.md (mmx_lshrdi3, mmx_ashldi3): Guard by unspec.
11499 2001-02-21 Kazu Hirata <kazu@hxi.com>
11501 * config/h8300/h8300.md (iorsi3): Do not output an extra newline
11503 (xorsi3): Likewise.
11505 Wed Feb 21 17:35:24 CET 2001 Jan Hubicka <jh@suse.cz>
11507 * flow.c (init_propagate_block_info): Canon address and use single_set
11508 for killing dead memory stores.
11510 2001-02-21 Jeffrey Oldham <oldham@codesourcery.com>
11512 * Makefile.in (reorg.o): Add params.h dependence.
11513 * params.def: Fix typographical error in comment.
11514 (MAX_DELAY_SLOT_INSN_SEARCH): New parameter.
11515 * params.h: Modify introductory comment.
11516 (MAX_DELAY_SLOT_INSN_SEARCH): New parameter.
11517 * reorg.c: Add dependence on params.h.
11518 (redundant_insn): Add parameterized throttle for search.
11519 (fill_simple_delay_slots): Add a comment explaining a variable.
11520 Move conditional out of loop, simplifying code.
11521 (fill_eager_delay_slots): Fix typographical error in comment.
11523 2001-02-20 Aldy Hernandez <aldyh@redhat.com>
11525 * tm.texi (REVERSE_CONDEXEC_PREDICATES_P): New macro documentation.
11527 * flow.c (ior_reg_cond): Use REVERSE_CONDEXEC_PREDICATES_P macro.
11528 (REVERSE_CONDEXEC_PREDICATES_P): Define macro.
11530 2001-02-21 Jason Merrill <jason@redhat.com>
11532 * tree.h (DECL_UNINLINABLE): Move from C++ frontend.
11533 (struct tree_decl): Add uninlinable bitfield.
11534 * c-decl.c (duplicate_decls): Set it.
11535 * integrate.c (function_cannot_inline_p): Check it.
11537 * dwarf2out.c (add_name_and_src_coords_attributes): Don't add
11538 DW_AT_MIPS_linkage_name to abstract methods.
11539 (dwarf2out_abstract_function): Emit class context before calling
11540 set_decl_abstract_flags. Don't clear DECL_ABSTRACT.
11541 (gen_subprogram_die): Remove obsolete code.
11542 (gen_member_die): Don't include clones in the member list.
11543 (gen_decl_die): Emit abstract info for clone origin.
11544 * dwarfout.c (output_type): Don't include clones in the member list.
11545 * dbxout.c (dbxout_type_methods): Ignore abstract methods.
11546 * toplev.c (note_deferral_of_defined_inline_function): Don't clear
11547 DECL_ABSTRACT on a function that already has it set.
11549 * dwarf2out.c (gen_formal_types_die): Also accept a FUNCTION_DECL.
11550 (get_subprogram_die): Pass it in.
11552 2001-02-21 Richard Earnshaw <rearnsha@arm.com>
11554 * flow.c (mark_set_1): Make not_dead unsigned long. For
11555 non-pseudos, use it as a bitmask of the hard regs that
11558 2001-02-21 Neil Booth <neil@daikokuya.demon.co.uk>
11560 * cppfiles.c: Update comments.
11561 (_cpp_read_file): Don't check for NULL filenames any more.
11562 * cppinit.c (cpp_start_read): Don't do canonicalization of
11563 in_fname and out_fname. Use the passed file name exclusively.
11564 (_cpp_handle_options): Don't treat "-" as a command line option,
11565 but as a normal filename.
11566 (_cpp_post_options): Canonicalize in_fname and out_fname.
11567 * cppmain.c (printer_init): Don't check out_fname for NULL.
11568 * c-lex.c (orig_filename): Rename cpp_filename for clarity.
11569 (init_c_lex): Update, and use "" to represent stdin to CPP.
11572 2001-02-20 Will Cohen <wcohen@redhat.com>
11574 * config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_usgl): New function.
11575 * config/pa/long_double.h (FIXUNS_TRUNCTFSI2_LIBCALL): Added.
11576 (INIT_TARGET_OPTABS): Use FIXUNS_TRUNCTFSI2_LIBCALL for
11577 fixunstfsi_libfunc.
11579 2001-02-20 Stan Shebs <shebs@apple.com>
11581 * config/rs6000/rs6000.c (output_cbranch): Output branches
11582 on separate lines instead of using ';' to separate.
11584 2001-02-20 Neil Booth <neil@daikokuya.demon.co.uk>
11586 * cppinit.c (set_lang): Move builtin handling to...
11587 (init_builtins): ...here.
11588 (_cpp_create_reader): Move call to set_lang.
11590 2001-02-20 Mark Mitchell <mark@codesourcery.com>
11592 * stmt.c (expand_return): If an attempt is made to return the
11593 error_mar_node, treat the return like a return without a value.
11595 2001-02-19 Zack Weinberg <zackw@stanford.edu>
11597 * sibcall.c (skip_copy_to_return_value): Call
11598 identify_call_return_value here, and return orig_insn if it
11599 returns zero. Hardret and softret arguments now unnecessary.
11600 (call_ends_block_p): Don't call identify_call_return_value here.
11602 * ggc-common.c (ggc_mark_rtx_children): No need to mark 'S' or
11603 's' slots in RTXen.
11604 * ggc-page.c, ggc-simple.c (ggc_mark_if_gcable): Delete function.
11605 * ggc.h (ggc_mark_if_gcable): Delete prototype.
11607 Mon Feb 19 20:30:16 2001 Jeffrey A Law (law@cygnus.com)
11609 * pa.c (move_operand): Accept code to load the address of a
11610 symbol out of the DLT as a valid move operand.
11611 (print_operand, case 'A'): New to handle generating a DLT
11612 reference for a LO_SUM expression.
11613 * pa.h (EXTRA_CONSTRAINT): Handle 'A' for DLT LO_SUM references.
11614 * pa.md (movsi, movdi patterns): Allow DLT LO_SUM references.
11616 2001-02-19 Joseph S. Myers <jsm28@cam.ac.uk>
11618 * README, cpp.texi, gcc.texi, version.c: Update version number to
11620 * cpp.1, gcov.1, gcc.1: Regenerate.
11622 2001-02-19 Neil Booth <neil@daikokuya.demon.co.uk>
11624 * cppfiles.c (stack_include_file): Generate dependencies
11625 here, and manage include_count here too.
11626 (PRINT_THIS_DEP): Delete.
11627 (_cpp_execute_include): Do not generate dependencies here,
11628 apart from the case of a missing header. Do not manage
11630 (_cpp_read_file): Leave dependency generation to
11631 stack_include_file.
11633 Mon Feb 19 10:17:47 2001 Jeffrey A Law (law@cygnus.com)
11635 * config.gcc (hppa*64*-*-hpux11*): Add MASK_GAS to
11636 target_cpu_default. Remove dead assignment to
11637 target_cpu_default.
11639 Mon Feb 19 16:47:39 CET 2001 Jan Hubicka <jh@suse.cz>
11641 * regclass.c (contains_reg_of_mode): Make global.
11642 (init_reg_sets): Remove contains_reg_of_mode; take into account
11643 CLASS_MAX_NREGS when looking for the proper mode.
11644 (dump_regclass): Dump only classes considered for the pseudo.
11645 (regclass): Use contains_reg_of_mode.
11647 Mon Feb 19 16:45:42 CET 2001 Jan Hubicka <jh@suse.cz>
11649 * gcc.c (do_spec_1): 'n' for printing notices.
11650 * i386.h (CC1_CPU_SPEC): Notice deprecated options as deprecated.
11652 Mon Feb 19 15:51:30 CET 2001 Jan Hubicka <jh@suse.cz>
11654 * reg-stack.c (next_flags_user): Use current_block->end
11655 (swap_rtx_condition): Look for next user if flags don't die;
11656 give up on CALL_INSNs; use current_block->end.
11658 Mon Feb 19 08:27:21 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11660 * sibcall.c (call_ends_block_p): New function.
11661 (optimize_sibling_and_tail_recursive_call): Use it.
11663 2001-02-18 Kazu Hirata <kazu@hxi.com>
11665 * config/h8300/h8300.md: Update copyright.
11666 (andsi3): Do not output an extra newline character.
11668 Sun Feb 18 15:45:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11670 * toplev.c (note_deferral_of_defined_inlined_function): Argument
11671 FNDECL may be unused.
11673 * toplev.c (rest_of_compilation): Don't have CSE skip blocks or
11674 follow jumps after first run.
11675 If -fexpensive-optimizations rerun CSE after GCSE and iterate until
11676 it doesn't change any jumps.
11678 Sun Feb 18 17:05:50 2001 Jeffrey A Law (law@cygnus.com)
11680 * Makefile.in (rtlanal.o): Depend on hard-reg-set.h.
11681 ($HOST_PREFIX_1)rtlanal.o: Remove rules for building
11682 (mostlyclean): Corresponding changes.
11683 * rtlanal.c (hard-reg-set.h): Include.
11684 (rtx_unstable_p): Do not treat the argument pointer specially
11685 if it is not a fixed register.
11686 (rtx_varies_p, rtx_addr_can_trap_p): Similarly.
11688 Sun Feb 18 15:45:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11690 * sibcall.c (optimize_sibling_and_tail_recursive_call): Compare
11691 against last real insn in basic block.
11692 Rework to avoid gotos.
11694 * Makefile.in (gcse.o): Now includes ggc.h.
11695 * gcse.c: Include ggc.h.
11696 (want_to_gcse_p): Verify expression can be in SET as valid insn.
11697 (try_replace_reg): Remove warning of uninitialize variable.
11698 (process_insert_insn): Call invalid_insn_p to validate insn.
11699 * recog.c (insn_invalid_p): Now global.
11700 See if can make valid by adding CLOBBERs of SCRATCH only and do if so.
11701 * recog.h (insn_invalid_p): New declaration.
11703 * jump.c (jump_optimize_1): Only define reversed_code #ifdef HAVE_trap.
11705 * config/sparc/sparc.c (eligible_for_epilogue_delay): Don't put
11706 assignments from FP constants since 'Y' output code can't handle it.
11707 (eligible_for_sibcall_delay): Likewise.
11709 * flow.c (print_rtl_and_abort_fcn): Renamed from print_rtl_and_abort.
11710 Call fancy_abort directly, passing args.
11711 (print_rtl_and_abort): Now a macro, like fancy_abort.
11713 * final.c (output_operand_lossage): Use internal_error, not error.
11715 2001-02-18 Shane Nay <shane@agendacomputing.com>
11717 * mips.c (mips_expand_prologue) Add REG_MAYBE_DEAD to
11718 structure shift insns.
11720 2001-02-18 Mark Mitchell <mark@codesourcery.com>
11722 * invoke.texi (-fsquangle): Remove documentation.
11723 (-fname-mangling-version): Likewise.
11725 2001-02-18 Lars Brinkhoff <lars@nocrew.org>
11727 * optabs.c (expand_abs): Remove reference to
11728 HAVE_contitional_arithmetic.
11729 * combine.c (simplify_set): Likewise.
11731 2001-02-18 Richard Henderson <rth@redhat.com>
11733 * ifcvt.c (dead_or_predicable): Don't move code if eh regions
11734 would be disrupted.
11736 2001-02-18 Richard Henderson <rth@redhat.com>
11738 * config/ns32k/ns32k.h (ADJSP): Upcase arguments.
11740 * config/alpha/alpha.md (movsi_fix): Fix typo in pattern name.
11742 * reload1.c (reload_cse_simplify_set): Fix typo.
11744 Sun Feb 18 09:30:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11746 * diagnostic.c (_fatal_insn): Decrement errorcount.
11748 * invoke.texi (-I): Add note avoiding use for system header files.
11750 * rtl.h (add_clobbers): Remove duplicate declaration.
11751 * recog.h (added_clobbers_hard_reg_p): New declaration.
11752 * genemit.c (struct clobber_pat): New field has_hard_reg.
11753 (gen_insn): Record if added clobbers clobber hard reg.
11754 (gen_split): Avoid unused warning if number of operands is 0.
11755 (output_added_clobbers_hard_reg_p): New function.
11758 2001-02-18 Alan Modra <alan@linuxcare.com.au>
11760 * pa.c (hppa_expand_prologue): Simplify code storing return
11761 pointer. For large (>=8k) frames with a post_store, adjust stack
11762 pointer by 8k-64 first rather than by 64. When testing with
11763 VAL_14_BITS_P, always use the actual value rather than the value
11764 negated. Add blockage to prevent scheduling of spills before
11765 stack frame has been created.
11766 (hppa_expand_epilogue): Simplify code loading return pointer.
11767 Allow a slightly larger range for merge_sp_adjust_with_load case.
11768 When testing with VAL_14_BITS_P, always use the actual value.
11770 * pa.c (pa_adjust_insn_length): Check that block move
11771 pattern is a set before looking at operands.
11773 2001-02-17 Mark Mitchell <mark@codesourcery.com>
11775 * fold-const.c (fold_binary_op_with_conditional_arg): New
11776 function, split out from ...
11778 * tree.def (COND_EXPR): Document the use of VOID_TYPE for
11779 conditional arms that throw exceptions.
11781 * print-tree.c (print_node): Do not use BLOCK_CHAIN when we're not
11782 looking at a BLOCK.
11784 2001-02-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11786 * aclocal.m4 (gcc_AC_CHECK_DECL): Before attempting the test,
11787 define HAVE_DECL_* to 1 to mask potential backup declarations.
11788 * configure: Regenerated.
11790 2001-02-17 Mark Mitchell <mark@codesourcery.com>
11792 * invoke.texi (-Woverloaded-virtual): Clarify documentation.
11794 2001-02-17 Richard Henderson <rth@redhat.com>
11796 * reload1.c (reload_cse_simplify_set): Respect LOAD_EXTEND_OP
11797 when replacing a memory load with a register.
11799 Sat Feb 17 14:48:30 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11800 Jan Hubicka <jh@suse.cz>
11802 * recog.c (validate_replace_src_1): New.
11803 (validate_replace_src_data): Likewise.
11804 (validate_replace_src): Use note_uses.
11805 * rtl.h (note_uses): Declare.
11806 * rtlanal.c (note_uses): New.
11808 Sat Feb 17 10:52:34 CET 2001 Jan Hubicka <jh@suse.cz>
11810 * reg-stack.c (stack_def): Make field reg unsigned.
11811 (remove_regno_note): Unsignetize parameter.
11813 2001-02-16 Jes Sorensen <jes@linuxcare.com>
11815 * ia64.c (errata_emit_nops): Add VOIDmode as second argument to
11816 shladd_operand() call.
11818 2001-02-16 Bruce Korb <bkorb@gnu.org>
11819 Rodney Brown <RodneyBrown@mynd.com>
11821 * fixinc/mkfixinc.sh: Use C fixincludes for UnixWare 7.
11822 * fixinc/inclhack.def: Add fixinc.svr4 patterns with matching
11823 machine restrictions
11824 * fixinc/fixincl.x: regen
11826 Fri Feb 16 12:41:30 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11828 * gcse.c (hash_scan_set): If cprop, see if REG_EQUAL or REG_EQUIV.
11830 (hash_scan_insn): Clean up calls to hash_scan_set.
11831 (compute_kill_rd): REGNO now unsigned.
11832 (try_replace_reg): Rework to use simplify_replace_rtx.
11833 (cprop_jump, cprop_cc0_jump): Likewise.
11834 (cprop_insn): Call find_reg_equal_equiv_note.
11835 Reflect changes to cprop_jump and cprop_cc0_jump.
11837 * recog.c (validate_replace_src): Replace in operands of
11838 ZERO_EXTRACT in SET_DEST.
11840 * cse.c (new_label_ref): New variable.
11841 (insert): Set it instead of recorded_label_ref.
11842 (cse_basic_block): Set recorded_label_ref if new_label_ref use, has
11843 CODE_LABEL for this function, and not already in REG_LABEL note.
11845 2001-02-16 Jeffrey Oldham <oldham@codesourcery.com>
11847 * resource.c (mark_referenced_resources): Fix typo in introductory
11849 * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Fix typo in
11852 2001-02-16 Jason Merrill <jason@redhat.com>
11854 * dwarf2out.c (add_bound_info): Don't crash if SAVE_EXPR_RTL is
11856 (gen_subprogram_die): Don't abort on seeing a second definition if
11857 the previous one was abstract. Don't replace an abstract instance
11858 in the lookup table.
11860 * dwarf2out.c (dwarf2out_abstract_function): Rename from
11861 gen_abstract_function.
11862 * dwarf2out.h: Declare it.
11863 * toplev.c (note_outlining_of_inline_function): New fn.
11864 * toplev.h: Declare it.
11865 * integrate.c (output_inline_function): Call it.
11866 * c-decl.c (duplicate_decls): Call it when redefining an extern
11867 inline. Don't inline the new defn.
11869 * tree.h (BLOCK_CHAIN): Use BLOCK_CHECK.
11871 2001-02-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11873 * .gdbinit: Rename to gdbinit.in.
11874 * gdbinit.in: New file,
11875 * configure.in: Generate .gdbinit from gdbinit.in.
11876 * configure: Regenerated.
11877 * Makefile.in (distclean): Always remove .gdbinit.
11879 2001-02-16 Jakub Jelinek <jakub@redhat.com>
11881 * objc/objc-act.c (start_class): Register implemented_classes with
11884 2001-02-16 Neil Booth <neil@daikokuya.demon.co.uk>
11886 * cppfiles.c (_cpp_make_system_header): Generate a file
11889 2001-02-15 Jim Meyering <meyering@lucent.com>
11891 * Makefile.in (install-common): Don't depend on installdirs here.
11892 Instead, make each of the lang.install-common targets (e.g.,
11893 c++.install-common in cp/Make-lang.in) depend on it.
11894 (install-driver): Depend on installdirs.
11896 Thu Feb 15 21:30:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11898 * flow.c (tidy_fallthru_edge): Never end block on line number NOTE.
11900 * function.c (assign_parms): Set RTX_UNCHANGING_P in pseudo when we
11903 2001-02-15 Mark Mitchell <mark@codesourcery.com>
11905 * invoke.texi (--param): Document.
11907 Thu Feb 15 15:16:38 2001 Alexandre Oliva <aoliva@redhat.com>
11909 * config/sh/sh.h (BOOL_TYPE_SIZE): Don't define.
11911 Thu Feb 15 10:52:31 CET 2001 Jan Hubicka <jh@suse.cz>
11913 * i386.md (extendsfdf2_2): Fix constraints.
11915 Thu Feb 15 09:46:21 CET 2001 Jan Hubicka <jh@suse.cz>
11917 * i386.md (fop_df_3 splitter): Fix operand number.
11919 Wed Feb 14 12:37:37 CET 2001 Jan Hubicka <jh@suse.cz>
11921 * invoke.texi (-mreg-alloc): Nuke.
11922 * i386.c (ix86_reg_alloc_order, regs_allocated,
11923 order_regs_for_local_alloc): Nuke.
11924 (override_options): Kill reg_alloc code.
11925 * i386.h (TARGET_OPTIONS): Kill reg-alloc.
11926 (REG_ALLOC_ORDER): SSE goes before I387.
11927 (ORDER_REGS_FOR_LOCAL_ALLOC): Kill.
11928 (ix86_reg_alloc_order): Likewise.
11929 * i386-protos.h (ix86_reg_alloc_order): Kill.
11931 2001-02-14 Richard Henderson <rth@redhat.com>
11933 * toplev.c (f_options): Clarify -fschedule-insns2 documentation.
11935 Wed Feb 14 11:59:58 CET 2001 Jan Hubicka <jh@suse.cz>
11937 * i386.h (RETURN_IN_MEMORY): Fix formating; reject TFmodes
11939 Wed Feb 14 11:12:38 CET 2001 Jan Hubicka <jh@suse.cz>
11941 * i386-protos.h (ix86_memory_move_cost): Move offline.
11942 * i386.c (ix86_register_move_cost): Compute properly cost of
11943 SSE, MMX and i387 instructions.
11944 (*_cost): Add costs of SSE/MMX moves.
11945 (ix86_memory_move_cost): Move offline from ....; Likewise.
11946 * i386.h (MEMORY_MOVE_COST): .... here;
11947 (struct processor costs): Add new fields to represent costs
11950 Wed Feb 14 10:08:26 CET 2001 Jan Hubicka <jh@suse.cz>
11952 * regclass.c (init_reg_sets_1): Reinstall the optimization of
11953 move_cost together with Matt Kraai's fix.
11955 2001-02-14 Jeffrey Oldham <oldham@codesourcery.com>
11957 * Makefile.in (OBJS): Add params.o.
11959 2001-02-14 Richard Henderson <rth@redhat.com>
11960 DJ Delorie <dj@redhat.com>
11962 * jump.c (jump_optimize_1): When we delete a conditional jump
11963 preceeding a non-conditional jump to effectively the same place,
11964 make sure that the combined jump skips any clobber insns between
11967 2001-02-14 Jeffrey Oldham <oldham@codesourcery.com>
11969 * gcc.c (do_spec_1): Fix off-by-one error for '%M' case.
11971 2001-02-14 Mark Mitchell <mark@codesourcery.com>
11973 * Makefile.in (toplev.o): Depend on params.h.
11974 (intergate.o): Likewise.
11975 (params.o): New target.
11976 * flags.h (inline_max_insns): Remove.
11977 * integrate.c: Include params.h.
11978 Use MAX_INLINE_INSNS instead of inline_max_insns.
11979 * params.c: New file.
11980 * params.h: Likewise.
11981 * params.def: Likewise.
11982 * toplev.c: Include params.h.
11983 (lang_independent_params): New variable.
11984 (decode_f_option): Use the param machinery instead of setting
11986 (independent_decode_option): Handle "--param name=value".
11987 (main): Register language-independent parameters.
11989 Wed Feb 14 11:13:45 CET 2001 Jan Hubicka <jh@suse.cz>
11991 * i386.md (pushsf, pushdf_nointeger): Fix constraint.
11993 2001-02-14 Richard Henderson <rth@redhat.com>
11995 * regclass.c (init_reg_sets_1): Revert last two changes.
11997 2001-02-14 Jakub Jelinek <jakub@redhat.com>
11999 * stor-layout.c (is_pending_size, put_pending_size): New functions.
12000 (variable_size): Call put_pending_size.
12001 * tree.h (is_pending_size, put_pending_size): Add prototypes.
12002 * fold-const.c (extract_muldiv): If SAVE_EXPR is on the pending
12003 sizes list, put newly created SAVE_EXPR there as well.
12005 2001-02-14 Jakub Jelinek <jakub@redhat.com>
12007 * config/ia64/ia64.c (last_group): Only 2 entries are needed.
12008 (errata_find_address_regs): load_group has only 2 entries.
12009 (errata_emit_nops): Likewise. shladd is not problematic.
12010 Clear last_group if nop was emitted.
12011 (fixup_errata): load_group has only 2 entries.
12014 2001-02-14 Neil Booth <neil@daikokuya.demon.co.uk>
12016 * c-lex.c (lex_number): Only warn traditionally for U suffix
12017 outside system macros.
12018 * cppexp.c (parse_number): Similarly.
12019 * cpplib.h (NODE_SYSHDR, cpp_sys_objmacro_p): New.
12020 * cppmacro.c (struct cpp_macro): New member node.
12021 (parse_args): Only warn about missing rest args if not
12023 (funlike_invocation_p): Similarly for uninvoked funlike macros.
12024 (cpp_sys_objmacro_p): New.
12025 (_cpp_create_definition): Store the node with the macro defn.
12026 Remember if the macro is defined in a system header.
12028 2001-02-13 DJ Delorie <dj@redhat.com>
12030 * configure.in (check_languages): determine languages to check
12031 * Makefile.in (check-c++): alias for check-g++
12032 (check-f77): alias for check-g77
12033 (CHECK_TARGETS): depend on configured languages
12035 Wed Feb 14 01:13:59 CET 2001 Jan Hubicka <jh@suse.cz>
12037 * i386.md (fixsfsi2, fixdfdi2): Fix previous patch again.
12038 (sqrtsf2): Use TARGET_SSE instead of TARGET_SSE2)
12039 (sqrtsf2 patterns): Use 'x' instead of 'Y'.
12040 (sqrtextendsfdf2): Disable for SSE2.
12042 Wed Feb 14 00:19:28 CET 2001 Jan Hubicka <jh@suse.cz>
12044 * i386.md (fixsfsi2, fixdfdi2): Fix previous patch again.
12045 (sqrtsf2): Use TARGET_SSE instead of TARGET_SSE2)
12046 (sqrtsf2 patterns): Use 'x' instead of 'Y'.
12047 (sqrtextendsfdf2): Disable for SSE2.
12049 Wed Feb 14 00:11:20 CET 2001 Jan Hubicka <jh@suse.cz>
12051 * i386.md (movsfcc_1): Support integer cmove instruction.
12052 (movdfcc_1): Likewise; new splitter.
12054 Tue Feb 13 23:19:27 CET 2001 Jan Hubicka <jh@suse.cz>
12056 * i386.c (output_fp_compare): Support SSE.
12057 (prepare_fp_compare_args): SSE comparisons always support memory.
12058 * i386.h (TARGET_CMOVE): SSE imply cmove.
12059 * i386.md (cmp?f2): Enable for SSE too.
12060 (cmpfp_i*): Support SSE.
12061 (cmpfp_i_sse): New.
12062 (cmpfp_i_sse_only): New.
12063 (s*, b* fp expanters): Enable for SSE too.
12064 (fp_jcc_1_sse, fp_jcc_1_sse_only, fp_jcc_2_sse, fp_jcc_2_sse_only):
12067 Tue Feb 13 23:05:42 CET 2001 Jan Hubicka <jh@suse.cz>
12069 * regclass.c (init_reg_sets_1): Silence warning.
12071 Tue Feb 13 22:03:07 CET 2001 Jan Hubicka <jh@suse.cz>
12073 * i386.md (sqrt?f2): Change to expander.
12074 (sqrt?f2_1, sqrt?f2_sse_only, sqrt?f2_i387): New.
12076 Tue Feb 13 15:42:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12078 * rtlanal.c (find_reg_equal_equiv_note): New function.
12079 * simplify-rtx.c (simplify_gen_unary, simplify_gen_ternary): New fns.
12080 (simplify_gen_relational, simplify_replace_rtx): Likewise.
12081 * rtl.h: Add declarations for above functions.
12083 Tue Feb 13 21:09:11 CET 2001 Jan Hubicka <jh@suse.cz>
12085 * cse.c (cse_main): Converts ifdefs on PIC_OFFSET_TABLE_REGNUM to
12087 * defaults.h (PIC_OFFSET_TABLE_REGNUM): Default to INVALID_REGNUM.
12088 * emit-rtl.c (init_emit_once): Convert ifdefs to conditionals.
12089 * flow.c (mark_regs_live_at_end): Likewise.
12090 (calculate_global_regs_live): Likewise.
12091 * gcse.c (compute_hash_table): Likewise.
12092 (compute_kill_rd): Likewise.
12093 * resource.c (mark_target_live_regs): Likewise.
12094 * rtl.h (INVALID_REGNUM): New macro.
12096 Tue Feb 13 20:59:22 CET 2001 Jan Hubicka <jh@suse.cz>
12098 * i386.md (fixsfsi2, fixdfdi2): Fix previous patch.
12100 Tue Feb 13 16:32:20 CET 2001 Jan Hubicka <jh@suse.cz>
12102 * i386.md (fixsfsi2, fixdfdi2): Force operand to register
12105 Tue Feb 13 14:53:16 CET 2001 Jan Hubicka <jh@suse.cz>
12107 * i386.md (add?f3, sub?f3, mul?f3, dif?f3): Enable for TARGET_SSE(2)
12109 (fop_sf_comm, fop_df_comm, fop_sf_1, fop_df_1): Support SSE.
12110 (fop_sf_comm_sse, fop_df_comm_sse): New patterns.
12111 (fop_sf_1_sse, fop_df_1_sse): New patterns
12112 (fop_*): Disable float_extend and float patterns for SSE compilation.
12113 * i386.c (output_387_binary_op): Support SSE.
12115 Tue Feb 13 14:16:34 CET 2001 Jan Hubicka <jh@suse.cz>
12117 * i386.md (dummy_extendsfdf2): Support SSE2
12118 (extendsfdf2): Enable if 80387 or SSE2.
12119 (extendsfdf2_1): Support SSE2. Disable if SSE2 is avialble
12120 and no MIX_I387_SSE2
12121 (extendsfdf2_1_sse_only): New pattern.
12122 (truncdfsf2): Enable if SSE2 or 80387; Always use SSE only version
12124 (truncdfsf2_1): Support SSE.
12125 (truncdfsf2_2): Support SSE.
12126 (truncdfsf2_2_1_sse): New pattern.
12127 (fixtruncsfsi2): Always use SSE if available.
12128 (fix_truncsfsi_sse): New pattern.
12129 (fix_truncdfsi_sse): New pattern.
12130 (floatsis?f2): Support SSE.
12131 (floatsidf2_i387): New pattern.
12132 (floatsidf2_sse): Likewise.
12134 Tue Feb 13 07:52:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12136 * configure.in: Use "have_gnat" variable, not "gnat".
12137 * configure: Regenerated.
12139 * config/sparc/sparc.c (function_value): Treat all non-record
12140 aggregate types like used to treat UNION_TYPE.
12142 Tue Feb 13 13:31:33 CET 2001 Jan Hubicka <jh@suse.cz>
12144 * i386.c (print_reg): Use ANY_FP_REG instead of FP_REG
12145 * i386.h (MASK_128BIT_LONG_DOUBLE): Renumber
12147 (MASK_MIX_SSE_I387): New.
12148 (TARGET_SSE): SSE2 imply SSE.
12149 (TARGET_SSE2, TARGET_MIX_SSE_I387): New.
12150 (TARGET_SWITCHES): Add "sse2", "mix-sse-i387".
12151 (enum reg_class): Add new classes.
12152 (REG_CLASS_NAMES): Likewise.
12153 (REG_CLASS_CONTENTS): Likewise.
12154 (ANY_FP_REG_P, ANY_FP_REGNO_P, SSE_REG_P, SSE_FLOAT_MODE): New macros.
12155 (REG_CLASS_FROM_LETTER): 'x' and 'y' is SSE_REGS only when SSE is
12156 supported. Add 'Y' to be SSE_REGS when SSE2 is supported.
12157 (CLASS_MAX_NREGS): Use new macros.
12158 (REGISTER_MOVE_COST): Rewrite using SECONDARY_MEMORY_MAYBE_NEEDED.
12159 * i386.md (pushsf, movsf): Support SSE.
12160 (pushdf_nointeger, pushdf_integer, pushdf): Support SSE, update
12161 splitters to use ANY_FP_REGNO_P.
12162 (movdf_nointeger, movdf_integer): Likewise.
12164 2001-02-13 Alexandre Oliva <aoliva@redhat.com>
12166 * combine.c (UWIDE_SHIFT_LEFT_BY_BITS_PER_WORD): New macro.
12167 (try_combine): Use it.
12169 Tue Feb 13 11:37:06 CET 2001 Jan Hubicka <jh@suse.cz>
12171 * i386.h (SSE_CLASS_P, MMX_CLASS_P, MAYBE_FLOAT_CLASS_P,
12172 MAYBE_SSE_CLASS_P, MAYBE_MMX_CLASS_P): New macros.
12173 (PREFERRED_RELOAD_CLASS, SECONDARY_MEMORY_NEEDED): Move offline.
12174 (REGISTER_MOVE_COST): Likewise.
12175 * i386-protos.h (ix86_secondary_memory_needed,
12176 ix86_preferred_reload_class, ix86_register_move_cost): Declare.
12177 * i386.c (ix86_secondary_memory_needed,
12178 ix86_preferred_reload_class, ix86_register_move_cost): New function.
12180 Die Feb 13 11:04:25 CET 2001 Jan Hubicka <jh@suse.cz>
12182 * i386.h (VALID_FP_MODE_P, VALID_INT_MODE_P): New.
12183 (HARD_REGNO_MODE_OK): Move offline to ....
12184 * i386.c (ix86_hard_regno_mode_ok) ... here;
12185 refuse all incorrect modes.
12186 * i386-protos.h (ix86_hard_regno_mode_ok): Declare.
12188 2001-02-13 Richard Henderson <rth@redhat.com>
12190 * sparc.md (cmp_cc_arith_op_set): Don't use match_dup on the
12191 entire operator; replicate that and match_dup the operands.
12192 (cmp_ccx_arith_op_set): Likewise.
12193 (cmp_cc_arith_op_not_set): Likewise.
12194 (cmp_ccx_arith_op_not_set): Likewise.
12196 2001-02-13 Alexandre Oliva <aoliva@redhat.com>
12198 * explow.c (trunc_int_for_mode): Sign-extend value to mode.
12200 2001-02-12 Geoffrey Keating <geoffk@redhat.com>
12202 * config/rs6000/sysv4.h (MASK_NO_BITFIELD_WORD): New macro.
12203 (TARGET_NO_BITFIELD_WORD): New macro.
12204 (SUBTARGET_SWITCHES): Add -mbit-word, -mno-bit-word options.
12205 (BITFIELD_NBYTES_LIMITED): Define based on TARGET_NO_BITFIELD_WORD.
12207 Mon Feb 12 18:13:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12209 * cselib.c: New file, from simplify-rtx.c.
12210 * simplify-rtx.c: Remove cselib parts.
12211 * Makefile.in: Add cselib.o.
12213 2001-02-12 Geoffrey Keating <geoffk@redhat.com>
12215 * config/rs6000/rs6000.c (rs6000_float_const): Remove warning.
12216 (setup_incoming_varargs): Remove warning.
12218 * config/rs6000/rs6000.c (validate_condition_mode): When
12219 flag_fast_math, allow floating-point conditionals to be reversed.
12220 (rs6000_generate_compare): When flag_fast_math, don't generate
12221 cror operations for FP conditionals.
12223 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Handle
12225 (ASM_SPEC): Likewise.
12226 (CC1_ENDIAN_LITTLE_SPEC): Likewise.
12227 (CC1_SPEC): Likewise.
12228 (LINK_TARGET_SPEC): Likewise.
12229 (CPP_ENDIAN_SPEC): Likewise.
12230 * Makefile.in (check-consistency): New target.
12232 2001-02-12 Joseph S. Myers <jsm28@cam.ac.uk>
12234 * c-decl.c (grokdeclarator): In C99 mode, give the more specific
12235 "return type defaults" warning for functions with return type
12237 * c-lang.c (c_init): In C99 mode, enable warnings for implicit
12238 function declarations by default rather than only when pedantic.
12240 Mon Feb 12 17:28:48 CET 2001 Jan Hubicka <jh@suse.cz>
12242 * regclass.c (init_reg_sets_1): Optimize calculation of move_cost
12245 2001-02-12 Nathan Sidwell <nathan@codesourcery.com>
12247 * extend.texi (Deprecated): Deprecate new initializer lists.
12249 2001-02-12 Nathan Sidwell <nathan@codesourcery.com>
12251 * mkdeps.c (deps_add_default_target): Robustify. Add
12252 basename component only.
12253 * cpp.texi (-M): Describe how default target is generated.
12254 * invoke.texi (-M): Likewise.
12256 2001-02-12 Kazu Hirata <kazu@hxi.com>
12258 * toplev.c (push_float_handler): Remove.
12259 (pop_float_handler): Remove.
12260 * toplev.h: Remove prototypes for the above functions.
12262 2001-02-12 Jakub Jelinek <jakub@redhat.com>
12264 * c-common.c (constant_fits_type_p): New function.
12265 (convert_and_check): Use it.
12267 2001-02-11 Mark Mitchell <mark@codesourcery.com>
12269 * Makefile.in (GXX_ABI_FLAG): Don't define.
12270 * configure.in (--enable-new-gxx-abi): Remove option.
12271 * config.in: Regenerated.
12272 * configure: Likewise.
12274 2001-02-12 Alexandre Oliva <aoliva@redhat.com>
12276 * lcm.c (compute_earliest): Let EXIT_BLOCK be handled as a regular
12278 (optimize_mode_switching) [NORMAL_MODE]: Set up EXIT_BLOCK as a
12279 regular basic block, and arrange for all edges into it to switch
12282 2001-02-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
12284 * Makefile.in (distclean): Do not remove .gdbinit.
12286 2001-02-11 Mark Mitchell <mark@codesourcery.com>
12288 * Makefile.in (gcc.o): Fix typos.
12289 (protize.o): Likewise.
12290 (unprotoize.o): Likewise.
12292 2001-02-11 Richard Henderson <rth@redhat.com>
12294 * tree.c (build1): Check for null operand in last change.
12296 2001-02-11 Richard Henderson <rth@redhat.com>
12298 * fold-const.c (split_tree): Don't assume a constant isn't splittable.
12299 (fold): Don't assume a constant isn't foldable.
12300 * tree.c (build): Set TREE_CONSTANT for an expression with no
12301 side-effects and constant operands.
12302 (build1): Likewise.
12304 2001-02-10 Richard Henderson <rth@redhat.com>
12306 * jump.c (squeeze_notes): Revert 2000-05-12 change.
12308 2001-02-10 Anthony Green <green@redhat.com>
12310 * cpp.texi (Standard Predefined): Add documentation for
12313 * c-common.c (combine_strings): Improve warning message.
12315 2001-02-10 Geoffrey Keating <geoffk@redhat.com>
12317 * config/rs6000/sysv4.h (LINK_TARGET_SPEC): Use two dashes for
12319 * config/rs6000/sysv4le.h (LINK_TARGET_SPEC): Likewise.
12321 Fri Feb 9 15:05:27 2001 Christopher Faylor <cgf@cygnus.com>
12323 * config/i386/t-cygwin (T_CPPFLAGS): Use correct location for
12326 2001-02-09 Alexandre Oliva <aoliva@redhat.com>
12328 * config/sh/sh.md (sibcalli, sibcalli_pcrel, sibcalli): Set
12331 2001-02-09 Nick Clifton <nickc@redhat.com>
12333 * config/arm/arm.md: Change output contraint on post inc
12334 load/store multiple patterns to be a read/write contraint.
12336 2001-02-09 Neil Booth <neil@daikokuya.demon.co.uk>
12338 * gcc.c (cpp_options): Delete .d files on error. Don't delete
12339 .o files when using the -M options.
12341 2001-02-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12342 David Edelsohn <edelsohn@gnu.org>
12344 * config/rs6000/rs6000.c (output_toc): Allow 32-bit targets to
12345 handle DImode constants. Use one TOC entry for SImode and smaller
12346 constants, aligned properly.
12348 2001-02-08 Jason Merrill <jason@redhat.com>
12350 * config/arm/arm.c (arm_expand_prologue): Do tell the dwarf2 backend
12351 about the SP adjustment for saving the static chain pointer.
12352 * dwarf2out.c (dwarf2out_frame_debug_expr): Use the specified
12353 offset when setting a temporary CFA register.
12355 2001-02-08 Chandrakala Chavva <cchavva@redhat.com>
12357 * config.gcc : New targets, i386-*-chorusos*, sparc-*-chorusos*,
12358 powerpc-*-chorusos* .
12359 * config/rs6000/chorus.h : New file.
12360 * config/i386/chorus.h : New file.
12361 * config/sparc/chorus.h : New file.
12362 * config/sparc/t-chorus-elf : New file.
12364 2001-02-08 David Edelsohn <edelsohn@gnu.org>
12366 * config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Move from here ...
12367 * config/rs6000/aix.h (ASM_OUTPUT_SYMBOL_REF): ... to here.
12368 * config/rs6000/aix51.h (CPLUSCPLUS_CPP_SPEC): Define it.
12369 (__WCHAR_TYPE__): Correct macro name.
12371 2001-02-08 Richard Henderson <rth@redhat.com>
12373 * config/i386/i386.c (ix86_frame_pointer_required): New.
12374 (ix86_setup_frame_addresses): New.
12375 (struct machine_funciton): Add accesses_prev_frame.
12376 * config/i386/i386.h (FRAME_POINTER_REQUIRED): Call
12377 ix86_frame_pointer_required.
12378 (SUBTARGET_FRAME_POINTER_REQUIRED): New.
12379 (SETUP_FRAME_ADDRESSES): New.
12380 * config/i386/i386-protos.h: Update.
12381 * config/i386/sco5.h (SUBTARGET_FRAME_POINTER_REQUIRED): Rename
12382 from FRAME_POINTER_REQUIRED.
12383 * config/i386/svr3gas.h: Likewise.
12384 * config/i386/sysv3.h: Likewise.
12385 * config/i386/v3gas.h: Likewise.
12387 2001-02-08 Richard Henderson <rth@redhat.com>
12389 * config/sparc/sparc.c (function_arg_record_value_3): Fix
12390 calculation of the number of integer registers required.
12391 (function_arg_record_value): Likewise.
12393 2001-02-08 Jason Merrill <jason@redhat.com>
12395 * diagnostic.c (internal_error): Say "confused" after 1 error, not
12396 two. Print file and line with "confused" message.
12398 * dwarf2out.c (dwarf2out_line): Include filename in -dA output.
12400 Thu Feb 8 11:21:28 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12402 * rtlanal.c (remove_node_from_expr_list): Correctly update PREV.
12404 2001-02-08 Bernd Schmidt <bernds@redhat.com>
12406 * final.c (cleanup_subreg_operands): The address of a MEM can
12409 * config/ia64/ia64.c (ia64_variable_issue): Call group_barrier_needed_p
12412 2001-02-08 Joseph S. Myers <jsm28@cam.ac.uk>
12414 * gcc.texi (Incompatibilities): Update documentation of
12415 preprocessing numbers.
12417 2001-02-07 Jakub Jelinek <jakub@redhat.com>
12419 * c-decl.c (finish_enum): Revert part of 2000-01-05 change.
12421 2001-02-07 Mark Mitchell <mark@codesourcery.com>
12423 * config/rs6000/aix43.h (CPLUSCPLUS_CPP_SPEC): Define it.
12425 * defaults.h (CPLUSPLUS_CPP_SPEC): New macro.
12426 * gcc.c (struct compiler): Add cpp_spec field.
12427 (input_file_compiler): New variable.
12428 (do_spec_1): Allow a particular compiler to handle `%C'
12430 (main): Store the current compiler in input_file_compiler.
12431 * tm.texi (CPLUSPLUS_CPP_SPEC): Document.
12433 2001-02-07 Zack Weinberg <zack@wolery.stanford.edu>
12435 * cpphash.h (struct spec_nodes): Add n_true and n_false.
12436 * cppinit.c (cpp_create_reader): Initialize them.
12437 (append_include_chain): cxx_aware arg might be unused.
12438 * cppexp.c (lex): In C++ mode, recognize 'true' and 'false'
12439 keywords and give them their phase 7 meaning. Pedwarn about
12440 this unless '__bool_true_false_are_defined' is defined.
12442 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
12444 * lcm.c (optimize_mode_switching): Emit mode_set before the
12445 JUMP_INSN of an abnormal edge.
12447 2001-02-07 Bernd Schmidt <bernds@redhat.com>
12449 * builtins.c (expand_builtin_setjmp_receiver): Emit an ASM_INPUT as
12450 a scheduling barrier at the end.
12452 * tm.texi (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Document.
12454 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
12456 * config/sh/sh.md (reload_outsf): Removed.
12457 (movsf_ie): Introduce constraints for FPUL loads and stores.
12458 (reload_insf): Broaden the output constraint.
12460 * config/elfos.h (INT_ASM_OP): Don't define it if it's already
12462 * config/sh/sh.h (INT_ASM_OP, ASM_OUTPUT_CONSTRUCTOR,
12463 ASM_OUTPUT_DESTRUCTOR): Copy definitions from config/elfos.h.
12465 2001-02-06 Chandrakala Chavva <cchavva@redhat.com>
12467 * final.c: Revert my previous changes.
12468 * output.h: Make profile_label_no extern.
12469 * config/rs6000/rs6000.c (output_profile_hook): Use standard functions
12470 for generating label.
12472 2001-02-06 Laurynas Biveinis <lauras@softhome.net>
12474 * config/i386/djgpp.h: Add comments about standard paths.
12475 (MD_EXEC_PREFIX): Undefine before defining.
12476 (MD_STARTFILE_PREFIX): New.
12478 2001-01-30 Bruce Korb <bkorb@gnu.org>
12480 fixinc/fixincl.c(process): Emit error message only if appropriate :)
12481 (load_file): do not rely on load_file_data() to close file pointer
12482 fixinc/fixlib.c(load_file_data): do not close passed in file pointer
12483 fixinc/inclhack.def(irix_limits_const): add test_text
12485 2001-02-06 Neil Booth <neil@daikokuya.demon.co.uk>
12487 * cppexp.c (parse_defined): Improve diagnostics for invalid
12490 2001-02-06 Neil Booth <neil@daikokuya.demon.co.uk>
12492 * cppmacro.c (cpp_get_token): Avoid pasting after a builtin.
12494 2001-02-06 Mark Mitchell <mark@codesourcery.com>
12496 * config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Define.
12497 * config/rs6000/rs6000-protos.h (rs6000_output_symbol_ref): Declare.
12498 * config/rs6000/rs6000.c (VTABLE_NAME_P): New macro.
12499 (rs6000_output_symbol_ref): New function.
12500 (output_toc): Use VTABLE_NAME_P.
12502 Tue Feb 6 07:54:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12504 * print-tree.c (print_node, case PARM_DECL):
12505 Print DECL_ARG_TYPE and DECL_ARG_TYPE_AS_WRITTEN.
12507 * stor-layout.c (reference_types_internal): New variable.
12508 (internal_reference_types): New function.
12509 (layout_type, case REFERENCE_TYPE): Make Pmode if internal.
12510 * tree.h (internal_reference_types): New declaration.
12512 * cse.c (find_best_addr): Fix typo in computing cost.
12514 Mon Feb 5 21:56:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12516 * combine.c (nonzero_bits, case PLUS): If pointers extend unsigned
12517 and this is the sum of a pointer and a constant, we know the result
12519 (num_sign_bit_copies, case PLUS): Likewise.
12520 * explow.c (convert_memory_address): Remove opposite SUBREG.
12521 * function.c (instantiate_new_reg): New function (from common code).
12522 (instantiate_virtual_regs_1): Call it.
12523 For PLUS, handle if (plus (subreg (virt-reg) (const_int))
12524 if pointers sign- or zero-extend.
12525 * simplify-rtx.c (simplify_unary_operation, case ZERO_EXTEND):
12526 If pointers extend unsigned, use inside of SUBREG.
12527 (simplify_unary_operation, case SIGN_EXTEND): Likewise, if sign extend.
12529 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
12531 * Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Change to target
12532 subdir of gcc_gxx_include_dir.
12533 (gcc_gxx_target_include_dir): Remove.
12535 2001-02-05 Jeffrey Oldham <oldham@codesourcery.com>
12537 * dwarf2out.c: Revise DWARF2 Abbreviation Glossary comments.
12538 (dwarf2out_frame_debug_expr): Revise introductory comments to add
12539 a high-level description.
12541 2001-02-05 Chandrakala Chavva <cchavva@redhat.com>
12543 * final.c: Move the declaration of profile_label_no to ...
12544 * output.h: ... here.
12545 * function.c (expand_function_start): Call PROFILE_HOOK.
12546 * config/rs6000/aix.h: Define PROFILE_HOOK.
12547 * config/rs6000/rs6000-protos.h: output_profile_hook new.
12548 * config/rs6000/rs6000.c (output_profile_hook): Define.
12549 (output_prolog): Do nothing for ABI_AIX as it is taken care by
12550 output_profile_hook.
12551 tm.texi : Explain new macro PROFILE_HOOK.
12553 2001-02-06 Hans-Peter Nilsson <hp@axis.com>
12555 * extend.texi (Extended Asm): Do not say that semicolon is always
12556 a valid line-breaking character for GNU assemblers. Use
12557 newline-tab as the most commonly supported syntax. Use
12558 newline-tab rather than semicolon in multi-insn examples.
12560 2001-02-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12562 * Makefile.in (gcc_gxx_target_include_dir): Use $(target_alias).
12564 2001-02-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12565 David Edelsohn <edelsohn@gnu.org>
12567 * config/rs6000/rs6000.c (rs6000_return_addr): Use PIC
12568 code for AIX, even without flag_pic.
12570 2001-02-05 Jakub Jelinek <jakub@redhat.com>
12572 * c-typeck.c (common_type): push and pop binding level around
12573 calling common_type on function parameters.
12575 Mon Feb 5 14:30:37 2001 Christopher Faylor <cgf@cygnus.com>
12577 * config/i386/cygwin.h (CPP_SPEC): Add missing space after -idirafter.
12579 Mon Feb 5 11:23:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12581 * config/mips/mips.c (override_options): Fix typo in last change.
12582 (mips_make_temp_file): Call fatal_io_error, not pfatal_with_name.
12583 (mips_asm_file_end): Likewise; also pass more args to fatal_io_error.
12585 2001-02-05 Nathan Sidwell <nathan@codesourcery.com>
12587 * invoke.texi (-fdump-class-layout): Document.
12588 (-fdump-translation-unit): Use `=' as filename separator.
12590 2001-02-05 Mark Mitchell <mark@codesourcery.com>
12592 * Makefile.in (s-mlib): Don't build multilibs if
12593 --disable-multilib.
12594 (DRIVER_DEFINES): Adjust accordingly.
12596 (protoize.o): Likewise.
12597 (unprotoize.o): Likewise.
12598 * configure.in: Recognize --enable-multilib.
12600 2001-02-04 Mark Mitchell <mark@codesourcery.com>
12602 * Makefile.in (DRIVER_DEFINES): Fix quoting.
12604 * Makefile.in (site.exp): Always set HAVE_LIBSTDCXX_V3.
12605 * configure.in: Remove --enable-libstdcxx_v3 support.
12606 * configure: Regenerated.
12608 Sun Feb 4 15:52:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12610 * config/avr/avr.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
12611 Call abort instead of fatal.
12612 (TRAMPOLINE_TEMPLATE): Call internal_error instead of fatal.
12613 * config/dsp16xx/dsp16xx.h (FUNCTION_PROFILER): Likewise.
12614 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Likewise.
12615 (TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Likewise.
12616 (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
12617 * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Likewise.
12619 * diagnostic.h (set_internal_error_function): Renamed.
12620 * toplev.h (internal_error): Renamed from fatal.
12621 (pfatal_with_name): Deleted.
12622 (fatal_io_error): Now has printf-style arguments.
12623 * diagnostic.c (pfatal_with_name): Deleted.
12624 (fatal_io_error): Rework to have args in printf-style.
12625 (set_internal_error_function): Renamed from set_fatal_function.
12626 (internal_error): Renamed from fatal.
12627 (error_recursion, fancy_abort): Call internal_error instead of fatal.
12628 * dwarf2out.c (get_cfa_from_loc_descr): Likewise.
12629 * emit-rtl.c (gen_realpart, gen_imagpart): Likewise.
12630 * expr.c (check_max_integer_computation_mode, expand_expr): Likewise.
12631 * flow.c (verify_flow_info): Likewise.
12632 * config/arm/arm.c (thumb_unexpanded_epilogue): Likewise.
12633 * config/mips/mips.c (save_restore_insns): Likewise.
12635 * except.c (duplicate_eh_handlers): Call abort instead of fatal.
12636 * flow.c (verify_flow_info): Likewise.
12637 * config/arm/arm.c (thumb_load_double_from_address): Likewise.
12638 * config/avr/avr.c (pttreg_to_str, unique_section): Likewise.
12639 (avr_normalize_condition): Likewise.
12640 * config/c4x/c4x.c (c4x_emit_libcall, c4x_valid_operands): Likewise.
12641 * config/dsp16xx/dsp16xx.c (dsp16xx_reg_class_from_letter): Likewise.
12642 (limit_reload_class, double_reg_to_memory): Likewise.
12643 (print_operand_address, emit_1600_code_shift): Likewise.
12644 (gen_tst_reg, gen_compare_reg): Likewise.
12645 * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Likewise.
12646 * config/dsp16xx/dsp16xx.c (dsp16xx_invalid_register_for_compare):
12648 * config/dsp16xx/dsp16xx.md (unnamed cmphi): Call abort instead of it.
12650 * c-parse.in (methoddef): Call fatal_error instead of fatal.
12651 * objc/objc-act.c (build_ivar_chain): Likewise.
12652 * dwarfout.c (dwarfout_init): Call fatal_io_error instead of
12654 * graph.c (clean_graph_dump_file): Likewise.
12655 * profile.c (init_branch_prob): Likewise.
12656 * objc/objc-act.c (objc_init): Likewise.
12658 * config/arm/arm.c (arm_override_options): Make errors non-fatal.
12659 * config/avr/avr.c (avr_override_options): Likewise.
12660 * config/c4x/c4x.c (c4x_expand_prologue): Likewise.
12661 * config/dsp16xx/dsp16xx.c (function_prologue): Likewise.
12662 * config/h8300/h8300.c (h8300_init_once): Likewise.
12663 * config/mips/mips.c (override_options): Likewise.
12664 * config/i386/i386.c (override_options): Likewise, rework.
12665 * config/m68k/m68k.c (override_options): Likewise.
12667 * config/dsp16xx/dsp16xx.c (print_operand): Call output_operand_lossage
12669 * config/mips/mips.c (print_operand): Likewise.
12670 * hash.c (hash_allocate): Don't check for failure returns from
12671 obstack functions that can't fail.
12672 (hash_table_init_n, hash_table_init): Likewise; also now return void.
12673 * hash.h (hash_table_init_n, hash_table_init): Now return void.
12674 * objc/objc_act.c (objc_check_decl): Remove unneeded fatal call.
12675 (get_object_reference): Likewise.
12677 2001-02-04 Nick Clifton <nickc@redhat.com>
12679 * config/arm/arm.c (all_cores): Add 710T, 720T, 740T, 940T, 9e,
12680 StrongARM1110, 10TDMI, and 1020T.
12682 2001-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12684 * mips.h (MULTILIB_ISA_DEFAULT): Don't use #elif.
12686 2001-02-04 Alexandre Oliva <aoliva@redhat.com>
12688 * config/sh/sh.md (movdf load split): Pass register number to
12689 FP_OR_XD_REGISTER_P.
12691 2001-02-04 Mark Mitchell <mark@codesourcery.com>
12693 * cppinit.c (BC): New macro.
12694 (builtin_array): Add __GXX_WEAK__.
12695 * cpplib.h (builtin_type): Add BT_WEAK.
12696 * cppmacro.c (builtin_macro): Handle BT_WEAK.
12697 * defaults.h (SUPPORTS_ONE_ONLY): Define.
12698 * varasm.c (SUPPORTS_ONE_ONLY): Do not define.
12700 2001-02-03 Jakub Jelinek <jakub@redhat.com>
12702 * cppinit.c (append_include_chain): Honor NO_IMPLICIT_EXTERN_C.
12704 2001-02-03 Neil Booth <neil@daikokuya.demon.co.uk>
12706 * cpphash.h: Rename _ALIGN POOL_ALIGN.
12707 * cpplex.c (new_chunk, _cpp_pool_reserve): Update.
12709 2001-02-03 Neil Booth <neil@daikokuya.demon.co.uk>
12711 * cpphash.h: Rename ALIGN _ALIGN.
12712 * cpplex.c (new_chunk, _cpp_pool_reserve): Update.
12714 Fri Feb 2 23:15:29 2001 Christopher Faylor <cgf@cygnus.com>
12716 * config/i386/cygwin.h (CPP_SPEC): Reorganize YA to better handle cross
12717 compilation environment.
12718 * config/i386/t-cygwin (T_CPPFLAGS): Define CYGWIN_CROSS_DIR to allow
12719 control over location of cygwin includes and libs.
12721 2001-02-03 Michael Hayes <m.hayes@elec.canterbury.ac.nz)
12723 * c4x.h (HARD_REGNO_CALL_PART_CLOBBERED): Fix typo.
12725 2001-02-02 lars brinkhoff <lars@nocrew.org>
12727 * md.texi (Standard Names): remove reference to spur.md.
12729 2001-02-03 Michael Hayes <m.hayes@elec.canterbury.ac.nz)
12731 * c4x.h (IS_INT_CALL_SAVED_REG, IS_FLOAT_CALL_SAVED_REG): Define.
12732 (HARD_REGNO_CALL_PART_CLOBBERED): Use IS_FLOAT_CALL_SAVED_REG.
12733 (INITIAL_FRAME_POINTER_OFFSET, INITIAL_ELIMINATION_OFFSET): Likewise.
12734 * c4x.c (c4x_hard_regno_rename_ok): Use IS_XXX_CALL_SAVED_REG.
12735 (c4x_expand_prologue, c4x_expand_epilogue): Likewise.
12737 2001-02-03 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12739 * c4x.c (group1_reg_operand, group1_mem_operand, arx_reg_operand,
12740 c4x_arn_reg_operand, c4x_arn_mem_operand): Do not check register
12741 number before reload.
12742 (c4x_adjust_cost): Return zero before reload.
12743 * c4x.md (load_immed_address+1, load_immed_address+2): Do not
12744 split before reload.
12746 2001-02-03 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12748 * c4x.c (c4x_hard_regno_rename_ok): New.
12749 * c4x-protos.h (c4x_hard_regno_rename_ok): New.
12750 * c4x.h (HARD_REGNO_RENAME_OK): Define.
12752 Fri Feb 2 20:03:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12754 * diagnostic.h: Add missing "extern" in all declarations.
12756 2001-02-02 Alex Samuel <samuel@codesourcery.com>
12758 * Makefile.in (gcc_gxx_target_include_dir): Generate dynamically
12759 as for gcc_gxx_include_dir.
12761 2001-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
12763 * cpp.texi, invoke.texi: Update -Wtraditional documentation.
12765 2001-02-02 Alexandre Oliva <aoliva@redhat.com>
12767 * config/sh/sh.c (output_far_jump): Don't use braf on SH1. Emit
12768 label before alignment to be used as the braf base address.
12769 * config/sh/sh.md (length): Use longer lengths for SH1 PIC far
12771 (casesi_jump_2): Require at least TARGET_SH2.
12773 * config/float-sh.h (LDBL_EPSILON, LDBL_MIN, LDBL_MAX): Prevent
12774 truncation to 32-bit doubles on -m3e and -m4-single-only.
12776 2001-02-02 Mark Mitchell <mark@codesourcery.com>
12778 * gcc.c (init_gcc_specs): New function. Make -shared-libgcc
12779 the default when building a shared object.
12780 (init_spec): Use it.
12781 * testsuite/lib/g++.exp: Include the directory where libgcc
12782 is located to the LD_LIBRARY_PATH list.
12783 * invoke.texi (-shared-libgcc): Document the cases in which
12784 GCC defaults to using the shared libgcc.
12786 2001-02-02 Alexandre Oliva <aoliva@redhat.com>
12788 * config/fp-bit.h (MAX_USI_INT, MAX_SI_INT): Don't assume
12789 unsigned is wide enough.
12790 (BITS_PER_SI): New.
12791 * config/fp-bit.c (_fpmul_parts): Don't assume 32-bits SI.
12792 (si_to_float): Likewise.
12793 (float_to_si, float_to_usi): Use BITS_PER_SI.
12795 2001-02-01 Jeffrey Oldham <oldham@codesourcery.com>
12797 * dwarf2out.c: Added explanation of abbreviations.
12798 (def_cfa_1): Added comments listing DWARF2 instructions.
12799 (cfa_temp_reg): Removed in favor of cfa_temp.
12800 (cfa_temp_value): Removed in favor of cfa_temp.
12801 (cfa_temp): New global variable.
12802 (dwarf2out_frame_debug_expr): Added extensive introductory
12803 comments explaining the function's transformations. Revised to
12804 use cfa_temp. Added some rtx checking. Generalize IOR case.
12805 (dwarf2out_frame_debug): Revised to use cfa_temp.
12806 (output_aranges): Cast as "unsigned" to avoid warning.
12807 * rtl.texi (RTX_FRAME_RELATED_P): Revise entry to emphasize better
12808 explain which instructions must be marked.
12810 2001-02-01 Richard Henderson <rth@redhat.com>
12812 * local-alloc.c (update_equiv_regs): Copy INSN_CODE to the
12815 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
12817 * config/sh/crt1.asm (main_k): Modified so that start calls
12818 ___setup_argv_and_call_main.
12820 2001-02-01 Neil Booth <neil@daikokuya.demon.co.uk>
12822 * cpphash.h (struct cpp_buffer): Move saved_flags from cpp_reader.
12823 * cpplex.c (_cpp_lex_token): New token picks up the saved flags,
12824 and AVOID_LPASTE is cleared on meeting an unescaped newline.
12825 * cppmacro.c (builtin_macro): Set builtin flags here.
12826 (paste_all_tokens): Preserve AVOID_LPASTE on pasted token.
12827 (replace_args): Clarify intent.
12828 (cpp_get_token): Macro expansion tokens get the saved flags.
12830 * cppmain.c (scan_buffer): Remove now-redundant print.printed
12833 2001-02-01 Jeffrey Oldham <oldham@codesourcery.com>
12835 * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Reverse change of
12838 Thu Feb 1 07:22:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12840 * builtins.c (expand_builtin_alloca): allocate_dynamic_stack_space
12841 returns Pmode pseudo, but we need ptr_mode.
12842 * explow.c (allocate_dynamic_stack_space): Use plus_constant.
12843 Remove bogus conversions; use HOST_WIDE_INT for size.
12844 Don't use TARGET if wrong mode.
12846 * config/i386/i386.c (ix86_compute_frame_size): Allow
12847 stack_alignment_needed to be non-default even if size is zero.
12849 2001-01-31 Alan Modra <alan@linuxcare.com.au>
12851 * pa.c (hppa_init_pic_save): New function.
12852 * pa.h (hppa_init_pic_save): Declare.
12853 * pa.md (call, call_value, sibcall, sibcall_value): Use
12854 the above instead of duplicated code.
12856 * pa.c (hppa_encode_label): Correct size of alloca buffer
12857 so we don't overrun it. Correct leading `*' case.
12858 * pa.h (STRIP_NAME_ENCODING): Simplify now that we don't
12859 need to handle `*@'.
12860 (FUNCTION_NAME_P): Likewise.
12862 2001-01-31 Richard Henderson <rth@redhat.com>
12864 * config.gcc (alpha-osf5): Use float-i128.h.
12866 * config/float-i128.h (FLT_EVAL_METHOD, DECIMAL_DIG): Define.
12867 * config/float-i32.h: Likewise.
12868 * config/float-i64.h: Likewise.
12869 * config/float-sh.h: Likewise.
12870 * config/float-sparc.h: Likewise.
12872 2001-01-31 DJ Delorie <dj@redhat.com>
12874 * expmed.c (extract_bit_field): allow non-integral modes if we
12875 want to extract a whole register from itself.
12877 2001-01-31 Jakub Jelinek <jakub@redhat.com>
12879 * c-typeck.c (set_init_index): If first is equal to last, assume as
12880 if it was not a range at all.
12882 2001-01-31 Alexandre Oliva <aoliva@redhat.com>
12884 * config/fp-bit.c: Include tm.h.
12885 (float_to_si): Don't assume SImode is 32-bits wide.
12886 (float_to_usi): Likewise.
12888 2001-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
12890 * c-parse.in (structsp): Pedwarn when "enum foo" refers to an
12892 (typename): Call pending_xref_error after parsing typed_typespecs.
12893 * c-decl.c (lookup_tag): Give error immediately rather than
12894 leaving it pending if the tag of the wrong type is in the same
12896 (xref_tag): Don't pedwarn for forward declarations of enum types
12898 * gcc.texi (Actual Bugs): Remove entry for misuse of struct, union
12901 2001-01-31 Alexandre Oliva <aoliva@redhat.com>
12903 * config/float-sparc.h (LDBL_MAX) [sparc32]: Fix typo.
12905 2001-01-31 Neil Booth <neil@daikokuya.demon.co.uk>
12907 * cpplib.c (T_ELIF): Move to STDC89, not that it matters.
12908 (_cpp_handle_directive): Suggest not using #elif with -Wtraditional.
12910 2001-01-31 Neil Booth <neil@daikokuya.demon.co.uk>
12912 * cpphash.h (struct cpp_reader): New saved_flags.
12913 * cppmacro.c (cpp_get_token): Use saved_flags to remember
12914 to avoid a paste after a pasted token.
12916 2001-01-31 Alexandre Oliva <aoliva@redhat.com>
12918 * libgcc2.h (Wtype_MAX, Wtype_MIN): Define.
12919 * libgcc2.c (__fixunssfSI, __fixunsdfSI, __fixunsxfSI): Use
12920 Wtype_MIN instead of LONG_MIN.
12922 2001-01-30 Jeffrey Oldham <oldham@codesourcery.com>
12924 * fixinc/fixincl.tpl: Add 2001 to copyright. Change name of
12926 * fixinc/fixincl.x: Regenerated.
12927 * fixinc/inclhack.def (irix_limits_const): New definition to
12928 convert "const" to "__const" in limits.h.
12930 2001-01-30 Jeffrey Oldham <oldham@codesourcery.com>
12932 * fixinc/genfixes (AG): Fix "autogen4" thinko.
12934 2001-01-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12936 * regmove.c (try_auto_increment): Change REG_DEAD into REG_UNUSED
12937 when register dies in the insn.
12939 2001-01-30 Neil Booth <neil@daikokuya.demon.co.uk>
12941 * diagnostic.c (fatal): Fix word wrap.
12943 2001-01-30 Alexandre Oliva <aoliva@redhat.com>
12945 * combine.c (try_combine): Fix SUBREG setting for
12946 HOST_BITS_PER_WIDE_INT >= 2 * BITS_PER_WORD.
12948 2001-01-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12950 * jump.c (comparison_dominates_p): Don't try to handle UNKNOWN
12953 2001-01-30 Neil Booth <neil@daikokuya.demon.co.uk>
12955 * c-decl.c (c_expand_body): Check TYPE_SIZE_UNIT (ret_type)
12957 * toplev.c (decode_W_option): Update warn_larger_than
12958 unconditionally for each processed switch.
12960 2001-01-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
12962 * pa.c (pa_init_machine_status): Initialize pic_offset_table_save_rtx
12964 (hppa_expand_prologue): Delete code to save pic offset table register
12965 in the function prologue.
12966 * pa.h (PIC_OFFSET_TABLE_SAVE_RTX): Correct type in comment.
12967 * pa.md (call, call_value, sibcall, sibcall_value): Save the pic offset
12968 table register at the beginning of the function after the prologue.
12970 2001-01-29 lars brinkhoff <lars@nocrew.org>
12972 * tm.texi (PUSH_ROUNDING): Remove duplicate lines.
12974 2001-01-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
12975 Jeff Law <law@redhat.com>
12977 * pa.md (return): Revise comment for trivial return.
12978 (return_internal): Non-trivial return pattern for non-PIC code.
12979 (return_internal_pic): Non-trivial return pattern for PIC code.
12980 It uses the PIC register to ensure it is restored after
12982 (epilogue): Generate appropriate return for PIC and non-PIC code.
12984 Mon Jan 29 23:53:14 2001 Christopher Faylor <cgf@cygnus.com>
12986 * config/i386/cygwin.h: Fix -mno-cygwin search path for link.
12988 2001-01-29 DJ Delorie <dj@redhat.com>
12990 * combine.c (if_then_else_cond): Pass the correct mode to
12991 operand_subword() for constants.
12993 Mon Jan 29 20:38:19 2001 Christopher Faylor <cgf@cygnus.com>
12995 * config/i386/cygwin.h: Add w32api to include search. Search different
12996 directories in a cross-build environment.
12998 2001-11-29 Tim Josling <tej@melbpc.org.au>
13000 * tree.h (TYPE_STUB_DECL): Add documentation.
13002 2001-11-29 Laurynas Biveinis <lauras@softhome.net>
13004 * sdbout.c (sdbout_one_type): Skip types with indeterminate size.
13005 (sdbout_field_types): Likwise. Fix use of host_integerp.
13007 2001-01-29 Thomas Pfaff <tpfaff@gmx.net>
13009 * mingw32.h: Override STARTFILE_SPEC and LINK_SPEC declared in
13012 2001-01-29 Jeffrey Oldham <oldham@codesourcery.com>
13014 * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Revise definition
13015 to use flag_gnu_linker.
13017 2001-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
13019 * cpplib.c (T_BAD_DIRECTIVE): Remove.
13020 (_cpp_init_stacks): Loop from 0 to N_DIRECTIVES - 1.
13022 2001-01-29 Joseph S. Myers <jsm28@cam.ac.uk>
13024 * tree.c, tree.h (build_parse_node): Remove; was identical to
13026 * c-lang.c (start_cdtor), objc/objc-act.c
13027 (build_module_descriptor): Use build_nt instead of
13030 2001-01-29 Jakub Jelinek <jakub@redhat.com>
13032 * config/i386/i386.md (addqi_1_lea): Fix mode (QI instead of HI).
13033 (testqi_1, andqi_2): If widening to SImode, make sure CONST_INT does
13034 not have any upper bits set.
13036 2001-01-29 Phil Edwards <pme@sources.redhat.com>
13038 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
13040 2001-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13042 * stmt.c (estimate_case_costs): Use integer_minus_one_node.
13044 * tree.c (build_common_tree_nodes_2): Set integer_minus_one_node.
13046 * tree.h (tree_index): Add new element TI_INTEGER_MINUS_ONE.
13047 (integer_minus_one_node): Define.
13049 2001-01-28 Alexandre Oliva <aoliva@redhat.com>
13051 * Makefile.in (bootstrap2-lean): Fix typo.
13053 2001-01-28 Neil Booth <neil@daikokuya.demon.co.uk>
13055 * cpphash.c (_cpp_cleanup_hashtable, _cpp_lookup_with_hash)
13056 : Don't set fe_value.
13057 * cpplib.h (AVOID_LPASTE): New flag.
13058 (struct cpp_hashnode): Remove fe_value.
13059 * cpplex.c (cpp_avoid_paste): Don't paste '.' with a number.
13060 * cppmacro.c (builtin_macro): Don't set flags here.
13061 (replace_args): Set AVOID_LPASTE flag on first token of an
13062 argument, and the token following it.
13063 (cpp_get_token): Set AVOID_LPASTE flag on first token of a
13064 macro expansion, and on the token following it. Do it for
13066 * cppmain.c (scan_buffer): Avoid pasting only flagged tokens.
13068 2001-01-27 Richard Henderson <rth@redhat.com>
13070 * config/alpha/t-ieee: Remove multilibbing.
13071 (TARGET_LIBGCC2_CFLAGS): Add -mieee.
13073 2001-01-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13075 * configure.in: Arrange to include defaults.h in [ht]config.h/tm.h.
13077 * Makefile.in: Remove all dependencies on defaults.h.
13078 * builtins.c: Don't include defaults.h.
13079 * c-common.c: Likewise.
13080 * c-decl.c: Likewise.
13081 * c-pragma.c: Likewise.
13082 * c-typeck.c: Likewise.
13083 * combine.c: Likewise.
13084 * i386.c: Likewise.
13085 * frame-ia64.c: Likewise.
13086 * cppexp.c: Likewise.
13087 * crtstuff.c: Likewise.
13088 * dbxout.c: Likewise.
13089 * dwarf2out.c: Likewise.
13090 * dwarfout.c: Likewise.
13091 * emit-rtl.c: Likewise.
13092 * except.c: Likewise.
13093 * expr.c: Likewise.
13094 * final.c: Likewise.
13095 * frame-dwarf2.c: Likewise.
13096 * libgcc2.c: Likewise.
13097 * optabs.c: Likewise.
13098 * profile.c: Likewise.
13099 * sdbout.c: Likewise.
13100 * toplev.c: Likewise.
13101 * tradcif.y: Likewise.
13102 * tree.c: Likewise.
13103 * varasm.c: Likewise.
13105 2001-01-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13107 * builtins.c (expand_builtin_fputs): Use size_one_node when
13108 transforming into fwrite.
13110 2001-01-27 Joseph S. Myers <jsm28@cam.ac.uk>
13112 * extend.texi (Attribute Syntax): New section.
13114 2001-01-27 Michael Sokolov <msokolov@ivan.Harhan.ORG>
13116 * fixproto: Correctly install synthesised unistd.h and stdlib.h when
13117 they didn't need fixing.
13119 2001-01-27 Janis Johnson <janis@us.ibm.com>
13121 * config.gcc (i[34567]86-sequent-{ptx4*,sysv4*}): Use usegas.h
13123 * config/ptx4.h: Several fixes to build on DYNIX/ptx v4.[456], and
13124 to remove macro definitions that are duplicated from elfos.h.
13126 2001-01-27 Richard Henderson <rth@redhat.com>
13128 * config/i386/sco5gas.h: Move ...
13129 * config/usegas.h: ... here.
13130 * config.gcc (i[34567]86-*-sco3.2v5) [tm_file]: Update.
13132 2001-01-27 Jakub Jelinek <jakub@redhat.com>
13134 * c-typeck.c (struct constructor_stack): Add range_stack member.
13135 (really_start_incremental_init): Clear it.
13136 (push_init_level): Save constructor_range_stack and clear it if
13137 pushing explicit braces.
13138 (pop_init_level): abort if constructor_range_stack is non-zero at
13139 explicit closing brace. Restore saved constructor_range_stack if
13142 2001-01-27 Alexandre Oliva <aoliva@redhat.com>
13144 * expr.c (emit_move_insn): Add REG_EQUAL note when constant loaded
13145 into register was forced into memory.
13147 2001-01-27 Alexandre Oliva <aoliva@redhat.com>
13149 * Makefile.in: Remove uses of + before $(MAKE).
13151 2001-01-26 Richard Henderson <rth@redhat.com>
13153 * stmt.c (cost_table): Remove.
13154 (COST_TABLE, cost_table_initialized): New.
13155 (estimate_case_costs): Use the later instead of the former.
13156 (balance_case_nodes): Likewise.
13158 2001-01-26 Richard Henderson <rth@redhat.com>
13160 * alias.c (objects_must_conflict_p): Read-only slots may not
13161 conflict despite having the same type.
13163 2001-01-27 Michael Hayes <mhayes@redhat.com>
13165 * loop.c (loop_giv_reduce_benefit): Copy mode size into
13167 (check_ext_dependant_givs): Initialise u_start_val and
13169 (load_mems): Make last_max_reg unsigned.
13170 (try_swap_copy_prop): Use INSN_P and initialise set.
13172 Fri Jan 26 23:22:58 2001 Denis Chertykov <denisc@overta.ru>
13174 * README.AVR : Removed.
13176 Fri Jan 26 11:37:26 2001 Jeffrey A Law (law@cygnus.com)
13178 * pa-64.h (text_section): Remove declaration.
13180 * pa.md (return_internal): Remove mode on PIC register use.
13182 2001-01-25 lars brinkhoff <lars@nocrew.org>
13184 * tm.texi (DATA_ALIGNMENT, LOCAL_ALIGNMENT, ASM_OPEN_PAREN,
13185 ASM_CLOSE_PAREN): fix typos.
13187 2001-01-25 Mark Mitchell <mark@codesourcery.com>
13189 * acconfig.h: Define `const' to the empty string if neither
13190 __STDC__ nor __cplusplus is defined.
13191 * config.in: Regenerated.
13193 2001-01-25 David Edelsohn <edelsohn@gnu.org>
13195 * config.gcc (rs6000-ibm-aix[5-9]*): Change to aix51.h.
13196 * collect2.c (main): Delete importf. Add ".obj" file extension.
13197 (GCC_CHECK_HDR): Handle AIX V5 new magic number.
13198 (aix_std_libs): Add additional AIX libraries to skip.
13199 * config/rs6000/aix.h (MY_ISCOFF): Add AIX V5 new magic number.
13200 * config/rs6000/aix51.h: New file.
13202 2001-01-25 Michael Hayes <mhayes@redhat.com>
13204 * loop.c (loop_call_insn_emit_before, loop_call_insn_hoist): New.
13205 (loop_insn_emit_before): No longer static.
13206 (move_movables): Replace emit_insn_after with loop_insn_emit_after.
13207 (loop_givs_rescan, load_mems): Likewise.
13208 (check_dbra_loop): Replace emit_insn_before with loop_insn_emit_before.
13209 (maybe_eliminate_biv_1):
13210 (move_movables): Replace emit_call_insn_before with
13211 loop_call_insn_hoist.
13212 * loop.h (loop_insn_emit_before): Add.
13213 * unroll.c (copy_loop_body): Replace emit_insn_before with
13214 loop_insn_emit_before.
13216 2001-01-25 Neil Booth <neil@daikokuya.demon.co.uk>
13218 * diagnostic.c (fatal): Request preprocessed source.
13220 Thu Jan 25 02:01:16 2001 J"orn Rennecke <amylaar@redhat.com>
13222 * c-decl.c (duplicate_decls): If different_binding_level is nonzero,
13223 olddecl has argument types and newdecl has none, use the argument
13224 types from olddecl.
13226 2001-01-24 Ulrich Drepper <drepper@redhat.com>
13228 * dwarf2out.c (prefix_of): New function. Determine longest common
13229 prefix of the two arguments. The units are whole path components.
13230 (output_file_names): When adding a new directory find the one entry
13231 with the longest common prefix already in the list. Artificially
13232 generate entry if there is none for this prefix.
13233 Fix test to check whether the zeroth directory entry is used.
13235 Wed Jan 24 23:51:55 2001 J"orn Rennecke <amylaar@redhat.com>
13237 * reload1.c (reload_reg_free_for_value_p): New parameter start_regno.
13238 Changed all callers. Take it into account when deciding if a
13239 previously loaded value matches.
13241 2001-01-24 Richard Henderson <rth@redhat.com>
13243 * reload.c (find_reloads_subreg_address): Fail the substitution
13244 if the resulting address is insufficiently aligned.
13246 2001-01-24 DJ Delorie <dj@redhat.com>
13248 * combine.c (combine_simplify_rtx): If the modes are all VOIDmode,
13249 check the original operand's mode also.
13250 * simplify-rtx.c (simplify_ternary_operation): Ditto.
13252 2001-01-24 Joseph S. Myers <jsm28@cam.ac.uk>
13254 * c-parse.in (cast_expr): Move compound literals from here ...
13255 (primary): ... to here. Use standard terminology "compound
13256 literal" instead of "constructor expression".
13258 2001-01-24 Joseph S. Myers <jsm28@cam.ac.uk>
13260 * gcc.1, cpp.1: Regenerate.
13262 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
13264 * calls.c (emit_library_call_value_1): Memory slot for
13265 pass-by-reference argument should have the mode of the argument,
13266 not of the pointer to it.
13268 2001-01-24 Tom Tromey <tromey@redhat.com>
13270 * gcc.texi (G++ and GCC): Mention gcj manual.
13271 (Standards): Link to section of manual mentioning gcj/Java
13274 2001-01-24 Jakub Jelinek <jakub@redhat.com>
13276 * cppfiles.c (_cpp_read_file): Add to dependencies if requested.
13277 * cppinit.c (cpp_start_read): Remove deps_add_dep call.
13278 * tradcpp.c (main): Add -imacros or -include'd dependencies
13280 * cpp.texi (-M, -MM): Document -M -include behaviour.
13282 2001-01-24 Roger Collins <roger@ProProject.com>
13284 * config/i386/xm-i386.h: Make __i386__ a boolean macro.
13286 2001-01-24 Will Cohen <wcohen@redhat.com>
13288 * config/mips/abi64.h (RETURN_IN_MEMORY): Always take into account
13289 whether registers are 32 bits or 64 bits in size.
13291 2001-01-24 Ben Elliston <bje@redhat.com>
13293 * config/m32r/m32r.h (PREDICATE_CODES): Remove m32r_not_same_reg.
13295 2001-01-24 Richard Henderson <rth@redhat.com>
13297 * config/alpha/alpha.md (builtin_longjmp_internal): New.
13298 (builtin_longjmp): Use it instead of emit_indirect_jump.
13300 2001-01-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
13302 * bb-reorder.c (make_reorder_chain_1): Handle case where
13303 jump edge goes to the same block as the fallthru edge.
13305 2001-01-23 Jim Wilson <wilson@redhat.com>
13307 * dwarf2out.c (dwarf2out_line): Make last_file_num be unsigned.
13308 * frame.h (__ia64_personality_v1): Add prototype.
13309 * libgcc2.c (ia64_throw_helper): Change personality declaration to
13310 prototype form. Add void * cast to first argument to personality
13312 * real.c (e113toe): Surround with INTEL_EXTENDED_IEEE_FORMAT ifdefs.
13313 (asctoe113): Likewise.
13314 * config/ia64/frame-ia64.c: Include eh-common.h.
13315 * config/ia64/ia64-protos.h (sdata_section, sbbs_section): Add
13317 * config/ia64/ia64.c (emit_insn_group_barriers): Add ATTRIBUTE_UNUSED
13319 (itanium_split_issue): Add prototype.
13320 (gen_nop_type): Ifdef out.
13321 (find_best_packet): Initialize best_packet.
13322 (ia64_encode_section_info): New local string. Use for ggc_alloc_string
13324 * config/ia64/ia64.h (ASM_OUTPUT_LONG_DOUBLE): Use 0L not 0.
13325 * config/ia64/ia64.md (bsp_value): Add explicit stop bit at start.
13326 (flushrs): Add explicit stop bit at end.
13327 * config/ia64/lib1funcs.asm (__ia64_restore_stack_nonlocal): Change
13330 2001-01-23 Chris Demetriou <cgd@broadcom.com>
13332 * libgcc-std.ver (GCC_3.0): Add __terminate_func_set to list
13334 * libgcc2.c (__terminate_func): Make variable static.
13335 (__terminate_set_func): New function to set __terminate_func.
13336 * libgcc2.h (__terminate_func_ptr): New typedef.
13337 (__terminate_set_func): New function.
13339 2001-01-23 Richard Henderson <rth@redhat.com>
13341 * flow.c (init_propagate_block_info): Don't consider unchanging
13342 memories for dead frame store elimination.
13344 2001-01-23 Richard Henderson <rth@redhat.com>
13346 * varasm.c (UNIQUE_SECTION): Move default implementation ...
13347 * defaults.h: ... here.
13349 2001-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13351 * c4x.h (TARGET_LOAD_DIRECT_MEMS): Define.
13353 2001-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
13355 * c-lex.c (lex_charconst): Fix typo: s/p/str.
13357 2001-01-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13359 * rs6000.h (rs6000_return_addr): Move prototype from here...
13360 * rs6000-protos.h (rs6000_return_addr): ...to here.
13361 (rs6000_init_expanders): Delete prototype.
13363 2001-01-23 Nick Clifton <nickc@redhat.com>
13365 * invoke.texi: Replace , with \, inside @gccoptlist macros.
13366 (Spec Files): Document %B and %j and %. and %v3 and %M and
13367 %{S*&T} spec switches.
13369 2001-01-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13371 * c4x.c (c4x_r11_set_p): Calculate rtx code correctly.
13373 2001-01-23 Chris Demetriou <cgd@sibyte.com>
13374 Neil Booth <neil@daikokuya.demon.co.uk>
13376 * cpperror.c: Merge handlers of PEDWARN and WARNING.
13377 Have -Werror make pedantic warnings errors, like the
13380 2001-01-23 Phil Edwards <pme@sources.redhat.com>
13382 * c-tree.texi (IDENTIFIER_LENGTH): Fix typo.
13384 2001-01-23 Jakub Jelinek <jakub@redhat.com>
13386 * integrate.h (struct inline_remap): Add compare_src, compare_mode.
13387 * integrate.c (expand_inline_function): Initialize them.
13388 (subst_constants): If changing COMPARE so that both its arguments
13389 will be VOIDmode and the comparison mode will be lost, note
13390 compare_mode. Use the recorded compare_mode to optimize
13393 2001-01-23 Jason Merrill <jason@redhat.com>
13395 * dwarf2out.c (new_die): Use xcalloc.
13396 (output_die): Abort rather than emit a local reference to offset 0.
13398 2001-01-17 Andrew Haley <aph@redhat.com>
13400 * libgcc2.c (get_reg_addr): Don't abort if we haven't got a copy
13401 of a saved register; return NULL instead.
13402 (copy_reg): Take a pointer to a source register rather than a
13404 (next_stack_level): Remember the address in the stack frame of all
13406 Use the saved register pointer array as the source of the CFA.
13407 (throw_helper): Rewrite. Unwind once rather than twice and keep
13408 track of saved registers as we go.
13410 2001-01-23 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13412 * c4x-protos.h (c4x_legitimize_reload_address): Remove.
13413 * c4x.c (c4x_legitimize_reload_address): Remove.
13414 * c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Rewrite to generate correct
13415 reload address for ldp(k) insn.
13417 Mon Jan 22 20:53:47 2001 Jeffrey A Law (law@cygnus.com)
13419 * pa.md (return_internal): Add a USE of the PIC register to ensure
13420 it is restored after each call.
13421 (return expander): Corresponding changes.
13423 2001-01-22 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13425 * rs6000.h (INIT_EXPANDERS): Delete.
13426 (RETURN_ADDR_RTX): Call rs6000_return_addr().
13427 * rs6000.c (rs6000_override_options): Call *_machine_status from
13429 (rs6000_init_expanders): ...instead of here. Delete.
13430 (rs6000_mark_machine_status): New function.
13431 (rs6000_init_machine_status): Use xcalloc.
13432 (rs6000_return_addr): Generate RTX for the return address.
13433 (rs6000_ra_ever_killed): New, check if LR was ever destroyed.
13434 (rs6000_stack_info): Use it.
13436 2001-01-22 Thomas Pfaff <tpfaff@gmx.net>
13438 * gthr-win32.h: Include errno.h to get a declaration for
13439 EINVAL and _mingw.h if the target is mingw32.
13441 2001-01-22 Andres Felipe Vargas <avargas@teletulua.com.co>
13443 * cpp.texi: Correct typos.
13445 Mon Jan 22 13:59:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13447 * explow.c (probe_stack_range): Ensure value passed to
13448 stack_check_libfunc is ptr_mode, not Pmode.
13450 Mon Jan 22 16:53:06 2001 J"orn Rennecke <amylaar@redhat.com>
13452 * recog.c (validate_replace_rtx_1): In ZERO_EXTEND / SIGN_EXTEND
13453 case, don't use operand_subword to calculate a SUBREG that is
13456 * rtl.texi: Comparisons yield 0 or STORE_FLAG_VALUE.
13458 2001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13460 * c4x.c (c4x_valid_rptb_p, c4x_label_ref_used_p): New functions.
13461 (c4x_rptb_insert): Call c4x_valid_rptb_p to check if repeat block is
13462 valid. If not replace it by equivalent insns.
13464 2001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13466 * c4x.c (c4x_check_legit_addr): Only check CONST. Not if CONST
13467 contains SYMBOL_REF, LABEL_REF and CONST_INT.
13468 (c4x_U_constraint, symbolic_address_operand): Likewise.
13469 (c4x_immed_float_constant): Do not check if CONST_DOUBLE is in
13471 (c4x_r11_set_p, c4x_check_laj_p): New functions.
13472 * c4x-protos.h (c4x_check_laj_p): Add prototype.
13473 * c4x.md (in_annul_slot_3): Do not allow auto-increment in last
13474 anulling slot because of silicon bug.
13475 (laj, lajv): Call c4x_check_laj_p to check for silicon bug.
13477 2001-01-22 Alan Modra <alan@linuxcare.com.au>
13479 * cppexp.c (parse_charconst): Change `mask' type to agree
13482 2001-01-21 Richard Henderson <rth@redhat.com>
13484 * config/i386/i386.c (ix86_asm_file_end): Disable putting
13485 pic_label_name in a linkonce section.
13487 2001-01-17 Philipp Thomas <pthomas@suse.de>
13489 * aclocal.m4 (AM_WITH_NLS): Add -lintl to LIBS if gettext was
13491 * configure: Regenerate.
13493 Sun Jan 21 02:38:56 2001 J"orn Rennecke <amylaar@redhat.com>
13495 * expmed.c (synth_mult, expand_mult_highpart, expand_divmod): Guard
13496 uses of shift_cost, shiftadd_cost and shiftsub_cost with bound checks.
13498 Sun Jan 21 09:44:17 2001 Denis Chertykov <denisc@overta.ru>
13500 * config/avr/avr.c (ret_cond_branch): New argument (reverse) added.
13501 If REVERSE nonzero then condition code in X must be reversed.
13502 (encode_section_info): Optimise if/else.
13503 (avr_function_value): Fix formatting.
13505 * config/avr/avr.md (branch): Call to ret_cond_branch changed.
13506 (difficult_branch): Likewise.
13507 (rvbranch): Likewise.
13508 (difficult_rvbranch): Likewise.
13510 * config/avr/avr-protos.h (ret_cond_branch): Prototype changed.
13512 * config/avr/libgcc.S: Fix comment.
13514 2001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG>
13516 * sdbout.c (PUT_SDB_DEF): Fix after last bogus change.
13518 2001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG>
13520 * cppinit.c (INO_T_EQ): Don't use #elif, fix formatting.
13522 2001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG>
13524 * aclocal.m4 (gcc_AC_FUNC_STRSTR): New macro.
13525 * configure.in (gcc_AC_FUNC_STRSTR): Add invokation.
13526 * configure, config.in: Regenerate.
13527 * Makefile.in (STRSTR, HOST_STRSTR, USE_HOST_STRSTR): New variables.
13528 (LIBDEPS, HOST_LIBDEPS, LIBS, HOST_LIBS): Add strstr handling.
13529 (strstr.o, $(HOST_PREFIX_1)strstr.o): New rules.
13530 (doprint.o): New rule.
13532 2001-01-20 Joseph S. Myers <jsm28@cam.ac.uk>
13534 * c-typeck.c (digest_init): Handle boolean types as scalars.
13536 Sat Jan 20 12:46:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13538 * stmt.c (expand_return): Don't return anything if size is zero.
13539 Delete redundant assignment to BYTES.
13540 * expr.c (move_block_from_reg): Do nothing if NREGS is zero.
13542 2001-01-20 Marek Michalkiewicz <marekm@linux.org.pl>
13544 * config/avr/avr.h (INIT_TARGET_OPTABS): Remove most of it, was
13545 the same as the default library function names.
13546 * config/avr/avr.md: Document special characters after '%'.
13547 (mulqi3, mulhi3, mulsi3): Call libgcc.S functions ourselves,
13548 knowing which of the call-used registers are really clobbered.
13549 (divmodqi4, udivmodqi4, divmodhi4, udivmodhi4, divmodsi4, udivmodsi4):
13550 New. Both quotient and remainder from one libgcc.S call.
13551 * config/avr/libgcc.S: Optimize mul/divmod for the new insns above,
13552 clobber as few registers as possible.
13553 * config/avr/t-avr (LIB1ASMFUNCS): Adjust for the above changes.
13555 2001-01-20 Neil Booth <neil@daikokuya.demon.co.uk>
13557 * cppmacro.c (funlike_invocation_p): Don't move back up to the
13558 context of the top of the stack.
13560 2001-01-20 Jakub Jelinek <jakub@redhat.com>
13562 * function.c (fixup_var_refs): Move CALL_PLACEHOLDER handling...
13563 (fixup_var_refs_insns): ...here.
13565 2001-01-20 Zack Weinberg <zack@wolery.stanford.edu>
13567 * function.c (fixup_var_refs_insns): Break up into
13568 fixup_var_refs_insn [body of loop], fixup_var_refs_insns
13569 [loop over entire insn list], and fixup_var_refs_insns_with_hash
13570 [loop over hash table entries].
13571 (fixup_var_refs): Adjust calls to fixup_var_refs_insns and/or
13572 fixup_var_refs_insns_with_hash, to match above changes.
13574 2001-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
13576 * Makefile.in (ORDINARY_FLAGS_TO_PASS): Add MAKEOVERRIDES variable.
13577 (libgcc.a): Likewise.
13578 (stmp-multilib): Likewise.
13579 (STAGE2_FLAGS_TO_PASS): Likewise.
13581 2001-01-19 Alexandre Oliva <aoliva@redhat.com>
13583 * config/sh/sh.c (prepare_move_operands) [PIC]: Use operands[0] as
13584 temporary if no_new_pseudos.
13586 2001-01-19 Neil Booth <neil@daikokuya.demon.co.uk>
13588 * cppinternals.texi: Update.
13590 2001-01-19 Richard Earnshaw <rearnsha@arm.com>
13592 * arm.c (arm_init_builtins): Re-enable builtins.
13594 Fri Jan 19 13:02:56 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13596 * rtl.texi (SET, CLOBBER): Document PARALLEL as SET_DEST possibility.
13597 * flow.c (mark_set_1, case PARALLEL): Don't require BLKmode, allow
13598 element to be null, and always expect an EXPR_LIST.
13599 * rtlanal.c (reg_overlap_mentioned_p, note_stores): Likewise.
13600 * sched-deps.c (sched_analyze_1): Likewise.
13601 * sched-rgn.c (check_live_1, update_live_1): Likewise.
13603 * regclass.c (max_set_parallel): New variable.
13604 (reg_scan): Take it into account in computation of max_parallel.
13605 (reg_scan_mark_refs, case SET): Compute it.
13607 * alias.c (rtx_equal_for_memref_p, case ADDRESSOF): Don't assume
13609 * expr.c (store_constructor): Don't look at MEM_ALIAS_SET unless MEM.
13610 * function.c (assign_parms): Use INTVAL for a CONST_INT.
13612 2001-01-19 Jason Merrill <jason@redhat.com>
13614 * dwarf2out.c (gen_subprogram_die): Don't reuse the in-class decl
13615 for the abstract instance of an inline function.
13617 Fri Jan 19 14:31:35 2001 Alexandre Oliva <aoliva@redhat.com>
13618 J"orn Rennecke <amylaar@redhat.com>
13620 * reload1.c (move2add_note_store): Treat all registers directly or
13621 indirectly derived from a base register as members of the same set
13623 (reload_cse_move2add): Adjust accordingly. Take mode and offset
13624 of base register into account.
13626 Fri Jan 19 09:18:42 2001 J"orn Rennecke <amylaar@redhat.com>
13628 * alias.c (find_base_value): Recognize TRUNCATE.
13629 (record_set): In PLUS case, invalidate if other summand is also a
13632 Thu Jan 18 06:43:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13634 * flow.c (mark_set_1, case PARALLEL): New case; rework to allow
13635 entry to be EXPR_LIST.
13636 * rtlanal.c (reg_overlap_mentioned_p): Allow PARALLEL in SET to
13637 be an EXPR_LIST (but not null, which other code doesn't allow).
13638 (note_stores): Properly handle PARALLEL in SET.
13639 Recursively call for top-level PARALLEL.
13640 * sched-deps.c (sched_analyze_1): Handle EXPR_LIST in PARALLEL in SET.
13641 * sched-rgn.c (check_live_1, update_live_1): Likewise.
13643 * config.gcc (rs6000-ibm-aix*, rs6000-bull-bosx): Add rs6000/aix.h.
13645 2001-01-18 Neil Booth <neil@daikokuya.demon.co.uk>
13647 * cpplib.c (_cpp_handle_directive): Use buffer->was_skipping,
13648 not pfile->skipping (== 0).
13650 2001-01-17 Nick Clifton <nickc@redhat.com>
13652 * config/rs6000/rs6000.c: Add prototypes for {init|free}_
13655 2001-01-17 Jim Wilson <wilson@redhat.com>
13657 * invoke.texi (IA-64 options): Improve.
13659 2001-01-17 Tom Tromey <tromey@redhat.com>
13661 * invoke.texi (Optimize Options): Use `{}' to around @samp
13664 2001-01-17 Aldy Hernandez <aldyh@redhat.com>
13666 * invoke.texi (-fno-guess-branch-probability): New option.
13668 Wed Jan 17 13:26:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13670 * combine.c (try_combine): Don't set i3_subst_into_i2 for
13671 case of making new double-word constant.
13672 Revert last change: instead just test i3_subst_into_i2.
13674 2001-01-17 Jakub Jelinek <jakub@redhat.com>
13676 * config/i386/i386.md (cmpqi_minus_1): Use {b} for QImode operation.
13677 Use q constraints instead of r.
13679 Tue Jan 16 22:23:04 2001 Alan Modra (alan@linuxcare.com.au)
13681 * config/pa/pa.h (PIC_OFFSET_TABLE_REGNUM_SAVED): Remove.
13682 (machine_function): Define.
13683 (PIC_OFFSET_TABLE_SAVE_RTX) : Define.
13684 * config/pa/pa.c (pa_init_machine_status, pa_mark_machine_status,
13685 pa_free_machine_status): New functions.
13686 (override_options): Set {init,mark,free}_machine_status to above.
13687 (hppa_expand_prologue): Use PIC_OFFSET_TABLE_SAVE_RTX instead of
13688 PIC_OFFSET_TABLE_REGNUM_SAVED.
13689 * config/pa/pa.md: Use PIC_OFFSET_TABLE_SAVE_RTX instead of
13690 PIC_OFFSET_TABLE_REGNUM_SAVED throughout.
13691 * config/pa/pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Remove
13692 references to PIC_OFFSET_TABLE_REGNUM_SAVED.
13693 * config/pa/pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
13695 2001-01-15 DJ Delorie <dj@redhat.com>
13697 * Makefile.in (gcov.1): Protect against texi2pod/pod2man failing.
13701 Tue Jan 16 17:20:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13703 * flow.c (propagate_one_insn): Make trying to delete a prologue
13704 or epilogue insn an ICE, not a warning. Allow doing this if
13705 the current function returns with stack pointer depressed.
13707 * combine.c (try_combine): If i3_subst_into_i2, properly check for
13708 I3 having more than one SET.
13710 2001-01-16 Jim Wilson <wilson@redhat.com>
13712 * invoke.texi: Document IA-64 options.
13714 * config/ia64/ia64.c (ia64_print_operand_address): Delete 'B' support.
13715 (fixup_errata): Delete TARGET_A_STEP use.
13716 * config/ia64/ia64.h (MASK_A_STEP, TARGET_A_STEP): Delete.
13717 (TARGET_SWITCHES): Delete -ma-step option.
13718 * config/ia64/ia64.md (all FP patterns): Delete %B0.
13719 (movqicc_astep, movqi_internal_astep, movhicc_astep,
13720 movhi_internal_astep, movsicc_astep, movsi_internal_astep, movdi+1,
13721 movdi_internal_astep, movsfcc_astep, movsf_internal_astep,
13722 movdfcc_astep, movdf_internal_astep, movtfcc_astep,
13723 movtf_internal_astep, cmovdi_internal_astep, cmovsi_internal_astep):
13725 (movqi_internal, movhi_internal, movsi_internal, movdi_internal,
13726 movsf_internal, movdf_internal, movtf_internal, cmovdi_internal,
13727 cmovsi_internal): Delete ! TARGET_A_STEP check.
13729 2001-01-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13731 * gcc.texi (Bug Lists): Do not mention newsgroups nor the
13732 possibility to report bugs via postal mail. Change a URL and
13733 merge in a nearly duplicate statement...
13734 (Bug Reporting): ...from here.
13735 (Service): Refer to the Bug Reporting section instead of
13736 duplicating an URL.
13737 (Contributing): Remove trivial explanations concerning snapshots.
13739 2001-01-16 Alan Modra <alan@linuxcare.com.au>
13741 * cppmain.c (general_init): Don't use ANSI prototype.
13743 2001-01-16 Tom Tromey <tromey@redhat.com>
13745 * gcc.c (cpp_options): Added `*' to specs for -MF, -MQ, and -MT.
13747 2001-01-16 Richard Henderson <rth@redhat.com>
13749 * config/i386/i386.h: Fix comment typo.
13750 * config/i386/i386.md (shift+compare pattern names): s/cmpno/cmp/
13751 (ashr+compare patterns): Match CCGOCmode not CCNOmode.
13753 2001-01-16 Phil Edwards <pme@sources.redhat.com>
13755 * gcc.c: Revert previous -fsyntax-only-related change; move
13758 2001-01-16 Jakub Jelinek <jakub@redhat.com>
13760 * config/i386/i386.c (fcmov_comparison_operator): Only initialize
13761 inmode after checking GET_CODE (op).
13763 2001-01-16 Richard Henderson <rth@redhat.com>
13765 * flow.c (struct propagate_block_info): Add mem_set_list_len.
13766 (MAX_MEM_SET_LIST_LEN): New.
13767 (propagate_one_insn): Update mem_set_list_len.
13768 (invalidate_mems_from_autoinc): Likewise.
13769 (invalidate_mems_from_set): Likewise.
13770 (mark_used_regs): Likewise.
13771 (init_propagate_block_info): Likewise. Stop collecting memories
13772 when we reach MAX_MEM_SET_LIST_LEN.
13773 (mark_set_1): Likewise.
13775 2001-01-16 Richard Henderson <rth@redhat.com>
13777 * unroll.c (precondition_loop_p): Fail if no iteration
13780 2001-01-16 Phil Edwards <pme@sources.redhat.com>
13782 * gcc.c: When -fsyntax-only is given, do not complain about
13785 2001-01-15 Richard Henderson <rth@redhat.com>
13787 * config/i386/i386.c (asm_output_function_prefix): Remove.
13788 (ix86_asm_file_end): New.
13789 (load_pic_register): Generate pic_label_name into a
13790 staticly allocated buffer.
13791 * config/i386/i386-protos.h: Update.
13792 * config/i386/i386.h (ASM_OUTPUT_FUNCTION_PREFIX): Remove.
13793 (ASM_FILE_END): New.
13794 * config/i386/i386afe.h: New file.
13795 * config.gcc (i?86-*-elf) [tm_file]: Use it.
13796 (i?86-*-{freebsd,linux*,moss*}): Likewise.
13797 * config/elfos.h (ASM_FILE_END): Undef before redefinition.
13798 * config/i386/cygwin.h (ASM_FILE_END): Likewise.
13799 * config/i386/osfrose.h (ASM_FILE_END): Invoke ix86_asm_file_end.
13800 * config/i386/sco5.h (ASM_FILE_END): Likewise.
13801 * config/i386/winnt.c (i386_pe_asm_file_end): Likewise.
13803 2001-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
13805 * Makefile.in (install-man): Remove explicit dependency on
13808 * configure.in, configure: Revert previous patch requiring perl
13811 2001-01-12 Aldy Hernandez <aldyh@redhat.com>
13813 * toplev.c (flag_guess_branch_prob): New.
13814 (f_options): Add guess-branch-probability option.
13815 (rest_of_decl_compilation): Only estimate branch probability if
13817 (main): set flag_guess_branch_prob.
13819 * flags.h (flag_guess_branch_prob): New.
13821 2001-01-15 DJ Delorie <dj@redhat.com>
13823 * gcc.texi (Makefile): Add documentation for Makefile targets.
13825 2001-01-15 Philip Blundell <philb@gnu.org>
13827 * config/arm/arm.c (arm_finalize_pic): New arg "prologue".
13829 * config/arm/arm-protos.h (arm_finalize_pic): Update prototype.
13830 (is_pic): Delete declaration.
13831 * config/arm/arm.h (FINALIZE_PIC): Update call to arm_finalize_pic.
13832 (OUTPUT_INT_ADDR_CONST): Remove special handling of PIC address.
13833 * config/arm/arm.md (builtin_setjmp_receiver): New.
13835 2001-01-15 Richard Earnshaw <rearnsha@arm.com>
13837 * arm.c (use_return_insn): Don't try to determine the function type
13838 until after reload has completed.
13839 (arm_output_epilogue): Don't adjust the sp value recovered from the
13841 (emit_multi_reg_push): Don't record dwarf information for the pc.
13842 * arm.md (eh_epilogue): The function type may have changed, so it
13843 needs to be recalculated.
13844 * arm/netbsd.h (DWARF2_UNWIND_INFO): Delete. Can now use dwarf2
13845 unwind tables on arm/netbsd.
13847 2001-01-15 Richard Earnshaw <rearnsha@arm.com>
13849 * arm.md (cbranchsi4): Correct calculation of branch ranges.
13850 (negated_cbranchsi4): Likewise.
13852 2001-01-15 Richard Earnshaw <rearnsha@arm.com>
13854 * config/arm/semi.h (SUBTARGET_EXTRA_SPECS): Define.
13855 (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
13856 (ASM_SPEC): Call subtarget_extra_asm_spec. Don't
13857 pass -mapcs-* options to assembler.
13858 * config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Define.
13859 (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
13860 (ASM_SPEC): Call subtarget_extra_asm_spec.
13862 2001-01-15 Andreas Jaeger <aj@suse.de>
13864 * config/i386/i386.c (ix86_init_builtins): Make i size_t to remove
13866 (ix86_expand_builtin): Likewise.
13868 * gencodes.c (output_predicate_decls): Make i size_t to avoid
13869 warning about comparison between signed and unsigned.
13871 2001-01-14 Geoffrey Keating <geoffk@redhat.com>
13873 * expr.c (do_jump): Treat VOIDmode CONST_DOUBLEs like CONST_INTs.
13875 2001-01-14 Ralf Baechle <ralf@gnu.org>
13877 * config/mips/linux.h (SUBTARGET_CPP_SPEC): Default ABI is 32; change
13878 SUBTARGET_CPP_SPEC apropriatly.
13880 2001-01-12 Mark Mitchell <mark@codesourcery.com>
13882 * varasm.c (make_decl_rtl): Fix typo in last change.
13884 2001-01-14 Jeffrey Oldham <oldham@codesourcery.com>
13886 * defaults.h (SUPPORTS_INIT_PRIORITY): New macro to indicate the
13887 linker supports the init_priority C++ attribute.
13888 * tm.texi (SUPPORTS_INIT_PRIORITY): Documentation for new macro.
13889 * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Indicate Irix
13890 linker does not support init_priority C++ attribute.
13892 Sun Jan 14 22:31:30 2001 J"orn Rennecke <amylaar@redhat.com>
13894 * Makefile.in (libgcc1-test.o): Depends on stmp-int-hdrs.
13896 2001-01-14 Neil Booth <neil@daikokuya.demon.co.uk>
13898 * c-parse.in (finish_parse): Add comment about cpp_destroy.
13899 * cp/lex.c (finish_parse): Similarly.
13900 * cppinit.c (cpp_cleanup): Rename cpp_destroy for clarity.
13901 Return the number of errors encountered.
13902 * cpplib.h (cpp_cleanup): Rename cpp_destroy, return int.
13903 * cppmain.c (main): Don't call cpp_destroy.
13905 2001-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
13907 * configure.in: Require at least perl 5.6.0 to regenerate
13909 * configure: Regenerate.
13911 2001-01-14 Richard Henderson <rth@redhat.com>
13913 * genrecog.c (DT_veclen_ge): New.
13914 (add_to_sequence) [MATCH_PARALLEL]: Generate one.
13915 (maybe_both_true_2): Simplify DT_veclen vs DT_veclen_ge.
13916 (nodes_identical_1): Handle DT_veclen_ge.
13917 (write_cond, debug_decision_2): Likewise.
13919 2001-01-14 Richard Earnshaw <rearnsha@arm.com>
13921 * arm.md (ldmsi_postinc, ldmsi, stmsi_postinc, smsi): Delete. Replace
13923 (ldmsi_postinc[432], ldmsi[432], stmsi_postinc[432], stmsi[432]): New.
13925 2001-01-14 Neil Booth <neil@daikokuya.demon.co.uk>
13927 * cppmain.c (do_preprocessing): New function; most of the old
13929 (main): Call it to do most of the work.
13930 (cb): Move from global scope to set_callbacks ().
13931 (setup_callbacks): Get the callback pointer.
13932 (general_init, printer_init): Clean up code and comments.
13934 2001-01-14 Richard Earnshaw <rearnsha@arm.com>
13936 * config/arm/semi.h (ASM_SPEC): Pass -k to the assembler when
13939 2001-01-14 Kazu Hirata <kazu@hxi.com>
13941 * config/h8300/h8300.c (get_shift_alg): Update comments.
13943 Sun Jan 14 06:20:49 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13945 * ggc-page.c (alloc_annon): Call perror and correctly call exit.
13946 (alloc_page, ggc_alloc): Add casts to remove warnings.
13948 2001-01-14 Geoffrey Keating <geoffk@redhat.com>
13950 * combine.c (simplify_comparison): Don't change `code' when
13951 can't reverse comparison.
13953 2001-01-14 Richard Henderson <rth@redhat.com>
13955 * rtlanal.c (computed_jump_p_1): Rename from jmp_uses_reg_or_mem;
13956 update all call sites. Return true for all non-label constants.
13958 Sun Jan 14 10:09:48 MET 2001 Jan hubicka <jh@suse.cz>
13960 * i386.c (ix86_expand_compare): Add bypass_test and second_test
13962 (ix86_expand_branch): Update.
13963 (ix86_expand_setcc): Update to handle multiple test conditions.
13964 (expand_int_movcc): Likewise.
13965 (expand_fp_movcc): Likewise.
13966 * i386-protos.h (ix86_expand_compare): New.
13967 * i386.md (andqi_?_slp, orqi_?_slp): New.
13968 (conditional trap expander): Update call to ix86_expand_compare.
13970 2001-01-14 Richard Henderson <rth@redhat.com>
13972 * config/vax/vax.md: Use nonimmediate_operand instead of
13973 general_operand in destinations.
13975 * config/vax/vax.md (indirect_jump): Use register_operand.
13977 * config/vax/vax.h (RETURN_POPS_ARGS): Max at 255 arguments.
13978 * config/vax/vax.md (call_pop): Turn into an expander.
13979 (call_value_pop): Likewise.
13980 (call, call_value): New.
13982 2001-01-14 Andreas Jaeger <aj@suse.de>
13984 * config/i386/i386.c (ix86_split_fp_branch): Remove unused
13986 (ix86_fp_compare_mode): Add unused attribute.
13987 (ix86_expand_fp_movcc): Remove unused variable.
13988 (ix86_expand_builtin): Make fcode unsigned.
13990 * expr.c (MOVE_BY_PIECES_P): Cast MOVE_RATIO to unsigned.
13991 (expand_expr): Add cast to avoid signed warning.
13992 (store_field): Likewise.
13993 (store_constructor_field): Likewise.
13994 (store_constructor): Likewise.
13995 (store_expr): Likewise.
13996 (clear_storage): Likewise.
13997 (emit_group_store): Likewise.
13998 (emit_group_load): Likewise.
14000 2001-01-13 Joseph S. Myers <jsm28@cam.ac.uk>
14002 * c-common.c: Move format checking code to ...
14003 * c-format.c: ... here. New file. Reorder some functions and
14005 (decl_handle_format_attribute, decl_handle_format_arg_attribute):
14007 * c-common.h (decl_handle_format_attribute,
14008 decl_handle_format_arg_attribute): Declare.
14009 * Makefile.in (C_AND_OBJC_OBJS): Add c-format.o.
14010 (c-common.o): Adjust dependencies.
14011 (c-format.o): New list of dependencies.
14013 2001-01-13 Jakub Jelinek <jakub@redhat.com>
14015 * unroll.c (loop_iterations): If we cannot prove iteration variable
14016 is set once in each iteration, punt.
14018 Sun Jan 14 00:23:15 2001 Denis Chertykov <denisc@overta.ru>
14020 * config/avr/avr.md ("strlenhi"): Remove clobber of input address.
14021 (*strlenhi): Remove clobber (which was buggy) of output address.
14023 2001-01-13 Joseph S. Myers <jsm28@cam.ac.uk>
14025 * Makefile.in (generated-manpages): Add gcc.1
14026 ($(srcdir)/gcc.1): New target.
14027 (maintainer-clean): Delete $(srcdir)/gcc.1.
14028 * gcc.texi: Add macros @gccoptlist and @gol.
14029 * invoke.texi: Include option summary in manpage. Mark up option
14030 summary with @gccoptlist and @gol. Use @r in one place where
14032 * texinfo.tex: Update to version 2000-12-11.07 from ftp.gnu.org.
14033 * gcc.1: Generate from invoke.texi.
14035 2001-01-13 Richard Henderson <rth@redhat.com>
14037 * ggc-page.c (USING_MALLOC_PAGE_GROUPS): New; set if not using mmap.
14038 (struct page_entry): Add group member.
14039 (struct page_group): New.
14040 (struct globals): Add page_groups member.
14041 (alloc_anon): Only define for using mmap; remove valloc call.
14042 (page_group_index): New.
14043 (set_page_group_in_use): New.
14044 (clear_page_group_in_use): New.
14045 (alloc_page): Implement USING_MALLOC_PAGE_GROUPS.
14046 (free_page, release_pages): Likewise.
14047 * configure.in (with-gc): Default to ggc-page always.
14049 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
14051 * reload1.c (replace_pseudos_in_call_usage): Use
14052 reg_equiv_constant and reg_equiv_address, and don't try
14053 regno_reg_rtx first.
14055 2001-01-13 Richard Henderson <rth@redhat.com>
14057 * ggc-page.c (alloc_page): Round up allocation size to one page.
14058 Set e->order on extra pages.
14060 2001-01-13 Richard Henderson <rth@redhat.com>
14062 * genrecog.c (nodes_identical): Expand commentary.
14063 (write_switch): Watch out for identical nodes.
14065 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
14067 * cppfiles.c (_cpp_fake_include): New function.
14068 * cpphash.h (_cpp_fake_include): New.
14069 * cpplib.c (do_line): Call _cpp_fake_include when entering
14070 header files in preprocessed input.
14071 * cppmain.c (cb_pragma_implementation): Remove handling.
14072 (setup_callbacks): Don't register pragmas.
14074 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
14076 * extend.texi: Udate for CPP.
14078 2001-01-13 Andreas Jaeger <aj@suse.de>
14080 * reload1.c: Add prototype for replace_pseudos_in_call_usage.
14082 * regmove.c: Add prototype for replace_in_call_usage.
14084 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
14086 * cpplib.h (cpp_pool, mi_state, mi_ind, struct cpp_macro,
14087 struct cpp_chunk, struct htab, struct toklist,
14088 struct cpp_context, CPP_STACK_MAX, struct lexer_state,
14089 struct spec_nodes, struct cpp_reader, CPP_OPTION, CPP_BUFFER,
14090 CPP_BUF_LINE, CPP_BUF_COL, CPP_BUF_COLUMN, U, ustrcmp, ustrncmp,
14091 ustrlen, uxstrdup, ustrchr, ufputs): Move to cpphash.h.
14092 (struct macro_args): Delete.
14093 * cpphash.h: See above.
14095 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
14097 * cppmain.c (struct printer): Remove no_line_dirs.
14098 (options, cb): New.
14099 (main, setup_callbacks, scan_buffer, printer_init, cb_define)
14100 : Use options rather than CPP_OPTION.
14101 (setup_callbacks): Use cb rather than pfile->cb.
14102 (main): No need to check for a buffer. Use cpp_errors.
14103 (printer_init): Don't set no_line_dirs.
14104 (maybe_print_line): Use options not no_line_dirs.
14105 (cb_file_change): Don't call print_line if -P.
14107 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
14109 * c-lex.c (init_c_lex): Use cpp_get_callbacks to set
14111 * c-parse.in (finish_parse): Use cpp_errors.
14112 (__yylex): Use return value of cpp_pop_buffer.
14113 * cp/lex.c (finish_parse): Use cpp_errors.
14114 * cp/spew.c (read_token): Use return value of cpp_pop_buffer.
14116 Sat Jan 13 16:57:40 2001 Denis Chertykov <denisc@overta.ru>
14118 * README.AVR: URLs corrected.
14120 Sat Jan 13 07:30:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14122 * c-decl.c (start_function): Don't warn if old prototype is builtin
14123 that's not in C's namespace.
14124 * libgcc2.c (_varargs): Update definition of __builtin_saveregs.
14125 (_bb): Add prototype for ctime.
14126 * config/alpha/osf.h (TRANSFER_FROM_TRAMPOLINE): Add missing protos.
14128 Sat Jan 13 09:53:32 MET 2001 Jan Hubicka <jh@suse.cz>
14130 * i386.c (ix86_fp_comparison_arithmetics_cost,
14131 ix86_fp_comparison_fcomi_cost, ix86_fp_comparison_sahf_cost,
14132 ix86_fp_comparison_cost): New functions.
14133 (ix86_expand_fp_compare): Use the costs to choose best bethod; add
14134 two new parameters SECOND_TEST and BYPASS_TEST; allow generating
14135 two-branch sequences; make static.
14136 (ix86_use_fcomi_compare): Do decision according to the costs.
14137 (split_fp_branch): New.
14138 * i386.md (compare-and-branch patterns): Use split_fp_branch.
14139 * i386-protos.h (ix86_expand_fp_compare): Remove
14140 (ix86_split_fp_branch): Declare.
14142 * i386.h (PREDICATE_CODES): Update codes from fcmov_comparison_operand
14143 and ix86_comparison_operator.
14145 * i386.c (ix86_prepare_fp_compare_args): Try to rearange the comparison
14146 to make it cheaper.
14148 * i386.c (put_condition_code): Output properly the unordered/ordered
14149 compares in fp case.
14150 (ix86_expand_fp_movcc): Use ix86_expand_compare infrastructure.
14152 * tm.texi (REVERSE_CONDITION): Document.
14153 * i386.c (ix86_fp_compare_mode): Simplify; return always CCFPmode
14154 in -ffast-math mode.
14155 * i386.h (REVERSE_CONDITION, REVERSIBLE_CC_MODE): New macro.
14157 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
14159 * config/sh/sh.c (sh_expand_epilogue): Use PR explicitly.
14161 * config/sh/sh.c (sh_expand_prologue): Let the second toggle_sz be
14164 * config/sh/sh.c (mova_p): Fix test for mova_const.
14166 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
14168 * fix-header.c (read_scan_file): Use cpp_get_callbacks and
14169 cpp_get_options rather than dereferencing pfile and using
14171 * scan-decls.c (scan_decls): Use return value of
14172 cpp_pop_buffer rather than CPP_BUFFER.
14174 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
14176 * cppinit.c (cpp_handle_option): help_only is now part of the
14177 cpp_options structure.
14178 * cpplib.c (cpp_errors, cpp_get_options, cpp_get_callbacks,
14179 cpp_set_callbacks): New functions.
14180 * cpplib.h (cpp_callbacks): Break out as a named structure.
14181 (cpp_options): Move help_only here from cpp_reader.
14182 (CPP_FATAL_ERRORS): Update to use cpp_errors.
14183 (cpp_errors, cpp_get_options, cpp_get_callbacks,
14184 cpp_set_callbacks): New prototypes.
14185 * cppmain.c (main): Update for help_only.
14187 2001-01-13 Joseph S. Myers <jsm28@cam.ac.uk>
14189 * Makefile.in (info, maintainer-clean, install-info, uninstall):
14190 Also build and remove and install and uninstall c-tree.info and
14192 ($(srcdir)/gcc.info): Add dependency on contrib.texi.
14193 ($(srcdir)/cppinternals.info): New target.
14194 * c-tree.texi: Change file name used when makeinfo used without -o
14195 from ir.info to c-tree.info. Add info directory entry.
14196 * cppinternals.texi: Add info directory entry.
14197 * .cvsignore: Update.
14199 2001-01-12 Jakub Jelinek <jakub@redhat.com>
14201 * c-typeck.c (store_init_value): Don't require constant initializer
14202 elements with -pedantic -std=c99.
14203 (digest_init): Change error about non-constant initializer elements
14205 (constructor_range_end): Remove.
14206 (constructor_incremental, designator_depth,
14207 designator_errorneous): New variables.
14208 (struct constructor_stack): Remove range_end, add incremental.
14209 (struct constructor_range_stack, constructor_range_stack): New.
14210 (struct initializer_stack): Add constructor_range_stack.
14211 (finish_init): Set it.
14212 (start_init): Likewise. require_constant_elements for non-static
14213 trees only if not flag_isoc99.
14214 (really_start_incremental_init): Remove constructor_range_end, add
14215 constructor_incremental.
14216 (pop_init_level): Likewise.
14217 (push_init_level): Likewise. If implicit and the subobject had some
14218 value set already, preinitialize the level with it.
14219 Warn about missing braces only if not pushing due to designators.
14220 (set_designator, push_range_stack): New functions.
14221 (set_init_label): Use them.
14222 (set_init_index): Likewise. Remove constructor_range_end.
14223 Error if designator index is outside of array bounds.
14224 (add_pending_init): Compare values of purpose index trees, not the
14225 trees themselves. Allow overwriting of already initialized element.
14226 Issue a warning if it had side-effects.
14227 (set_nonincremental_init, set_nonincremental_init_from_string): New
14229 (pending_init_member): Rename to...
14230 (find_init_member): ...this function. Call set_nonincremental_init
14231 if necessary. Compare values of purpose index trees, not the trees
14232 themselves. Return the actual value, not just non-zero if something
14234 (output_init_element): Remove checks for duplicates.
14235 If field has zero size, only check the initializer for correctness.
14236 Call set_nonincremental_init if necessary. Push RECORD/ARRAY into AVL
14237 if constructor_incremental is zero. Change error about initializers
14238 not computable at load time into pedwarn.
14239 (output_pending_init_elements): Compare bit positions, not
14240 FIELD_DECLs to take into account zero-sized fields.
14241 (process_init_element): Use constructor_range_stack to fill all
14242 ranges in the designator lists from current level up.
14243 * extend.texi: Update documentation for labeled elements.
14245 2001-01-12 Alexandre Oliva <aoliva@redhat.com>
14247 * calls.c (emit_library_call_value_1): Add USEs and CLOBBERs
14248 to function usage for arguments passed by reference. Optimize
14249 callee-copied arguments.
14250 * regmove.c (replace_in_call_usage): New function.
14251 (fixup_match_1): Call it.
14252 * cse.c (cse_insn): Canonicalize registers in function usage.
14253 * reload1.c (replace_pseudos_in_call_usage): New function.
14256 * Makefile.in: Reverted yesterday's wrong patch. Installed the
14259 2001-01-12 Jakub Jelinek <jakub@redhat.com>
14261 * config/alpha/alpha.c (alpha_expand_block_move): GET_MODE of tmp,
14264 2001-01-12 DJ Delorie <dj@redhat.com>
14266 * Makefile.in (bootstrap): rename stages to be mnemonic. Add
14267 restageN, unstageN, bubblestrap, quickstrap, and cleanstrap
14270 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
14272 * cpp.texi, extend.texi, gcc.texi, install.texi, invoke.texi,
14273 tm.texi: Consistently refer to ISO C instead of ANSI C. Refer to
14274 -std options alongside references to -ansi. Update some
14275 documentation for C99.
14276 * cpp.1: Regenerate.
14278 2001-01-12 Andreas Jaeger <aj@suse.de>
14280 * haifa-sched.c (restore_line_notes): Remove argument block B
14282 * sched-ebb.c (schedule_ebb): Change caller.
14283 * sched-rgn.c (schedule_region): Likewise.
14284 * sched-int.h (restore_line_notes): Adjust prototype.
14286 * loop.h: Remove wrong declaration of doloop_condition_get.
14288 2001-01-12 Phil Edwards <pme@sources.redhat.com>
14290 * extend.texi: Move C++-extension-related node from the C section
14291 into the C++ section.
14293 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
14295 * extend.texi: Refer to an array of pointers to functions instead
14296 of one of functions.
14298 Fri Jan 12 12:08:12 MET 2001 Andreas Jaeger <aj@suse.de>
14299 Jan Hubicka <jh@suse.cz>
14301 * combine.c (reversed_comparison): Fix typo in last patch.
14303 (combine_reversed_comparison_code): Make static to follow
14304 prototype declaration.
14306 2001-01-12 Phil Edwards <pme@sources.redhat.com>
14308 * install.texi: Remove misplaced duplicate entry.
14310 2001-01-11 Ulrich Drepper <drepper@redhat.com>
14312 * config/float-i386.h: Define FLT_EVAL_METHOD and DECIMAL_DIG for C99.
14314 Thu Jan 11 17:06:30 EST 2001 John Wehle (john@feith.com)
14316 * final.c: (leaf_function_p): Fix typo.
14318 2001-01-11 Zack Weinberg <zack@wolery.stanford.edu>
14320 * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Completely rewritten.
14321 Now defines HAVE_MMAP_DEV_ZERO and/or HAVE_MMAP_ANON depending
14323 (AC_FUNC_MMAP_FILE): Don't AC_REQUIRE AC_FUNC_MMAP_ANYWHERE.
14324 * configure.in: Set GGC to ggc-page if any of mmap_dev_zero,
14325 mmap_anon, and valloc is available.
14326 * ggc-page.c: Restructure ifdef logic to match new autoconf
14327 spec. Don't throw away the test page in init_ggc.
14329 * configure, config.in: Regenerate.
14331 2001-01-12 Michael Hayes <mhayes@redhat.com>
14333 * loop.h (total_biv_increment): Constify iv_class pointer.
14334 (struct induction): Replace `mem_mode' with `mem' rtx.
14335 * unroll.c (total_biv_increment): Constify iv_class pointer.
14336 * loop.c (loop_giv_reduce_benefit): Derive mem mode from mem rtx.
14337 (find_mem_givs, combine_givs_p): Likewise.
14338 (debug_ivs, debug_iv_class, loop_ivs_dump, loop_iv_class_dump): New.
14340 2001-01-10 Thomas Pfaff <tpfaff@gmx.net>
14342 * gthr-win32.h (__gthread_objc_thread_get_data): Save and restore Win32
14344 (__gthread_getspecific): Ditto.
14346 Fri Jan 12 00:04:00 MET 2001 Jan Hubicka <jh@suse.cz>
14348 * i386.c (ix86_comparison_operator, fcmov_comparison_operator,
14349 put_condition_code): Convert fp comparison codes to integer
14351 (ix86_expand_fp_compare): Postnote the fp comparison code converison
14354 * i386.c (unsigned_comparison, no_comparison_operator): Kill.
14355 * i386-protos.h (no_comparison_operator): Kill.
14357 * i386.c (ix86_expand_fp_compare): Fix ordered/unordered confussion.
14359 * combine.c (REVERSIBLE_CC_MODE): Remove.
14360 (reversible_comparison_p): Remove.
14361 (combine_reversed_comparison_code): New.
14362 (reversed_comparison): New.
14363 (combine_simplify_rtx): Use
14364 combine_reversed_comparison_code/reversed_comparison instead
14365 of reversible_comparison_p.
14366 (simplify_if_then_else): Likewise.
14367 (simplify_set): Likewise.
14368 (simplify_logical): Likewise.
14369 (if_then_else_cond): Likewise.
14370 (known_cond): Likewise.
14371 (simplify_comparison): Likewise.
14373 2001-01-11 Alan Lehotsky <lehotsky@tiac.net>
14375 * builtins.c (std_expand_builtin_va_start): Handle varargs when
14376 sizeof (int) is larger than sizeof(__word__).
14378 2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
14380 * cppinit.c (do_includes): Fix typo.
14382 2001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14384 * config/m68hc11/m68hc11.md (cmphi_1): Make sure reloading
14385 in S_REGS does not occur because not all sources are possible
14386 when a S_REGS is a destination (sometimes needs a clobber).
14387 (movqi_const0, zero_extendhisi2, zero_extendqisi2): Likewise.
14388 (zero_extendhidi2, extendqisi2, extendqihi2, extendhisi2): Likewise.
14389 (anddi3, iordi3, xordi3, negqi2, one_cmplhi2, one_cmplqi2: Likewise.
14390 (ashldi3_const32, ashldi3_const1, ashlsi3_const16): Likewise.
14391 (ashlsi3_const1, ashlhi3_2, ashlqi3_const1, ashrhi3): Likewise.
14392 (ashrqi3_const1, lshrdi3_const32, lshrdi3_const63): Likewise.
14393 (lshrdi_const1, lshrsi3_const16): Likewise.
14394 (*addhi3, lshrsi3_const1, lshrqi3_const1): Likewise.
14395 (*movhi_68hc12, *movqi_68hc12): Likewise.
14396 (movstrictqi): Make sure reloading in D_REGS as a destination
14399 2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
14401 * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
14403 2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
14405 * cppinit.c (cpp_start_read): If -fpreprocessed, ignore
14406 -D, -U and -A, and don't initialize the builtins.
14407 (do_includes): Error if -include or -imacros with -fpreprocessed.
14408 * cppmain.c (cb_define, cb_undef): Unconditionally process
14410 * tradcpp.c (main): Fix typo.
14412 2000-01-11 Mark Elbrecht <snowball3@bigfoot.com>
14414 * cppfiles.c (cpp_included, find_include_file, _cpp_execute_include)
14415 (read_name_map): Use IS_ABSOLUTE_PATH.
14416 * tradcpp.c (get_filename): Likewise.
14418 2001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14420 * config/m68hc11/m68hc11.md (*adcq, *subcq): Fix operand numbers.
14421 (*ashlsi3_const16_zexthi, *ashlsi3_const1): Likewise.
14422 (*lshrsi3_const, *lshrsi3_const1, *lshrsi3_const16): Likewise.
14423 (*ashrsi3, *ashrsi3_const, *ashlsi3, *ashlsi3_const): Likewise.
14424 (*ashlsi3_const1, *lshrsi3, *ashlsi3_const16): Likewise.
14425 (cmphi_z_used): Don't use '@' for the output.
14426 (tstqi_z_used): Likewise.
14427 (cmpqi_z_used): Likewise.
14428 (one_cmplsi2): Likewise.
14430 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
14432 * config/sh/sh.c (barrier_align): Recognize branch around far
14433 branch and redundant insn.
14435 2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
14437 * invoke.texi: Restore documentation of the drivers' switches -MD
14440 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
14442 * config/sh/sh.h (LABEL_ALIGN): Use UNSPECV_ALIGN instead of 1.
14444 * Makefile.in (check-gcc//%, check-g++//%, check-g77//%,
14445 check-objc//%): Support parallel testing of multilibs.
14446 (TESTSUITEDIR): Set to testsuite by default, but override for
14448 (check-gcc, check-g++, check-g77, check-objc): Enter
14451 2001-01-11 Bernd Schmidt <bernds@redhat.com>
14453 * alias.c (throughout): Use REGNO, rather than ORIGINAL_REGNO.
14454 * sched-deps.c (deps_may_trap_p): Likewise.
14455 * basic-block.h: Remove a comment.
14456 * flow.c (PROP_POSTRELOAD): Remove.
14457 (update_life_info): Don't add it to prop_flags.
14458 (mark_set_1): Lose the code that was enabled by it.
14460 2001-01-11 Michael Hayes <mhayes@redhat.com>
14462 * flow.c (flow_call_edges_add): New.
14463 * basic_block.h (flow_call_edges_add): New.
14465 2001-01-11 J"orn Rennecke <amylaar@redhat.com>
14467 * reload1.c (move2add_note_store): Update reg_set_luid even if
14468 base reg remains the same.
14470 2001-01-10 Nick Clifton <nickc@redhat.com>
14472 * config/d30v/d30v.c (d30v_init_machine_status): Initialise
14473 machine_function structure to zero.
14474 Add prototypes for machine_status functions.
14476 2001-01-10 Mark Mitchell <mark@codesourcery.com>
14478 * c-common.h (CTI_VOID_LIST): Remove.
14479 (void_list_node): Likewise.
14480 * tree.h (TI_VOID_LIST_NODE): New enumeral.
14481 (void_list_node): New macro.
14482 * config/arm/arm.c (arm_init_builtins): Use void_list_node.
14483 * config/i386/i386.c (ix86_init_builtins): Likewise.
14484 * config/ia64a/ia64.c (ia64_init_builtins): Likewise.
14486 2001-01-10 Neil Booth <neil@daikokuya.demon.co.uk>
14488 * Makefile.in (tradcpp0): Depend on mkdeps.h. Link mkdeps.o
14489 * cppinit.c (cpp_start_read): Update comment, remove unneeded
14491 * tradcpp.c: Include mkdeps.h.
14492 (deps, print_deps_phony_targets, deps_append, output_deps,
14493 init_dependency_output, output_deps): New.
14494 (deps_buffer, deps_allocated_size, deps_size, deps_column,
14495 deps_output): Delete.
14496 (print_deps_missing_files): Rename deps_missing_files.
14497 (inhibit_output): Make global.
14498 (main): Delete inhibit_output, deps_stream, deps_target.
14499 Use mkdeps functionality in the same way as cpplib. Remove
14500 -g3 handling. Handle -MF, -MP, -MQ, -MT. Update handling of
14501 -M and -MM. Remove old handling of deps via deps_out, and
14502 old reading of environment variables.
14503 (get_filename): Update to use deps_add_dep.
14505 2001-01-10 Mark Mitchell <mark@codesourcery.com>
14507 * output.h (make_function_rtl): Remove prototype.
14508 (make_decl_rtl): Likewise.
14509 * varasm.c (make_function_rtl): Remove.
14510 (make_decl_rtl): Determine top-levelness from DECL_CONTEXT, rather
14511 than from a third parameter.
14512 * tree.h (make_decl_rtl): Remove last parameter.
14513 * c-decl.c (builtin_function): Remove last argument in call to
14514 make_decl_rtl; use make_function_rtl instead of make_decl_rtl.
14515 (start_function): Likewise.
14516 * except.c (call_get_eh_context): Likewise.
14517 * expr.c (emit_block_move): Likewise.
14518 (clear_storage): Likewise.
14519 * profile.c (output_func_start_profiler): Likewise.
14520 * toplev.c (rest_of_decl_compilation): Likewise.
14521 * objc/objc-act.c (create_builtin_decl): Likewise.
14522 (synth_module_prologue): Likewise.
14523 (generate_static_reference): Likewise.
14524 (build_selector_reference_decl): Likewise.
14525 (build_class_reference_decl): Likewise.
14526 (build_objc_string_decl): Likewise.
14527 (build_protocol_reference): Likewise.
14529 2001-01-10 Richard Henderson <rth@redhat.com>
14531 * hwint.h: Revert yesterday's change.
14533 2001-01-10 Nick Clifton <nickc@redhat.com>
14535 * function.h (save_machine_status): Delete.
14536 (restore_machine_status): Delete.
14537 Amend comment describing {init|mark|free}_machine_status.
14539 * function.c (save_machine_status): Delete.
14540 (restore_machine_status): Delete.
14541 Amend comment describing {init|mark|free}_machine_status.
14542 (push_function_context_to): Remove invocation of
14543 save_machine_status.
14544 (pop_function_context_from): Remove invocation of
14545 restore_machine_status.
14547 * emit-rtl.c (init_emit_once): Amend comment describing
14548 {init|mark|free}_machine_status.
14550 * tm.texi (Per-Function Data): New node. Describe the
14551 INIT_EXPANDERS macro and the {init|mark|free}_machine_status
14554 2001-01-10 Neil Booth <neil@daikokuya.demon.co.uk>
14556 * cppinit.c (OPT_g): Remove.
14557 (cpp_handle_option): Update for removed -g3.
14558 (print_help): Update.
14559 * cpplib.h (struct cpp_options): Remove debug_output.
14560 * cppmain.c (setup_callbacks, cb_define): Update.
14561 * gcc.c (cpp_options): Translate -g3 to -dD.
14563 2001-01-10 Aldy Hernandez <aldyh@redhat.com>
14565 * config/i960/i960.md: Change modifier to + on the zero_extract
14566 pattern after the (rotate -2 reg) canonicalization pattern.
14568 2001-01-10 Richard Henderson <rth@redhat.com>
14570 * config/alpha/alpha.c (alpha_free_machine_status): New.
14571 (override_options): Install it.
14572 (alpha_mark_machine_status): Verify machine non-null.
14573 * config/i386/i386.c (ix86_free_machine_status): New.
14574 (override_options): Install it.
14575 (ix86_init_machine_status): Use xcalloc.
14576 (ix86_mark_machine_status): Verify machine non-null.
14577 * config/ia64/ia64.c (ia64_free_machine_status): New.
14578 (ia64_override_options): Install it.
14579 (ia64_mark_machine_status): Verify machine non-null.
14581 Wed Jan 10 11:34:39 2001 Jeffrey A Law (law@cygnus.com)
14583 * function.c (instantiate_virtual_regs): Instantiate virtual
14584 registers found in CALL_INSN_FUNCTION_USAGE.
14586 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
14588 * i386.h (CPP_CPU_SPEC): Allow for -std=c* and -std=i* as
14589 equivalent to -ansi in disabling -Di386.
14591 Wed Jan 10 16:38:31 MET 2001 Jan Hubicka <jh@suse.cz>
14593 * i386.c (ix86_fp_compare_code_to_integer, ix86_fp_comparison_codes):
14595 (ix86_expand_fp_compare): Make trivial use of new infrastructure.
14597 2001-01-10 Richard Earnshaw <rearnsha@arm.com>
14599 * arm.c (arm_init_builtins): Temporarily disable xscale builtins.
14601 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
14603 * invoke.texi: Document that -fcond-mismatch isn't supported for
14606 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
14608 * gcc.texi: Define macro gcctabopt.
14609 * invoke.texi: Add manpage sections BUGS and AUTHOR. Use
14610 @command, @env and @option in some places where appropriate. Use
14611 @gcctabopt where appropriate. Put URLs and email addresses inside
14614 2001-01-10 Nathan Sidwell <nathan@codesourcery.com>
14616 * gcc.c (cpp_options): Set MD file name from output
14617 filename, if specified.
14618 (suffix_subst): New static variable.
14619 (do_spec): Clear it.
14620 (do_spec_1, case '.'): Handle new `%.suffix' spec.
14622 (give_switch): Handle suffix_subst.
14624 2001-01-10 Phil Edwards <pme@sources.redhat.com>
14626 * invoke.texi: Fix another typo.
14628 2001-01-10 Phil Edwards <pme@sources.redhat.com>
14630 * invoke.texi: Fix typo.
14632 2001-01-10 Neil Booth <neil@daikokuya.demon.co.uk>
14634 * c-lang.c (lang_hooks): Update.
14635 (lang_decode_option): Remove.
14636 (lang_init_options): Rename c_init_options.
14637 * toplev.c (main): Use lang_hooks for lang_init_options
14638 and lang_decode_option.
14639 * toplev.h (lang_hooks): Add 2 new hooks.
14640 * tree.h: Remove lang_init_options and lang_decode_option.
14641 * cp/cp-tree.h (lang_decode_option): Rename cxx_decode_option.
14642 * cp/decl2.c: Similarly.
14643 * cp/lex.c (lang_init_options): Rename cxx_init_options.
14644 (lang_hooks): Update.
14645 * f/com.c (f_init, f_finish): Rename ffe_init, ffe_finish
14647 (lang_init_options): Rename ffe_init_options.
14648 (lang_hooks): Update.
14649 (lang_decode_option): Remove.
14650 * java/lang.c (lang_init_options): Rename java_init_options.
14651 (lang_decode_option): Rename java_decode_option.
14652 (lang_hooks): Update.
14653 * objc/objc-act.c (lang_init_options): Rename objc_init_options.
14654 (lang_decode_option): Rename objc_decode_option.
14655 (lang_hooks): Update.
14657 2001-01-09 Nick Clifton <nickc@redhat.com>
14659 * config/d30v/d30v.c (d30v_eh_epilogue_sp_ofs): Delete.
14660 (d30v_return_addr_rtx): Delete.
14661 (d30v_expand_epilogue): Use eh_epilogue_sp_ofs field in the
14662 cfun->machine structure.
14663 (struct machine_function): Move to d30v.h
14664 (d30v_save_machine_status): Delete.
14665 (d30v_restore_machine_status): Delete.
14666 (d30v_init_machine_status): New Function.
14667 (d30v_mark_machine_status): New Function.
14668 (d30v_free_machine_status): New Function.
14669 (d30v_init_expanders): Use new functions.
14670 (d30v_return_addr): Use ra_rtx field in cfun->machine.
14671 (d30v_add_gc_roots): Remove d30v_eh_epilogue_sp_ofs and
14672 d30v_return_addr_rtx.
14674 * config/d30v/d30v.h (struct_machine): Move here.
14675 Add eh_epilogue_sp_ofs field.
14677 *config/d30v/d30v.md (epilogue): Initialise eh_epilogue_sp_ofs
14678 field in cfun->machine structure.
14680 Tue Jan 9 21:34:57 2001 John David Anglin <dave@hiauly1.hia.nrc.ca>
14682 * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): When generating pic code,
14683 PIC_OFFSET_TABLE_REGNUM_SAVED is a call_used register.
14684 * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
14686 Tue Jan 9 21:25:19 2001 Jeffrey A Law (law@cygnus.com)
14688 * objc/lang-options.h: Remove bogus reference to
14691 2001-01-09 Kazu Hirata <kazu@hxi.com>
14693 * config/h8300/h8300.c (get_shift_alg): Use a struct shift_info to
14696 2001-01-09 Alan Lehotsky <lehotsky@tiac.net>
14698 * reload.c (find_reloads_address): Check for eliminable registers
14699 when substituting a constant expression for a pseudo.
14701 2001-01-09 Joseph S. Myers <jsm28@cam.ac.uk>
14703 * c-common.c (enum format_type): Add format_type_error.
14704 (decode_format_type): New function.
14705 (decl_attributes): Use it.
14706 (format_kind_info): Adjust comment.
14708 2001-01-09 David O'Brien <obrien@BSDi.com>
14710 * config.gcc (*-*-gnu*, i[34567]86-*-elf*, i[34567]86-*-linux*libc1,
14711 i[34567]86-*-linux*, i[34567]86-*-moss*): Specify needed platform specific
14713 * config/i386/gnu.h: Don't include required platform specific .h files,
14714 tm.h will do it instead.
14715 * config/i386/i386elf.h: Likewise.
14716 * config/i386/linux.h: Likewise.
14717 * config/i386/moss.h: Likewise.
14718 * config/mips/gnu.h: Likewise.
14720 2001-01-09 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
14722 * config.gcc (powerpc-*-beos*): Include ${tm_file} and rs6000/aix.h.
14723 (rs6000-ibm-aix3.[01]*): Likewise.
14724 (rs6000-ibm-aix3.2.[456789]*, powerpc-ibm-aix3.2.[456789]*): Likewise.
14725 (rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*): Likewise.
14726 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Likewise.
14727 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
14728 (powerpc-*-sysv*): Include {tm_file}. svr4.h and rs6000/sysv4.h.
14729 (powerpc-*-eabiaix*): Likewise.
14730 (powerpc-*-eabisim*): Likewise.
14731 (powerpc-*-elf*): Likewise.
14732 (powerpc-*-eabi*): Likewise.
14733 (powerpc-*-rtems*): Likewise.
14734 (powerpc-*-linux*libc1): Likewise.
14735 (powerpc-*-linux*): Likewise.
14736 (powerpc-wrs-vxworks*): Likewise.
14737 (powerpcle-wrs-vxworks*): Likewise.
14738 (powerpcle-*-sysv*): Likewise.
14739 (powerpcle-*-elf*): Likewise.
14740 (powerpcle-*-eabisim*): Likewise.
14741 (powerpcle-*-eabi*): Likewise.
14742 (powerpcle-*-solaris2*): Likewise.
14743 * config/rs6000/aix31.h: Delete includes.
14744 * config/rs6000/aix3newas.h: Likewise.
14745 * config/rs6000/aix41.h: Likewise.
14746 * config/rs6000/aix43.h: Likewise.
14747 * config/rs6000/beos.h: Likewise.
14748 * config/rs6000/rtems.h: Likewise.
14749 * config/rs6000/sysv4.h: Likewise.
14751 2001-01-09 Kazu Hirata <kazu@hxi.com>
14753 * config/h8300/h8300.c (get_shift_alg): Remove an argument cpu.
14754 Change an argument mode of machine_mode to shift_mode of
14755 shift_mode. Remove an extra error check.
14756 (emit_a_shift): Adopt to the new calling prototype of
14758 (function_prologue): Fix code for a monitor
14759 function. Support H8/S.
14760 (function_epilogue): Do not output pop for a monitor function.
14762 2001-01-09 Nick Clifton <nickc@redhat.com>
14764 * config/rs6000/rs6000.c (rs6000_sysv_varargs_p): Delete.
14765 (setup_incoming_varargs): Use sysv_varargs_p field of the
14766 cfun->machine structure.
14767 (struct machine_function): Move to rs6000.h
14768 (rs6000_save_machine_status): Delete.
14769 (rs6000_restore_machine_status): Delete.
14770 (rs6000_init_machine_status): New Function.
14771 (rs6000_free_machine_status): New Function.
14772 (rs6000_init_expanders): Use new functions.
14774 * config/rs6000/rs6000.h (rs6000_sysv_varargs_p): Delete
14776 (struct machine_function): Move here.
14778 * config/rs6000/sysv4.h (RS6000_VARARGS_AREA): Use
14779 sysv_varargs_p field of the cfun->machine structure.
14781 * config/rs6000/rs6000-protos.h (rs6000_save_machine_status):
14783 (rs6000_restore_machine_status): Remove prototype.
14785 2001-01-09 Richard Henderson <rth@redhat.com>
14787 * sched-int.h (struct deps): Add max_reg, reg_last_in_use; merge
14788 reg_last_uses, reg_last_sets, reg_last_clobbers into struct deps_reg.
14789 * sched-deps.c (sched_analyze_1): Update uses of struct deps.
14790 (sched_analyze_2, sched_analyze_insn): Likewise.
14791 (sched_analyze, init_deps): Likewise.
14792 (free_deps): Likewise. Iterate with EXECUTE_IF_SET_IN_REG_SET.
14793 * sched-rgn.c (propagate_deps): Likewise. Remove max_reg argument.
14794 (compute_block_backward_dependences): Update propagate_deps call.
14796 2001-01-09 Mark Elbrecht <snowball3@bigfoot.com>
14798 * gcc.c (process_command): Set switches[n_switches].ordering to 0.
14800 2001-01-09 Neil Booth <neil@daikokuya.demon.co.uk>
14802 * cppinit.c (OPT_MD, OPT_MMD): Restore.
14803 (cpp_handle_option): Handle them.
14804 (cpp_post_options): Ensure one of -M or -MM is specified with
14805 any other -M? option.
14806 (init_dependency_output): Suppress output with -MG.
14808 2001-01-09 Neil Booth <neil@daikokuya.demon.co.uk>
14810 * cpp.texi: Update.
14811 * invoke.texi: Update.
14813 2001-01-09 Bernd Schmidt <bernds@redhat.com>
14815 * sh.md (reload_outsf): Generate recognizable patterns for
14818 2001-01-09 Neil Booth <neil@daikokuya.demon.co.uk>
14820 * c-lang.c (lang_hooks): Update.
14821 (lang_init): Rename c_init.
14822 (lang_finish): Remove.
14823 * toplev.c (compile_file): Use lang_hooks for lang_init ()
14824 and lang_finish ().
14825 * toplev.h (lang_hooks): Add init () and finish ().
14826 * tree.h (lang_init, lang_finish): Remove.
14827 * cp/tree.h (lang_init, lang_finish): Remove.
14828 * cp/decl2.c (cxx_post_options, lang_hooks): Move to cp/lex.c.
14829 * cp/lex.c (cxx_init, cxx_finish, cxx_post_options,
14831 (lang_init, lang_finish): Remove.
14832 * f/com.c (lang_init, lang_finish): Rename f_init, f_finish.
14833 (lang_hooks): Update.
14834 * java/lang.c (lang_init): Rename java_init.
14835 (lang_finish): Remove.
14836 (lang_hooks): Update.
14837 * objc/objc-act.c (lang_init): Rename objc_init.
14838 (lang_finish): Remove.
14839 (lang_hoooks): Update.
14841 20001-01-09 Graham Stott <grahams@redhat.com>
14843 * cppfiles.c (_cpp_execute_include): Move `len` initialisation
14844 after `ptr` is initialised.
14846 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
14848 * config/sh/sh.h (STATIC_CHAIN_REGNUM): Change from r13 to r3.
14849 (INITIALIZE_TRAMPOLINE): Adjust accordingly.
14850 * config/sh/sh.c (sh_expand_prologue): Use r1 as temporary for
14851 stack adjusts, instead of r3.
14853 2001-01-09 Michael Hayes <mhayes@redhat.com>
14855 * flow.c (flow_loop_scan): Break out of ...
14856 (flow_loops_find) ... here.
14857 * basic-block.h (flow_loop_scan): New.
14858 (LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES): Add.
14859 (LOOP_EDGES, LOOP_EXITS_DOMS, LOOP_ALL): Redefine.
14861 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
14863 * cppinit.c (cpp_cleanup): NULLify macro_buffer and zero
14865 * cppmacro.c (cpp_macro_definition): Reset macro_buffer_len when
14866 realloc()ing macro_buffer.
14868 * hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long
14869 if it's wider than long and the target's long is wider than the
14872 2001-01-09 Mark Mitchell <mark@codesourcery.com>
14874 Remove support for using UWIN as a host machine.
14875 * configure.in: Issue an error message.
14876 * configure: Regenerated.
14877 * config.gcc: Remove xm_* UWIN configury.
14878 * config/i386/xm-uwin.h: Remove.
14880 2001-01-08 Nick Clifton <nickc@redhat.com>
14882 * config/v850/v850.c (ra_rtx): Delete.
14883 (v850_save_machine_status): Delete.
14884 (v850_restore_machine_status): Delete.
14885 (v850_init_machine_status): New function.
14886 (v850_mark_machine_status): New function.
14887 (v850_free_machine_status): New function.
14888 (v850_return_addr): Use ra_rtx field in machine structure.
14889 (v850_init_expanders): Use new functions.
14891 * config/v850/v850-protos.h: Fix prototypes for v850_output_*
14892 * config/v850/v850.c: Change arguments to v850_output+* functions
14893 to take a const char *, to avoid compile time warning.
14894 * config/v850/v850.h (ASM_OUTPUT_LABELREF): Undefine, not needed.
14895 (USER_LABEL_PREFIX): Redefine.
14897 2000-01-08 Jim Wilson <wilson@redhat.com>
14899 * sched-rgn.c (BITSET_ADD, BITSET_REMOVE, bitset_member): Cast
14900 1 to unsigned HOST_WIDE_INT before left shift.
14902 2001-01-08 Nick Clifton <nickc@redhat.com>
14904 * config/arm/arm.c (arm_mark_machine_status): Check to see if
14905 the machine structure has been allocated.
14906 (arm_free_machine_status): New function: Free the machine
14907 specific function structure.
14909 2001-01-08 Richard Henderson <rth@redhat.com>
14911 * jump.c (simplejump_p): Revert last change.
14913 2001-01-08 Neil Booth <neil@daikokuya.demon.co.uk>
14915 * cppinit.c (init): Rename init_library.
14916 (cpp_create_reader): Update.
14917 * gcc.c (cpp_options): If -o given, use it as the target of
14920 2001-01-08 Richard Earnshaw <rearnsha@arm.com>
14922 * arm.c (arm_arch5e): New variable.
14923 (all_cores): XScale is a 5TE device.
14924 (arm_override_options): Set arm_arch5e.
14925 (arm_init_builtins): __builtin_prefetch is in arch5e.
14926 * arm.h (arm_arch5e): Declare it.
14928 * arm.h (PREDICATE_CODES): Add arm_hard_register_operand.
14930 * arm.md (define_constants): Add defines for UNSPEC and
14931 UNSPEC_VOLATILE insns. Update all users.
14932 (define_constants): Add constants for IP_REGNUM, SP_REGNUM, PC_REGNUM.
14933 * arm.c (multi_register_push, note_invalid_constants)
14934 (emit_multi_reg_push, emit_sfm, expand_prologue): Use constants.
14935 * arm.h (SP_REGNUM, IP_REGNUM, PC_REGNUM): Delete defines.
14936 (STACK_POINTER_REGNUM): Define in terms of SP_REGNUM.
14938 Mon Jan 8 16:14:56 MET 2001 Jan Hubicka <jh@suse.cz>
14940 * jump.c (jump_optimize_1): Use reversed_comparison_code
14941 instead of can_reverse_comparison_p.
14942 (jump_back_p): Likewise.
14943 (invert_exp_1): Likewise.
14944 (thread_jumps): Likewise.
14945 * simplify-rtx.c (simplify_unary_operation): Likewise.
14946 (simplify_ternary_operation): Likewise.
14947 * cse.c (find_comparison_args): Convert to use
14948 can_reverse_comparison_p.
14949 (record_jump_equiv): Likewise.
14951 2001-01-08 Richard Earnshaw <rearnsha@arm.com>
14953 * arm.h (HARD_REGNO_RENAME_OK): Delete.
14954 (EPILOGUE_USES): Define.
14955 (INITIAL_ELIMINATION_OFFSET): Current prologue code does not
14956 automatically stack the LR if it isn't live.
14958 Mon Jan 8 13:46:02 MET 2001 Jan Hubicka <jh@suse.cz>
14960 * i386.c (ix86_expand_int_movcc): Take care to reverse fp conditions
14963 Sun Jan 7 18:37:43 2001 Mark P Mitchell <mark@codesourcery.com>
14965 * ggc-page.c (max_alignment): New structure.
14966 (MAX_ALIGNMENT): New macro.
14967 (init_ggc): Use it to round up the sizes in the
14968 extra_order_size_table.
14970 2001-01-07 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
14972 * config/rs6000/rs6000.h (EPILOGUE_USES): New, mark link register
14975 2001-01-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14977 * builtins.def (BUILT_IN_FPRINTF): New entry.
14979 * c-common.c (c_expand_builtin_fprintf): New function.
14980 (init_function_format_info): Handle __builtin_fprintf.
14981 (c_common_nodes_and_builtins): Declare fprintf/__builtin_fprintf.
14982 (c_expand_builtin): Handle BUILT_IN_FPRINTF.
14984 * c-decl.c (duplicate_decls): Adjust comment.
14986 * extend.texi (fprintf): Document new builtin.
14988 2001-01-07 Richard Henderson <rth@redhat.com>
14990 * jump.c (simplejump_p): Recognize any single_set jump
14991 of the proper form.
14993 2001-01-07 Richard Henderson <rth@redhat.com>
14995 * configure.in (slibdir): Accept an --with-slibdir option.
14996 Use "test" not "[" in configure. Default to $(libdir).
14998 * config/t-linux (SHLIB_INSTALL): Double quote slibdir;
15000 * config/t-aix43 (SHLIB_INSTALL): Likewise.
15001 * config/alpha/t-osf4 (SHLIB_INSTALL): Likewise.
15002 (SHLIB_LINK): Create links for the soname.
15003 * config/mips/t-iris6: Likewise.
15004 * config/sparc/t-slibgcc: Likewise.
15005 * config/sparc/t-slibgcc-sld: Likewise.
15007 2001-01-07 Jakub Jelinek <jakub@redhat.com>
15009 * config/i386/i386.c (constant_call_address_operand): Accept
15010 (const (plus (symbol_ref) (const_int))).
15011 * config/i386/i386.h (PREDICATE_CODES): Add CONST for
15012 constant_call_address_operand.
15014 2001-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15016 * libgcc2.h (W_TYPE_SIZE): Fix case where MIN_UNITS_PER_WORD == 1
15017 and LONG_LONG_TYPE_SIZE > 32.
15019 2001-01-07 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
15021 * jump.c (reversed_comparison_code_parts): Fix typo introduced by
15022 the previous change.
15024 Sun Jan 7 19:37:48 MET 2001 Jan Hubicka <jh@suse.cz>
15026 * jump.c (reversed_comparison_code_parts, reversed_comparison_code):
15028 (can_reverse_comparison_p): Rewrite to use reversed_comparison_code.
15029 (reverse_condition_maybe_unordered): Abort on unsigned comparisons.
15030 * rtl.h (reversed_comparison_code_parts, reversed_comparison_code):
15033 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
15035 * fix-header.c (read_scan_file): s/pfile/scan_in/.
15037 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
15039 * c-lang.c (c_post_options): Call cpp_post_options.
15040 * objc/objc-act.c (objc_post_options): Similarly.
15041 * cppmain.c (main): Similarly.
15042 * fix-header.c (read_scan_file): Similarly.
15043 * cppinit.c (cpp_start_read): Move option consistency checks
15044 to cpp_post_options. Don't call init_dependency_output.
15045 If needed, add default target and main file dependency.
15046 (OPT_MD, OPT_MMD): Remove.
15048 (cpp_handle_option): Update for OPT_* changes.
15049 (cpp_post_options): New.
15050 (init_dependency_output): Command line -MF overrides environment
15051 variables. Don't set default target etc. Suppress output
15052 if dependencies are going to stdout.
15053 (print_help): Update.
15054 * cpplib.h (cpp_post_options): New.
15055 * gcc.c (cpp_options): Update for -MD, -MMD, -MF.
15057 Sun Jan 7 14:44:19 MET 2001 Jan Hubicka <jh@suse.cz>
15059 * jump.c (comparison_dominates_p): Support unordered compares.
15061 Sun Jan 7 14:39:07 MET 2001 Jan Hubicka <jh@suse.cz>
15063 * simplify-rtx.c (simplify_relational_operation): Always simplify
15064 ORDERED and UNORDERED when FLAG_FAST_MATH. Handle properly UNLE
15067 Sun Jan 7 14:35:13 MET 2001 Jan Hubicka <jh@suse.cz>
15069 * combine.c (combine_simplify_rtx): Recognize the unordered compares.
15070 (nonzero_bits): Likewise.
15071 (simplify_comparison): Likewise.
15072 (num_sign_bit_copies): Likewise; return more sane value depending
15073 on STORE_FLAG_VALUE.
15074 (known_cond): Do not assume EQ to be always true for equivalent
15077 Sun Jan 7 14:31:57 MET 2001 Jan Hubicka <jh@suse.cz>
15079 * cse.c (fold_rtx): Handle unordered comparisons.
15081 Sun Jan 7 13:49:19 MET 2001 Jan Hubicka <jh@suse.cz>
15083 * rtlanal.c (set_of_1): New static function.
15084 (reg_set_last_1, reg_set_p_1, reg_set_reg, reg_set_flag,
15085 reg_set_last_unknown, reg_set_last_value, reg_set_last_first_regno,
15086 reg_set_last_last_regno): Remove.
15087 (set_of): New global function.
15088 (set_of_data): New structure.
15089 (reg_set_p, reg_set_last): Revamp for set_of.
15090 * rtl.h (set_of): New.
15092 2001-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
15094 * c-common.c (c_common_nodes_and_builtins): Add _Exit builtin.
15095 * extend.texi: Document _Exit builtin.
15097 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
15099 * (initialize, initialize_builtins,
15100 initialize_dependency_output, initialize_standard_includes):
15101 Rename s/initialize/init. Update.
15102 (init_dependency_output): Move to after
15103 cpp_handle_options, the correct location temporally at least.
15104 (opt_comp): Move next to init (), its caller. Fix prototype.
15105 (init): Make "initialized" local scope.
15106 (cpp_create_reader): Always call init ().
15107 (cpp_start_read): Update.
15108 (output_deps): New function, broken out of cpp_finish.
15109 (cpp_finish): Break out output_deps.
15111 2001-01-07 Richard Henderson <rth@redhat.com>
15113 * collect2.c (COFF specific stuff): Revert 12-06 patch
15114 to prototype system functions.
15116 2001-01-07 Michael Hayes <mhayes@redhat.com>
15118 * hard-reg-set.h: Add multiple include guard.
15119 * basic-block.h (struct loop): Add `sink' field.
15120 * loop.h: Include sbitmap.h, hard-reg-set.h, and basic-block.h.
15121 (emit_iv_add_mult): Delete.
15122 (loop_iv_add_mult_hoist, loop_iv_add_mult_sink): Define.
15123 (loop_iv_add_mult_emit_before, loop_insn_sink): Define.
15124 (unroll_loop): Remove end_insert_before argument.
15125 * loop.c (loop_givs_rescan): Remove end_insert_before argument.
15126 (maybe_eliminate_biv_1): Likewise.
15127 (emit_iv_add_mult): Delete.
15128 (gen_add_mult, loop_regs_update): New.
15129 (loop_insn_emit_after, loop_insn_emit_before): New.
15130 (loop_insn_sink, loop_insn_sink_or_swim): New.
15131 (emit_iv_add_mult): Delete.
15132 (scan_loop): Set loop->sink.
15133 (loop_givs_reduce): Use loop_insn_sink and its ilk.
15134 (loop_givs_rescan, strength_reduce, check_dbra_loop): Likewise.
15135 (maybe_eliminate_biv_1): Likewise.
15136 (maybe_eliminate_biv_1): Add basic block argument.
15137 * unroll.c (unroll_loop): Remove end_insert_before argument.
15138 (find_splittable_regs): Likewise.
15139 (find_splittable_regs): Use loop_insn_sink and its ilk.
15140 (find_splittable_givs, final_biv_value, final_giv_value): Likewise.
15142 2001-01-07 Michael Hayes <mhayes@redhat.com>
15144 * loop.h (loop_insn_hoist): New prototype.
15145 * loop.c (loop_insn_hoist, loop_insn_emit_before): New.
15146 (move_movables, loop_givs_rescan): Use loop_insn_hoist.
15147 (check_dbra_loop, load_mems): Likewise.
15148 * unroll.c (unroll_loop, find_splittable_regs): Likewise.
15149 (find_splittable_givs): Likewise.
15151 2001-01-07 Michael Hayes <mhayes@redhat.com>
15153 * loop.c (emit_iv_add_mult): Use single_set to examine new insn.
15155 2001-01-07 Richard Henderson <rth@redhat.com>
15157 * sched-rgn.c (is_cfg_nonregular): Fix thinko's last change.
15159 2001-01-07 Richard Henderson <rth@redhat.com>
15161 * Makefile.in (DRIVER_DEFINES): Define ENABLE_SHARED_LIBGCC and
15162 NO_SHARED_LIBGCC_MULTILIB as required for the target.
15163 * gcc.c (init_spec): Massage the existing libgcc_spec into a
15164 variant that handles a shared libgcc.
15165 (process_command): Always validate -{static,shared}-libgcc.
15166 (do_spec_1): New 'M' case.
15167 * invoke.text (Link Options): Document -{static,shared}-libgcc.
15169 2001-01-07 Richard Henderson <rth@redhat.com>
15171 * Makefile.in (slibdir): New variable.
15172 (libgcc.mk): Pass SHLIB_INSTALL to mklibgcc.
15173 (installdirs): Create slibdir.
15174 (install-libgcc, install-multilib): Defer to libgcc.mk.
15175 * configure.in (slibdir): Substitute.
15176 * mklibgcc.in (install): New target.
15178 * config/t-linux (SHLIB_LINK): Create links for the soname.
15179 (SHLIB_INSTALL): New.
15180 * config/alpha/t-osf4 (SHLIB_INSTALL): New.
15181 * config/mips/t-iris6 (SHLIB_INSTALL): New.
15182 * config/rs6000/t-aix43 (SHLIB_INSTALL): New.
15183 * config/sparc/t-slibgcc (SHLIB_INSTALL): New.
15184 * config/sparc/t-slibgcc-sld (SHLIB_INSTALL): New.
15186 2001-01-07 Richard Henderson <rth@redhat.com>
15188 * config/rs6000/aix.h (LINK_LIBGCC_SPECIAL_1): New.
15189 * config/rs6000/rs6000.h (LIBGCC_SPEC): Remove.
15190 * config/rs6000/sysv4.h (LIBGCC_SPEC): Remove.
15192 2001-01-07 Michael Hayes <mhayes@redhat.com>
15194 * loop.c (count_loop_regs_set): Delete.
15195 (load_mems_and_recount_loop_regs_set): Delete.
15196 (loop_regs_scan): Merge common code from count_loop_regs_set,
15197 scan_loop, and load_mems_and_recount_loop_regs_set.
15198 (scan_loop): Call load_mems directly and loop_regs_scan
15199 again if new registers created.
15201 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
15203 * toplev.c (main): Call the front-end specific post_options
15204 hook if one is given.
15205 * toplev.h (struct_lang_hooks, lang_hooks): New.
15206 * c-lang.c (c_post_options, lang_hooks): Implement lang_hooks
15207 for the C front end.
15208 * cp/decl2.c (cxx_post_options, lang_hooks): Implement
15209 lang_hooks for the C++ front end.
15210 * objc/objc-act.c (objc_post_options, lang_hooks): Implement
15211 lang_hooks for the ObjC front end.
15212 * f/com.c (lang_hooks): Hooks for the Fortran front end.
15213 * java/lang.c (lang_hooks): Hooks for the Java front end.
15215 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
15217 * c-lex.c (init_c_lex): Request #define / #undef callbacks
15218 for verbose DWARF[2] debugging.
15219 (cb_define, cb_undef): The new callbacks.
15220 * toplev.h (debug_define, debug_undef): Make const correct.
15221 * toplev.c (debug_define, debug_undef): Similarly. Do not
15222 perform the verbosity tests here anymore.
15224 2001-01-07 Alexandre Oliva <aoliva@redhat.com>
15226 * reload.c (subst_reloads): Take INSN argument. When
15227 replacing a LABEL_REF in a JUMP_INSN, add a REG_LABEL note.
15228 * reload.h (subst_reloads): Adjust prototype.
15229 * reload1.c (reload_as_needed): Pass INSN to subst_reloads.
15230 * jump.c (mark_all_labels): Canonicalize any REG_LABEL notes
15231 present in JUMP_INSNs and copy them to JUMP_LABEL.
15232 * flow.c (find_label_refs, find_basic_blocks_1): Skip
15233 JUMP_INSNs and insns with REG_LABELs that are followed by
15234 JUMP_INSNs with the same REG_LABEL.
15235 * sched-rgn.c (is_cfg_nonregular): Likewise.
15236 * rtlanal.c (computed_jump_p): Make it false if a REG_LABEL
15238 * unroll.c (unroll_loop): Look for REG_LABEL notes in
15240 * rtl.texi (REG_LABEL): Document usage in JUMP_INSNs.
15242 2001-01-06 Richard Henderson <rth@redhat.com>
15244 * loop.c (scan_loop): Use xcalloc for the regs array.
15245 (load_mems_and_recount_loop_regs_set): Zero the new memory
15246 received from xrealloc.
15248 2001-01-06 Neil Booth <neil@daikokuya.demon.co.uk>
15250 * mkdeps.c (deps_add_dep): Fix vector re-allocation.
15252 Sat Jan 6 00:09:34 2001 J"orn Rennecke <amylaar@redhat.com>
15254 * integrate.c (copy_rtx_and_substitute): When copying
15255 an ignored return value, strip REG_FUNCTION_VALUE_P.
15257 2001-01-06 Michael Hayes <mhayes@redhat.com>
15259 * loop.c (debug_biv, debug_giv): New.
15260 (loop_biv_dump): Break out from ...
15261 (record_biv): ... here.
15262 (loop_giv_dump): Break out from ...
15263 (record_giv): ... here.
15264 (loop_bivs_check): Use print_simple_rtl.
15265 * unroll.c (loop_iterations): Use print_simple_rtl.
15267 2000-01-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
15269 * pa.md (return, return_internal): Modify patterns to prevent regrename
15270 mucking with the return pointer.
15272 2001-01-05 Richard Henderson <rth@redhat.com>
15274 * dwarf2out.c (mem_loc_descriptor) [case MEM]: Revert 10-31 change.
15276 Fri Jan 5 16:34:18 2001 Nick Clifton <nickc@redhat.com>
15278 * config/v850/lib1funcs.asm: Replace __mulsi3 routine with faster
15279 version supplied by Matteo Frigo.
15281 2001-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
15283 * cpp.texi: Update for -MQ.
15284 * cppinit.c (cpp_create_reader): Always create pfile->deps.
15285 (cpp_cleanup): Always free pfile->deps.
15286 (initialize_dependency_output): Don't create pfile->deps.
15287 (cpp_handle_option): Similarly.
15289 * gcc.c (cpp_options): Handle -MQ.
15290 (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
15291 * mkdeps.c (base_name): Remove.
15292 (deps_init): Don't allocate vector space until it's needed.
15293 (deps_free): Only free vectors if allocated.
15294 (deps_add_target, deps_add_dep): Update for initial allocation.
15295 (deps_add_default_target): Don't strip to the base_name.
15297 2001-01-05 DJ Delorie <dj@redhat.com>
15299 * config/v850/v850.h (RETURN_ADDR_RTX): Define.
15300 (INIT_EXPANDERS): Define.
15302 * config/v850/v850.c (struct machine_function): Define.
15303 (v850_save_machine_status): New function.
15304 (v850_restore_machine_status): New function.
15305 (v850_return_addr): New function.
15306 (v850_init_expanders): New function.
15308 * config/v850/v850-protos.h: Add prototypes for v850_return_addr
15309 and v850_init_expanders.
15311 2001-01-05 Zack Weinberg <zack@wolery.stanford.edu>
15313 * cpplib.h (struct cpp_reader): Add help_only field.
15314 * cppinit.c (COMMAND_LINE_OPTIONS): Add OPT_version.
15315 (cpp_handle_option): Set pfile->help_only if we see -h,
15316 --help, -target-help, or --version. Print version string but
15317 do not set help_only if we see -v or -version. Make text
15318 printed by -v match that printed by (-)-version.
15320 * cppmain.c (main): Exit after option parsing if
15321 pfile->help_only is true.
15323 * toplev.c (independent_decode_option): Call print_version,
15324 then exit, if we see --version (but not -version).
15325 (print_version): Split lengthy message into two lines.
15327 2001-01-05 Nick Clifton <nickc@redhat.com>
15329 * config/v850/v850.c (v850_encode_data_area): Use alloca to create
15330 temporary string for initialisation before calling ggc_alloc_string.
15332 2001-01-06 Michael Hayes <mhayes@redhat.com>
15334 * rtl.h (print_simple_rtl): New.
15335 * print-rtl.c (print_simple_rtl): New.
15336 (flag_simple): New.
15337 (print_rtx): Disable printing of flags and modes, etc.,
15338 if `flag_simple` nonzero.
15340 2001-01-05 Zack Weinberg <zack@wolery.stanford.edu>
15342 * function.c (fixup_var_refs): Use push_to_full_sequence where
15345 2001-01-05 Michael Meissner <meissner@redhat.com>
15347 * flags.h (flag_reorder_blocks): Add declaration.
15348 (flag_rename_block): Ditto.
15350 2001-01-05 DJ Delorie <dj@redhat.com>
15352 * function.c (reorder_blocks): Make sure the flags are all reset
15353 before using them to mark blocks, else a second invocation will
15354 corrupt the block chain.
15355 (reorder_blocks_0): New, resets the flags.
15357 Fri Jan 5 20:34:06 2001 J"orn Rennecke <amylaar@redhat.com>
15359 * cse.c (find_comparison_args): Stop if the argument is known to
15362 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
15364 * config/sh/sh.md (movdf): When splitting load into pair of
15365 registers, don't clobber the register used in the address too
15368 2001-01-05 Jeffrey Oldham <oldham@codesourcery.com>
15370 * varasm.c (mark_constant_pool): Improve initial comments.
15371 (mark_constants): Move marking of constants to mark_constant.
15372 (mark_constant): New function to recursively mark all constants
15373 referred to by a constant.
15375 2001-01-05 Catherine Moore <clm@redhat.com>
15377 * dbxout.c ((dbxout_parms): Handle invisible ref where decl is a REG.
15379 2001-01-05 Phil Edwards <pme@sources.redhat.com>
15381 * cp/lang-options.h: Bring comment in line with reality.
15382 * f/lang-options.h: Likewise.
15383 * java/lang-options.h: Likewise.
15384 * objc/lang-options.h: Likewise.
15385 * ch/lang-options.h: Likewise.
15386 * f/g77.texi: And update the manual.
15388 2001-01-05 Marek Michalkiewicz <marekm@linux.org.pl>
15389 Denis Chertykov <denisc@overta.ru>
15391 * config/avr/avr-protos.h (avr_peep2_scratch_safe): Prototype.
15392 * config/avr/avr.c (avr_peep2_scratch_safe): New function.
15393 * config/avr/avr.md (all peepholes that request a scratch register):
15394 Call it, FAIL the peephole if not safe (in interrupt functions).
15396 2001-01-05 Mark Mitchell <mark@codesourcery.com>
15398 * ggc-page.c (NUM_EXTRA_ORDERS): Hardwire to zero for now.
15400 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
15402 * builtins.def (BUILT_IN_CONJ, BUILT_IN_CREAL, BUILT_IN_CIMAG):
15404 * builtins.c (expand_builtin): Abort on BUILT_IN_CONJ,
15405 BUILT_IN_CREAL and BUILT_IN_CIMAG.
15406 * c-common.c (c_common_nodes_and_builtins): Create builtin conjf,
15407 conj, conjl, crealf, creal, creall, cimagf, cimag and cimagl.
15408 (expand_tree_builtin): Handle BUILT_IN_CONJ, BUILT_IN_CREAL and
15410 * extend.texi: Document these builtins.
15412 2001-01-05 Daniel Berlin <dberlin@redhat.com>
15414 * c-common.c (lang_get_alias_set): Say we know nothing of
15415 VECTOR_TYPE aliasing.
15417 * dwarf2out.c (is_base_type): Handle VECTOR_TYPE properly.
15419 2001-01-05 Bruce Korb <bkorb@gnu.org>
15421 * fixinc/mkfixinc.sh(vax-*-bsd): convert exit and atexit calls to
15422 their x* equivalent versions for atexit-less systems
15423 * fixinc/fixincl.c(main): do not return from main() on atexit-less
15424 systems (or any other system any more).
15426 2001-01-05 Richard Earnshaw <rearnsha@arm.com>
15428 * arm.md (ldmsi_postinc): Avoid use of match_dup between input and
15429 output operands. Use arm_hard_register_operand for operand 4.
15430 (stmsi_postinc): Similarly.
15431 (ldmsi): Use arm_hard_register_operand for opernand 2.
15432 (stmsi): Similarly.
15433 * arm.c (arm_hard_register_operand): New function.
15434 * arm-protos.h (arm_hard_register_operand): Prototype it.
15436 * arm.h (HARD_REGNO_RENAME_OK): Define.
15438 Fri Jan 5 16:29:49 MET 2001 Jan Hubicka <jh@suse.cz>
15440 * simplify-rtx.c (cfc_args): add "unordered" field.
15441 (check_fold_consts): Set unordered field.
15442 (simplify_relational_operation): Simplify the unordered
15445 * reg-stack.c (swap_rtx_condition): Ensure that the transformation
15448 * emit-rtl.c (try_split): Fix code to mark labels.
15449 * jump.c (mark_jump_label): Make global.
15450 * rtl.h (mark_jump_label): Declare.
15452 * predict.c (estimate_probability): Handle unordred comparisons.
15454 2001-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
15456 * cpp.texi: Update for -MP. Clarify behaviour of -MT.
15457 * cppinit.c (initialize_dependency_output): Update.
15458 (cpp_finish): Output dummy targets for -MP.
15460 (cpp_handle_option): Handle -MP. Don't quote -MT options.
15461 * cpplib.h (struct cpp_options): Add deps_phony_targets.
15462 * gcc.c (cpp_options): Update to handle -MP.
15463 * mkdeps.c (deps_add_target, deps_add_default_target): Update
15464 to quote only the default target.
15465 (deps_phony_targets): Insert a preceding newline. Rename from
15466 deps_dummy_targets for consistency.
15469 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
15471 * calls.c (emit_library_call_value_1): Support
15472 INIT_CUMULATIVE_LIBCALL_ARGS.
15473 * tm.texi (INIT_CUMULATIVE_LIBCALL_ARGS): Document it.
15475 2001-01-04 Richard Henderson <rth@redhat.com>
15477 * c-decl.c (finish_struct): Detect flexible array members
15478 used in an inappropriate context.
15479 * c-typeck.c (really_start_incremental_init): Special case
15480 constructor_max_index for zero length arrays.
15481 (pop_init_level): Allow initialization of flexible array
15482 members. Deprecate initialization of zero length arrays.
15483 Don't issue missing initializer warning for flexible array
15484 members or zero length arrays.
15485 (process_init_element): Don't dereference null DECL_SIZE.
15486 * varasm.c (array_size_for_constructor): Return a HOST_WIDE_INT.
15487 Don't abort for empty constructors. Use size_binop
15488 (output_constructor): Add commentary regarding zero length
15489 array futures. Abort if we try to initialize an array of
15490 unspecified length with a non-empty constructor in the middle
15493 * extend.texi (Zero Length): Update and clarify documentation
15494 on static initialization.
15496 2001-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15498 * config/c4x/c4x.c (c4x_expand_prologue): Don't compile an ISR
15499 with more than 32767 words of local storage.
15501 2001-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15503 * config/c4x/c4x.c (c4x_init_builtins): Remove builtin support
15504 for 'abs', 'labs', and 'fabs'.
15505 (c4x_expand_builtin): Likewise.
15506 * config/c4x/c4x.h (enum c4x_builtins): Likewise.
15508 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
15510 * config/sh/sh.md (prget, prset): New insn types.
15511 (return delay slot): Dont' allow prset.
15512 (call, sfunc delay slot): Don't allow prget.
15513 (movsi_i, movsi_ie, movsi_i_lowpart): Create separate alternatives
15514 for prset and prget.
15516 2001-01-05 Michael Hayes <mhayes@redhat.com>
15518 * loop.h (struct loop_reg): New.
15519 (struct loop_regs): Change to use array of `struct loop_reg'.
15520 * loop.c: Replace assortment of varrays with single regs array.
15521 (count_one_set): Delete may_not_move array argument
15522 and use regs array instead. All caller's changed.
15523 (count_loop_regs_set): Delete may_not_move and single_usage
15524 arguments and use regs array instead. All caller's changed.
15525 (find_single_use_in_loop): Replace usage array argument with pointer
15526 to regs structure. All caller's changed.
15527 (loop_optimize): Delete `moved_once' array.
15529 2001-01-05 Michael Hayes <mhayes@redhat.com>
15531 * loop.c (prescan_loop): Set loop_info->has_nonconst_call.
15532 Use it instead of loop_info->has_call for scanning loop mems.
15533 (check_dbra_loop): Replace loop_info->has_call test with
15534 loop_info->has_nonconst_call.
15536 2000-01-04 Matthew Hiller <hiller@redhat.com>
15538 * config/sh/sh.h (EPILOGUE_USES): Recognize fpscr as epilogue-used
15541 2001-01-04 Joseph S. Myers <jsm28@cam.ac.uk>
15543 * fold-const.c (fold): When folding a CONJ_EXPR of a COMPLEX_CST,
15544 use TREE_REALPART and TREE_IMAGPART instead of TREE_OPERAND.
15546 2001-01-04 Joseph S. Myers <jsm28@cam.ac.uk>
15548 * c-common.c (SIZE_TYPE, WCHAR_TYPE): Define.
15549 (flag_short_double, flag_short_wchar): Define.
15550 (c_common_nodes_and_builtins): Create many tree nodes shared
15551 between C and C++ here instead of in cp/decl.c and ...
15552 * c-decl.c (init_decl_processing): ... here.
15553 (SIZE_TYPE, WCHAR_TYPE): Don't define.
15554 (flag_short_double, flag_short_wchar): Don't define.
15555 (record_builtin_type): New function.
15556 (build_void_list_node): New function.
15557 * c-common.h (flag_short_double, flag_short_wchar,
15558 record_builtin_type, build_void_list_node): Declare.
15560 Thu Jan 4 21:09:47 2001 J"orn Rennecke <amylaar@redhat.com>
15562 * integrate.c (expand_inline_function): Don't put a virtual
15563 register into the reg map.
15565 * function.c (fixup_var_refs_1): If force_operand didn't put
15566 the address into the target, move it there.
15568 2001-01-04 Mark Mitchell <mark@codesourcery.com>
15570 Special-case tree_decl/tree_list allocations.
15571 * ggc-page.c (OBJECT_PER_PAGE): Reimplement.
15572 (OBJECT_SIZE): New macro.
15573 (NUM_EXTRA_ORDER): Likewise.
15574 (extra_order_size_table): New variable.
15575 (NUM_ORDERS): New macro.
15576 (objects_per_page_table): New variable.
15577 (object_size_table): New variable.
15578 (G.pages): Use NUM_ORDERS to bound the array.
15579 (G.page_tails): Likewise.
15580 (DIV_ROUND_UP): Remove.
15581 (BITMAP_SIZE): Use CEIL, instead of DIV_ROUND_UP.
15582 (alloc_page): Use OBJECT_SIZE.
15583 (size_lookup): Don't make it const.
15584 (ggc_alloc): Use OBJECT_SIZE.
15585 (ggc_set_mark): Likewise.
15586 (ggc_get_size): Likewise.
15587 (init_ggc): Set up the object_size_table, objects_per_page_table,
15588 and adjust size_lookup.
15589 (ggc_recalculate_in_use_p): Use CEIL, not DIV_ROUND_UP.
15590 (ggc_pop_context): Use NUM_ORDERS.
15591 (clear_marks): Likewise.
15592 (sweep_pages): Likewise.
15593 (poison_pages): Likewise.
15594 (ggc_print_statistics): Use OBJECT_SIZE.
15596 Thu Jan 4 15:54:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15598 * varasm.c (output_constructor): Use HOST_WIDE_INT for sizes.
15599 Only call array_size_for_constructor if last field and array type
15600 with no upper bound.
15602 2001-01-04 Philip Blundell <philb@gnu.org>
15604 * config/arm/arm.c (arm_gen_constant): Prefer to emit constants
15605 from bit 31 downwards, if this requires no more insns.
15606 (count_insns_for_constant): New helper function for above.
15608 2001-01-04 Alexandre Oliva <aoliva@redhat.com>
15610 * gencodes.c (output_predicate_decls): Remove empty initializer.
15612 2001-01-04 Mark Mitchell <mark@codesourcery.com>
15614 * tree.c (copy_node): Remove documentation about obstacks.
15615 (buidl1): Check that nobody tries to build 2-argument nodes this
15618 2001-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15620 * sparc.h (PREDICATE_CODES): Delete fp_sethi_p, fp_mov_p and
15623 * gencodes.c (output_predicate_decls): Fill empty initializer
15626 2001-01-04 Jakub Jelinek <jakub@redhat.com>
15628 * tradcpp.c (deps_file, print_deps_missing_files): New variables.
15629 (main): Handle -MG, -MD, -MMD. Bail out if -MG is given without -M
15631 (do_include): Handle missing headers like cpp0.
15632 * cppfiles.c (_cpp_execute_include): Don't prefix absolute header
15633 paths with first include pathname. Don't strcat to uninitialized
15636 2001-01-04 Bernd Schmidt <bernds@redhat.com>
15638 * regrename.c (regrename_optimize): Don't rename from frame pointer
15639 if frame_pointer_needed.
15640 (do_replace): Don't set ORIGINAL_REGNO to a hard register number.
15641 * config/ia64/ia64.c (emit_all_group_insn_barriers): New function.
15642 (ia64_reorg): Use it instead of scheduling if ! optimize.
15643 (errata_emit_nops): Properly call asm_noperands.
15644 (ia64_sched_reorder): Finish cycle if we see an asm.
15645 (ia64_variable_issue): Clear scheduling state after asms.
15647 2001-01-04 Neil Booth <neil@daikokuya.demon.co.uk>
15649 * cpp.texi: Update for -MT.
15650 * cppinit.c (initialize_dependency_output): Add a default
15651 target if none has been given already.
15652 (no_tgt, OPT_MT): New.
15653 (cpp_handle_option): Handle -MT. Update -M etc.
15654 * cpplib.h (struct cpp_options): Remove deps_target.
15655 * gcc.c (cpp_options): Handle -MT.
15656 * mkdeps.c (struct deps): Move from mkdeps.h.
15657 (deps_calc_target): Rename deps_add_default_target. Add a
15658 default target if none has been specified already.
15659 * mkdeps.h (struct deps): Move to mkdeps.c.
15660 (deps_calc_target): Rename deps_add_default_target.
15662 2000-01-03 Richard Henderson <rth@redhat.com>
15664 * c-decl.c (grokdeclarator): Give zero-length arrays size zero.
15666 * c-typeck.c (push_init_level): Move checks for flexible array
15667 members and zero length arrays ...
15668 (pop_init_level): ... here. Silently discard empty initializations.
15670 * varasm.c (output_constructor): Update for sizeof change to
15671 zero-length arrays.
15673 * extend.texi (Zero Length): Clarify semantics.
15675 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
15677 * configure.in (tm.h): Include isns-codes.h last.
15678 * configure: Rebuilt.
15680 2001-01-03 Richard Henderson <rth@redhat.com>
15682 * config/alpha/alpha.md (addvsi3, addvdi3): New.
15683 (negvsi2, negvdi2, subvsi3, subvdi3, mulvsi3, mulvdi3): New.
15685 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15687 * tradcpp.c (main): Make sure finclude() is called with a valid
15688 indepth value while handling -include.
15690 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
15692 * gencodes.c (output_predicate_decls): New function.
15694 * machmode.h (GET_MODE_MASK): Arrange for it to be defined
15695 even if it is not the first time machmode.h is #included.
15696 * config/sh/sh.c (fpul_operand): Declare MODE argument.
15697 * tm.texi (PREDICATE_CODES): Document predicate declarations.
15698 * gcc.texi (Copyright): Added 2001.
15700 2001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
15702 * c-common.c (c_common_lang_init): New function. Warn if format
15703 warning options which only have effects when used with -Wformat
15704 are used without -Wformat.
15705 * c-common.h (c_common_lang_init): Declare.
15706 * c-lang.c (lang_init): Call c_common_lang_init.
15707 * objc/objc-act.c (lang_init): Call c_common_lang_init.
15709 2001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
15711 * configure.in: Check for the mktemp command.
15712 * configure: Regenerate.
15713 * gccbug.in: Use a separate temporary file $TEMP0 for one use of
15714 $TEMP. Create temporary files with mktemp, if available at
15715 configure time; otherwise use set -C. Remove temporary files
15718 2001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
15720 * configure.in: Require at least texinfo 4.0. Check for whether
15721 Pod::Man is sufficiently recent to regenerate GCC manpages.
15722 * configure: Regenerate.
15723 * Makefile.in (TEXI2POD): Call perl explicitly rather than relying
15725 (GENERATED_MANPAGES): Define.
15726 (generated-manpages): New target. Depend on cpp.1 as well as
15728 (install-man): Depend on $(GENERATED_MANPAGES) (defined by
15729 configure to generated-manpages or empty) rather than on the
15730 manpages directly. Remove execute permission from installed
15731 gcov.1 as well as cpp.1.
15732 * cpp.1, gcov.1: Regenerate.
15734 2001-01-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15736 * builtins.c (expand_builtin_strncmp): Use host_integerp and
15737 tree_low_cst. Allow using cmpstrsi in more cases.
15739 Wed Jan 3 10:48:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15741 * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for variable
15744 Wed Jan 3 12:22:32 2001 Alexandre Oliva <aoliva@redhat.com>
15746 * build-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'.
15747 * Makefile.in (HOST_CFLAGS): Mention build-make.
15749 Wed Jan 3 08:53:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15751 * config/sparc/sparc.md (nonlocal_goto): Emit goto_handler_and_restore
15754 2001-01-01 Bernd Schmidt <bernds@redhat.com>
15756 * builtins.c (expand_builtin_return_addr): Don't use MEM_ALIAS_SET on
15759 * cse.c (cse_rtx_varies_p): Accept additional FROM_ALIAS arg. All
15762 * alias.c (throughout): Use ORIGINAL_REGNO when accessing
15763 reg_base_value and reg_known_value arrays.
15764 (init_alias_analysis): Add more cases to detect known values.
15765 * sched-deps.c (deps_may_trap_p): New function.
15766 (sched_analyze_2): Use it.
15768 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
15770 * combine.c (simplify_shift_const): Even if we're sign-extracting,
15771 don't discard an ASHIFTRT if we're shifting in a wider mode.
15773 2000-01-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
15775 * toplev.c (rest_of_compilation): Don't print basic block information
15776 when CFG isn't up to date.
15778 2001-01-02 Mark Elbrecht <snowball3@bigfoot.com>
15780 * config/i386/djgpp.h (DWARF2_DEBUGGING_INFO): Define.
15781 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_ASM_OP): Define.
15782 (UNALIGNED_SHORT_ASM_OP): Define.
15783 (CPP_PREDEFINES): Remove defines for GO32 and DJGPP.
15785 2001-01-02 Mark Mitchell <mark@codesourcery.com>
15787 * fold-const.c (fold_convert): Fix typo.
15789 2001-01-02 Richard Henderson <rth@redhat.com>
15791 * c-common.h (ASM_INPUT_P): New.
15792 * c-parse.in (asm): Set it when needed.
15793 * c-semantics.c (genrtl_asm_stmt): Test it instead of the
15794 existance of an operand.
15796 Tue Jan 2 20:27:07 MET 2001 Jan Hubicka <jh@suse.cz>
15798 * dwarf2out.c (stack_adjust_offset): Handle PRE_MODIFY.
15799 (dwarf2out_frame_debug_expr): Likewise.
15800 (mem_loc_descriptor): Handle PRE and POST_MODIFY.
15802 Tue Jan 2 20:21:31 MET 2001 Jan Hubicka <jh@suse.cz>
15804 * i386.c (ix86_split_to_parts): Return number of part required;
15806 (print_operand, ix86_expand_branch, ix86_expand_fp_movcc): Handle
15808 (ix86_split_long_move): Use number of part returned
15809 by ix86_split_to_parts
15810 * i386.h (MASK_128BIT_LONG_DOUBLE, TARGET_128BIT_LONG_DOUBLE):
15812 (TARGET_SWITCHES): Add 128bit-long-double and 96bit-long-double
15813 (LONG_DOUBLE_TYPE_SIZE): Change from constant.
15814 (MAX_LONG_DOUBLE_TYPE_SIZE): New macro.
15815 (INTEL_EXTENDED_IEEE_FORMAT): Likewise.
15816 (ALIGN_MODE_128): Add TFmode.
15817 (IS_STACK_MODE): Likewise.
15818 (HARD_REGNO_NREGS): TFmode needs 3 registers.
15819 (HARD_REGNO_OK): Support TFmodes.
15820 (ASM_OUTPUT_LONG_DOUBLE): Handle TFmodes.
15821 * i386.md (scheduler definitions): Use memory operand to determine
15822 fst/fld instructions; use mode attribute to determine real mode of
15824 (*tf): New patterns, expanders and splitters; based on XFmode patterns.
15825 * invoke.texi (128bit-long-double, 96bit-long-double): Document.
15827 2001-01-02 Mark Mitchell <mark@codesourcery.com>
15829 * tree.def (TRUTH_NOT_EXPR): Improve documentation.
15831 Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
15833 * expr.c (store_constructor_field): Update ALIGN before calling
15836 2001-01-02 Jeffrey Oldham <oldham@codesourcery.com>
15838 * config/mips/mips.c (function_arg): Don't pass NULL_TREE to
15841 2001-01-02 Jeffrey Oldham <oldham@codesourcery.com>
15843 * tm.texi (FUNCTION_ARG): Document that @var{type} can be an
15846 Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
15848 * c-decl.c (start_function): Don't warn on third parameter to main.
15850 2001-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15852 * tsystem.h: Define HAVE_DECL_GETOPT.
15854 2001-01-02 Philip Blundell <pb@futuretv.com>
15856 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Avoid illegal clobber
15859 2001-01-02 Richard Henderson <rth@redhat.com>
15861 * alpha.md (*ze_and_ne): Duplicate insn condition to split.
15863 2001-01-02 Andreas Jaeger <aj@suse.de>
15865 * c-decl.c (c_decode_option): Remove support of
15866 -Wmissing-noreturn.
15868 * toplev.c (documented_lang_options): Remove -Wmissing-noreturn.
15869 (W_options): Add -Wmissing-noreturn here.
15871 * flow.c: Define lang_missing_noreturn_ok_p.
15872 (check_function_return_warnings): Use it.
15874 * c-common.h: Declare lang_missing_noreturn_ok_p.
15876 * c-lang.c (c_missing_noreturn_ok_p): New function.
15877 (lang_init): Set lang_missing_noreturn_ok_p.
15879 * invoke.texi (Warning Options): Document this.
15881 2000-12-27 Phil Edwards <pme@sources.redhat.com>
15883 * extend.texi (C++ Extensions): New node for C++ attributes;
15884 describe init_priority and com_interface.
15885 * invoke.texi: Remove -finit-priority as it now has zero effect.
15886 * install.texi: Fix xref syntax.
15887 * md.texi: Likewise.
15889 Mon Jan 1 21:28:29 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15891 * config.gcc (sparc64-wrs-vxworks*): New case.
15892 * config/sparc/vxsparc64.h, config/sparc/t-vxsparc64: New files.
15894 * config/sparc/sparc.c (sparc_override_options): Do support different
15895 pointer and architecture size.
15896 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Always 4.
15897 (POINTERS_EXTEND_UNSIGNED): Define.
15898 (Pmode): Test TARGET_ARCH64, not TARGET_PTR64.
15899 (FUNCTION_MODE): Define to be Pmode.
15900 * config/sparc/sparc.md (64-bit call patterns): FUNCTION_MODE now DI.
15902 * function.c (expand_function_end): Properly handle DECL_RESULT
15903 and copy when ptr_mode != Pmode.
15904 * expmed.c (make_tree): Convert X from Pmode to ptr_mode, if needed.
15906 2001-01-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15908 * c-common.c (c_common_nodes_and_builtins): Set prototype
15909 parameters for __builtin_fputs, __builtin_fputc and
15910 __builtin_fwrite. Don't declare plain fputc as a builtin.
15912 2001-01-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
15914 * loop.c (add_label_notes): Increment the label usage count when
15915 a note is added to an insn which refers to a CODE_LABEL.
15916 * gcse.c (add_label_notes): Likewise.
15918 2001-01-01 Andreas Jaeger <aj@suse.de>
15920 * loop.c (scan_loop): Use xmalloc to allocate movables.
15922 2001-01-01 Alexandre Oliva <aoliva@redhat.com>
15924 * tm.texi (REGISTER_MOVE_COST): Add a mode argument.
15925 * reload.c (REGISTER_MOVE_COST): Likewise. Adjust all callers.
15926 * reload1.c (REGISTER_MOVE_COST): Likewise.
15927 * regclass.c (REGISTER_MOVE_COST): Likewise.
15928 (move_cost, may_move_in_cost, may_move_out_cost): Add mode
15929 dimension. Adjust all users.
15930 (init_reg_sets_1): Iterate on all modes.
15931 * config/1750a/1750a.h (REGISTER_MOVE_COST): Adjust.
15932 * config/a29k/a29k.h (REGISTER_MOVE_COST): Adjust.
15933 * config/alpha/alpha.h (REGISTER_MOVE_COST): Adjust.
15934 * config/arc/arc.h (REGISTER_MOVE_COST): Adjust.
15935 * config/arm/arm.h (REGISTER_MOVE_COST): Adjust.
15936 * config/avr/avr.h (REGISTER_MOVE_COST): Adjust.
15937 * config/c4x/c4x.h (REGISTER_MOVE_COST): Adjust.
15938 * config/d30v/d30v.h (REGISTER_MOVE_COST): Adjust.
15939 * config/dsp16xx/dsp16xx.h (REGISTER_MOVE_COST): Adjust.
15940 * config/h8300/h8300.h (REGISTER_MOVE_COST): Adjust.
15941 * config/i386/i386.h (REGISTER_MOVE_COST): Adjust.
15942 * config/ia64/ia64.h (REGISTER_MOVE_COST): Adjust.
15943 * config/m32r/m32r.h (REGISTER_MOVE_COST): Adjust.
15944 * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Adjust.
15945 * config/m68k/m68k.h (REGISTER_MOVE_COST): Adjust.
15946 * config/mcore/mcore.h (REGISTER_MOVE_COST): Adjust.
15947 * config/mips/mips.h (REGISTER_MOVE_COST): Adjust.
15948 * config/mn10200/mn10200.h (REGISTER_MOVE_COST): Adjust.
15949 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Adjust.
15950 * config/ns32k/ns32k.h (REGISTER_MOVE_COST): Adjust.
15951 * config/pa/pa.h (REGISTER_MOVE_COST): Adjust.
15952 * config/pdp11/pdp11.h (REGISTER_MOVE_COST): Adjust.
15953 * config/pj/pj.h (REGISTER_MOVE_COST): Adjust.
15954 * config/romp/romp.h (REGISTER_MOVE_COST): Adjust.
15955 * config/rs6000/rs6000.h (REGISTER_MOVE_COST): Adjust.
15956 * config/sh/sh.h (REGISTER_MOVE_COST): Adjust.
15957 * config/sparc/sparc.h (REGISTER_MOVE_COST): Adjust.
15959 2001-01-01 Bernd Schmidt <bernds@redhat.com>
15961 * alias.c (fixed_scalar_and_varying_struct): Adjust prototype of
15962 arg VARIES_P. Call it with extra arg.
15963 (true_dependence): Likewise.
15964 * rtl.h (rtx_addr_can_trap_p): Declare.
15965 (rtx_varies_p, rtx_addr_varies_p, true_dependence): Update
15967 * rtlanal.c (rtx_addr_can_trap_p): No longer static.
15968 (rtx_varies_p): Accept extra arg FOR_ALIAS; only disallow
15969 pic offset table register if it's zero. All callers changed.
15970 (rtx_addr_varies_p): Accept extra arg FOR_ALIAS; all callers changed.
15972 Mon Jan 1 07:38:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15974 * explow.c (convert_memory_address, case SYMBOL_REF): Copy
15975 STRING_POOL_ADDRESS_P.
15977 * config/sparc/sparc.c (input_operand): Properly test for short op.
15979 * config.gcc (sparc-*-elf): Include sparc/sol2.h.
15980 (sparc-*-rtems*): Include sparc/sol2.h and sparc/elf.h.
15981 (sparclite-*-elf*, sparc86x-*-elf*): Likewise.
15982 * config/sparc/elf.h: No longer include sol2.h.
15983 * config/sparc/lifeelf.h: No longer include sparc/elf.h.
15984 * config/sparc/rtemself.h, config/sparc/sp86x-elf.h: Likewise.
15986 * config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64.
15988 2001-01-01 Michael Hayes <mhayes@redhat.com>
15990 * loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds.
15991 (find_mem_givs, record_biv, maybe_eliminate_biv): Likewise.
15992 (record_initial): Likewise.
15993 * unroll.c (copy_loop_body, loop_iterations): Likewise.
15994 (remap_split_bivs): Likewise.
15996 2001-01-01 Michael Hayes <mhayes@redhat.com>
15998 * loop.c (loop_ivs_free): New function.
15999 (strength_reduce): Break out from...
16001 2001-01-01 Michael Hayes <mhayes@redhat.com>
16003 * loop.h (struct iv): New.
16004 (REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'.
16005 (struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info',
16006 'reg_biv_class' fields with 'regs' and 'n_regs'.
16007 (struct ivs): Rename 'loop_iv_list' field to 'list'.
16008 * loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array.
16009 * unroll.c (loop_iterations): Check array bounds with ivs->n_regs.
16011 2000-12-31 Alexandre Oliva <aoliva@redhat.com>
16013 * resource.c (mark_referenced_resources): Abort() before
16014 attempting to mark a pseudo register.
16015 (mark_set_resources): Likewise.
16017 2001-01-01 Michael Hayes <mhayes@redhat.com>
16019 * loop.h (REG_IV_CLASS): New accessor macro.
16020 * loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array.
16021 * unroll.c (REG_IV_CLASS): Likewise.
16023 * cse.c (new_label_ref): Variable deleted.
16024 (insert): Remove set of new_label_ref.
16025 (check_for_label_ref): New function.
16026 (cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
16029 See ChangeLog.5 for earlier changes.