1 2001-11-12 Kazu Hirata <kazu@hxi.com>
3 * config/alpha/alpha-interix.h: Fix comment formatting.
4 * config/alpha/alpha.c: Likewise.
5 * config/alpha/alpha.h: Likewise.
6 * config/alpha/alpha32.h: Likewise.
7 * config/alpha/freebsd.h: Likewise.
8 * config/alpha/unicosmk.h: Likewise.
9 * config/alpha/vms.h: Likewise.
11 2001-11-12 Kazu Hirata <kazu@hxi.com>
13 * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
15 2001-11-12 Jakub Jelinek <jakub@redhat.com>
17 * dbxout.c (dbxout_symbol_location): Avoid emitting invalid register
20 Mon Nov 12 05:18:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
22 * emit-rtl.c (set_mem_attributes): If making object, can set alignment
24 (replace_equiv_address): Call update_temp_slot_address.
26 * dwarf2out.c (loc_descriptor_from_tree, case COMPOUND_EXPR): New case.
28 * alias.c (nonoverlapping_memrefs_p): Handle DECL_RTL being a CONCAT.
30 2001-11-12 Kazu Hirata <kazu@hxi.com>
32 * config/h8300/h8300.c (shift_alg_qi): New.
33 (shift_alg_hi): Likewise.
34 (shift_alg_si): Likewise.
35 (get_shift_alg): Change the type of count to unsigned int.
38 2001-11-11 Alexandre Oliva <aoliva@redhat.com>
40 * Makefile.in (c-lang.o): Depend on $(VARRAY_H).
41 * c-decl.c (c_expand_body): Take argument can_defer_p. Use it
42 to decide whether to defer a function.
43 (finish_function): Adjust.
44 (c_expand_deferred_function): New function.
45 * c-lang.c (deferred_fns): New variable.
46 (c_init): Initialize it, and mark it as a root.
47 (defer_fn): New function.
48 (finish_file): Expand all deferred functions.
49 * c-tree.h (defer_fn): Declare.
50 (c_expand_deferred_function): Likewise.
51 * objc/Make-lang.in (objc-act.o): Depend on $(VARRAY_H).
52 * objc-act.c (deferred_fns): New variable.
53 (objc_init): Initialize it, and mark it as a root.
54 (defer_fn): New function.
55 (finish_file): Expand all deferred functions.
57 2001-11-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
59 * alpha.c (unicosmk_special_name): Prototype.
60 (unicosmk_ssib_name): Delete unused variable.
61 * alpha/unicosmk.h (common_section, ssib_section): Prototype.
62 * alpha/vms.h (PREFIX): Undef before defining.
63 * arm/pe.h (SUBTARGET_NAME_ENCODING_LENGTHS): Likewise.
64 * i370/i370.c (mvs_hash_alias): Prototype. Wrap with macro
65 controlling usage. Const-ify.
66 (alias_number): Delete unused variable.
67 * m32r/m32r.c (m32r_sched_init): Add missing argument.
68 (m32r_expand_block_move): Fix uninitialized warnings.
69 * mn10300/mn10300.h (REGNO_IN_RANGE_P): Fix 'unsigned >=0 is
70 always true' warnings.
71 * openbsd.h (TARGET_MEM_FUNCTIONS): Don't redefine.
72 * sh/sh.c: Include "integrate.h".
73 (output_far_jump): Fix uninitialized warning.
74 * final.c (shorten_branches): Avoid automatic aggregate
76 * integrate.c (subst_constants): Likewise.
78 2001-11-11 Kazu Hirata <kazu@hxi.com>
80 * config/h8300/h8300.c (shift_alg): Remove SHIFT_MAX.
81 (get_shift_alg): Remove redundant code.
83 2001-11-11 Kazu Hirata <kazu@hxi.com>
85 * config/pa/milli64.S: Fix comment formatting.
86 * config/pa/pa-64.h: Likewise.
87 * config/pa/pa-linux.h: Likewise.
88 * config/pa/pa-protos.h: Likewise.
89 * config/pa/pa.c: Likewise.
90 * config/pa/pa.h: Likewise.
91 * config/pa/pa32-linux.h: Likewise.
92 * config/pa/pa32-regs.h: Likewise.
93 * config/pa/pa64-hpux.h: Likewise.
94 * config/pa/pa64-regs.h: Likewise.
95 * config/pa/som.h: Likewise.
97 2001-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
99 * doc/gcc.texi: Move several chapters out to ...
100 * doc/bugreport.texi, doc/contribute.texi, doc/frontends.texi,
101 doc/service.texi, doc/standards.texi, doc/trouble.texi,
102 doc/vms.texi: ... here. New files.
103 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
105 2001-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
107 * ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog.5, ChangeLog,
108 cfg.c, cfganal.c, cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c,
109 collect2.c, combine.c, config.in, configure, configure.in,
110 conflict.c, dwarf2out.c, dwarfout.c, except.c, final.c, flow.c,
111 genattrtab.c, ggc-page.c, jump.c, lcm.c, predict.c, reg-stack.c,
112 reload1.c, rtlanal.c, sched-rgn.c, toplev.c, unwind-dw2-fde.h: Fix
115 Sun Nov 11 05:56:01 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
117 * config/rs6000/rs6000.c (rs6000_hash_constant, toc_hash_eq):
118 Adjust operand number in CONST_DOUBLE.
120 * expmed.c (extract_bit_field): No longer pass in alignment.
121 (extract_fixed_bit_field, extract_split_bit_field): Likewise.
122 (store_bit_field, store_fixed_bit_field, store_split_bit_field):
124 * expr.c (store_constructor, store_constructor_field): Likewise.
125 (store_field, emit_group_load, emit_group_store): Likewise.
126 * expr.h (emit_group_load, emit_group_store): Delete ALIGN parm.
127 (store_bit_field, extract_bit_field): Likewise.
128 * calls.c, expr.c, function.c: Change calls to above functions.
129 * ifcvt.c, stmt.c: Likewise.
131 * alias.c (nonoverlapping_memrefs_p): Not overlapping if one base is
132 constant and one is on frame.
133 If know memref offset, adjust size from decl.
135 2001-11-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
137 * alpha/unicosmk.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Fix
138 format specifier warning.
139 * convex.h (ASM_OUTPUT_BYTE): Likewise.
140 * elfos.h (ALIGN_ASM_OP): Undef before defining.
141 * i386/att.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier
143 * i386/bsd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
144 * i386/gas.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
145 * i386-interix.h (gen_stdcall_suffix): Prototype.
146 * i386.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
147 * i386elf.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
148 ASM_OUTPUT_LONG_DOUBLE): Likewise.
149 * i386/interix.c (gen_stdcall_suffix): Const-ify.
150 * i386/next.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
151 ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Fix format
153 * i386/osfrose.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
154 * i386/ptx4-i.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
155 ASM_OUTPUT_LONG_DOUBLE): Likewise.
156 * i386/sco5.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
157 * i386/sequent.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
158 * i386/sun386.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
159 * i386/svr3dbx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
160 * m68k/3b1.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_LONG_DOUBLE,
161 ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Likewise.
162 * m68k/altos3068.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
163 * m68k/amix.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
165 * m68k/atari.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
167 * m68k/crds.h (ASM_OUTPUT_DOUBLE, PRINT_OPERAND): Likewise.
168 * m68k/dpx2.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
169 ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE, ASM_OUTPUT_FLOAT_OPERAND):
171 * m68k/hp320.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_BYTE):
173 * m68k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
175 * m68k/m68kv4.h (ASM_OUTPUT_ASCII): Delete unused variable.
176 * m68k/mot3300.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
177 * m68k/news.h (PRINT_OPERAND): Likewise.
178 * m68k/next.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
179 ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
180 * m68k/next21.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
181 * m68k/plexus.h (ASM_SPEC): Insert space between macro name and
183 * m68k/sgs.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
184 ASM_OUTPUT_FLOAT, ASM_OUTPUT_ASCII, ASM_OUTPUT_FLOAT_OPERAND,
185 ASM_OUTPUT_DOUBLE_OPERAND): Fix format specifier warnings.
186 * m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
187 * m68k/tower-as.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_DOUBLE,
188 ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE,
189 PRINT_OPERAND): Likewise.
190 * m88k/m88k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
192 * mips/elf.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
193 * mips/elf64.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
194 * mips/iris5gas.h (PUT_SDB_SIZE): Likewise.
195 * mips/linux.h (ASM_DECLARE_OBJECT_NAME): Likewise.
196 * mips.c (mips_output_external_libcall): Mark parameter with
198 (mips_asm_file_start): Move variable into the scope where it's
200 * mips.h (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
201 * mips/netbsd.h (ASM_DECLARE_OBJECT_NAME): Likewise.
202 * mips/sni-gas.h (PUT_SDB_SIZE): Likewise.
203 * ns32k/encore.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
204 * ns32k.c (print_operand): Likewise.
205 * pa.c (print_operand, output_div_insn): Likewise.
206 * pa.h (ASM_OUTPUT_MI_THUNK, ASM_GENERATE_INTERNAL_LABEL,
207 ASM_OUTPUT_BYTE, PRINT_OPERAND_ADDRESS): Likewise.
208 * pa/pa64-hpux.h (UNIQUE_SECTION): Const-ify.
209 * sparc/linux.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
211 * sparc/linux64.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
212 * sparc/pbd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
213 (ASM_OUTPUT_SOURCE_LINE): Don't list macro arguments in undef.
214 * sparc/vxsim.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
216 * svr3.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
218 * sdbout.c (sdbout_end_epilogue): Mark parameter with
220 * varasm.c (assemble_global): Likewise.
222 2001-11-11 H.J. Lu <hjl@gnu.org>
224 * config.gcc: Add "elfos.h svr4.h" to $tm_file for Linux/mips.
226 Sun Nov 11 01:26:00 CET 2001 Jan Hubicka <jh@suse.cz>
228 * final.c (*_MAX_SKIP): Use *_max_skip variables.
229 * flags.h (align_loops_max_skip, align_jumps_max_skip,
230 align_labels_max_skip): New global variables.
231 * toplev.c (align_loops_max_skip, align_jumps_max_skip,
232 align_labels_max_skip): New global variables.
233 (toplev_main): Set new variables.
234 * i386.c (override_options): Set max_skip values.
236 2001-11-10 Geoffrey Keating <geoffk@redhat.com>
238 * doc/tm.texi (Label Output): Document ASM_OUTPUT_LABEL_REF.
239 * final.c (output_addr_const): Use ASM_OUTPUT_LABEL_REF.
240 * config/stormy16/stormy16.c (xstormy16_print_operand): For '%C',
241 don't print an @fptr for labels either.
242 (xstormy16_output_addr_vec): Don't print @fptr here.
243 * config/stormy16/stormy16.h (ASM_OUTPUT_LABEL_REF): New macro.
245 Sat Nov 10 08:50:50 2001 Jeffrey A Law (law@cygnus.com)
247 * ssa-ccp.c (examine_flow_edges): Use old-style definition, not
248 an ANSI/ISO definitino.
249 (ssa_const_prop): Likewise.
251 2001-11-10 Aldy Hernandez <aldyh@redhat.com>
253 * config/rs6000/rs6000.c (rs6000_reg_names): Remove leading "v" or
256 2001-11-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
258 * cppexp.c (parse_number): Use ISXDIGIT/hex_value.
259 * cpplex.c (hex_digit_value): Use hex_p/hex_value.
260 * cppmain.c (general_init): Call hex_init.
261 * tradcif.y (parse_number): Use TOLOWER/ISXDIGIT/hex_value/hex_p.
263 * config.gcc (i[34567]86-dg-dgux*): Don't set `out_file'.
265 * i386/dgux.h (ASM_FILE_START): Set to the meaningful portions
266 of dgux.c:output_file_start().
268 * i386/dgux.c: Delete file.
270 2001-11-09 Richard Henderson <rth@redhat.com>
272 * config/alpha/alpha.c (decl_in_text_section): New.
273 (current_file_function_operand): Use it.
274 (alpha_encode_section_info, alpha_end_function): Likewise.
276 2001-11-07 David O'Brien <obrien@FreeBSD.org>
278 * config.gcc: Add FreeBSD/IA-64 target. Expand config/i64/elf.h headers.
279 * config/i64/ia64.h (TARGET_VERSION,ASM_SPEC,LINK_SPEC): Remove,
280 they are OS specific. Use CPP_CPU_SPEC rather than CPP_PREDEFINES,
281 so OS specific files and use CPP_PREDEFINES for their needs.
282 * config/i64/elf.h (TARGET_VERSION): Add. Also, move inclusion of
283 target headers to tm_file.
284 * config/ia64/aix.h (TARGET_VERSION): Likewise.
285 * config/ia64/hpux.h (TARGET_VERSION): Likewise.
286 * config/ia64/linux.h (TARGET_VERSION): Likewise.
287 (FUNCTION_PROFILER): Remove.
288 * config/ia64/ia64.h (FUNCTION_PROFILER): Update defintion using the
289 version in config/ia64/linux.h.
290 * config/ia64/freebsd.h: New file.
291 * config/freebsd.h: Tidy up.
292 (_USING_CONFIG_FREEBSD): Define.
293 (FBSD_CPP_PREDEFINES): Add __KPRINTF_ATTRIBUTE__.
294 (FBSD_CPP_SPEC): Define generic FreeBSD spec.
295 (FBSD_STARTFILE_SPEC): Likewise.
296 (FBSD_ENDFILE_SPEC): Likewise.
297 (FBSD_LIB_SPEC): Likewise.
298 (WCHAR_UNSIGNED): Undefine, FreeBSD's wchars are signed.
299 (USER_LABEL_PREFIX): Define to ELF compatible value as some CPU headers
300 set an ELF-improper one.
302 2001-11-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
304 * pa.c (emit_move_sequence): Use cint_ok_for_move to check whether a
305 constant can be loaded in a single instruction to a register. When
306 loading immediate constants, use PLUS instead of HIGH/LO_SUM. Use
307 depdi for insertion of most significant 32-bits on 64-bit hosts.
308 * pa.h (LEGITIMATE_CONSTANT_P): Accept constants that can be built
309 with ldil/ldo/depdi instruction sequence on 64-bit hosts.
310 * pa.md: New addmove pattern for adding constant_int to HImode
311 register and moving result to HImode register. Remove HImode HIGH
314 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
316 * Makefile.in: Update.
317 * c-decl.c (print_lang_decl, print_lang_type): Remove.
318 (print_lang_identifier): Rename c_print_identifier.
319 * c-lang.c (LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
320 (print_lang_statistics, lang_print_xnode): Remove.
321 * c-parse.in (set_yydebug): Rename c_set_yydebug.
322 * c-tree.h (c_set_yydebug, c_print_identifier): New.
323 * langhooks-def.h (lhd_print_tree_nothing, lhd_set_yydebug): New.
324 LANG_HOOKS_PRINT_STATISTICS, LANG_HOOKS_PRINT_XNODE,
325 LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE,
326 LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
327 (LANG_HOOKS_INITIALIZER): Update.
328 * langhooks.h (struct lang_hooks): New members.
329 (lang_print_tree_hook): New.
330 * langhooks.c (lhd_print_tree_nothing, lhd_set_yydebug): New.
331 * print-tree.c: Include langhooks.h.
332 (print_node): Update.
333 * toplev.c (decode_d_option): Update.
334 * tree.c: Include langhooks.h.
335 (dump_tree_statistics): Update.
336 * tree.h (print_lang_statistics, print_lang_decl, print_lang_type,
337 print_lang_identifier, set_yydebug, lang_print_xnode): Remove.
339 * objc-act.c (LANG_HOOKS_PRINT_IDENTIFIER,
340 LANG_HOOKS_SET_YYDEBUG): Override.
341 (lang_print_xnode, print_lang_statistics): Remove.
343 2001-11-09 Richard Henderson <rth@redhat.com>
345 * dwarf2asm.c (dw2_force_const_mem): Invoke STRIP_NAME_ENCODING
346 on the symbol string.
348 2001-11-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
350 * pa/elf.h (ASM_DECLARE_FUNCTION_NAME,
351 ASM_OUTPUT_EXTERNAL_LIBCALL): Undef before defining.
352 * config.gcc (hppa1.1-*-rtems*): Remove duplicate clause.
354 * clipper.h (ASM_OUTPUT_REG_POP): Fix typo.
356 * tlink.c (recompile_files): Copy strings passed to `putenv'.
358 2001-11-09 Geoffrey Keating <geoffk@redhat.com>
360 * tree.h (TYPE_VOLATILE): Trap use not on TYPEs.
361 (TYPE_READONLY): Likewise.
363 * flow.c (insn_dead_p): Allow for AUTO_INC notes all the time.
365 * config/stormy16/stormy16.h (ASM_SPEC): Revert last change,
366 don't pass --gdwarf2 to the assembler if the compiler will also
369 * config/stormy16/stormy16.c (xstormy16_expand_casesi):
372 Fri Nov 9 17:51:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
374 * alias.c (nonoverlapping_memrefs_p): New function.
375 (true_dependence, canon_true_depenence, write_dependence_p): Call it.
377 * emit-rtl.c (set_mem_attributes): Get alignments for constants.
379 2001-11-09 Aldy Hernandez <aldyh@redhat.com>
381 * rs6000.h (REG_CLASS_CONTENTS): Add VRSAVE bit to ALL_REGS.
382 (CONDITIONAL_REGISTER_USAGE): Disable AltiVec registers unless
383 generating altivec code.
384 (FIXED_REGISTERS): VRSAVE is fixed.
385 (CALL_USED_REGISTERS): VRSAVE is call used.
387 2001-11-09 Jason Eckhardt <jle@rice.edu>
389 * config/mips/mips.c (mips_output_conditional_branch): Do not hard
390 code the branch target as ".+16/.+12", but rather use labels.
392 Fri Nov 9 11:27:42 2001 Jeffrey A Law (law@cygnus.com)
394 * config/pa/milli64.S: Use %r25 and %r0 instead of arg1 and r0
395 to work around limitations of certain versions of GAS.
397 * pa.md (mulsi3): Remove PA64 hack to work around SUBREG issues.
398 (muldi3): Update due to SUBREG_BYTE changes.
401 2001-11-09 Zack Weinberg <zack@codesourcery.com>
403 * doc/invoke.texi: Remove comment referring to -xf77-version.
405 2001-11-09 Kazu Hirata <kazu@hxi.com>
407 * config/convex/convex.c: Fix comment formatting.
408 * config/convex/convex.h: Likewise.
410 2001-11-08 Zack Weinberg <zack@codesourcery.com>
412 * Makefile.in (.po.pox): Look both in srcdir and builddir
414 (po/$(PACKAGE).pot): Don't move-if-change the new potfile over
415 to the source directory.
417 2001-11-09 Ben Elliston <bje@redhat.com>
418 Michael Meissner <meissner@redhat.com>
419 Andrew MacLeod <amacleod@redhat.com>
420 Richard Henderson <rth@redhat.com>
421 Nick Clifton <nickc@redhat.com>
422 Catherine Moore <clm@redhat.com>
424 * m32r.c: Add support for m32rx processor.
428 * m32r-protos.h: Add prototypes for m32rx functions.
429 * doc/invoke.texi: Document -m32rx option.
431 2001-11-09 Jakub Jelinek <jakub@redhat.com>
433 * config/sparc/sparc.md (movdf): Avoid calling validize_mem during
436 2001-11-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
438 * doc/install.texi2html: Use $MAKEINFO --no-split.
440 2001-11-09 Andreas Schwab <schwab@suse.de>
442 * Makefile.in ($(HOST_PREFIX_1)rtl.o,
443 $(HOST_PREFIX_1)print-rtl.o, $(HOST_PREFIX_1)bitmap.o,
444 $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
445 $(HOST_PREFIX_1)strstr.o, $(HOST_PREFIX_1)errors.o,
446 $(HOST_PREFIX_1)ggc-none.o): Update dependencies.
448 2001-11-09 H.J. Lu <hjl@gnu.org>
450 * config/mips/mips.c (mips_output_function_prologues): Cast
451 `tsize' to long for output.
453 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
455 * c-lang.c (LANG_HOOKS_NAME): New.
456 (lang_hooks): Constify.
457 (c_init_options): Update.
458 (lang_identify): Remove.
459 * c-parse.in (language_string): Remove.
460 * dbxout.c: Include langhooks.h.
461 (dbxout_symbol_location): Update.
462 * dwarf2out.c: Include langhooks.h.
463 (gen_compile_unit_die): Update.
464 * dwarfout.c: Include langhooks.h.
465 (prototyped_attribute, output_compile_unit_die): Update.
466 * langhooks-def.h (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): New.
467 (LANG_HOOKS_INITIALIZER): Update.
468 * langhooks.h (struct lang_hooks): New members. Constify.
469 * stringpool.c: Don't include toplev.h.
470 (set_identifier_size): Remove.
471 * toplev.c (toplev_main): Initialize identifier size.
472 (print_version): Update.
473 * tree.h (language_string, init_lex, lang_identify,
474 set_identifier_size): Remove.
475 * Makefile.in: Update dependencies.
476 * config/darwin.c: Include langhooks.h.
477 (func_name_maybe_scoped): Update.
478 * config/darwin.h (ASM_END_FILE): Update.
479 * config/nextstep.h (ASM_END_FILE): Update.
480 * config/nextstep21.h (ASM_END_FILE): Update.
481 * config/i386/sun386.h (ASM_END_FILE): Update.
482 * config/rs6000/rs6000.c (ASM_END_FILE): Include langhooks.h.
483 (rs6000_output_function_epilogue): Update.
485 * objc-act.c (LANG_HOOKS_NAME): Override.
486 (struct lang_hooks): Constify.
487 (objc_init_options): Update.
488 (lang_identify): Remove.
490 Fri Nov 9 00:25:18 EST 2001 John Wehle (john@feith.com)
492 * fold-const.c (lshift_double): Honor PREC.
493 (rshift_double): Likewise.
495 2001-11-08 Kazu Hirata <kazu@hxi.com>
497 * config/1750a/1750a.c: Fix comment formatting.
498 * config/1750a/1750a.h: Likewise.
500 2001-11-08 Phil Edwards <pedwards@disaster.jaj.com>
502 * configure.in (--enable-languages): Be more permissive about
503 syntax. Check for empty lists better. Warn about $LANGUAGES.
504 * configure: Regenerated.
506 2001-11-08 Richard Henderson <rth@redhat.com>
508 * dwarf2asm.c (dw2_force_const_mem): Fix typo.
510 2001-11-08 Geoffrey Keating <geoffk@redhat.com>
512 * config.gcc: Rename stormy16 to xstormy16.
513 * config/stormy16/stormy-abi: Likewise.
514 * config/stormy16/stormy16-protos.h: Likewise.
515 * config/stormy16/stormy16.c: Likewise.
516 * config/stormy16/stormy16.h: Likewise.
517 * config/stormy16/stormy16.md: Likewise.
519 2001-11-06 Geoffrey Keating <geoffk@redhat.com>
521 * tree.h (TYPE_VOLATILE): Add enable-checking code.
522 (TYPE_READONLY): Likewise.
524 Thu Nov 8 18:00:55 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
526 * reload1.c (reload): Don't delete equiv insn if can throw.
528 * expr.c (emit_block_move): If X is readonly emit CLOBBER for it.
529 (clear_storage): Likewise, for OBJECT.
531 Thu Nov 8 16:23:51 2001 Jeffrey A Law (law@cygnus.com)
533 * pa.c (emit_move_sequence): Fix SUBREG expression to
534 use proper byte offset when extending a constant from
537 2001-11-09 Jakub Jelinek <jakub@redhat.com>
539 * cfgrtl.c (purge_dead_edges): Remove REG_EH_REGION note for insns
542 Thu Nov 8 18:00:55 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
544 * explow.c (convert_memory_address, case SUBREG): Only return
545 inner object if SUBREG_PROMOTED_VAR_P or known to be pointer.
547 2001-11-08 Richard Henderson <rth@redhat.com>
549 * Makefile.in (GCC_FOR_TARGET): Add build_tooldir/sys-include.
550 (CROSS_SYSTEM_HEADER_DIR): Use build_tooldir not tooldir.
551 (ORDINARY_FLAGS_TO_PASS, stmp-fixinc): Likewise.
553 2001-11-08 Aldy Hernandez <aldyh@redhat.com>
555 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add -maltivec.
557 2001-11-08 Jakub Jelinek <jakub@redhat.com>
559 * dwarf2out.c (debug_str_hash): New.
560 (struct indirect_string_node): New.
561 (struct dw_val_struct): Change type of val_str to it.
562 (DEBUG_STR_SECTION_FLAGS): Define.
563 (add_AT_string): Push string into hashtable, increment reference
565 (AT_string): Return string from ht_identifier.
566 (AT_string_form): New.
567 (free_AT): For dw_val_class_str, just decrement reference counter.
568 (size_of_string): Remove.
569 (size_of_die): Use AT_string_form to decide what size the string
571 (size_of_pubnames): Use strlen instead of size_of_string.
572 (value_format): Use AT_string_form for dw_val_class_str.
573 (output_die): Output DW_FORM_strp strings using
574 dw2_asm_output_offset.
575 (indirect_string_alloc, output_indirect_string): New.
576 (dwarf2out_finish): Emit .debug_str strings if there are any.
578 2001-11-08 Andreas Franck <afranck@gmx.de>
580 * configure.in: Add AC_ARG_PROGRAM to support program name
581 transformation with --program-prefix, --program-suffix and
582 --program-transform-name.
583 * configure: Regenerated.
584 * Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
585 PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
586 GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
587 PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
588 program_transform_name the way suggested by autoconf.
589 (GCC_TARGET_INSTALL_NAME): Define.
590 (install-driver): Use the transformed target alias name.
592 2001-11-08 Richard Henderson <rth@redhat.com>
594 * config/mips/mips.c (save_restore_insns): Remove GP from the
595 restore registers mask early instead of special casing it inside
598 2001-11-08 Neil Booth <neil@daikokuya.demon.co.uk>
600 * cp/decl.c (shadow_warning): New function.
601 (pushdecl): Improve -Wshadow warnings. Don't give both a warning
602 and an error when a block scope decl shadows a parameter.
604 2001-11-08 Richard Henderson <rth@redhat.com>
606 * config/fp-bit.h (usi_to_float): Define for US_SOFTWARE_GOFAST
609 2001-11-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
611 * pa.md (negdf2, negsf2): Use multiplication rather than subtraction
612 to implement floating negation on processors prior to PA 2.0.
614 2001-11-08 Jakub Jelinek <jakub@redhat.com>
616 * dwarf2asm.c (mark_indirect_pool_entry, mark_indirect_pool): New.
617 (USE_LINKONCE_INDIRECT): Define.
618 (dw2_output_indirect_constant_1): Try to output indirect constants
619 into linkonce sections if possible.
620 (dw2_force_const_mem): Likewise. Register indirect_pool with GGC.
621 (dw2_output_indirect_constants): Likewise.
623 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
625 * config/rs6000/rs6000.h (REG_ALLOC_ORDER): Add vrsave.
627 2001-11-07 Neil Booth <neil@daikokuya.demon.co.uk>
629 * c-decl.c (pushdecl): Remove file and line.
630 * c-typeck.c (pop_init_level): Remove size.
632 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
634 * doc/invoke.texi: Add -maltivec, -mno-altivec, and -mabi=altivec
637 * config/rs6000/rs6000.h (MASK_ALTIVEC): New.
638 (TARGET_ALTIVEC): New.
639 (TARGET_SWITCHES): Add altivec.
640 (FIRST_PSEUDO_REGISTER): Change to 109.
641 (CALL_USED_REGISTERS): Same.
642 (FIRST_ALTIVEC_REGNO): New.
643 (LAST_ALTIVEC_REGNO): New.
644 (ALTIVEC_REGNO_P): New.
645 (UNITS_PER_ALTIVEC_WORD): New.
646 (ALTIVEC_VECTOR_MODE): New.
647 (FIXED_REGISTERS): Add altivec registers.
648 (REG_ALLOC_ORDER): Same.
649 (HARD_REGNO_NREGS): Adjust for altivec registers.
650 (HARD_REGNO_MODE_OK): Same.
651 (MODES_TIEABLE_P): Same.
652 (REGISTER_MOVE_COST): Same.
653 (REGNO_REG_CLASS): Same.
654 (reg_class): Add ALTIVEC_REGS.
655 (REG_CLASS_NAMES): Same.
656 (REG_CLASS_CONTENTS): Same.
657 (REG_CLASS_FROM_LETTER): Add 'v' constraint for ALTIVEC_REGS.
658 (ALTIVEC_ARG_RETURN): New.
659 (FUNCTION_VALUE): Handle VECTOR_TYPE.
660 (LIBCALL_VALUE): Handle altivec vector modes.
661 (VECTOR_MODE_SUPPORTED_P): New.
662 (ALTIVEC_ARG_MIN_REG): New.
663 (ALTIVEC_ARG_MAX_REG): New.
664 (ALTIVEC_ARG_NUM_REG): New.
665 (FUNCTION_VALUE_REGNO_P): Return true for altivec return register.
666 (FUNCTION_ARG_REGNO_P): Support passing args in altivec registers.
667 (REGISTER_NAMES): Add altivec regs.
668 (DEBUG_REGISTER_NAMES): Same.
669 (ADDITIONAL_REGISTER_NAMES): Same.
670 (rs6000_builtins): New.
671 (MD_EXPAND_BUILTIN): New.
672 (MD_INIT_BUILTINS): New.
673 (LEGITIMATE_OFFSET_ADDRESS_P): This addressing mode is not valid
674 for AltiVec instructions.
675 (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
676 (HARD_REGNO_MODE_OK): Altivec modes can only go in altivec
678 (SECONDARY_MEMORY_NEEDED): We need memory to copy vector modes.
679 (TARGET_SWITCHES): Add no-altivec.
680 (DATA_ALIGNMENT): Align vectors to 128 bits.
681 (TARGET_OPTIONS): Add abi= option.
682 Add rs6000_abi_string extern.
683 (LOCAL_ALIGNMENT): New.
684 (CPP_CPU_SPEC): Define __ALTIVEC__ when -maltivec.
685 (MASK_ALTIVEC_ABI): New.
686 (TARGET_ALTIVEC_ABI): New.
687 (CONDITIONAL_REGISTER_USAGE): Set first 20 AltiVec registers to
689 (STACK_BOUNDARY): Adjust for altivec.
690 (BIGGEST_ALIGNMENT): Same.
691 (rs6000_args): Add vregno.
692 (USE_ALTIVEC_FOR_ARG_P): New.
693 (FIXED_REGISTERS): Add vrsave register.
694 (CALL_USED_REGISTERS): Same.
695 (CONDITIONAL_REGISTER_USAGE): Set VRSAVE info.
697 (reg_class): Add VRSAVE_REGS.
698 (REG_CLASS_NAMES): Same.
699 (REG_CLASS_CONTENTS): Same.
700 (REGNO_REG_CLASS): Same.
702 * config/rs6000/sysv4.h (STACK_BOUNDARY): Adjust for altivec.
703 (ABI_STACK_BOUNDARY): Same.
704 (BIGGEST_ALIGNMENT): Same.
705 (ADJUST_FIELD_ALIGN): Remove undef. Define anew.
706 (ROUND_TYPE_ALIGN): Same.
708 * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
711 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
714 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
717 * config/rs6000/rs6000.c (rs6000_expand_builtin): New.
718 (altivec_expand_builtin): New.
719 (altivec_init_builtins): New.
720 (TARGET_EXPAND_BUILTIN): New.
721 (TARGET_INIT_BUILTINS): New.
722 (rs6000_init_builtins): New.
723 (struct builtin_description): New.
725 (rs6000_reg_names): Add altivec registers.
726 (alt_reg_names): Same.
727 (secondary_reload_class): Altivec regs can hold altivec regs and
729 (rs6000_emit_move): Force constants into memory for AltiVec moves.
730 (print_operand): Add 'y' case for printing altivec memory
732 (rs6000_legitimize_address): Legitimize vector addresses into
734 (altivec_expand_binop_builtin): New.
735 New string rs6000_current_abi.
736 (rs6000_override_options): Call rs6000_parse_abi_options.
737 (rs6000_parse_abi_options): New.
738 (function_arg_boundary): Vector arguments must be 16
740 (function_arg_advance): Handle vector arguments.
741 (function_arg_partial_nregs): Same.
742 (init_cumulative_args): Same.
743 (function_arg): Same.
745 * config/rs6000/rs6000.md (altivec_lvx): New.
746 (type): Add altivec attribute.
748 (*movv4si_internal): New.
750 (*movv16qi_internal): New.
752 (*movv8hi_internal1): New.
754 (*movv4sf_internal1): New.
871 2001-11-07 Daniel Berlin <dan@cgsoftware.com>
873 * Makefile.in (df.o): Add fibheap.h to dependencies.
875 * df.h: Add prototypes for transfer functions, iterative_dataflow
877 (enum df_flow_dir): New enum.
878 (enum df_confluence_op): New enum.
879 (struct df): Add inverse_rts_map.
881 * df.c: Add sbitmap.h to the list of includes.
882 (df_rd_global_compute): Removed.
883 (df_ru_global_compute): Removed.
884 (df_lr_global_compute): Removed.
885 (df_rd_transfer_function): New function.
886 (df_ru_transfer_function): New function.
887 (df_lr_transfer_function): New function.
888 (df_analyse_1): allocate/compute/free df->inverse_rts_map.
889 Use iterative_dataflow_bitmap instead of df_*_global_compute.
890 (iterative_dataflow_sbitmap): New function.
891 (iterative_dataflow_bitmap): New function.
893 2001-11-07 Joseph S. Myers <jsm28@cam.ac.uk>
895 * doc/gcc.texi: Move terminology and spelling conventions to
896 htdocs/codingconventions.html.
898 2001-11-07 Graham Stott <grahams@redhat.com>
900 * cse.c (cse_insn): Emit BARRIER after unconditional jump.
902 Wed Nov 7 13:33:34 CET 2001 Jan Hubicka <jh@suse.cz>
904 * expmed.c (expand_mult): Force operand to register before computing
906 * i386.c (x86_decompose_lea): New global vairable.
907 * i386.h (x86_decompose_lea): Declare.
908 (TARGET_DECOMPOSE_LEA): New macro.
909 (RTX_COST): Handle leas properly.
911 2001-11-06 Richard Henderson <rth@redhat.com>
913 * config/alpha/elf.h (DO_SELECT_SECTION): TREE_READONLY is not
914 defined for a CONSTRUCTOR; don't check it.
916 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
918 * gcov.c (output_data): Use IS_ABSOLUTE_PATHNAME to
919 test for absolute pathnames.
921 2001-11-06 Olivier Hainque <hainque@act-europe.fr>
923 * unwind-dw2.c (execute_cfa_program): Evaluate call frame
924 instructions up to the target pc inclusive.
926 2001-11-06 Steve Christiansen <smc@us.ibm.com>
928 * loop.c (loop_regs_scan): Don't invalidate PIC register.
930 2001-11-06 Eric Christopher <echristo@redhat.com>
932 * config/mips/mips.md(movdf_internal2): Add constraints for float
933 to general register move.
934 * config/mips/elf64.h: Add default ABI.
936 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
938 * alias.c:: Include langhooks.h.
939 * emit-rtl.c: Similarly.
940 * toplev.c: Similarly.
941 * tree-inline.c: Similarly.
942 * langhooks-def.h: New, the old langhooks.h. Give the default
943 hooks a common prefix.
944 * langhooks.h: Contents extracted from toplev.h.
945 * toplev.h: Move langhook stuff to langhooks.h.
946 * langhooks.c: Give default hooks a common prefix.
948 * c-lang.c: Include langhooks-def.h.
949 * objc/objc-act.c: Similarly.
950 * Makefile.in: Update.
951 * objc/Make-lang.in: Update.
953 2001-11-06 Joseph S. Myers <jsm28@cam.ac.uk>
955 * doc/install.texi: Document that configure options not listed in
956 this file are unsupported. Document --with-system-zlib.
958 Tue Nov 6 09:21:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
960 * rtl.h (mem_for_const_double): New declaration.
961 * varasm.c (mem_for_const_double): New function.
962 * config/convex/convex.md (movdf): Use it.
963 * config/m68k/hp320.h (LEGITIMATE_PIC_OPERAND_P): Likewise.
964 * config/m68k/linux.h, config/m68k/m68k.h: Likewise.
965 * config/m68k/m68kv4.h: Likewise.
967 * config/alpha/alpha.h (SECONDARY_MEMORY_NEEDED): Adjust for addition
968 of new GP reg classes.
970 * expr.c (store_field): When making temp object for unaligned
971 component, set it to alias set 0.
973 2001-11-06 Joseph S. Myers <jsm28@cam.ac.uk>
975 * c-common.c (c_expand_expr_stmt): Apply default conversions to
976 non-lvalue arrays if C99.
977 * c-typeck.c (default_conversion): Split out code handling
978 array-to-pointer and function-to-pointer conversions into a
979 separate default_function_array_conversion function.
980 (default_function_array_conversion): New function. Keep track of
981 whether any NON_LVALUE_EXPRs were stripped. Return non-lvalue
982 arrays unchanged outside C99 mode instead of giving an error for
984 (build_component_ref): Use pedantic_non_lvalue when handling
985 COMPOUND_EXPR. Don't handle COND_EXPR specially.
986 (convert_arguments): Use default_function_array_conversion.
987 (build_unary_op): For ADDR_EXPR, take a flag indicating whether
989 (unary_complex_lvalue): Likewise.
990 (internal_build_compound_expr): Use
991 default_function_array_conversion. Apply default conversions to
992 function in compound expression.
993 (build_c_cast, build_modify_expr, digest_init, build_asm_stmt):
994 Use default_function_array_conversion.
995 * doc/extend.texi: Update documentation of subscripting non-lvalue
999 2001-11-05 Zack Weinberg <zack@codesourcery.com>
1001 * aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS.
1002 (AM_GNU_GETTEXT): Set CATALOGS to a list of .gmo files
1003 corresponding to the complete set of .po and .gmo files in
1004 the source directory's po subdir, modified by LINGUAS. Don't
1005 look at ALL_LINGUAS.
1006 * configure.in: Don't set ALL_LINGUAS.
1007 * configure: Regenerate.
1009 * Makefile.in (.po.gmo): Don't move into source directory.
1010 (.po.pox): Clarify comments.
1011 (install-po): Look for .gmo files in both srcdir and objdir;
1012 don't fail if a file is totally missing.
1013 (distclean): rmdir ada subdirectory too.
1015 2001-11-05 Geoffrey Keating <geoffk@redhat.com>
1017 * config/rs6000/rs6000.c (rs6000_select_section): Handle
1018 CONSTRUCTORs _correctly_.
1020 2001-11-05 Neil Booth <neil@cat.daikokuya.demon.co.uk>
1022 * c-decl.c (delete_block): Remove.
1023 * c-tree.h (delete_block): Remove.
1025 2001-11-05 Neil Booth <neil@cat.daikokuya.demon.co.uk>
1027 * cppexp.c (lex, parse_defined): Update warning about defined.
1029 2001-11-05 Geoffrey Keating <geoffk@redhat.com>
1031 * config/rs6000/rs6000.c (rs6000_select_section): Handle
1034 2001-11-05 Nick Clifton <nickc@cambridge.redhat.com>
1036 * config/arm/arm.c (arm_return_in_memory): Cope with
1037 int_size_in_bytes returning -1.
1039 * config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Handle
1042 Mon Nov 5 16:15:25 CET 2001 Jan Hubicka <jh@suse.cz>
1044 * Makefile.in (bb-reoder.o): Add dependency on cfglayout.h;
1045 remove unneeded dependencies;
1047 * cfglayout.c, cfglayout.h: New files; break out from ...
1048 * bb-reorder.c: ... here; Remove unneeded includes;
1050 2001-11-04 Alan Modra <amodra@bigpond.net.au>
1052 * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Mark r2 as used.
1054 2001-11-04 David Edelsohn <edelsohn@gnu.org>
1056 * config/rs6000/rs6000.c (rs6000_emit_move): Handle 64-bit
1057 mode as well. Do not explicitly create intermediate regs.
1059 2001-11-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1061 * arm/aof.h (aof_text_section, aof_data_section): Don't declare.
1062 (common_section): Delete unused variable.
1063 (ASM_OUTPUT_ASCII): Fix signed/unsigned warnings.
1064 (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
1065 * arm-protos.h (arm_poke_function_name, aof_add_import,
1066 aof_delete_import): Const-ify.
1067 * arm.c (legitimize_pic_address): Wrap variables in the macro
1068 controlling their usage.
1069 (arm_finalize_pic): Mark variable with ATTRIBUTE_UNUSED.
1070 (arm_poke_function_name, pic_chain, import, aof_add_import,
1071 aof_delete_import): Const-ify.
1072 * i386.c (ix86_osf_output_function_prologue): Const-ify.
1073 * i386/sysv4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
1074 ASM_OUTPUT_LONG_DOUBLE): Fix format specifier warnings.
1075 * i860/fx2800.h (DBX_OUTPUT_STANDARD_TYPES): Const-ify.
1076 * i860/sysv3.h: Add missing comment closure.
1077 * m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Add missing semi-colon.
1078 * m88k/dgux.h (SELECT_RTX_SECTION): Add missing argument in call
1079 to symbolic_operand.
1081 * config.gcc (m680[02]0-*-*): Rename case from m68000-*-*.
1082 (i960-*-*): Set tmake_file.
1083 (sparc86x-*-elf*): Fix typo in header name.
1085 * sched-rgn.c (schedule_insns): Delete unused variable.
1087 2001-11-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
1090 * c-typeck.c (lookup_field): Rework to return a chain down to
1091 the looked-up field.
1092 (build_component_ref): Use the new lookup_field to handle
1093 nested anonymous entities correctly.
1095 Sun Nov 4 11:53:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1097 * config/sparc/sparc.c (sparc_emit_set_const32, GEN_HIGHINT64):
1098 Change parameters to gen_rtx_CONST_DOUBLE.
1099 (GEN_INT64, sparc_emit_set_const64): Likewise.
1100 * config/sparc/sparc.md (movdf split): Likewise.
1102 2001-11-03 Geoffrey Keating <geoffk@redhat.com>
1104 * unroll.c (calculate_giv_inc): Use find_last_value rather
1105 than just hoping the last instruction is the right SET.
1106 [Fixes 990604-1.c on stormy16.]
1108 * config/stormy16/stormy16.h (LIB_SPEC): Don't supply any libgloss
1109 library at all if -T is used.
1111 * config/stormy16/stormy16.c (stormy16_print_operand): Avoid
1112 some uses of uninitialized variables in error cases.
1114 * config/stormy16/stormy16.c (stormy16_output_shift): Don't
1115 look at 'temp' if we won't be using it.
1117 * config/stormy16/stormy16.h (CONST_COSTS): Define.
1118 (RTX_COSTS): Define.
1119 (ADDRESS_COST): Define.
1120 (MEMORY_MOVE_COST): Allow for memory_move_secondary_cost.
1122 * config/stormy16/stormy16.h (ASM_SPEC): Pass -g to the assembler.
1124 * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Call
1125 stormy16_asm_output_mi_thunk.
1126 * config/stormy16/stormy16.c (stormy16_asm_output_mi_thunk): New
1128 * config/stormy16/stormy16-protos.h
1129 (stormy16_asm_output_mi_thunk): New prototype.
1131 2001-11-04 Joseph S. Myers <jsm28@cam.ac.uk>
1133 * ChangeLog.2, ChangeLog.4, ChangeLog.5, ChangeLog,
1134 FSFChangeLog.10, FSFChangeLog.11, alias.c, attribs.c,
1135 caller-save.c, calls.c, cfg.c, cfganal.c, cfgcleanup.c, cfgrtl.c,
1136 cppmacro.c, fold-const.c, ifcvt.c, local-alloc.c, profile.c,
1137 sched-int.h, toplev.c, config/alpha/alpha.c,
1138 config/alpha/alpha.md, config/c4x/c4x.h, config/cris/cris.h,
1139 config/cris/cris.md, config/i370/i370.md, config/i386/i386.c,
1140 config/i386/i386.h, config/i386/i386.md, config/i386/xm-djgpp.h,
1141 config/ia64/ia64.c, config/m68hc11/m68hc11.c, config/m68k/m68k.md,
1142 config/mcore/mcore.h, config/mmix/mmix.c, config/ns32k/ns32k.h,
1143 config/ns32k/ns32k.md, config/rs6000/rs6000.c,
1144 config/rs6000/sysv4.h, config/sh/sh.md: Fix spelling errors.
1146 2001-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1148 * Makefile.in (dbxout.o): Depend on function.h.
1149 * collect2.c (is_in_list): Hide unused function.
1150 * dbxout.c: Include function.h.
1151 (source_label_number, dbxout_source_line, dbxout_source_file,
1152 dbxout_function_end, dbxout_begin_function): Wrap/move inside
1153 macros controlling usage.
1154 * gcc.c (TARGET_EXECUTABLE_SUFFIX): Undef before defining.
1155 * output.h (exports_section): Prototype.
1157 * convex.c (convex_output_function_prologue): Fix format specifier
1159 (asm_declare_function_name): Fix signed/unsigned warning.
1160 (print_operand): Fix format specifier warning.
1161 * convex.h (S_REGNO_P, A_REGNO_P): Fix signed/unsigned warning.
1162 * dsp16xx-protos.h (uns_comparison_operator,
1163 num_1600_core_shifts): Prototype.
1164 * dsp16xx.c: Include tm_p.h, not dsp16xx-protos.h.
1165 (frame_size, frame_pointer_offset): Delete.
1166 (dsp16xx_output_function_prologue, dsp16xx_output_function_epilogue):
1167 Make static. Fix format specifier warnings.
1168 * dsp16xx.h (IS_ACCUM_REG): Fix unsigned>=0 warning.
1169 (EXTRA_SECTION_FUNCTIONS): Prototype const_section.
1170 * dsp16xx.md: Add default case in switches.
1171 * fr30.h (IN_RANGE): Delete.
1172 * ia64.h (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
1173 * mcore-protos.h (mcore_output_cmov): Const-ify.
1174 * mcore.c (mcore_output_cmov): Likewise.
1175 * mcore.h (switch_to_section): Make static and prototype.
1176 * mn10200.h (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Fix
1177 unsigned>=0 warnings.
1178 * mn10300.h (REGNO_IN_RANGE_P): Likewise.
1179 * rs6000-protos.h (read_only_data_section,
1180 read_only_private_data_section): Prototype.
1181 * rs6000.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
1182 * sh.c (sh_adjust_cost): Mark parameter with ATTRIBUTE_UNUSED.
1183 * sh.h (GENERAL_REGISTER_P): Fix unsigned>=0 warning.
1185 2001-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1187 * dwarf2asm.c (dw2_asm_output_pcrel): Mark parameters with
1189 * final.c (final_scan_insn): Add brackets around body of if-stmt.
1190 * gcc.c (convert_filename): Add static prototype. Const-ify.
1191 Wrap variable in macros controlling its use.
1192 * output.h (sdata_section): Add prototype.
1194 * 1750a.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
1195 (ASM_OUTPUT_ASCII): Avoid signed/unsigned warning.
1196 * c4x.h (INIT_SECTION_FUNCTION): Add prototype.
1197 (ASM_FILE_START): Const-ify.
1198 (ASM_OUTPUT_BYTE_FLOAT, ASM_OUTPUT_SHORT_FLOAT): Fix format
1200 * c4x.md: Don't use the 'U' integer suffix.
1201 * clipper.md (clipper_movstr): Delete declaration.
1202 * d30v-protos.h (d30v_move_2words): Const-ify.
1203 (debug_stack_info): Add prototype.
1204 * d30v.c: Include "integrate.h".
1205 (d30v_function_arg_boundary, d30v_function_arg,
1206 d30v_function_arg_partial_nregs, d30v_function_arg_advance): Avoid
1207 signed/unsigned warnings.
1208 (d30v_print_operand_memory_reference, d30v_move_2words):
1210 * d30v.h (REG_CLASS_FROM_LETTER): Use unsigned array subscript.
1211 * fr30.c (fr30_pass_by_reference, fr30_pass_by_value): Prototype.
1212 * fr30.md: Const-ify.
1213 * h8300.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
1214 * i370.c (i370_label_scan, mvs_get_label): Make definition static.
1215 (mvs_get_label_page): Hide unused static function.
1216 * i860.c (current_function_original_name): Const-ify.
1217 * i860/sysv3.h (current_function_original_name): Likewise.
1218 * i860/sysv4.h (current_function_original_name): Likewise.
1219 * i960.md: Add default case in switches. Remove unused variable.
1220 * i960/vx960-coff.h (MULTILIB_DEFAULTS): Undef before defining.
1221 * m32r.md: Const-ify.
1222 * m68hc11-protos.h (m68hc11_asm_file_start): Const-ify.
1223 * m68hc11.c: Include "reload.h".
1224 (static_chain_reg, print_options, m68hc11_asm_file_start):
1226 * m68hc11.md: Delete unused variable. Const-ify. Add parens
1227 around & in comparison.
1228 * mcore.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
1229 * mn10200.c (shift_mode): Remove trailing comma.
1230 * mn10300-protos.h (output_tst): Const-ify.
1231 * mn10300.c (output_tst): Likewise.
1232 * pa/long_double.h (ASM_OUTPUT_LONG_DOUBLE): Fix format specifier
1234 * pa-protos.h (output_ascii): Use regular char *, not unsigned.
1235 * pa.c (output_ascii): Likewise.
1236 * pa/som.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
1237 * pdp11.md (expand_unop): Delete declarations.
1238 * pj-protos.h (pj_output_addsi3): Const-ify.
1239 * pj.c (pj_output_push_int, pj_output_load, pj_output_inc,
1240 pj_output_cnv_op, mode_to_char, pj_output_varidx, pj_print_cond,
1241 unique_src_operand): Add prototypes.
1242 (pj_output_store_into_lval): Make definition static.
1243 (pj_function_incoming_arg): Don't use unary plus.
1244 (pj_output_addsi3): Const-ify.
1245 * romp.md (get_symref): Delete declarations.
1246 * v850-c.c (mark_current_function_as_interrupt): Don't return
1247 value from void function.
1248 * v850.c: Include "integrate.h".
1249 * v850.h (ASM_OUTPUT_LABELREF): Const-ify.
1250 * vax-protos.h (const_section): Add prototype.
1252 2001-11-03 Aldy Hernandez <aldyh@redhat.com>
1254 * machmode.def: Add documentation for the seventh argument in
1257 2001-11-04 Hans-Peter Nilsson <hp@bitrange.com>
1259 * doc/invoke.texi (MMIX Options) <-mno-knuthdiv>: Say remainder
1261 <-mno-toplevel-symbols>: Change @code{:} to @samp{:}.
1262 <-melf>: Don't have markup for ELF acronym.
1264 2001-11-03 Hans-Peter Nilsson <hp@bitrange.com>
1266 * config.gcc (mmix-*-*): New target.
1267 * doc/invoke.texi: Document MMIX options.
1268 * doc/contrib.texi: Add note about MMIX port to my entry.
1269 * config/mmix/t-mmix: New file.
1270 * config/mmix/mmix.h: New file.
1271 * config/mmix/mmix-protos.h: New file.
1272 * config/mmix/mmix.c: New file.
1273 * config/mmix/mmix.md: New file.
1274 * config/mmix/crti.asm: New file.
1275 * config/mmix/crtn.asm: New file.
1277 2001-11-03 Kazu Hirata <kazu@hxi.com>
1279 * config/sparc/linux-aout.h: Fix comment formatting.
1280 * config/sparc/linux.h: Likewise.
1281 * config/sparc/linux64.h: Likewise.
1282 * config/sparc/lynx.h: Likewise.
1283 * config/sparc/pbd.h: Likewise.
1284 * config/sparc/sol2-sld-64.h: Likewise.
1285 * config/sparc/sol2.h: Likewise.
1286 * config/sparc/sparc.c: Likewise.
1287 * config/sparc/sparc.h: Likewise.
1288 * config/sparc/sparc.md: Likewise.
1289 * config/sparc/sunos4.h: Likewise.
1290 * config/sparc/vxsim.h: Likewise.
1291 * config/sparc/vxsparc.h: Likewise.
1292 * config/sparc/vxsparc64.h: Likewise.
1294 Sat Nov 3 10:37:56 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1296 * cselib.c (cselib_subst_to_values, case CONST_DOUBLE): Remove
1297 reference to CONST_DOUBLE_MEM in comment.
1298 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Remove one operand.
1299 (gen_rtx, case CONST_DOUBLE): Call it with one less operand.
1300 (init_emit_once): Don't clear CONST_DOUBLE_MEM.
1301 * function.c (pop_function_context_from): Don't call
1302 restore_varasm_status.
1303 * function.h (restore_varasm_status): Delete declaration.
1304 * gengenrtl.c (CONST_DOUBLE_FORMAT): Delete CONST_DOUBLE_MEM slot.
1306 * rtl.def (CONST_DOUBLE): Update comment.
1307 * rtl.h (CONST_DOUBLE_HIGH, CONST_DOUBLE_LOW): Update operand number.
1308 (CONST_DOUBLE_CHAIN): Likewise.
1309 (CONST_DOUBLE_MEM): Delete.
1310 (gen_rtx_CONST_DOUBLE): Update parameters.
1311 * varasm.c (struct varasm_status): x_pool_offset now HOST_WIDE_INT.
1312 Remove reference to CONST_DOUBLE_MEM.
1313 (const_alias_set): New variable.
1314 (immed_double_const): Change call to gen_rtx_CONST_DOUBLE.
1315 (immed_real_const_1): Adjust tests for 0, 1, and 2.
1316 Don't set CONST_DOUBLE_MEM.
1317 (clear_const_double_mem): Don't do anything with const_tiny_rtx.
1318 (output_constant_def): Don't look at TREE_CST_RTL if INTEGER_CST.
1319 Put constant in const_alias_set.
1320 (struct pool_constant): ALIGN now unsigned.
1321 OFFSET now HOST_WIDE_INT.
1323 (restore_varasm_status): Deleted.
1324 (mark_pool_constant): Mark desc->rtl.
1325 (force_const_mem): Rework to store rtl in hash table,
1326 not CONST_DOUBLE_MEM.
1327 Put constant in const_alias_set.
1328 (find_pool_constant): Check desc->rtl.
1329 (mark_constants, mark_constant): Don't special-case CONST_DOUBLE.
1330 (init_varasm_once): Initialize const_alias_set.
1332 * expr.c (expand_expr, case ADDDR_EXPR): If at top level, don't call
1335 * reload.c (combine_reloads): Don't combine an output reload if there
1336 are other reloads around for part of the output.
1338 * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGINGP_P if T is a
1339 constant expression.
1340 (set_mem_decl): New function.
1341 * expr.h (set_mem_decl): New declaration.
1342 * final.c (get_decl_from_op): Don't use ORIGINAL_REGNO if not pseudo.
1343 (output_asm_operand_names): Add tab.
1344 * reload1.c (alter_reg): Set decl of MEM from REG_DECL.
1346 * builtins.c (get_memory_rtx): Properly set MEM alias set and
1349 2001-11-03 Joseph S. Myers <jsm28@cam.ac.uk>
1351 * doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/tm.texi:
1352 Use "invalid" instead of "illegal". Use @r in comments in
1355 2001-11-02 Neil Booth <neil@daikokuya.demon.co.uk>
1357 * c-decl.c (pushdecl): Move block inside if conditional to remove
1358 possibility of a segfault. Lookup block-level extern
1359 variables in enclosing scopes correctly.
1361 * testsuite/gcc.c-torture/compile/20001018-1.x: Remove XFAIL.
1363 2001-11-02 Aldy Hernandez <aldyh@redhat.com>
1365 * expmed.c (store_bit_field): Use simplify_gen_subreg to make
1366 SUBREG so we avoid SUBREGing memory.
1368 * expmed.c (store_bit_field): Same.
1370 2001-11-02 DJ Delorie <dj@redhat.com>
1372 * config/rs6000/rs6000.c (rs6000_emit_move): Make sure that
1373 using FP registers for DImode mem-mem moves is acceptable.
1375 2001-11-02 Aldy Hernandez <aldyh@redhat.com>
1377 * builtins.c (apply_args_size): Handle vector arguments.
1378 (apply_result_size): Same.
1380 * machmode.def: Set WIDER mode field for all vector entries.
1382 2001-11-02 Graham Stott <grahams@redhat.com>
1384 * recog.c (decode_asm_operands): Check that the SRC is ASM_OPERANDS.
1386 2001-11-01 Eric Christopher <echristo@redhat.com>
1388 * config.gcc: Revert part of earlier patch.
1389 * config/mips/linux.h: Ditto.
1390 * df.c: Include tm_p.h to avoid warnings.
1391 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Add defaults. Adjust
1393 * config/mips/mips.c: Define mips_abi regardless.
1394 (mips_output_function_prologues): Add long casts for .frame
1396 (override_options): Allow use of ABI_32.
1398 2001-11-01 Kazu Hirata <kazu@hxi.com>
1400 * config/m68hc11/m68hc11.c: Fix comment formatting.
1401 * config/m68hc11/m68hc11.h: Likewise.
1402 * config/m68hc11/m68hc11.md: Likewise.
1404 2001-11-01 Neil Booth <neil@daikokuya.demon.co.uk>
1406 * c-typeck.c (default_conversion): Retain the original expression
1408 * gcc.dg/Wparentheses.c: New tests.
1410 2001-11-01 David S. Miller <davem@redhat.com>
1412 * doc/install.texi (Specific, sparc-sun-solaris2*): Bring
1413 64-bit Sparc description more in line with reality.
1415 2001-11-01 Joseph S. Myers <jsm28@cam.ac.uk>
1417 * Makefile.in (GCOV_OBJS): Add version.o.
1418 * gcov.c: Include "version.h" and <getopt.h>.
1419 (gcov_version_string): Remove.
1420 (print_usage): Take a parameter to determine whether this is a
1421 call from --help or an error message. Give fuller output that
1422 follows the GNU Coding Standards for --help.
1423 (print_version): New function.
1425 (process_args): Use getopt_long. Support long options. Follow
1426 GNU Coding Standards for --help and --version.
1427 * doc/gcov.texi: Document long options.
1428 Addresses part of PR other/704.
1430 2001-11-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
1432 * pa.c (output_move_double): Fix typo in double load.
1434 2001-11-01 Kazu Hirata <kazu@hxi.com>
1436 * config/h8300/h8300.c (h8300_encode_label): Compute a string
1437 before passing it to ggc_alloc_string.
1439 2001-11-01 Kazu Hirata <kazu@hxi.com>
1441 * config/m68k/3b1.h: Fix comment formatting.
1442 * config/m68k/3b1g.h: Likewise.
1443 * config/m68k/a-ux.h: Likewise.
1444 * config/m68k/amix.h: Likewise.
1445 * config/m68k/apollo68.h: Likewise.
1446 * config/m68k/atari.h: Likewise.
1447 * config/m68k/aux-exit.c: Likewise.
1448 * config/m68k/ccur-GAS.h: Likewise.
1449 * config/m68k/crds.h: Likewise.
1450 * config/m68k/dpx2.h: Likewise.
1451 * config/m68k/dpx2g.h: Likewise.
1452 * config/m68k/hp310.h: Likewise.
1453 * config/m68k/hp320.h: Likewise.
1454 * config/m68k/isi.h: Likewise.
1455 * config/m68k/linux.h: Likewise.
1456 * config/m68k/lynx.h: Likewise.
1457 * config/m68k/m68k-psos.h: Likewise.
1458 * config/m68k/m68k.c: Likewise.
1459 * config/m68k/m68k.h: Likewise.
1460 * config/m68k/m68k.md: Likewise.
1461 * config/m68k/m68kelf.h: Likewise.
1462 * config/m68k/m68kv4.h: Likewise.
1463 * config/m68k/mot3300.h: Likewise.
1464 * config/m68k/news.h: Likewise.
1465 * config/m68k/next.h: Likewise.
1466 * config/m68k/pbb.h: Likewise.
1467 * config/m68k/plexus.h: Likewise.
1468 * config/m68k/sgs.h: Likewise.
1469 * config/m68k/sun3.h: Likewise.
1470 * config/m68k/tower.h: Likewise.
1471 * config/m68k/vxm68k.h: Likewise.
1473 2001-10-31 DJ Delorie <dj@redhat.com>
1475 * config/mips/mips.h (mips_cache_flush_func): Prototype.
1476 (TARGET_OPTIONS): Support -mflush-func= and -mno-flush-func.
1477 (INITIALIZE_TRAMPOLINE): Use mips_cache_flush_func if nonzero.
1478 * config/mips/mips.c (mips_cache_flush_func): New.
1479 * doc/invoke.texi: Document the new options.
1481 2001-10-31 Hans-Peter Nilsson <hp@axis.com>
1483 * config.gcc (cris-*-linux*, tm_file): Rearrange order.
1484 * config/cris/linux.h (LIB_SPEC, STARTFILE_SPEC): Don't redefine.
1486 * config/cris/cris.h (EH_RETURN_DATA_REGNO): Fix formatting.
1488 * config/cris/cris.c: Include output.h after tree.h but before
1491 2001-10-31 Zack Weinberg <zack@codesourcery.com>
1493 * Makefile.in (INTL_TARGETS, POSUB): Delete all references.
1494 (INTL_SUBDIRS): Just intl.
1495 (.SUFFIXES): Add .gmo .po .pox.
1496 (native): Also depend on build-@POSUB@.
1497 (intl.all, intl.install): Depend on config.h and things it includes.
1498 (po-generated): New target; depend on c-parse.c and tradcif.c.
1499 (install-normal): Also depend on install-@POSUB@.
1500 (XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
1501 (build-, install-, build-po, update-po, install-po,
1502 .po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
1504 * aclocal.m4: Prefix each entry in CATALOGS with "po/"
1505 * configure.in: Don't munge XGETTEXT. Don't generate
1507 * configure: Regenerate.
1509 * exgettext: Delete.
1510 * config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
1511 * objc/Make-lang.in: Replace $(INTL_TARGETS) with po-generated.
1513 2001-10-31 Kazu Hirata <kazu@hxi.com>
1515 * config/h8300/h8300.md (two anonymous patterns): New.
1517 2001-10-31 Aldy Hernandez <aldyh@redhat.com>
1519 * tree.h (tree_index): Add support for V16QI and V8HI.
1520 (V8HI_type_node): New.
1521 (V16QI_type_node): New.
1523 * tree.c (build_common_tree_nodes_2): Same.
1525 * c-common.c (type_for_mode): Same.
1527 2001-10-31 Kazu Hirata <kazu@hxi.com>
1529 * config/i386/att.h: Fix comment formatting.
1530 * config/i386/beos-elf.h: Likewise.
1531 * config/i386/bsd.h: Likewise.
1532 * config/i386/bsd386.h: Likewise.
1533 * config/i386/crtdll.h: Likewise.
1534 * config/i386/cygwin.asm: Likewise.
1535 * config/i386/cygwin.h: Likewise.
1536 * config/i386/djgpp.h: Likewise.
1537 * config/i386/freebsd-aout.h: Likewise.
1538 * config/i386/freebsd.h: Likewise.
1539 * config/i386/gas.h: Likewise.
1540 * config/i386/i386-interix.h: Likewise.
1541 * config/i386/i386-protos.h: Likewise.
1542 * config/i386/i386.c: Likewise.
1543 * config/i386/i386.h: Likewise.
1544 * config/i386/i386.md: Likewise.
1545 * config/i386/i386elf.h: Likewise.
1546 * config/i386/interix.c: Likewise.
1547 * config/i386/isc.h: Likewise.
1548 * config/i386/isccoff.h: Likewise.
1549 * config/i386/iscdbx.h: Likewise.
1550 * config/i386/linux.h: Likewise.
1551 * config/i386/lynx.h: Likewise.
1552 * config/i386/mingw32.h: Likewise.
1553 * config/i386/netbsd-elf.h: Likewise.
1554 * config/i386/next.h: Likewise.
1555 * config/i386/osf1elf.h: Likewise.
1556 * config/i386/osfrose.h: Likewise.
1557 * config/i386/sco5.h: Likewise.
1558 * config/i386/seq-gas.h: Likewise.
1559 * config/i386/seq-sysv3.h: Likewise.
1560 * config/i386/sequent.h: Likewise.
1561 * config/i386/sol2.h: Likewise.
1562 * config/i386/sun386.h: Likewise.
1563 * config/i386/uwin.asm: Likewise.
1564 * config/i386/uwin.h: Likewise.
1565 * config/i386/vxi386.h: Likewise.
1566 * config/i386/win32.h: Likewise.
1567 * config/i386/winnt.c: Likewise.
1568 * config/i386/xm-cygwin.h: Likewise.
1569 * config/i386/xm-mingw32.h: Likewise.
1571 2001-10-31 Kazu Hirata <kazu@hxi.com>
1573 * builtins.def: Fix comment typos.
1574 * config/alpha.c: Likewise.
1575 * config/arm/arm.c: Likewise.
1576 * config/avr/avr.h: Likewise.
1577 * config/d30v/d30v.c: Likewise.
1578 * config/d30v/d30v.h: Likewise.
1579 * config/d30v/d30v.md: Likewise.
1580 * config/dsp16xx/dsp16xx.c: Likewise.
1581 * config/fr30/fr30.c: Likewise.
1582 * config/fr30/fr30.md: Likewise.
1583 * config/i386/i386.c: Likewise.
1584 * config/i860/i860.c: Likewise.
1585 * config/i960/i960.c: Likewise.
1586 * config/ia64/ia64.c: Likewise.
1587 * config/mips/mips.c: Likewise.
1588 * config/pa/pa.c: Likewise.
1589 * config/rs6000/rs6000.c: Likewise.
1590 * config/s390/s390.c: Likewise.
1591 * config/sparc/sparc.c: Likewise.
1593 2001-10-30 Kazu Hirata <kazu@hxi.com>
1595 * config/mips/elf.h: Fix comment formatting.
1596 * config/mips/elf64.h: Likewise.
1597 * config/mips/iris5.h: Likewise.
1598 * config/mips/iris5gas.h: Likewise.
1599 * config/mips/iris6.h: Likewise.
1600 * config/mips/isa3264.h: Likewise.
1601 * config/mips/linux.h: Likewise.
1602 * config/mips/mips.c: Likewise.
1603 * config/mips/mips.h: Likewise.
1604 * config/mips/mips.md: Likewise.
1605 * config/mips/mips16.S: Likewise.
1606 * config/mips/netbsd.h: Likewise.
1607 * config/mips/osfrose.h: Likewise.
1608 * config/mips/r3900.h: Likewise.
1609 * config/mips/sni-svr4.h: Likewise.
1610 * config/mips/svr4-t.h: Likewise.
1611 * config/mips/ultrix.h: Likewise.
1613 2001-10-30 Daniel Berlin <dan@cgsoftware.com>
1615 * bitmap.c (bitmap_element_free): Don't forget to update head->indx
1616 when we update head->current.
1618 2001-10-30 Neil Booth <neil@daikokuya.demon.co.uk>
1620 * tree.c (id_string_size): Remove.
1621 (dump_tree_statistics): Update.
1622 * toplev.c (compile_file): If dumping stats, dump tree stats too.
1624 Tue Oct 30 19:00:43 CET 2001 Jan Hubicka <jh@suse.cz>
1626 * sched-rgn.c (schedule_insns): Fix comment.
1628 2001-10-30 Zack Weinberg <zack@codesourcery.com>
1630 * configure.in: Correct previous change: don't assume that
1631 gas's version number _isn't_ the last thing on the line, or
1632 isn't the only number on the line, either.
1633 * configure: Regenerate.
1635 2001-10-30 Kazu Hirata <kazu@hxi.com>
1637 * cfgcleanup.c: Fix a comment typo.
1639 2001-10-30 Kazu Hirata <kazu@hxi.com>
1641 * alias.c: Fix comment formatting.
1642 * recog.c: Likewise.
1643 * config/cris/cris.c: Likewise.
1644 * config/cris/cris.h: Likewise.
1645 * config/i960/i960.c: Likewise.
1646 * config/i960/i960.h: Likewise.
1648 2001-10-30 Kazu Hirata <kazu@hxi.com>
1650 * config/arm/arm.c: Fix a comment typo.
1651 * config/arm/arm.h: Likewise.
1652 * config/ia64/ia64.c: Likewise.
1654 2001-10-30 Jakub Jelinek <jakub@redhat.com>
1656 * emit-rtl.c (set_unique_reg_note): Don't create REG_EQUAL or
1657 REG_EQUIV notes for ASM_OPERANDS. Return the new note (if any).
1658 * rtl.h (set_unique_reg_note): Change return value.
1659 * gcse.c (try_replace_reg): Use set_unique_reg_note.
1660 * cse.c (cse_insn): Likewise.
1661 * expr.c (emit_move_insn): Likewise.
1662 * explow.c (force_reg): Likewise.
1663 * local-alloc (update_equiv_regs): Likewise.
1664 * loop.c (move_moveables, load_mems): Likewise.
1665 * reload (find_reloads): Likewise.
1667 2001-10-30 Paolo Bonzini <bonzini@gnu.org>
1670 * c-decl.c (parmlist_tags_warning, start_struct,
1671 check_for_loop_decls): Separate messages for struct, union and
1672 enum cases to allow for languages in which they have different
1674 * c-format.c (scanf_flag_specs): Separate short and long name of
1675 the assignment suppression feature.
1676 (check_format_types): Localize "pointer" and "different types"
1678 * c-lex.c (lex_number): Localize "an unsigned long int" and
1680 (lex_string) [MULTIBYTE_CHARS]: Use initial lowercase letter on
1682 * c-typeck.c (build_unary_up): Separate messages for increment and
1683 decrement cases to allow for languages in which they use different
1684 articles. Localize the strings "increment" and "decrement" in one
1687 Tue Oct 30 11:08:11 CET 2001 Jan Hubicka <jh@suse.cz>
1689 * lcm.c (optimize_mode_switching): Do not rebuild liveness information
1690 when no changes has been made.
1692 * gcse.c (reg_set_bitmap): Turn into reg_set.
1693 (modify_mem_list_set, canon_modify_mem_list_set)
1694 (clear_modify_mem_tables, free_modify_mem_tables): New.
1695 (gcse_main); Use free_modify_mem_tables.
1696 (free_gcse_mem): Likewise; free the bitmaps.
1697 (alloc_gcse_main): Initialize the bitmaps.
1698 (canon_list_insert): Set canon_modify_mem_list_set.
1699 (record_last_mem_set_info): Likewise; set modify_mem_list_set.
1700 (compute_hash_table): Use clear_modify_mem_tables.
1701 (reset_opr_set_tables): Likewise.
1702 (oprs_not_set_p): reg_set_bitmap is regset.
1703 (mark_set, mark_clobber): Likewise.
1705 * df.h (DF_EQUIV_NOTES): New constant.
1706 (df_insn_refs_record): Record uses inside or REG_EQUIV/EQUAL notes
1709 * sched-rgn.c (CHECK_DEAD_NOTES): New constant.
1710 (init_regions, schedule_insns): Conditionalize the checking
1711 code by CHECK_DEAD_NOTES; avoid multiple calls to update_life_info.
1713 Tue Oct 30 11:02:31 CET 2001 Jan Hubicka <jh@suse.cz>
1715 * i386.md (movti_rex64 splitter): Fix condition.
1717 2001-10-29 Zack Weinberg <zack@codesourcery.com>
1719 * configure.in: Do not assume that gas's version number is the
1720 last thing on the first line of as --version output.
1721 * configure: Regenerate.
1723 * tradcpp.c: Include intl.h. Rename WARNING, ERROR, FATAL to
1724 MT_WARNING, MT_ERROR, MT_FATAL.
1725 (main): Call gcc_init_libintl.
1726 (v_message): Call gettext on msgid and "warning: "
1727 * tradcif.y: Include intl.h.
1728 (yyerror): Make parameter definition consistent with
1729 prototype. Call gettext on msgid argument.
1731 2001-10-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1733 * combine.c (num_sign_bit_copies): Avoid signed/unsigned
1736 * sparc/sol2.h: Include <sys/mman.h> when L_trampoline is defined.
1738 Mon Oct 29 19:22:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1740 * reload1.c (eliminate_regs): Test for reg_renumber being allocated
1741 before referencing it.
1743 2001-10-26 DJ Delorie <dj@redhat.com>
1745 * config/rs6000/sysv4.h (LINK_SPEC): Allow -msdata=none to
1746 override -G, and force -G0.
1748 2001-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
1750 * ChangeLog.2, ChangeLog.3, ChangeLog.4, FSFChangeLog.10,
1751 FSFChangeLog.11, c-common.c, c-common.def, c-common.h, c-decl.c,
1752 c-dump.c, c-typeck.c, except.c, sdbout.c, simplify-rtx.c,
1753 timevar.h, tree.h, varasm.c: Fix spelling errors and typos.
1755 * loop.h (struct induction): Rename ext_dependant to
1757 * loop.c: Change all uses.
1758 (check_ext_dependant_givs): Rename to check_ext_dependent_givs.
1759 All callers changed.
1760 * timevar.c (DEFTIMEVAR): Fix spelling of identifier__ parameter.
1762 2001-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
1764 * c-parse.in (expr_no_commas, primary), c-typeck.c
1765 (parser_build_binary_op): Use IS_EXPR_CODE_CLASS.
1767 2001-10-29 David Edelsohn <edelsohn@gnu.org>
1769 Undo assemble_name change in earlier patch.
1771 Mon Oct 29 21:11:40 2001 Nicola Pero <n.pero@mi.flashnet.it>
1773 * objc/objc-act.c (finish_message_expr): For the GNU runtime: when
1774 determining the type of the receiver, do not check that TREE_CODE
1775 of receiver is CALL_EXPR before calling receiver_is_class_object().
1776 (receiver_is_class_object): For the GNU runtime: recognize
1777 the case that the receiver is self in a class method context.
1778 Check that TREE_CODE of receiver is CALL_EXPR when checking that
1779 the receiver is a call to objc_get_class.
1781 2001-10-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
1783 * pa.md (floatunssisf2): Set subreg 0 of operand 2 to zero.
1785 Mon Oct 29 07:23:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1787 * Makefile.in (OBJS): Put all files in alphabetical order.
1789 * dwarf2out.c (add_const_value_attribute): Fix error in last
1792 Mon Oct 29 12:43:06 CET 2001 Jan Hubicka <jh@suse.cz>
1794 * basic-block.h (purge_all_dead_edges): Add update_life_p argument.
1795 * cfgcleanup.c (merge_blocks): Update the life flag after merging;
1797 * cfgrtl.c (purge_all_dead_edges): Allow updating of liveness.
1798 (life_analysis): call purge_all_dead_edges after deleting noops.
1799 (delete_noop_move): Do not purge CFG.
1800 * toplev.c (rest_of_compilation): Update purge_all_dead_edges call.
1802 2001-10-28 David Edelsohn <edelsohn@gnu.org>
1804 * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use assemble_name.
1805 * config/rs6000/darwin.h (RS6000_OUTPUT_BASENAME): Delete.
1806 (ASM_GLOBALIZE_LABEL): Use assemble_name.
1807 (ASM_OUTPUT_COMMON): Likewise.
1808 * config/rs6000/rs6000.c (print_operand): Use assemble_name.
1809 (rs6000_output_function_epilogue): Likewise.
1810 (output_mi_thunk): Fix typo.
1811 (rs6000_output_symbol_ref): Use assemble_name.
1812 (output_toc): Likewise.
1813 * config/rs6000/sysv4.h (RS6000_OUTPUT_BASENAME): Delete.
1814 * config/rs6000/xcoff.h (RS6000_OUTPUT_BASENAME): Delete;
1815 assemble_name calls STRIP_NAME_ENCODING.
1816 (ASM_OUTPUT_LABEL): Use assemble_name.
1817 (ASM_GLOBALIZE_LABEL): Likewise.
1818 (ASM_DECLARE_FUNCTION_NAME): Likewise.
1819 (ASM_OUTPUT_ALIGNED_COMMON): Indent pseudo-op. Use assemble_name.
1820 (ASM_OUTPUT_LOCAL): Likewise.
1822 Sun Oct 28 15:45:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1824 * builtins.c (get_memory_rtx): Handle POINTERS_EXTEND_UNSIGNED case.
1825 (expand_builtin_apply, expand_builtin_return): Likewise.
1826 (expand_builtin_va_arg, expand_builtin_va_copy): Likewise.
1828 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
1830 * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
1831 ChangeLog.5, ChangeLog, FSFChangeLog.10, FSFChangeLog.11,
1832 c-common.c, c-common.h, c-parse.in, c-typeck.c, cfg.c, config.gcc,
1833 configure, configure.in, except.c, except.h, flow.c, function.c,
1834 gcc.c, gcse.c, genrecog.c, libgcc2.c, loop.c, loop.h, params.def,
1835 predict.def, predict.h, reg-stack.c, regmove.c, sched-deps.c,
1836 sched-int.h, sibcall.c, ssa.c, stringpool.c, toplev.c, tree.c,
1837 unroll.c: Fix spelling errors.
1839 * doc/extend.texi, doc/invoke.texi: Fix spelling.
1841 * doc/gcc.texi: Document use of "dependent" and American spelling.
1843 Sun Oct 28 17:05:36 CET 2001 Jan Hubicka <jh@suse.cz>
1845 * expr.c (emit_group_load): Support CONCATs by storing them to memory
1848 Sun Oct 28 09:59:54 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1850 * expr.c (store_constructor_field): Only call adjust_address on MEM.
1852 Sun Oct 28 16:48:09 CET 2001 Jan Hubicka <jh@suse.cz>
1854 * genrecog.c (write_switch): Output if before switch for
1855 DT_elt_zero_wide_safe.
1857 2001-10-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1859 * Makefile.in (toplev.o, halfpic.o): Depend on halfpic.h
1860 * i386/osfrose.h (SUBTARGET_SWITCHES): Add missing comma.
1861 (FUNCTION_PROFILER): Const-ify.
1862 * halfpic.c: Include "expr.h", "output.h" and "halfpic.h".
1863 (eliminate_constant_term, assemble_name, output_addr_const):
1864 Remove declarations.
1865 (ptr_half_pic_address_p, half_pic_hash): Prototype.
1866 (all_refs, half_pic_prefix, half_pic_hash, half_pic_declare,
1867 half_pic_external, half_pic_address_p, half_pic_ptr): Const-ify.
1868 * halfpic.h (ptr_half_pic_address_p, half_pic_finish): Prototype.
1869 (half_pic_declare, half_pic_external): Const-ify.
1870 * toplev.c: Include "halfpic.h".
1872 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
1874 * config/alpha/alpha.md, config/arm/arm.c, config/arm/arm.h,
1875 config/d30v/d30v.h, config/fr30/fr30.c, config/i370/x-oe,
1876 config/i386/i386.c, config/i386/i386-interix.h,
1877 config/i386/i386.md, config/i386/i386.h, config/i386/sco5.h,
1878 config/i860/i860.h, config/i860/i860.md, config/m68k/aux-exit.c,
1879 config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.md,
1880 config/ns32k/ns32k.h, config/pa/pa.c, config/rs6000/rs6000.c,
1881 config/sparc/sparc.c, config/m68hc11/m68hc11.c,
1882 config/cris/cris.c, config/cris/cris.h, config/s390/s390.c,
1883 config/s390/s390.h, config/stormy16/stormy16.h, doc/tm.texi: Fix
1886 * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
1887 ChangeLog.5, ChangeLog, ChangeLog.lib, FSFChangeLog.10, ONEWS,
1888 c-common.c, caller-save.c, cfg.c, cfgcleanup.c, cfgrtl.c,
1889 collect2.c, df.h, diagnostic.h, final.c, gcse.c, gthr.h,
1890 haifa-sched.c, jump.c, local-alloc.c, profile.c, protoize.c,
1891 regmove.c, reload1.c, rtlanal.c, sched-vis.c, ssa.c, stmt.c,
1892 system.h, toplev.c: Fix spelling errors.
1894 Sat Oct 27 17:32:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1896 * gcse.c (insert_insn_end_bb): Don't assume PAT is a SET.
1898 * dwarf2out.c (reg_number): Abort if pseudo.
1899 (reg_loc_descriptor): Return 0 if pseudo.
1900 (is_based_loc): Return 0 if pseudo.
1901 (mem_loc_descriptor): Return 0 for pseudo and handle 0 return from
1903 (concat_loc_descriptor): Return 0 if either part's descriptor is 0.
1904 (loc_descriptor): Return 0 if can't find location and handle 0
1905 return from recursive calls.
1906 (loc_descriptor_from_tree): Likewise.
1907 Fix handling of indirect.
1908 Also return 0 for PLACEHOLDER_EXPR.
1909 Clean up COMPONENT_REF cases.
1910 (add_AT_location_descriptor): Simplify, but handle 0 return from
1912 (add_const_value_attribute): Avoid shift count warning.
1913 (add_bound_info): Remove test for PLACEHOLDER_EXPR here.
1914 Set comp_unit_die as context if not in function.
1916 * config/mips/mips-protos.h: Break up long lines.
1917 Remove needless #ifdef/#endif blocks.
1918 Don't declare functions declared in file made by genpreds or recog.h.
1919 * config/mips/mips.c (mips_output_function_prologue): TSIZE
1920 is now HOST_WIDE_INT; delete unneeded casts.
1921 * config/mips/mips.h: Don't use #elif.
1923 * expr.c (stor_constructor_field): Always call adjust_address.
1924 Copy TARGET before changing its alias set.
1925 (store_field): Likewise, for TO_RTX.
1926 (get_inner_reference): Stop at PLACEHOLDER_EXPR if can't find
1928 (safe_from_p, case ADDR_EXPR): Properly check for conflict.
1929 (find_placeholder): Return 0 if can't find object.
1930 (expand_expr, case PLACEHOLDER_EXPR): Abort if find_placeholder
1933 Sat Oct 27 16:31:23 CEST 2001 Jan Hubicka <jh@suse.cz>
1935 * ifcvt.c (if_convert): Call clear_aux_for_blocks.
1937 Sat Oct 27 12:12:09 CEST 2001 Jan Hubicka <jh@suse.cz>
1939 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps,
1940 merge_blocks_move_successors_nojumps): Set BB_UPDATE_LIFE.
1941 (merge_blocks): Properly udpate life after making edge nonfallthru.
1942 * cfgrtl.c (merge_blocks_nomove): Update global_live_at_end.
1944 2001-10-26 Kazu Hirata <kazu@hxi.com>
1946 * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
1948 2001-10-26 Neil Booth <neil@daikokuya.demon.co.uk>
1950 * c-typeck.c (convert_arguments): When comparing for enumeral
1951 type equality, use TYPE_MAIN_VARIANT.
1952 * gcc.dg/Wconversion.c: New tests.
1954 2001-10-26 Kazu Hirata <kazu@hxi.com>
1956 * s390/s390.c: Fix comment typos.
1957 * s390/s390.h: Likewise.
1958 * s390/s390.md: Likewise.
1960 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
1962 * tree-inline.c (WALK_SUBTREE_TAIL): New macro.
1963 (walk_tree): Use it for tail calls where appropriate.
1965 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
1967 * cse.c (check_for_label_ref): Don't require REG_LABEL notes for
1968 non-local label_refs.
1970 2001-10-26 Kazu Hirata <kazu@hxi.com>
1972 * config/h8300/h8300.md (4 anonymous patterns): New.
1974 2001-10-26 Kazu Hirata <kazu@hxi.com>
1976 * config/h8300/h8300.c (get_shift_alg): Clean up. Return the
1977 algorithm through the shift_info structure.
1978 (emit_a_shift): Update the use of get_shift_alg.
1980 2001-10-27 Daniel Berlin <dan@cgsoftware.com>
1982 * sched-rgn.c: Remove bitset typedef.
1983 Change bitset to sbitmap in prototypes / variable types.
1985 Remove edgeset_bits.
1986 Remove edgeset_size.
1987 s/BITSET_ADD/SET_BIT/g
1988 s/BITSET_INVERT/sbitmap_ones/g
1989 s/BITSET_INTER/sbitmap_a_and_b/g
1990 s/BITSET_UNION/sbitmap_a_or_b/g
1991 s/BITSET_DIFFER/sbitmap_difference/g
1992 s/bitset_member/TEST_BIT/g
1993 (BITSET_*): Removed.
1994 (bitset_member): Removed.
1995 (extract_bitlst): Rewrite, now that we have sbitmaps, we can use
1996 EXECUTE_IF_SET_IN_SBITMAP.
1997 (split_edges): Rewrite, use sbitmap functions instead of bitset
1999 (schedule_region): Allocate/free sbitmaps, rather than bitsets.
2001 2001-10-26 Andreas Schwab <schwab@suse.de>
2003 * reload1.c (emit_input_reload_insns): Fix parens in last
2004 (undocumented) change that was supposed to change only whitespace.
2006 Fri Oct 26 07:18:08 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2008 * cfgcleanup.c (BB_SET_FLAG, BB_CLEAR_FLAG): Add cast to avoid warning.
2010 * local-alloc.c (update_equiv_regs): Don't make REG_EQUAL note for
2013 2001-10-26 Andreas Jaeger <aj@suse.de>
2015 * flow.c (clear_log_links): Remove unused variable.
2016 * cfgcleanup.c (cleanup_cfg): Likewise.
2018 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
2020 * tree-inline.c (remap_decl): Don't copy size and size_unit here.
2021 (remap_save_expr): Map a remapped SAVE_EXPR to error_mark_node.
2023 2001-10-26 Richard Henderson <rth@redhat.com>
2025 * config/alpha/alpha.h (enum reg_class): Add R24_REG, R25_REG;
2026 rename PV_REG to R27_REG.
2027 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update.
2028 (REG_CLASS_FROM_LETTER): Update.
2029 (PREFERRED_RELOAD_CLASS): Don't widen a reg class.
2030 * config/alpha/alpha.md (divsi3): Don't hard-code r24, r25, r27.
2031 (udivsi3, modsi3, umodsi3): Likewise.
2032 (divdi3, udivdi3, moddi3, umoddi3): Likewise.
2034 2001-10-26 Richard Henderson <rth@redhat.com>
2036 * cfg.c (clear_aux_for_blocks): Split out of ...
2037 (free_aux_for_blocks): here.
2038 (clear_aux_for_edges): Split from ...
2039 (free_aux_for_edges): here.
2040 * basic-block.h: Declare them.
2041 * lcm.c (compute_antinout_edge): Use them.
2042 (compute_laterin, compute_available, compute_nearerout): Likewise.
2043 (optimize_mode_switching): Likewise.
2045 2001-10-26 Richard Henderson <rth@redhat.com>
2047 * Makefile.in (unstage*): Remove as, ld, collect-ld before
2048 moving everything back to the main build directory.
2050 2001-10-26 Christopher Faylor <cgf@redhat.com>
2052 * config/i386/cygwin.h: Search target specific include directory, if
2055 2001-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2057 * dwarf2out.c (PTR_SIZE, default_eh_frame_section): Move outside
2058 of macro guards. Fix #endif comment.
2060 * output.h (default_exception_section, default_eh_frame_section):
2061 Move prototypes outside of macro guard.
2063 * crtstuff.c: Fix #endif comment.
2065 Thu Oct 25 12:21:58 2001 Jeffrey A Law (law@cygnus.com)
2067 * doc/md.texi (movMM): Clarify semantics of storing into a
2068 non-paradoxical SUBREG.
2070 2001-10-25 Zack Weinberg <zack@codesourcery.com>
2072 * langhooks.c (lang_hook_default_clear_binding_stack): New.
2073 (lang_hook_default_get_alias_set): Move next to other alias
2075 * langhooks.h: Prototype lang_hook_default_clear_binding_stack.
2076 (LANG_HOOKS_CLEAR_BINDING_STACK): New macro.
2077 (LANG_HOOKS_INITIALIZER): Add it.
2078 * toplev.h (struct lang_hooks): Add clear_binding_stack.
2079 * toplev.c (compile_file): Call lang_hooks.clear_binding_stack
2080 instead of a loop calling poplevel.
2082 2001-10-25 Nick Clifton <nickc@cambridge.redhat.com>
2084 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Replace
2085 occurrences of #elif with #if...#endif.
2087 2001-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2089 * cris.h (EH_RETURN_DATA_REGNO): Fix unsigned>=0 warning.
2091 Thu Oct 25 08:46:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2093 * alias.c (can_address_p): No longer static.
2094 * emit-rtl.c (get_mem_attrs): New parameter, MODE; all callers changed.
2095 Return 0 if all parameters are default values.
2096 (set_mem_attributes): Set MEM_KEEP_ALIAS_SET_P.
2097 (adjust_address_1): Try harder to compute a size.
2098 * expr.c (expand_assignment, store_constructor): If can't address,
2099 set MEM_KEEP_ALIAS_SET_P.
2100 (store_constructor_field): Don't change set if MEM_KEEP_ALIAS_SET_P.
2101 (store_field): Likewise.
2102 (store_constructor): Simplify call to store_constructor_field.
2103 * expr.h (can_address_p): New declaration.
2104 * gensupport.c (gen_rtx_CONST_INT): New function.
2105 * rtl.h (MEM_KEEP_ALIAS_SET_P): New macro.
2106 (MEM_SIZE): Get size from mode, if not set and not BLKmode.
2107 (MEM_COPY_ATTRIBUTES): Copy MEM_KEEP_ALIAS_SET_P.
2109 * stmt.c (expand_end_case): Remove orig_minval and use tree_low_cst.
2111 2001-10-24 Christopher Faylor <cgf@redhat.com>
2113 * config/i386/cygwin.h: Use proper path for mingw crt files when
2116 Wed Oct 24 18:43:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2118 * dwarf2out.c (file_info_cmp): Always return consistent results.
2120 2001-10-24 Roger Sayle <roger@eyesopen.com>
2122 * stmt.c (expand_end_case): Index jumptables from zero for
2123 suitably small values of minval.
2125 2001-10-24 Jakub Jelinek <jakub@redhat.com>
2127 * stor-layout.c (place_union_field): If any field was aligned with
2128 attribute aligned, set record type's TYPE_USER_ALIGN.
2129 (place_field): Likewise.
2130 (finalize_record_size): Don't clear TYPE_USER_ALIGN.
2131 (layout_type) [ARRAY_TYPE]: Copy element's TYPE_USER_ALIGN.
2133 2001-10-24 Zack Weinberg <zack@codesourcery.com>
2135 * c-common.h (struct c_common_identifier): Remove rid_code field.
2136 (C_RID_CODE): Use ->node.rid_code instead of ->rid_code.
2138 * c-typeck.c (constructor_designated): New local flag.
2139 (struct constructor_stack): Add "designated" field to match.
2140 (start_init): Clear it.
2141 (really_start_incremental_init, push_init_level): Push and
2143 (pop_init_level): Pop it.
2144 (set_designator): Set it.
2146 (pop_init_level): Suppress "missing initializer" warnings if
2147 constructor_designated is true.
2148 (process_init_element): Suppress warning about union
2149 initialization under traditional C, if constructor_designated
2152 Wed Oct 24 15:35:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2154 * integrate.c (copy_rtx_and_substitute, case CALL): Fix error in last
2157 Wed Oct 24 13:26:12 2001 Jeffrey A Law (law@cygnus.com)
2159 * h8300.h (RETURN_ADDR_RTX): Remove old, incorrect definition.
2161 2001-10-24 Dan Nicolaescu <dann@ics.uci.edu>
2163 * ssa-ccp.c (ssa_ccp_substitute_constants): Don't do anything if
2164 the node was already a set to a constant.
2166 Wed Oct 24 12:41:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2168 * emit-rtl.c (set_mem_attributes): Fix typo in last change.
2169 * print-rtl.c (print_rtx, case MEM): Improve display of MEM_DECL.
2171 2001-10-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2173 * s390/linux.h (ASM_OUTPUT_BYTE): Fix format specifier warnings.
2174 (ASM_OUTPUT_ASCII): Const-ify. Fix signed/unsigned warning.
2175 (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
2176 * s390.c (s390_final_chunkify): Don't use string concatenation.
2177 (s390_function_prologue, s390_function_epilogue): Const-ify.
2178 * s390.h (FUNCTION_PROFILER): Remove unused variable.
2180 2001-10-24 Jakub Jelinek <jakub@redhat.com>
2182 * c-decl.c (finish_decl): Don't add DECL_STMTs for nested function
2185 2001-10-23 Stan Shebs <shebs@apple.com>
2187 * config/rs6000/x-darwin: Use -no-cpp-precomp instead of
2188 -traditional-cpp in first-stage compilation.
2190 Tue Oct 23 21:45:40 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2192 * gensupport.c (target_flags): Add.
2194 Tue Oct 23 13:05:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
2196 * builtins.c (expand_builtin_setjmp): Only call convert_memory_address
2198 (expand_builtin_longjmp, expand_builtin_alloca): Likewise.
2199 * except.c (expand_builtin_frob_return_addr): Likewise.
2200 (expand_builtin_eh_return): Likewise.
2201 * stmt.c (expand_computed_goto): Likewise.
2202 * explow.c (memory_address): Likewise.
2203 (allocate_dynamic_stack_space): Clean up predicate testing.
2204 (probe_stack_range): Convert SIZE to Pmode.
2205 * calls.c (rtx_for_function_call): Only call convert_memory_address
2207 Pass function call operand as ptr_mode, not Pmode.
2208 * expr.c (expand_assignment): Clean up calls to convert_memory
2209 address by only doing so when needed and making offsets Pmode.
2210 (store_constructor, expand_expr, expand_expr_unaligned): Likewise.
2211 * function.c (assign_parms): Ensure address in MEM for RESULT_DECL
2212 is in Pmode, not ptr_mode.
2214 2001-10-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2216 * darwin-protos.h (constructor_section, destructor_section,
2217 mod_init_section, mod_term_section): Prototype.
2218 * darwin.c (machopic_finish, update_non_lazy_ptrs, update_stubs):
2220 * darwin.h (ASM_DECLARE_OBJECT_NAME, ASM_DECLARE_FUNCTION_NAME):
2222 (SECTION_FUNCTION): Prototype `FUNCTION'. Delete
2223 objc_section_init declaration.
2224 (EXTRA_SECTION_FUNCTIONS): Prototype objc_section_init.
2225 (objc_section_init, try_section_alias): Make static.
2226 (alias_section): Make static and hide unused function.
2227 (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
2229 Tue Oct 23 13:05:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2231 * alias.c (can_address_p): Compnonents are not addressable if
2232 the containing type has alias set 0.
2233 (get_alias_set): Rework to use STRIP_NOPS.
2234 Only call front-end routine on object, type, or object with
2235 NOPs stripped, not inner values.
2236 Use language hook to call front-end routine.
2237 * builtins.c (get_memory_rtx): Always call set_mem_attributes.
2238 (expand_builtin_apply): Call set_mem_align on MEMs we make.
2239 Don't pass alignment to emit_block_move.
2240 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
2241 (expand_builtin_memset): Likewise, but for clear_storage.
2242 * c-common.c (lang_get_alias_set): Renamed to c_common_alias_set
2243 and remove C++ specific parts.
2244 * c-common.h (c_common_get_alias_set): Add declaration.
2245 * c-lang.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
2246 * calls.c (emit_call_1): Fix typo in sibcall_pop case.
2247 (save_fixed_argument_area): Call set_mem_align.
2248 Remove alignment in call to emit_block_move.
2249 (emit_library_call_value_1, store_one_arg): Likewise.
2250 (target_for_arg): Remove; disabled long ago.
2251 * emit-rtl.c (set_mem_attributes): Rework to only call get_mem_attrs
2252 once and similar cleanups.
2253 (offset_address): Use proper introductory comment.
2254 * expr.c (emit_block_move): Use alignment from that of MEM args, not
2255 from explicit operand; all callers changed.
2256 (clear_storage): Likewise.
2257 (expand_assignment): Don't call set_mem_alias_set on to_rtx.
2258 (store_field): Remove kludge on alias set used for to_rtx.
2259 (highest_pow2_factor, case *_DIV_EXPR): Never return 0.
2260 (expand_expr_unaligned): Call set_mem_attributes instead of
2262 * expr.h (emit_block_move, clear_storage): Remove ALIGN argument.
2263 * function.c (assign_stack_temp_for_type): Set MEM alignment.
2264 (expand_function_end): Track MEM attributes of trampolines.
2265 * ifcvt.c (noce_try_cmove_arith): Set alignment of new MEM.
2266 * integrate.c (copy_rtx_and_substitute, case CALL): Copy memory
2267 attributes from original.
2268 * langhooks.c (lang_hook_default_get_alias_set): New function.
2269 (hook_get_alias_set_0): New function.
2270 * langhooks.h (hook_get_alias_set_0): New declaration.
2271 (lang_hook_default_get_alias_set): Likewise.
2272 (LANG_HOOKS_GET_ALIAS_SET): New macro; add to initializer.
2273 * reload1.c (alter_reg): Use adjust_address_nv.
2274 * rtl.c (get_mode_alignment): Moved to here.
2275 * rtl.h (MEM_ALIGN): Take default from mode, if not BLKmode, and
2276 change default if unknown from 1 to BITS_PER_UNIT.
2277 * stor-layout.c (get_mode_alignment): Remove from here.
2278 * toplev.h (struct lang_hoks): Add get_alias_set field.
2279 * tree.h (lang_get_alias_set): Delete declaration.
2280 * config/arc/arc.c (arc_setup_incoming_varags): Set MEM alignment.
2281 * config/i386/i386.c (ix86_setup_incoming_varargs): Likewise.
2282 (ix86_va_arg): Likewise.
2283 * config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
2284 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
2285 * config/sparc/sparc.c (sparc_va_arg): Likewise.
2286 * config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
2287 (expand_block_move_mem): Remove dead code.
2289 2001-10-22 Neil Booth <neil@daikokuya.demon.co.uk>
2291 * c-common.c (warn_div_by_zero): New.
2292 * c-common.h (warn_div_by_zero): New.
2293 * c-decl.c (c_decode_option): Take it on the command line.
2294 * c-typeck.c (build_binary_op): Warn about division by zero.
2295 * doc/invoke.texi: Document the new command line option, fix
2296 documentation of -Wmultichar.
2297 * testsuite/gcc.dg/divbyzero.c: New tests.
2298 * testsuite/gcc.dg/noncompile/20010524-1.c: Update.
2300 Tue Oct 23 15:30:23 CEST 2001 Jan Hubicka <jh@suse.cz>
2302 * i386.c (ix86_expand_int_movcc): Cleanup; use expand_simple_*op.
2304 * toplev.c (rest_of_compilation): Use CLEANUP_UPDATE_LIFE
2305 to avoid update_life_info call.
2306 * basic-block.h (CLEANUP_UPATE_LIFE): Define.
2307 * cfgcleanup.c (bb_flags): New enum.
2308 (BB_FLAGS, BB_SET_FLAG, BB_CLEAR_FLAG, FORWARDER_BLOCK_P): New macros.
2309 (notice_new_block, update_forwarder_flag): New functions.
2310 (try_simplify_condjump): Use FORWARDER_BLOCK_P.
2311 (try_forward_edges): Likewise; update flags.
2312 (merge_blocks): Likewise.
2313 (outgoing_edges_match): Likewise.
2314 (try_crossjump_to_edge): Likewise.
2315 (try_optimize_cfg): Likewise; initialize and clear the flags;
2316 recompute life info if needed.
2317 (cleanup_cfg): No need to clear aux pointers.
2319 2001-10-23 Alexandre Oliva <aoliva@redhat.com>
2321 * config/i386/i386.c (override_options): Default to minimum
2322 stack alignment when optimizing for code size.
2323 * doc/invoke.texi (-mpreferred-stack-boundary): Document the
2326 * config/i386/i386.c (override_options): Set upper limit of
2327 -mpreferred-stack-boundary to 12.
2329 2001-10-22 Zack Weinberg <zack@codesourcery.com>
2331 * recog.c (peephole2_optimize): Add default case to switch.
2333 2001-10-23 Joseph S. Myers <jsm28@cam.ac.uk>
2335 * doc/gcc.texi (Sending Patches): Remove.
2337 2001-10-22 Hans-Peter Nilsson <hp@bitrange.com>
2339 * unwind-dw2-fde.c (fde_unencoded_compare): Derefer pc_begin
2340 fields when comparing.
2342 2001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2344 * arm.h (HOST_INT, HOST_UINT): Delete. Remove all uses.
2345 * arm.c (HOST_INT, HOST_UINT): Likewise.
2347 2001-10-22 Stan Shebs <shebs@apple.com>
2349 * config/darwin-protos.h (darwin_exception_section): Declare.
2350 (darwin_eh_frame_section): Declare.
2352 Mon Oct 22 18:21:25 CEST 2001 Jan Hubicka <jh@suse.cz>
2354 * i386.md (movti_rex64): Fix mode.
2356 2001-10-22 Stan Shebs <shebs@apple.com>
2358 * target.h (struct gcc_target): Add asm_out.exception_section,
2359 asm_out.eh_frame_section.
2360 * target-def.h (TARGET_ASM_EXCEPTION_SECTION): New macro.
2361 (TARGET_ASM_EH_FRAME_SECTION): New.
2362 (TARGET_INITIALIZER): Update.
2363 * output.h (default_exception_section): Declare.
2364 (default_eh_frame_section): Declare.
2365 * dwarf2out.c: Include target.h.
2366 (output_call_frame_info): Call target hook for eh frames.
2367 (default_eh_frame_section): New function.
2368 * except.c: Include target.h.
2369 (output_function_exception_table): Call target hook for exception
2371 * varasm.c (default_exception_section): Rename from
2372 exception_section, remove EXCEPTION_SECTION macro.
2374 * config/darwin.h (darwin_eh_frame_section): New function.
2375 (EXCEPTION_SECTION): Remove.
2376 (TARGET_ASM_EXCEPTION_SECTION): Define.
2377 * config/nextstep.h (EH_FRAME_SECTION_ASM_OP): Remove.
2378 (nextstep_exception_section): New function.
2379 (nextstep_eh_frame_section): New function.
2380 (TARGET_ASM_EXCEPTION_SECTION): Define.
2381 (TARGET_ASM_EH_FRAME_SECTION): Define.
2383 * config/pa/som.h (EXCEPTION_SECTION): Remove.
2384 (TARGET_ASM_EXCEPTION_SECTION): Define.
2385 * config/rs6000/sysv4.h, config/rs6000/xcoff.h
2386 (EXCEPTION_SECTION): Remove.
2387 (TARGET_ASM_EXCEPTION_SECTION): Define.
2388 * config/stormy16/stormy16.h: Remove comments referencing
2389 EXCEPTION_SECTION and EH_FRAME_SECTION_ASM_OP.
2391 * doc/tm.texi: Document TARGET_ASM_EXCEPTION_SECTION and
2392 TARGET_ASM_EH_FRAME_SECTION.
2394 2001-10-22 Nick Clifton <nickc@cambridge.redhat.com>
2396 * config/mips/mips.md (mul_acc_si): Fix precedence of conditional
2399 * c-format.c: Fix spelling typo in comment.
2401 * sched-int.h: Fix typo in GCC preamble.
2403 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
2406 * doc/invoke.texi: Remove references to -fdump-translation-unit.
2408 2001-10-22 Richard Henderson <rth@redhat.com>
2410 * config/i386/i386.c (ix86_expand_clear): New.
2411 * config/i386/i386-protos.h: Declare it.
2412 * config/i386/i386.md (setcc peep2s): Use it.
2413 (movsi_xor): Unexport.
2415 2001-10-22 Richard Henderson <rth@redhat.com>
2417 * flow.c (clear_log_links): Use free_INSN_LIST_list, not
2418 free_EXPR_LIST_list for LOG_LINKS.
2420 2001-10-21 Robert Lipe <robertlipe@usa.net>
2422 * config/i386/i386.c (sco_asm_named_section): Delete.
2423 (sco_asm_out_constructor): Delete.
2424 * config/i386/sco5.h (ASM_QUAD): Undo damage from att.h.
2425 (ASM_OUTPUT_DOUBLE_INT): Likewise.
2426 (TARGET_ASM_CONSTRUCTOR): Delete. Use default.
2427 (TARGET_ASM_NAMED_SECTION): Use default for ELF.
2428 (EXCEPTION_SECTION): Delete EH scn renaming hack.
2430 2001-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2432 * c-format.c (maybe_read_dollar_number): Use safe-ctype macros
2433 and/or fold extra calls into fewer ones.
2434 * collect2.c (dump_file): Likewise.
2435 * cppexp.c (parse_number): Likewise.
2436 * cpplex.c (_cpp_lex_direct): Likewise.
2437 * final.c (output_asm_insn, asm_fprintf): Likewise.
2438 * fix-header.c (inf_scan_ident, main): Likewise.
2439 * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
2441 * fold-const.c (real_hex_to_f): Likewise.
2442 * gen-protos.c (parse_fn_proto): Likewise.
2443 * genattrtab.c (check_attr_test, check_attr_value): Likewise.
2444 * genrecog.c (change_state, write_action): Likewise.
2445 * gensupport.c (shift_output_template): Likewise.
2446 * local-alloc.c (requires_inout): Likewise.
2447 * mips-tfile.c (IS_ASM_IDENT): Likewise.
2448 * protoize.c (is_id_char, main): Likewise.
2449 * real.c (asctoeg): Likewise.
2450 * recog.c (asm_operand_ok): Likewise.
2451 * reload.c (find_reloads): Likewise.
2452 * scan.c (scan_identget_token): Likewise.
2453 * sched-vis.c (print_value): Likewise.
2454 * stringpool.c (ggc_alloc_string): Likewise.
2455 * toplev.c (read_integral_parameter, decode_g_option): Likewise.
2456 * tradcif.y (parse_number, yylex, parse_escape): Likewise.
2457 * tradcpp.c (rescan): Likewise.
2458 * tree.c (clean_symbol_name): Likewise.
2459 * varasm.c (decode_reg_name): Likewise.
2461 * alpha.h (ASM_OUTPUT_ASCII): Likewise.
2462 * darwin.c (name_needs_quotes, func_name_maybe_scoped): Likewise.
2463 * dsp16xx.h (ASM_OUTPUT_ASCII): Likewise.
2464 * m88k.c (output_ascii): Likewise.
2465 * m88k.h (OVERRIDE_OPTIONS): Likewise.
2466 * mcore.h (REG_CLASS_FROM_LETTER): Likewise.
2467 * ns32k/encore.h (ASM_OUTPUT_ASCII): Likewise.
2468 * sh.h (REG_CLASS_FROM_LETTER): Likewise.
2470 2001-10-21 Neil Booth <neil@daikokuya.demon.co.uk>
2472 * langhooks.c (lang_hook_default_do_nothing,
2473 lang_hook_default_decode_option): New defaults.
2474 * langhooks.h: Make hooks unconditional and non-NULL.
2475 * toplev.c (compile_file, toplev_main): Update.
2476 * toplev.h: Update comments.
2477 * objc/objc-act.c (lang_hooks): Update to new paradigm.
2479 2001-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2481 * arm.h (FUNCTION_ARG_REGNO_P): Use IN_RANGE.
2483 * system.h (IN_RANGE): New macro.
2485 2001-10-21 Zack Weinberg <zack@codesourcery.com>
2487 * aclocal.m4 (AM_WITH_NLS): Also create and substitute
2488 INTLDEPS variable, which does not include $LIBICONV.
2489 * Makefile.in: Use INTLDEPS in LIBDEPS.
2490 * configure: Regenerate.
2492 2001-10-21 Neil Booth <neil@daikokuya.demon.co.uk>
2494 * cpphash.h (struct cpp_buffer): Delete read_ahead and extra_char.
2495 * cpplex.c (lex_percent, lex_dot): Remove.
2496 (get_effective_char, skip_block_comment, skip_line_comment,
2497 parse_identifier_slow, parse_number, parse_string, save_comment,
2498 _cpp_lex_direct): Update to do lookback freely.
2499 (IF_NEXT_IS, BACKUP): New macros.
2500 * cpplib.c (cpp_push_buffer): Don't set read_ahead and extra_char.
2501 * cppmacro.c (paste_tokens): Update.
2503 2001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
2505 * doc/invoke.texi (i386 and x86-64 Options): Fix typo.
2507 2001-10-20 Hans-Peter Nilsson <hp@axis.com>
2509 * reload1.c (reload): Check CONSTANT_P before calling
2510 LEGITIMATE_PIC_OPERAND_P.
2511 * config/cris/cris.c (cris_legitimate_pic_operand): Revert
2512 workaround of 2001-10-13.
2514 Sat Oct 20 15:16:10 CEST 2001 Jan Hubicka <jh@suse.cz>
2516 * i386.c (split_di): Handle splitting of DFmode.
2518 Sat Oct 20 07:27:14 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2520 * emit-rtl.c (set_mem_attributes): Alignment is in bits.
2521 (adjust_address_1, offset_address): Likewise.
2523 * final.c (output_asm_operand_names): New fcn, from output_asm_insn.
2524 (output_asm_insn): Call it for each line output.
2525 Don't record an operand more than once.
2527 * toplev.h (struct lang_hooks): HONOR_READONLY now bool.
2528 * main.c: Include config.h and system.h, but not ansidecl.h.
2529 * Makefile.in (main.o): Update accordingly.
2531 Sat Oct 20 12:05:31 CEST 2001 Jan Hubicka <jh@suse.cz>
2533 * i386.h (SSE_REGPARM_MAX): Set to 8 for x86_64.
2535 Sat Oct 20 12:01:07 CEST 2001 Jan Hubicka <jh@suse.cz>
2537 * basic-block.h (find_sub_basic_blocks): Use sbitmap parameter.
2538 * cfgbuild.c (find_bb_boundaries, compute_outgoing_frequencies):
2540 (find_sub_basic_blocks): ... here;
2541 (find_many_sub_basic_blocks): New.
2542 * recog.c (split_all_insns): Update find_sub_basic_blocks call.
2544 * i386.h (ASM_PREFERRED_EH_DATA_FORMAT): Define sdata4.
2546 * i386.c (ix86_va_arg): Kill indirect_p handling; fix aliasing issues.:
2548 * i386.c (split_di, split_ti): Revamp to use simplify_subreg.
2550 * timevar.def (TV_LIFE, TV_LIFE_UPDATE, TV_MODE_SWITCH): new.
2551 * flow.c (update_life_info): Measure time.
2552 * c-decl.c: Include timevar.h
2553 (c_expand_body): Measure time.
2554 * toplev.c (rest_of_compilation): Measure time of mode switching
2556 * Makefile.in (c-decl.o, cfgcleanup.o): Add dependency.
2558 * toplev.c (flag_asynchronous_unwind_tables): New global variable.
2559 (lang_independent_options): Add asynchronous-unwind-tables
2560 (toplev_main): flag_asynchronous_unwind_tables implies
2562 * flags.h (flag_asynchronous_unwind_tables): Declare.
2563 * dwarf2out.c (dwarf2out_stack_adjust): Take into account
2564 flag_asynchronous_unwind_tables.
2565 (output_call_frame_info): Likewise.
2566 * invoke.texi (-fasynchronous-unwind-tables): Document.
2567 * i386.c (optimization_options): Enable
2568 flag_asynchronous_unwind_tables.
2570 * i386.c (ix86_expand_setcc): Always expect target to be QImode.
2571 * i386.md (s* expanders): Destination is QImode.
2573 * toplev.c (rest_of_compilation): Do not call clear_log_links.
2574 * rtl.h (clear_log_links): Kill.
2575 * flow.c (clear_log_links): Make static; accept blocks parameter;
2576 do no clear life info.
2577 (update_life_info): Call clear_log_links.
2579 * cfganal.c (forwarder_block_p): Avoid active_insn_p calls.
2581 2001-10-20 Neil Booth <neil@daikokuya.demon.co.uk>
2583 * cpplex.c (handle_newline, skip_escaped_newlines,
2584 get_effective_char, skip_block_comment, skip_line_comment,
2585 parse_identifier_slow, parse_number, parse_string,
2586 _cpp_lex_direct): Update to do more stepping back.
2587 (trigraph_ok): Similarly. Rename trigraph_p.
2588 (SAVE_STATE, RESTORE_STATE): Remove.
2589 (BUFF_SIZE_UPPER_BOUND): Tweak. Add sanity check.
2591 * cpplib.c (destringize): Rename destringize_and_run, and
2592 call run_directive directly.
2593 (_cpp_do__Pragma): Simplify.
2595 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2597 * pe.c (arm_pe_unique_section): Const-ify.
2598 * pe.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
2599 (switch_to_section): Add static prototype.
2601 * output.h (drectve_section): Prototype.
2603 2001-10-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2605 * config.gcc (i[34567]86-*-gnu*, arc-*-elf*, d30v-*,
2606 fr30-*-elf, hppa*64*-*-linux*, parisc*64*-*-linux*, hppa*-*-linux*,
2607 parisc*-*-linux*, i370-*-linux*, i[34567]86-*-chorusos*,
2608 i[34567]86-*-elf*, i[34567]86-ncr-sysv4*, i[34567]86-*-netware,
2609 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
2610 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-freebsd*,
2611 i[34567]86-*-netbsdelf*, i[34567]86-*-linux*libc1,
2612 i[34567]86-*-linux*, i[34567]86-moss-msdos*, i[34567]86-*-moss*,
2613 i[34567]86-go32-rtems*, i[34567]86-*-rtems*, i[34567]86-*-rtemself*,
2614 i[34567]86-*-solaris2*, i[34567]86-*-sysv5*, i[34567]86-*-sysv4*,
2615 i[34567]86-*-udk*, i[34567]86-*-osf1*, i[34567]86-dg-dgux*,
2616 i860-alliant-*, i860-*-sysv4*, ia64*-*-aix*, ia64*-*-linux*,
2617 ia64*-*-hpux*, m32r-*-elf*, m88k-dg-dgux*, m88k-*-sysv4*, mcore-*-elf,
2618 mips*-*-linux*, mn10200-*-*, mn10300-*-*, pj*-linux*, pjl-*,
2619 powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
2620 powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
2621 powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
2622 powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
2623 powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
2624 powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*,
2625 rs6000-*-mach*, s390-*-linux*, s390x-*-linux*, sh-*-elf*,
2626 sh-*-rtemself*, sh-*-rtems*, sh-*-linux*, stormy16-*-elf,
2627 v850-*-rtems*, v850-*-*, x86_64-*-linux*), cris-*-aout, cris-*-elf,
2628 cris-*-none, cris-*-linux*: Update ${tmfile} list.
2629 (c4x-*-rtems*, c4x-*, i[34567]86-go32-rtems*, i[34567]86-*-rtemscoff*,
2630 i[34567]86-*-rtems*, i[34567]86-*-rtemself*, i[34567]86-*-osf1*,
2631 mn10200-*-*, mn10300-*-*, powerpc-*-beos*, powerpc-*-darwin*,
2632 powerpc-wrs-vxworks*, powerpcle-wrs-vxworks*, v850-*-rtems*,
2633 v850-*-*): Delete superflous ${cpu_type} setting.
2634 * config/linux.h: Delete svr4.h include.
2635 (SET_ASM_OP): Delete.
2636 * config/netware.h (INT_ASM_OP): Undef before define.
2637 * config/ptx4.h: Delete elfos.h include.
2638 (PREFERRED_DEBUGGING_TYPE): Undef instead of wrapping.
2639 * config/svr4.h: Delete elfos.h include. Update commentary.
2640 * config/arc/arc.h, config/d30v/d30v.h, config/fr30/fr30.h,
2641 config/m32r/m32r.h, config/m88k/sysv4.h, config/mn10200/mn10200.h,
2642 config/mn10200/mn10300.h, config/stormy16/stormy16.h,
2643 config/v850/v850.h: Delete svr4.h include.
2644 * config/i370/linux.h, config/i386/osf1elf.h, config/m68k/linux.h,
2645 config/m68k/m68kv4.h, config/m88k/sysv4.h,
2646 config/sparc/sysv4.h: Update includes.
2647 * config/i386/beos-elf.h, config/i386/netware.h, config/i386/ptx4-i.h,
2648 config/i386/rtemself.h, config/i386/sol2.h, config/i386/sysv4.h,
2649 config/i386/sysv5.h, config/i386/udk.h, config/ia64/linux.h,
2650 config/m88k/dguxbcs.h: Delete includes.
2651 * config/i386/dgux.h, config/i386/osf1elfgdb.h: Delete include.
2652 (PREFERRED_DEBUGGING_TYPE): Undef before defining it.
2653 * config/i860/fx2800.h (ASM_OUTPUT_SOURCE_LINE): Undef before defining
2655 * config/m88k/dgux.h: Delete include.
2656 (SDB_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Undef before
2658 * config/pj/pj.h (ASM_GENERATE_INTERNAL_LABEL,
2659 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Undef before defining it.
2660 * config/sh/elf.h: Update include.
2661 (SDB_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE,
2662 DWARF2_ASM_LINE_DEBUG_INFO): Move behind includes.
2664 2001-10-19 Catherine Moore <clm@redhat.com>
2666 * config/stormy16/stormy-abi: Updates to varargs descriptions.
2667 * config/stormy16/stormy16.c (stormy16_build_va_list): Reverse
2668 base and count fields.
2669 (stormy16_expand_builtin_va_start): last_reg_count changed to
2670 size_of_reg_args. Use count + size in first comparison.
2672 Fri Oct 19 15:24:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2674 * langhooks.h (LANG_HOOKS_HONOR_READONLY): New macro.
2675 * toplev.h (struct lang_hooks): New field HONOR_READONLY.
2676 * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGING_P from
2677 TREE_READONLY and TYPE_READONLY if lang_hooks.honor_readonly.
2678 Set alignment from type if INDIRECT_REF.
2679 (adjust_address_1, offset_address): Simplify alignment compuitation.
2680 * expr.c (expand_expr, case INDIRECT_REF): Don't set RTX_UNCHANGING_P
2681 here; done by set_mem_attributes.
2683 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2685 * Makefile.in (rtlanal.o): Depend on $(TM_P_H).
2686 * arm-protos.h (rdata_section, zero_init_section, common_section):
2688 * arm.h (ASM_OUTPUT_DEF_FROM_DECLS): Const-ify.
2689 * avr.h (ASM_OUTPUT_SKIP): Rename macro parameter to avoid
2690 traditional mode stringification.
2691 * function.c (thread_prologue_and_epilogue_insns): Wrap variable
2692 in macros controling its use.
2693 * rtlanal.c: Include tm_p.h.
2694 * varasm.c (asm_output_aligned_bss): Mark parameter with
2696 (assemble_constant_align, assemble_start_function, assemble_align,
2697 assemble_variable, assemble_trampoline_template,
2698 output_constant_def_contents): Wrap potentially empty if-stmt body
2701 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2703 * a29k-protos.h (literal_section): Prototype.
2704 * a29k.h (ASM_FILE_START): Don't discard pointer qualifier.
2705 * a29k.md: Ensure function pointers are prototyped.
2706 * genattrtab.c (write_eligible_delay): Mark parameter with
2709 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2711 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
2712 * 1750a.c (print_operand): Fix format specifier warning.
2713 * 1750a.h (ASM_FILE_START): Don't discard pointer qualifier.
2714 * 1750a.md: Likewise.
2715 * gcc.c (init_gcc_specs): Wrap with ENABLE_SHARED_LIBGCC.
2716 * genemit.c (output_add_clobbers): Mark parameter with
2718 * genrecog.c (write_subroutine): Likewise.
2719 * integrate.c (expand_inline_function): Delete unused variable.
2720 * varasm.c (remove_from_pending_weak_list): Wrap with
2723 2001-10-19 Jakub Jelinek <jakub@redhat.com>
2725 * simplify-rtx.c (simplify_plus_minus): Negate constant iff its neg
2726 field is different to previous argument's neg field.
2728 * config/alpha/alpha.c (summarize_insn): Don't abort on ASM_INPUT.
2730 Fri Oct 19 15:24:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2732 * final.c (get_decl_from_op): New function.
2733 (output_asm_insn): Call it; write "*" when item with decl is address.
2735 2001-10-19 Janis Johnson <janis187@us.ibm.com>
2737 * doc/install.texi (Specific, sparc-sun-solaris2*) Copy documentation
2738 about 64-bit support from the 3.0_branch version.
2740 2001-10-19 Zack Weinberg <zack@codesourcery.com>
2742 * aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and
2743 USE_INCLUDED_LIBINTL when appropriate.
2744 * configure, config.in: Regenerate.
2745 * Makefile.in (datadir): Set to @datadir@.
2746 (intl.o): Also depend on $(CONFIG_H) and system.h.
2748 * intl.c: Factor out common gettext initialization sequence.
2749 (gcc_init_libintl): New function.
2750 * intl.h: Include intl/libgnuintl.h if USE_INCLUDED_LIBINTL;
2751 otherwise include libintl.h if HAVE_LIBINTL_H; otherwise turn
2752 off NLS. Add multiple include guard. No need to #ifdef-guard
2753 an #undef. Prototype gcc_init_libintl here.
2755 * collect2.c (main), cppmain.c (general_init), gcc.c (main),
2756 gcov.c (main), protoize.c (main), toplev.c (toplev_main):
2757 Use gcc_init_libintl.
2759 2001-10-19 Catherine Moore <clm@redhat.com>
2761 * config/stormy16/stormy16.h (ASM_COMMENT_START): Define.
2763 * config/stormy16/stormy16.c (stormy16_split_move): Make
2764 sure that REG_INC notes are present for auto_inc operands.
2766 2001-10-19 Andreas Jaeger <aj@suse.de>
2768 * configure: Regenerated.
2769 * configure.in: Add x86_64 to switch statements.
2771 2001-10-18 Richard Henderson <rth@redhat.com>
2773 * config/alpha/alpha.md (sibcall_osf_1): Load destination
2774 address into $27 explicitly.
2775 (sibcall_value_osf_1): Likewise.
2777 Thu Oct 18 16:07:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2779 * emit-rtl.c (gen_reg_rtx): Also reallocate reg_decl array.
2780 (offset_address): New function.
2781 (free_emit_status): Free regno_decl.
2782 (init_emit): Pass proper number of elements to xcalloc.
2783 Allocate regno_decl.
2784 (mark_emit_status): Mark regno_decl values.
2785 * expr.c (highest_pow2_factor): New function.
2786 (expand_assigment): Use it and offset_address.
2787 Properly handle ptr_mode vs. Pmode in offset calculation.
2788 (store_constructor, expand_expr_unaligned): Likewise.
2789 (expand_expr, case COMPONENT_EXPR): Likewise.
2790 * expr.h (offset_address): New decl.
2791 * function.h (struct emit_status): Add regno_decl.
2792 (REGNO_DECL): New macro.
2793 * final.c (output_asm_name): Move in file and don't conditionalize
2794 on flag_print_asm_name.
2795 (output_asm_insn): Only call output_asm_name if flag_print_asm_name.
2796 Output names of operands, if known.
2797 * function.c (assign_parms): Set REGNO_DECL.
2798 * integrate.c (integrate_decl_tree): Likewise.
2799 * stmt.c (expand_decl): Likewise.
2800 * regclass.c (reg_scan_mark_refs): Propagate REGNO_DECL for copies.
2802 2001-10-18 Alexandre Oliva <aoliva@redhat.com>
2804 * attribs.c (handle_noinline_attribute): New function.
2805 (handle_used_attribute): Likewise.
2806 (c_common_attribute_table): Added noinline and used.
2807 * doc/extend.texi (Function Attributes): Document them.
2808 * c-decl.c (duplicate_decls): Propagate DECL_UNINLINABLE.
2809 Warn when merging inline with attribute noinline.
2810 (start_decl, start_function): Warn if inline and attribute
2811 noinline appear in the same declaration.
2813 2001-10-17 Neil Booth <neil@daikokuya.demon.co.uk>
2815 * config.gcc: Update c4x and i370 for C front end-specific
2817 * config/c4x/c4x-c.c: New.
2818 * config/c4x/c4x-protos.h (c4x_handle_pragma): Remove.
2819 (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
2821 * config/c4x/c4x.c: Don't include c-lex.h or c-pragma.h.
2822 (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
2824 (c4x_init_pragma): Remove.
2825 (c4x_parse_pragma, c4x_pr_CODE_SECTION, c4x_pr_DATA_SECTION,
2826 c4x_pr_FUNC_IS_PURE, c4x_pr_FUNC_NEVER_RETURNS, c4x_pr_INTERRUPT,
2827 c4x_pr_ignored): Move to c4x-c.c.
2828 * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
2829 * config/c4x/t-c4x: Update.
2830 * config/i370/i370-c.c: New.
2831 * config/i370/i370.c: Don't include c-lex.h or c-pragma.h.
2832 (i370_pr_map): Move to i370-c.c.
2833 * config/i370/t-i370: New.
2835 * doc/tm.texi: Update.
2837 2001-10-17 Stan Shebs <shebs@apple.com>
2839 * config/rs6000/rs6000.c: Make assorted mechanical formatting and
2840 typo fixes throughout.
2841 (machopic_output_stub): Remove some dead code.
2843 2001-10-17 Richard Earnshaw <rearnsha@arm.com>
2845 * cpplex.c (_cpp_get_buff): Fix off-by-one error that caused memory
2848 Wed Oct 17 05:26:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2850 * Makefile.in (print-rtl.o): Depend on TREE_H.
2851 * alias.c (get_alias_set): Make two passes over objects to first
2852 see if inner object is access via restricted pointer.
2853 Defer allocating alias set for restricted pointer until here.
2854 Call find_placeholder with second arg nonzero.
2856 * c-common.c (c_apply_type_quals_to_decl): Defer getting alias
2857 set for restricted pointer types.
2858 * emit-rtl.c (set_mem_attributes): Set more attributes.
2859 (set_mem_align, change_address, adjust_address_1): New functions.
2860 (change_address_1): Now static.
2861 (adjust_address, adjust_address_nv): Deleted.
2862 (replace_equiv_address): Call change_address_1.
2863 * expr.c (get_inner_reference): Handle PLACEHOLDER_EXPR.
2864 (find_placeholder): Get starting point from PLIST arg.
2865 (expand_expr, case PLACEHOLDER_EXPR): Initialize find_placeholder arg.
2866 * expr.h (set_mem_align, change_address, adjust_address_1): New decls.
2867 (adjust_address, adjust_address_nv): New macros.
2868 * print-rtl.c (tree.h): New include.
2869 (print_rtx, case MEM): Print all memory attributes.
2871 2001-10-17 Richard Henderson <rth@redhat.com>
2873 * config/alpha/alpha.c (direct_call_operand): Don't fall off end.
2875 2001-10-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
2877 * c-tree.texi: Eliminate duplicated word.
2878 * cpp.texi: Likewise.
2879 * install.texi: Likewise.
2880 * invoke.texi: Likewise.
2881 * tm.texi: Likewise.
2883 2001-10-17 Michael Collison <collison@isisinc.net>
2885 * dsp16xx.c: Fix comment formatting to match GNU standards.
2886 (dsp16xx_output_function_prologue): Change type of 'size'
2887 parameter from 'int' to HOST_WIDE_INT.
2888 (dsp16xx_output_function_epilogue): Change type of 'size'
2889 parameter from 'int' to HOST_WIDE_INT.
2891 2001-10-16 Richard Henderson <rth@redhat.com>
2893 * configure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check.
2894 * configure, config.in: Rebuild.
2896 * config/i386/i386.c (ix86_output_addr_vec_elt): New.
2897 (ix86_output_addr_diff_elt): New.
2898 * config/i386/i386.h (ASM_OUTPUT_ADDR_VEC_ELT): Use them.
2899 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
2900 (JUMP_TABLES_IN_TEXT_SECTION): New.
2901 * config/i386/i386.md (tablejump): Handle HAVE_AS_GOTOFF_IN_DATA.
2902 * config/i386/i386-protos.h: Update.
2904 * config/i386/386bsd.h, config/i386/beos-elf.h,
2905 config/i386/freebsd-aout.h, config/i386/freebsd.h,
2906 config/i386/i386-interix.h, config/i386/i386elf.h,
2907 config/i386/linux.h, config/i386/netbsd-elf.h,
2908 config/i386/netbsd.h, config/i386/openbsd.h,
2909 config/i386/ptx4-i.h, config/i386/rtemself.h,
2910 config/i386/sco5.h, config/i386/sysv4.h, config/i386/x86-64.h
2911 (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): Remove.
2913 2001-10-16 Florian Weimer <fw@deneb.enyo.de>
2915 * stmt.c (expand_asm_operands): Update commentary.
2917 2001-10-16 Stan Shebs <shebs@apple.com>
2919 * config/darwin.h (GCC_NAME): Remove, no longer used.
2920 (NO_MATH_LIBRARY): Ditto.
2921 (MATH_LIBRARY): Define to emptiness.
2922 (DWARF2_DEBUGGING_INFO): Define.
2923 (PREFERRED_DEBUGGING_TYPE): Define.
2924 (EXTRA_SECTION_FUNCTIONS): Add darwin_exception_section.
2925 (EXCEPTION_SECTION): Define.
2926 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
2927 * config/darwin.c (darwin_encode_section_info): Handle case of
2928 DECL_INITIAL being error_mark_node.
2930 2001-10-16 Richard Henderson <rth@redhat.com>
2932 * alpha.c (current_file_function_operand): Don't fail for profiling.
2933 (direct_call_operand): New.
2934 * alpha-protos.h: Declare it.
2935 * alpha.h (EXTRA_CONSTRAINT): Use it.
2936 (PREDICATE_CODES): Add it.
2937 (ASM_OUTPUT_MI_THUNK): Remove.
2938 * alpha32.h (ASM_OUTPUT_MI_THUNK): Remove.
2939 * alpha.md (sibcall_osf_1, sibcall_value_osf_1): Add 's' alternative.
2941 2001-10-16 Krister Walfridsson <cato@df.lth.se>
2943 * config/i386/netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.
2944 (JUMP_TABLES_IN_TEXT_SECTION): Define.
2946 Wed Oct 17 00:21:31 CEST 2001 Jan Hubicka <jh@suse.cz>
2948 * cfg.c (free_edge): Break out from ....
2949 (remove_edge): ... here.
2950 (clear_edges): Use free_edge.
2952 * att.h (ASM_QUAD): Add comment.
2953 * bsd.h, sco5.h, sun386.h (ASM_QUAD): Define.
2955 Wed Oct 17 00:01:02 CEST 2001 Jan Hubicka <jh@suse.cz>
2957 * i386.c (split_ti): New function.
2958 (ix86_split_to_parts): Support TImodes.
2959 * i386.h (VALID_INT_MODE_P): Add TImode.
2960 * i386.md (movdi splitter): Fix.
2961 (movti): Support 64bit integer registers.
2962 (movti_rex64): New function and splitter.
2964 * i386.c (*_cost): Add movsx/movzx cost.
2965 * i386.h (struct processor_costs): Add movsx/movzx fields.
2966 (RTX_COSTS): Handle zero/sign extend + avoid believing that
2967 64bit operations require split on 64bit machine.
2968 (CONST_COST): Make large 64bit constants expensive on 64bit compilation.
2970 * i386.c (ix86_setup_incoming_varargs): Fix mode of PLUS.
2971 (ix86_expand_move): Avoid pushes of memory if size does not match;
2972 move long constants to register.
2973 (x86_initialize_trampoline): Fix mode.
2974 * i386.h (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT):
2975 Use ASM_QUAD on 64bit.
2976 * i386.md (test pattern): Disallow impossible constants.
2977 (tablejump PIC expander): Fix emitting of sum.
2978 (movdicc_rex64): Rename to movdicc.
2979 * linux64.h (LINK_SPEC): Add missing '%'.
2981 2001-10-16 Alexandre Oliva <aoliva@redhat.com>
2983 * tree-inline.c (inlinable_function_p): Leave it up to the
2984 front-end to turn -finline-functions into DECL_INLINE set for all
2987 2001-10-16 Stan Shebs <shebs@apple.com>
2989 * config/rs6000/darwin.h (ASM_COMMENT_START): Define.
2991 2001-10-16 Alan Modra <amodra@bigpond.net.au>
2993 * recog.c: Formatting and comment typo fixes.
2995 * configure.in (gcc_cv_as_bfd_srcdir): New. Use it to find gas
2996 version in single tree build.
2997 * configure: Regenerate.
2999 2001-10-15 David Edelsohn <edelsohn@gnu.org>
3001 * config/rs6000/rs6000.md (cr_logical): Swap order of CODE and
3002 MODE arguments to gen_rtx and compare operand with const0_rtx.
3004 2001-10-15 Neil Booth <neil@daikokuya.demon.co.uk>
3006 * system.h: Poison old unused target macros.
3007 * config/dsp16xx.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
3008 * config/stormy16/stormy16.c: Update references to obsolete macros.
3009 * config/stormy16/stormy16.h: Similarly.
3010 * config/stormy16/stormy16.md: Similarly.
3011 * config/cris/cris.h: Similarly.
3013 2001-10-15 Neil Booth <neil@daikokuya.demon.co.uk>
3015 * cpplib.c (struct pragma_entry): Store the name as a hashnode.
3016 (lookup_pragma_entry, insert_pragma_entry, do_pragma,
3017 cpp_register_pragma): Update accordingly.
3019 2001-10-14 Neil Booth <neil@daikokuya.demon.co.uk>
3021 * c-pragma.h (cpp_register_pragma_space): Remove.
3022 * cpplib.h (cpp_register_pragma_space): Remove.
3023 * cpplib.c (lookup_pragma_entry, insert_pragma_entry): New.
3024 (cpp_register_pragma_space): Remove.
3025 (cpp_register_pragma): Simplify using lookup_pragma_entry,
3027 (do_pragma): Similarly.
3028 (_cpp_init_internal_pragmas): Don't register namespaces.
3030 * config/v850/v850.h (REGISTER_TARGET_PRAGMAS):
3031 Don't register namespaces.
3032 * cp/lex.c (init_cp_pragma): Similarly.
3033 * doc/tm.texi: Update.
3035 2001-10-10 Craig Rodrigues <rodrigc@gcc.gnu.org>
3038 * config/i386/cygwin.h: Add missing space to MINGW_INCLUDES
3040 2001-10-13 Michael Collison <collison@dhcp-12-114.townisp.com>
3042 * config/dsp16xx/dsp16xx.md: Rewrite for more efficient code and
3043 add scheduling support.
3044 * config/dsp16xx/dsp16xx.h: Rewrite for more efficient code.
3045 * config/dsp16xx/dsp16xx.c: Rewrite for more efficient code.
3046 * config/dsp16xx/dsp16xx-protos.h: Add new function prototypes.
3049 2001-10-13 Hans-Peter Nilsson <hp@axis.com>
3051 * config/cris/cris.c (cris_legitimate_pic_operand): Kludge around
3052 missing CONSTANT_P test in core GCC.
3054 2001-10-12 Neil Booth <neil@daikokuya.demon.co.uk>
3056 * cppmain.c (struct printer): New member source.
3057 (scan_translation_unit): Fix spacing at start of lines.
3058 (cb_line_change): Update.
3060 * gcc.dg/cpp/spacing2.c: New test.
3062 2001-10-12 Hans-Peter Nilsson <hp@axis.com>
3064 * config/cris/arit.c: Use __builtin_labs, not abs.
3066 * config/cris/cris.h (SET_STRIPPABLE_EXECUTABLE): Don't define.
3068 * config/cris/cris.c (cris_target_asm_function_epilogue): Move
3069 misplaced sprintf and fprintf argument.
3071 2001-10-12 Zack Weinberg <zack@codesourcery.com>
3073 * ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
3074 * configure.in, Makefile.in: Take out obsolete check-po logic.
3075 * configure, config.in: Regenerate.
3077 2001-10-12 Ziemowit Laski <zlaski@apple.com>
3079 * objc/objc-act.c (finish_objc): Correct precondition for emitting
3080 symtab declarations.
3082 2001-10-12 Stan Shebs <shebs@apple.com>
3084 * config/rs6000/rs6000.c: Remove uses of "register" specifier in
3085 declarations of arguments and local variables.
3087 2001-10-12 Christopher Faylor <cgf@redhat.com>
3089 * config/i386/cygwin.h: Revert erroneous checkin of crtbegin and
3090 ENDFILE_SPEC definition.
3092 2001-10-12 Kazu Hirata <kazu@hxi.com>
3094 * gthr-dce.h: Fix comment formatting.
3095 * gthr-posix.h: Likewise.
3096 * gthr-single.h: Likewise.
3097 * gthr-solaris.h: Likewise.
3098 * gthr-vxworks.h: Likewise.
3099 * gthr-win32.h: Likewise.
3101 2001-10-12 Jakub Jelinek <jakub@redhat.com>
3103 * final.c (output_asm_insn): Make sure assembly dialects are
3104 terminated, not nested. Output `|' and `}' characters if they
3105 don't appear inside assembly dialect selection.
3106 * config/i386/i386.md (rep_movdi_rex64, rep_movsi, rep_movsi_rex64,
3107 rep_movqi, rep_movqi_rex64, rep_stosdi_rex64, rep_stossi,
3108 rep_stossi_rex64, rep_stosqi, rep_stosqi_rex64, strsetsi_1,
3109 strsetsi_rex_1): Add {} braces.
3111 2001-10-11 Zack Weinberg <zack@codesourcery.com>
3113 * toplev.c (compile_file): Ignore return value from yyparse.
3114 Always pop any nested binding levels after yyparse returns.
3116 2001-10-11 Richard Henderson <rth@redhat.com>
3118 * doc/c-tree.texi (Expression trees): Add VTABLE_REF.
3120 2001-10-11 Richard Henderson <rth@redhat.com>
3122 * dwarf2out.c (add_const_value_attribute): If long < HOST_WIDE_INT,
3123 fall back to add_AT_long_long for large CONST_INT.
3125 2001-10-11 Richard Henderson <rth@redhat.com>
3127 * config/i386/i386.md (setcc splitters): Add four splitters to
3128 simplify compound compares that simplify_comparison can't handle.
3130 2001-10-11 Zack Weinberg <zack@codesourcery.com>
3132 * cpplex.c (digraph_spellings, token_spellings): Make static.
3134 2001-10-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3136 * unroll.c (loop_iterations): Fixup last patch.
3138 2001-10-11 Richard Henderson <rth@redhat.com>
3140 * rtl.h (REG_VTABLE_REF): New.
3141 * rtl.c (reg_note_name): Add it.
3142 * combine.c (distribute_notes): Handle it.
3143 * final.c (final_scan_insn): Handle it.
3144 * tree.def (VTABLE_REF): New.
3145 * expr.c (expand_expr): Handle it.
3146 * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): New.
3147 * output.h: Declare them.
3149 2001-10-11 Richard Henderson <rth@redhat.com>
3151 * dwarf2out.c (rtl_for_decl_location): If no DECL_RTL, look
3154 2001-10-11 David Edelsohn <edelsohn@gnu.org>
3156 * config/rs6000/xcoff.h (UNALIGNED_DOUBLE_INT_ASM_OP): Only
3157 available in 64-bit mode.
3159 2001-10-11 Hans-Peter Nilsson <hp@axis.com>
3161 * config.gcc: Add cris-*-aout, cris-*-elf, cris-*-none,
3162 cris-*-linux* cases.
3163 * config/cris/cris-protos.h: New file.
3164 * config/cris/cris.c: New file.
3165 * config/cris/cris.h: New file.
3166 * config/cris/cris.md: New file.
3167 * config/cris/linux.h: New file.
3168 * config/cris/aout.h: New file.
3169 * config/cris/arit.c: New file.
3170 * config/cris/cris_abi_symbol.c: New file.
3171 * config/cris/mulsi3.asm: New file.
3172 * config/cris/t-aout: New file.
3173 * config/cris/t-cris: New file.
3174 * config/cris/t-elfmulti: New file.
3175 * config/cris/t-linux: New file.
3176 * doc/invoke.texi: Add CRIS options.
3177 * doc/install.texi (Specific): Add blurb for CRIS.
3179 2001-10-10 Hartmut Schirmer <SchirmerH@Innovative-Systems.de>
3181 * config/float-i128.h: Make sure __STDC__VERSION__ is defined
3183 * config/float/i32.h: Likewise.
3184 * config/float-i386.h: Likewise.
3185 * config/float-i64.h: Likewise.
3186 * config/float-m68k.h: Likewise.
3187 * config/float-sh.h: Likewise.
3188 * config/float-sparc.h: Likewise.
3190 2001-10-11 Hans-Peter Nilsson <hp@axis.com>
3192 * doc/contrib.texi: Add note about CRIS port to my entry.
3194 2001-10-11 Kazu Hirata <kazu@hxi.com>
3196 * basic-block.h: Fix formatting.
3197 * bitmap.h: Likewise.
3198 * cpplib.h: Likewise.
3199 * c-tree.h: Likewise.
3200 * diagnostic.h: Likewise.
3201 * flags.h: Likewise.
3203 * longlong.h: Likewise.
3205 * reload.h: Likewise.
3209 2001-10-10 Richard Henderson <rth@redhat.com>
3211 * c-parse.in (asm_operand): Allow named operands.
3212 * genconfig.c (max_recog_operands): Set to 29.
3213 * local-alloc.c (requires_inout): Skip multiple digits.
3214 * recog.c (asm_operand_ok): Likewise.
3215 (preprocess_constraints): Use strtoul for matching constraints.
3216 (constrain_operands): Likewise.
3217 * regmove.c (find_matches): Likewise.
3218 * reload.c (find_reloads): Likewise.
3219 * stmt.c (parse_output_constraint): Don't reject in-out
3220 constraint on operands > 9. Reject '[' in constraint.
3221 (expand_asm_operands): Handle named operands. Use strtoul
3222 for matching constraints.
3223 (check_operand_nalternatives): Split out from expand_asm_operands.
3224 (check_unique_operand_names): New.
3225 (resolve_operand_names, resolve_operand_name_1): New.
3227 * doc/extend.texi (Extended Asm): Document named operands.
3228 * doc/md.texi (Simple Constraints): Document matching constraints
3231 2001-10-10 Richard Henderson <rth@redhat.com>
3233 * combine.c (try_combine): Handle a SEQUENCE of one insn.
3235 * i386.c (test splitter): Narrow tests vs paradoxical subregs.
3236 (jcc splitters): Add two splitters to simplify compound compares
3237 that simplify_comparison can't handle.
3239 2001-10-10 Richard Henderson <rth@redhat.com>
3241 * langhooks.c: Include langhooks.h.
3242 * Makefile.in (langhooks.o): Depend on it.
3244 Wed Oct 10 23:49:06 EDT 2001 John Wehle (john@feith.com)
3246 * rtlanal.c (noop_move_p): Insns with a REG_RETVAL note
3247 should not be considered as a no-op.
3248 * flow.c (delete_noop_moves): Handle REG_LIBCALL notes.
3250 2001-10-10 Stan Shebs <shebs@apple.com>
3252 * alias.c: Remove uses of "register" specifier in declarations
3253 of arguments and local variables.
3254 * c-common.c: Ditto.
3255 * c-convert.c: Ditto.
3257 * c-format.c: Ditto.
3258 * c-semantics.c: Ditto.
3259 * c-typeck.c: Ditto.
3260 * caller-save.c: Ditto.
3263 * cfgbuild.c: Ditto.
3265 * collect2.c: Ditto.
3269 * cppfiles.c: Ditto.
3272 * defaults.h: Ditto.
3274 * dwarf2out.c: Ditto.
3275 * dwarfout.c: Ditto.
3276 * emit-rtl.c: Ditto.
3281 * fix-header.c: Ditto.
3282 * floatlib.c: Ditto.
3284 * fold-const.c: Ditto.
3285 * function.c: Ditto.
3288 * gen-protos.c: Ditto.
3289 * genattrtab.c: Ditto.
3290 * gencheck.c: Ditto.
3291 * genconfig.c: Ditto.
3293 * genextract.c: Ditto.
3294 * genflags.c: Ditto.
3295 * gengenrtl.c: Ditto.
3296 * genoutput.c: Ditto.
3298 * genrecog.c: Ditto.
3299 * gensupport.c: Ditto.
3303 * haifa-sched.c: Ditto.
3304 * hard-reg-set.h: Ditto.
3306 * integrate.c: Ditto.
3309 * local-alloc.c: Ditto.
3311 * mips-tdump.c: Ditto.
3312 * mips-tfile.c: Ditto.
3315 * print-rtl.c: Ditto.
3316 * read-rtl.c: Ditto.
3319 * reg-stack.c: Ditto.
3320 * regclass.c: Ditto.
3325 * resource.c: Ditto.
3329 * sched-deps.c: Ditto.
3330 * sched-rgn.c: Ditto.
3332 * simplify-rtx.c: Ditto.
3334 * stor-layout.c: Ditto.
3341 * xcoffout.c: Ditto.
3343 2001-10-10 Richard Henderson <rth@redhat.com>
3345 * rtl.h (can_reverse_comparison_p): Remove.
3347 2001-10-10 Christopher Faylor <cgf@redhat.com>
3349 * config/i386/cygwin.h: Avoid adding include files if -nostdinc is
3352 2001-10-10 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3354 * config/i386/mingw32.h (WIN32_NO_ABSOLUTE_INST_DIRS): New define.
3355 (Thanks to Chris Faylor for suggesting macro name).
3356 (CPP_PREDEFINES): Define __MINGW32__ but don't set value; add more
3358 (STANDARD_INCLUDE_DIR): Remove i386- from directory name.
3359 (STANDARD_INCLUDE_COMPONENT): Change to MINGW.
3360 (MATH_LIBRARY): Undef before definition.
3361 (OUTPUT_QUOTED_STRING): Likewise.
3362 * config/i386/cygwin.h: Use WIN32_NO_ABSOLUTE_INST_DIRS.
3364 2001-10-10 Richard Henderson <rth@redhat.com>
3366 * unwind-dw2-fde.c (fde_compare_t): Change return type to int.
3367 (fde_unencoded_compare): Likewise. Don't use subtraction to get
3368 a tristate comparison value.
3369 (fde_single_encoding_compare, fde_mixed_encoding_compare): Likewise.
3371 2001-10-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3374 * unroll.c (loop_iterations): Ignore insns generated by loop
3377 * config.gcc (mips*-*-gnu*): Delete support.
3378 * config/mips/gnu.h: Remove.
3380 2001-10-10 Kazu Hirata <kazu@hxi.com>
3382 * calls.c: Fix formatting.
3383 * c-decl.c: Likewise.
3384 * cfgcleanup.c: Likewise.
3385 * combine.c: Likewise.
3386 * cppfiles.c: Likewise.
3387 * cpplib.c: Likewise.
3388 * cppmacro.c: Likewise.
3389 * crtstuff.c: Likewise.
3391 * dwarf2out.c: Likewise.
3392 * expmed.c: Likewise.
3394 * fold-const.c: Likewise.
3395 * function.c: Likewise.
3397 * genattrtab.c: Likewise.
3398 * ggc-page.c: Likewise.
3399 * integrate.c: Likewise.
3400 * libgcc2.c: Likewise.
3402 * optabs.c: Likewise.
3403 * profile.c: Likewise.
3404 * protoize.c: Likewise.
3406 * recog.c: Likewise.
3407 * reload1.c: Likewise.
3408 * reload.c: Likewise.
3409 * reorg.c: Likewise.
3410 * resource.c: Likewise.
3411 * sched-rgn.c: Likewise.
3412 * sdbout.c: Likewise.
3414 * toplev.c: Likewise.
3415 * varasm.c: Likewise.
3417 2001-10-10 Janis Johnson <janis187@us.ibm.com>, Alexandre Oliva <aoliva@redhat.com>
3419 * langhooks.c: Include rtl.h, insn-config.h and integrate.h.
3420 * Makefile.in (langhooks.o): Add dependencies.
3422 Wed Oct 10 00:41:29 EDT 2001 John Wehle (john@feith.com)
3424 * rs6000.c (rs6000_emit_load_toc_table): Don't
3425 strdup the toc label.
3426 (create_TOC_reference): Likewise.
3428 2001-10-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3430 * config.gcc (i[34567]86-*-mingw32*): Make msvcrt-dependent
3433 2001-10-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3435 * config/i386/i386.c (ix86_attribute_table): Correct
3436 min_len, max_len fields for dllimport, dllexport and shared.
3438 2001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
3440 * doc/c-tree.texi, doc/cppinternals.texi, doc/extend.texi,
3441 doc/install.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi:
3442 Consistently use "nonzero" instead of "non-zero".
3444 2001-10-09 Kazu Hirata <kazu@hxi.com>
3446 * acconfig.h: Fix comment formatting.
3447 * c-dump.h: Likewise.
3448 * c-tree.h: Likewise.
3449 * conditions.h: Likewise.
3451 * function.h: Likewise.
3453 * hwint.h: Likewise.
3454 * integrate.h: Likewise.
3457 * optabs.h: Likewise.
3459 2001-10-09 Kazu Hirata <kazu@hxi.com>
3461 * c-common.h: Fix comment formatting.
3462 * c-dump.c: Likewise.
3464 * diagnostic.h: Likewise.
3465 * except.c: Likewise.
3467 * gcov-io.h: Likewise.
3468 * genattrtab.c: Likewise.
3469 * output.h: Likewise.
3470 * predict.h: Likewise.
3471 * reload1.c: Likewise.
3472 * reload.h: Likewise.
3473 * resource.h: Likewise.
3475 * system.h: Likewise.
3477 * tree-inline.c: Likewise.
3478 * tsystem.h: Likewise.
3479 * varasm.c: Likewise.
3480 * xcoffout.h: Likewise.
3482 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
3484 * doc/gcc.texi: Document preference for "nonzero" over "non-zero".
3486 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
3488 * config/alpha/freebsd.h, config/alpha/lib1funcs.asm,
3489 config/i386/i386elf.h, config/i386/netbsd-elf.h,
3490 config/i386/netware.h, config/mcore/gfloat.h,
3491 config/mcore/mcore.c, config/mcore/mcore.h, config/mcore/mcore.md,
3492 config/netware.h, gccbug.in: Update FSF address.
3494 2001-10-09 Kazu Hirata <kazu@hxi.com>
3496 * c-common.c: Fix comment typos.
3497 * cfgrtl.c: Likewise.
3498 * collect2.c: Likewise.
3499 * cpplex.c: Likewise.
3500 * doloop.c: Likewise.
3501 * dwarf2out.c: Likewise.
3502 * dwarfout.c: Likewise.
3504 * fold-const.c: Likewise.
3508 * global.c: Likewise.
3509 * ifcvt.c: Likewise.
3511 * optabs.c: Likewise.
3512 * protoize.c: Likewise.
3513 * regclass.c: Likewise.
3514 * reorg.c: Likewise.
3518 * doc/cpp.texi: Likewise.
3519 * doc/c-tree.texi: Likewise.
3520 * doc/extend.texi: Likewise.
3521 * doc/invoke.texi: Likewise.
3522 * doc/objc.texi: Likewise.
3523 * doc/tm.texi: Likewise.
3525 2001-10-08 Richard Henderson <rth@redhat.com>
3527 * varasm.c (set_named_section_flags): Initialize "declared".
3529 2001-10-08 Robert Lipe <robertlipe@usa.net>
3531 * varasm.c (struct in_named_entry): Add declared.
3532 (named_section_first_declaration): New function.
3533 (default_elf_asm_named_section): Use it.
3534 * output.h (named_section_first_declaration): New.
3536 2001-10-08 Richard Henderson <rth@redhat.com>
3538 * i386.md (movsi_xor): Export.
3539 (setcc peep2): Use it when available; add an alternative to
3540 match zero_extendhisi2_and.
3542 2001-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3544 * romp-protos.h (romp_initialize_trampoline): New function.
3545 * romp.c (romp_initialize_trampoline): Likewise.
3546 * romp.h (INITIALIZE_TRAMPOLINE): Define in terms of
3547 romp_initialize_trampoline.
3549 2001-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3551 * m68k/3b1.h (ASM_OUTPUT_SOURCE_LINE): Don't reference `last_linenum'.
3552 * m68k/auxas.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
3553 * m68k/crds.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
3554 * m68k/mot3300.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
3556 2001-10-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3558 * unroll.c (loop_iterations): Extend check for multiple back edges.
3560 2001-10-08 Alexandre Oliva <aoliva@redhat.com>
3562 * langhooks.h: New file.
3563 * Makefile.in (OBJS): Added langhooks.o.
3564 (c-lang.o): Depend on langhooks.h.
3565 (c-common.o): Don't depend on tree-inline.h.
3566 (tree-inline.o): Depend on toplev.h.
3567 (langhooks.o): New rule.
3568 * c-common.c: Don't include tree-inline.h.
3569 (c_mark_lang_decl): Mark argument c as unused.
3570 (c_common_lang_init): Don't initialize hooks here.
3571 * c-lang.c: Include langhooks.h, then override some macros.
3572 (lang_hooks): Initialize with macros in langhooks.h.
3573 (c_init): Don't initialize hooks here.
3574 * toplev.c (struct lang_hooks_for_tree_inlining): New struct.
3575 (struct lang_hooks): Add tree_inlining. Refer to langhooks.h.
3576 * tree-inline.c: Include toplev.h. Don't define hook variables.
3577 * tree-inline.h: Don't define hook types nor declare hook
3578 variables. Move macros to...
3579 * langhooks.c: ... new file, as functions. Adjust all callers.
3581 2001-10-08 Jeffrey A Law <law@cygnus.com>
3583 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Call
3584 purge_mem_unchanging_flag on all instructions, not just on those
3585 before NOTE_INSN_FUNCTION_BEG.
3587 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
3589 * cppmacro.c (_cpp_create_definition): Leave comments off.
3591 * doc/cpp.texi: Update.
3593 2001-10-08 DJ Delorie <dj@redhat.com>
3595 * c-decl.c (grokfield): Make sure the only unnamed fields
3596 we're allowing are either structs or unions.
3597 * doc/extend.texi: Add documentation for the unnamed field
3600 2001-10-08 Zack Weinberg <zack@codesourcery.com>
3602 * aclocal.m4 (gcc_AC_PROG_GNAT): New.
3603 * configure.in: Use it.
3604 * configure: Regenerated.
3605 * config/pa/t-linux, config/pa/t-pa, config/pa/t-pa64,
3606 config/pa/t-pro: Set T_ADAFLAGS, not ADA_CFLAGS.
3608 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
3610 * cppfiles.c (open_file): Don't mark zero-length files
3611 never-reread here. Don't output diagnostics here either.
3612 (stack_include_file): Mark them never-reread here.
3613 (_cpp_read_file): Update.
3615 2001-10-08 Richard Henderson <rth@redhat.com>
3617 * config/i386/sol2.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
3619 2001-10-08 Richard Henderson <rth@redhat.com>
3621 * expr.c (store_expr): When converting a CONST_INT for storage
3622 in a SUBREG, convert it to both SUBREG modes before stripping
3625 2001-10-08 Richard Henderson <rth@redhat.com>
3627 * varasm.c (restore_varasm_status): New.
3628 * function.h: Declare it.
3629 * function.c (pop_function_context_from): Call it.
3631 2001-10-08 Richard Henderson <rth@redhat.com>
3633 * c-common.h (struct c_lang_decl): Add declared_inline.
3634 * c-tree.h (DECL_DECLARED_INLINE_P): New.
3635 * c-lang.c (c_disregard_inline_limits): Use it.
3636 * c-decl.c (duplicate_decls): Likewise.
3637 (pushdecl, redeclaration_error_message): Likewise.
3638 (pushdecl): Allocate DECL_LANG_SPECIFIC if needed.
3639 (grokdeclarator): Likewise. Set DECL_DECLARED_INLINE_P.
3640 Set DECL_INLINE if -finline-functions.
3641 (store_parm_decls): Don't allocate DECL_LANG_SPECIFIC here.
3643 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
3645 * cppmacro.c (funlike_invocation_p): Move some logic to caller
3646 in enter_macro_context. Create a padding token in its own context
3647 if necessary when the search for '(' fails.
3648 (enter_macro_context): Update.
3650 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
3652 * ChangeLog.2, c-decl.c, config/i386/i386.md, doc/gcc.texi, gcc.c,
3653 genmultilib, toplev.c: Fix spelling errors of "separate" as
3654 "seperate", and corresponding spelling errors of related words.
3656 2001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3658 * builtins.c (expand_builtin_setjmp_receiver): Const-ify.
3659 * c-common.c (fname_var_t, c_tree_code_type, c_tree_code_length):
3661 * c-dump.c (dump_option_value_info): Likewise.
3662 * c-format.c (format_length_info, format_char_info,
3663 format_flag_spec, format_flag_pair, format_kind_info): Likewise.
3664 * collect2.c (names): Likewise.
3665 * cppdefault.h (default_include): Likewise.
3666 * cppexp.c (suffix, vsuf_1, vsuf_2, vsuf_3): Likewise.
3667 * flow.c (life_analysis): Likewise.
3668 * gcc.c (dir_separator_str, modify_target, option_map,
3669 target_option_translations, spec_list_1, extra_specs_1,
3670 init_spec): Likewise.
3671 * gcov.c (gcov_version_string): Likewise.
3672 * genattr.c (write_units): Likewise.
3673 * genattrtab.c (make_length_attrs, write_function_unit_info): Likewise.
3674 * gengenrtl.c (rtx_definition, defs): Likewise.
3675 * genrecog.c (pred_table): Likewise.
3676 * global.c (global_alloc): Likewise.
3677 * lcm.c (optimize_mode_switching): Likewise.
3678 * local-alloc.c (find_free_reg): Likewise.
3679 * params.h (param_info): Likewise.
3680 * predict.c (predictor_info): Likewise.
3681 * protoize.c (unexpansion_struct): Likewise.
3682 * real.c (bmask): Likewise.
3683 * recog.h (insn_operand_data, insn_data): Likewise.
3684 * regclass.c (initial_fixed_regs, initial_call_used_regs): Likewise.
3685 * stmt.c (expand_nl_goto_receiver): Likewise.
3686 * toplev.c (da, debug_args, lang_opt, documented_lang_options,
3687 target_switches, target_options): Likewise.
3688 * tradcif.y (token, tokentab2, yylex): Likewise.
3689 * tree.h (attribute_spec): Likewise.
3691 * alpha.c (override_options, alpha_lookup_xfloating_lib_func):
3693 * arc.c (arc_output_function_epilogue): Likewise.
3694 * arm.c (processors, all_cores, all_architectures,
3695 arm_override_options, isr_attribute_arg, isr_attribute_args,
3696 arm_isr_value): Likewise.
3697 * avr.c (mcu_type_s, reg_class_tab, order_regs_for_local_alloc):
3699 * c4x.c (c4x_int_reglist): Likewise.
3700 * d30v.c (override_options): Likewise.
3701 * h8300.c (shift_insn): Likewise.
3702 * i386.c (size_cost, i386_cost, i486_cost, pentium_cost,
3703 pentiumpro_cost, k6_cost, athlon_cost, pentium4_cost, ix86_cost,
3704 ix86_expand_sse_comi, ix86_expand_sse_compare, override_options,
3705 builtin_description, bdesc_comi, bdesc_2arg, bdesc_1arg,
3706 ix86_init_mmx_sse_builtins, ix86_expand_builtin): Likewise.
3707 * i386.h (processor_costs, ix86_cost): Likewise.
3708 * m68hc11.c (m68hc11_cost, m6811_cost, m6812_cost): Likewise.
3709 * m68hc11.h (processor_costs, m68hc11_cost): Likewise.
3710 * m68k.c (codes_68881, codes_FPA): Likewise.
3711 * m88k.c (mode_from_align, max_from_align, all_from_align,
3712 best_from_align, m_options): Likewise.
3713 * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
3714 * mcore.c (mode_from_align): Likewise.
3715 * mips/elf64.h (UNIQUE_SECTION): Likewise.
3716 * mips/iris6gld.h (UNIQUE_SECTION): Likewise.
3717 * mips.c (mips_sw_reg_names, mips_regno_to_class): Likewise.
3718 * mips.h (mips_regno_to_class): Likewise.
3719 * ns32k.c (scales): Likewise.
3720 * pa.c (import_string, magic_milli): Likewise.
3721 * rs6000.c (alt_reg_names, rs6000_override_options): Likewise.
3722 * sparc.c (leaf_reg_remap, sparc_override_options,
3723 reg_leaf_alloc_order, reg_nonleaf_alloc_order, reg_alloc_orders):
3725 * sparc.h (sparc_cpu_select, leaf_reg_remap): Likewise.
3727 2001-10-07 Dale Johannesen <dalej@apple.com>
3729 * reload1.c (reload_reg_free_p): Teach register interference
3730 checking that multiple output reloads are emitted in
3732 reload1.c (reload_reg_reaches_end_p): Ditto.
3733 reload1.c (reloads_conflict): Ditto.
3735 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
3737 * doc/c-tree.texi, doc/tm.texi: Consistently put NULL and
3738 NULL_TREE inside @code.
3740 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
3742 * doc/gcc.texi: Document consistent style of "32-bit",
3743 "Objective-C", and "@code{NULL}".
3745 2001-10-06 Zack Weinberg <zack@codesourcery.com>
3747 * cpplex.c (enum spell_type): Add SPELL_NUMBER.
3748 (cpp_token_len, cpp_spell_token, cpp_output_token,
3749 _cpp_equiv_tokens): Handle it.
3750 * cpplib.h (TTYPE_TABLE): Use SPELL_NUMBER for CPP_NUMBER and
3751 CPP_COMMENT, SPELL_NONE for CPP_PADDING and CPP_EOF.
3752 * cppexp.c (_cpp_parse_expr): Use the correct operator code in
3755 Sat Oct 6 07:42:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3757 * gcc.c (default_compilers): Remove .ada.
3759 2001-10-06 Neil Booth <neil@daikokuya.demon.co.uk>
3761 * doc/cppinternals.texi: Update.
3763 2001-10-06 Zack Weinberg <zack@codesourcery.com>
3765 * gcc.c (main): Set this_file_error if the appropriate
3766 compiler for a language has not been installed.
3768 2001-10-06 Ulrich Weigand <uweigand@de.ibm.com>
3770 * config/s390/s390.c (s390_va_arg): Use set_mem_alias_set.
3772 2001-10-05 Joseph S. Myers <jsm28@cam.ac.uk>
3774 * gccbug.in (CATEGORIES): Add ada.
3776 2001-10-05 Catherine Moore <clm@redhat.com>
3778 * config/stormy16/stormy-abi: Document abi changes.
3779 * config/stormy16/stormy16.h (REG_ALLOC_ORDER): Redefine.
3780 (ICALL_REGS): New register class.
3781 (NUM_ARGUMENT_REGISTERS): Now 6.
3782 (DEFAULT_PCC_STRUCT_RETURN): Don't try to return structs
3784 (REG_CLASS_FROM_LETTER): Map 'z' to ICALL_REGS.
3785 * config/stormy16.md (call_internal, call_value_internal,
3786 indirect_jump): Use new 'z' constraint.
3788 2001-10-05 Neil Booth <neil@daikokuya.demon.co.uk>
3790 * doc/cppinternals.texi: Update.
3792 2001-10-05 Richard Henderson <rth@redhat.com>
3794 * dwarf2out.c (FRAME_BEGIN_LABEL): New.
3795 (output_call_frame_info): Use it instead of __FRAME_BEGIN__ and
3796 the gas section-name-as-label feature.
3798 2001-10-05 Neil Booth <neil@daikokuya.demon.co.uk>
3800 * doc/cppinternals.texi: Update.
3802 Fri Oct 5 08:17:46 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3804 * config/i386/i386.c (ix86_split_to_parts): Use trunc_int_for_mode
3805 to ensure valid SImode constants.
3807 2001-10-05 Alexandre Oliva <aoliva@redhat.com>
3809 * Makefile.in (c-decl.o): Depend on tree-inline.h.
3810 (c-lang.o): Likewise, as well as insn-config.h and integrate.h.
3811 * c-decl.c: Include tree-inline.h.
3812 (c_expand_body): Call optimize_inline_calls. Determine whether
3813 a function is inlinable upfront, and only clear
3814 DECL_SAVED_TREE, DECL_INITIAL and DECL_ARGUMENTS if it isn't.
3815 * c-lang.c: Include tree-inline.h, insn-config.h and integrate.h.
3816 (c_disregard_inline_limits): New function.
3817 (inline_forbidden_p, c_cannot_inline_tree_fn): Likewise.
3818 (c_post_options): Enable tree inlining if inlining is enabled.
3819 Don't inline trees when instrumenting functions.
3820 (c_init): Initialize lang_disregard_inline_limits and
3821 lang_cannot_inline_tree_fn.
3822 * tree-inline.c (initialize_inlined_parameters): Handle calls
3823 with fewer arguments than declared parameters, and fewer
3824 parameters than passed arguments. Don't assume value is a
3826 (declare_return_variable): Convert return value back to the
3827 original type, if it was promoted.
3828 (tree_inlinable_function_p): New function.
3829 (inlinable_function_p): Don't look at DECL_INLINE if we're
3830 inlining all functions. Make it work with a NULL id.
3831 Re-check DECL_UNINLINABLE after language-specific checks.
3832 * tree-inline.h (tree_inlinable_function_p): Declare it.
3833 * integrate.c (save_for_inline): Don't bother to prepare argvec
3835 * cse.c (check_for_label_ref): Don't check deleted labels.
3837 * Makefile.in (tree-inline.o): Depend on newly-included headers.
3838 * tree-inline.c: Include headers needed for the functions moved in.
3839 (struct inline_data, INSNS_PER_STMT): Moved from cp/optimize.c.
3840 (remap_decl, remap_block, copy_scopy_stmt, copy_body_r): Likewise.
3841 (copy_body, initialize_inlined_parameters): Likewise.
3842 (declare_return_variable, inlinable_function_p): Likewise.
3843 (expand_call_inline, expand_calls_inline): Likewise.
3844 (optimize_inline_calls, clone_body): Likewise.
3845 (walk_tree, walk_tree_without_duplicates): Moved from cp/tree.c.
3846 (copy_tree_r, remap_save_expr): Likewise.
3848 2001-10-04 Alexandre Oliva <aoliva@redhat.com>
3850 * Makefile.in (OBJS): Added tree-inline.o.
3851 (c-common.o): Depend on tree-inline.h.
3852 (tree-inline.o): New target.
3853 * c-common.c: Include tree-inline.h.
3854 (c_mark_lang_decl): Don't mark saved_tree.
3855 (c_common_lang_init): Set lang_anon_aggr_type_p.
3856 * c-common.h (walk_tree_fn, DECL_SAVED_TREE): Moved to tree.h.
3857 (struct c_lang_decl): Moved saved_tree to tree_decl.
3858 * ggc-common.c: Mark saved_tree and inlined_fns of FUNCTION_DECLs.
3859 * integrate.h (function_attribute_inlinable_p): Declare it.
3860 * integrate.c (function_attribute_inlinable_p): Export it.
3861 * tree-inline.c: New file. Define variables declared in...
3862 * tree-inline.h: New file. Declare functions to be moved to
3863 tree-inline.c. Define macros and declare types and hooks for
3864 language-specific tree inlining.
3865 (flag_inline_trees): Moved definition from cp/decl2.c.
3866 * tree.h (walk_tree_fn, DECL_SAVED_TREE): Moved from c-common.h.
3867 (TREE_READONLY_DECL_P, DECL_INLINED_FNS): Moved from cp/cp-tree.h.
3868 (struct tree_decl): Moved saved_tree from c_lang_decl and
3869 inlined_fns from C++'s lang_decl.
3871 2001-10-04 Loren J. Rittle <ljrittle@acm.org>
3873 * Makefile.in (STAGE2_FLAGS_TO_PASS): Remove patches which
3874 propagated HOST_CC, HOST_CFLAGS, HOST_LDFLAGS and HOST_CPPFLAGS.
3876 2001-10-04 Neil Booth <neil@daikokuya.demon.co.uk>
3878 * doc/cppinternals.texi: Update.
3880 2001-10-04 Eric Christopher <echristo@redhat.com>
3882 * config/mips/mips.c (init_cumulative_args): Remember to set
3884 * config.gcc: Redo linux configuration. Add target_cpu_default
3885 of soft-float to all mipsisa32 combinations and tx39.
3886 * config/mips/linux.h: Remove include of mips.h.
3888 2001-10-03 Loren J. Rittle <ljrittle@acm.org>
3890 * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CFLAGS,
3891 HOST_LDFLAGS and HOST_CPPFLAGS.
3893 2001-10-03 Ziemowit Laski <zlaski@apple.com>
3895 * c-parse.in (objc_inherit_code, objc_pq_context,
3896 objc_public_flag): Make static.
3897 (objc_interface_context, objc_implementation_context,
3898 objc_method_context, objc_ivar_chain, objc_ivar_context): Move to
3899 global tree array in objc/objc-act.[ch].
3900 (methoddef): Remove unnecessary code.
3902 * objc/objc-act.c: (hashed_attribute, hashed_entry, imp_entry):
3903 Hoist struct definitions to objc-act.h.
3904 (nst_method_hash_list, cls_method_hash_list, imp_list, imp_count,
3905 cat_count): Place declaration in objc-act.h.
3906 (objc_tree_index): Move enumeration to objc-act.h.
3907 (objc_global_trees): Place declaration and macro accessors in
3909 (implementation_context): Remove duplicate; use
3910 objc_implementation_context instead:
3911 (method_context): Remove duplicate; use objc_method_context
3913 (objc_ellipsis_node, objc_method_prototype_template,
3914 implemented_classes, function_type): Move global vars to
3916 (init_objc): Use LAST_BASE_TREE_CODE instead of LAST_CODE.
3917 (build_message_expr): Move actual construction of ObjC message
3918 send nodes to finish_message_expr.
3919 (finish_message_expr): New routine, contains code formerly in
3921 * objc/objc-act.h (finish_message_expr): New prototype.
3922 (objc_ivar_chain, objc_method_context, objc_ellipsis_node): Remove
3923 declarations; these vars are now part of objc_global_trees.
3924 (objc_tree_index, objc_global_trees): Move definitions from
3926 * objc/objc-tree.def: Update copyright info.
3928 Wed Oct 3 12:22:11 EDT 2001 John Wehle (john@feith.com)
3930 * dwarf2asm.c (unaligned_integer_asm_op): Abort if
3932 * sparc/sysv4.h (UNALIGNED_DOUBLE_INT_ASM_OP): Use
3933 only if TARGET_ARCH64.
3935 2001-10-02 Bernd Schmidt <bernds@redhat.com>
3937 * doc/extend.texi: Fix some problems with previous checkin.
3938 * doc/invoke.texi: Likewise.
3940 2001-10-02 Neil Booth <neil@daikokuya.demon.co.uk>
3942 * cpphash.h: Update comments.
3943 (cpp_context): Update.
3944 (spec_nodes): Remove n__Pragma.
3945 * cppinit.c (cpp_create_reader): Update.
3946 (builtin_array): Add _Pragma.
3947 * cpplib.h: Update comments.
3948 (NODE_DISABLED, BT_PRAGMA): New.
3949 (cpp_start_lookahead, cpp_stop_lookahead): Remove prototypes.
3950 * cppmacro.c (struct cpp_macro): Remove disabled.
3951 (builtin_macro): Return int, handle _Pragma, push the new token
3952 on the context stack.
3953 (funlike_invocation_p): Unconstify, update.
3954 (enter_macro_context): Handle builtins here.
3955 (replace_args, push_token_context, push_ptoken_context):
3956 Update for prototype changes.
3957 (_cpp_pop_context): Update.
3958 (cpp_get_token): Don't handle buitins, nor _Pragma here.
3959 (cpp_sys_macro_p): Update.
3960 (_cpp_free_definition): Clear disabled flag.
3961 (_cpp_create_definition): Upate.
3962 * cppmain.c: Update comments.
3964 Tue Oct 2 12:46:01 CEST 2001 Bo Thorsen <bo@suse.co.uk>,
3965 Andreas Jaeger <aj@suse.de>,
3966 Jan Hubicka <jh@suse.cz>
3968 * doc/invoke.texi (i386 Options): Document x86-64 options.
3969 (i386 and x86-64 Options): Rename i386 options section.
3971 * config/i386/i386.h (TARGET_UNWIND_INFO): New.
3972 (TARGET_SWITCHES): Add -munwind-info.
3973 (MASK_NO_UNWIND_INFO): New.
3974 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define for
3976 (ASM_OUTPUT_DOUBLE_INT): New.
3978 * config/i386/linux64.h: New spec file for Linux x86-64 support.
3979 * config.gcc: Fix tm_file settings for x86-64.
3980 * config/i386/x86-64.h: New file with OS independent x86-64
3982 * config/i386/biarch64.h: New file used to configure compiler
3983 to biarch/64bit compilation.
3985 * config/i386/i386.c: (override_options): Set flags default
3986 for 64bit compilation.
3988 Tue Oct 2 12:46:01 CEST 2001 Jan Hubicka <jh@suse.cz>
3990 * i386.c (legitimize_pic_address): Add missing bits of 64bit support.
3991 (ix86_expand_int_movcc): Optimize DImode conditional moves with
3992 constants on x86_64.
3993 (ix86_attr_length_immediate_default): Support MODE_DI.
3994 * i386.md (fixdi splitter): Add missing "&& 1" in splitter
3996 (indirect_jump, tablejump): Turn into expander.
3998 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
4000 * c-common.c (c_format_attribute_table): Make format and
4001 format_arg attributes apply to function types rather than to
4003 (is_valid_printf_arglist): Construct an attribute list and pass
4004 that to check_function_format rather than a name.
4005 * c-common.h (check_function_format): Adjust prototype.
4006 * c-decl.c (duplicate_decls): Preserve attributes from type of
4007 built-in decl when allowing for harmless conflict in types.
4008 * c-format.c (record_function_format,
4009 record_international_format, function_format_list,
4010 international_format_info, international_format_list): Remove.
4011 (function_format_info): Remove next, name and assembler_name.
4012 Make format_num and first_arg_num be unsigned HOST_WIDE_INT.
4013 (decode_format_attr): New.
4014 (handle_format_attribute): Handle receiving a type rather than a
4015 decl. Call decode_format_attr. Store format information in a
4016 function_format_info.
4017 (handle_format_arg_attribute): Correct comment. Handle receiving
4018 a type rather than a decl. Use unsigned HOST_WIDE_INT for
4020 (check_format_info_recurse, check_format_info_main): Take argument
4021 numbers as unsigned HOST_WIDE_INT.
4022 (check_function_format): Take a list of attributes from the
4023 function type rather than a name or assembler name. Check for
4024 format attributes in that list and the attributes on the type of
4025 the current function rather than looking through
4026 function_format_list.
4027 (check_format_info): Use unsigned HOST_WIDE_INT for argument
4029 (check_format_info_recurse): Take format_arg attributes from the
4030 type of the function calls rather than using
4031 international_format_list. Allow for multiple format_arg
4033 * c-typeck.c (build_function_call): Pass type attributes to
4034 check_function_format rather than name or assembler name. Don't
4035 require there to be a name or assembler name to check formats.
4037 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
4039 * attribs.c (decl_attributes): Possibly call
4040 insert_default_attributes to insert default attributes on
4041 functions in a lazy manner.
4042 * builtin-attrs.def: New file; define the default format and
4043 format_arg attributes.
4044 * c-common.c (c_format_attribute_table): Move to earlier in the
4046 (c_common_nodes_and_builtins): Initialize format_attribute_table.
4047 (enum built_in_attribute, built_in_attributes,
4048 c_attrs_initialized, c_init_attributes,
4049 c_common_insert_default_attributes): New.
4050 (c_common_lang_init): Don't initialize format_attribute_table. Do
4051 call c_init_attributes.
4052 * Makefile.in (c-common.o): Depend on builtin-attrs.def.
4053 * c-common.h (init_function_format_info): Don't declare.
4054 (c_common_insert_default_attributes): Declare.
4055 * c-decl.c (implicitly_declare, builtin_function): Call
4057 (init_decl_processing): Don't call init_function_format_info.
4058 (insert_default_attributes): New.
4059 * c-format.c (handle_format_attribute,
4060 handle_format_arg_attribute): Be quiet about inappropriate
4061 declaration when applying default attributes.
4062 (init_function_format_info): Remove.
4063 * tree.h (enum attribute_flags): Add ATTR_FLAG_BUILT_IN.
4064 (insert_default_attributes): Declare.
4066 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
4068 * c-format.c (CPLUSPLUS_STD_VER): Define to STD_C94.
4070 2001-10-01 Jim Wilson <wilson@redhat.com>
4072 * sched-deps.c (add_dependence): When elide conditional dependence,
4073 check that insn doesn't modify cond2.
4075 2001-10-01 Dale Johannesen <dalej@apple.com>
4077 * config/rs6000/rs6000.h (enum processor_type): Add support
4078 for 7400 (G4) and 7450.
4080 * config/rs6000/rs6000.c (rs6000_override_options): Ditto.
4081 (rs6000_issue_rate): Ditto.
4082 (rs6000_adjust_cost): Fix cycle counts for compares.
4083 (debug_stack_info): Fix an obvious typo.
4084 * config/rs6000/rs6000.md: Add functional units for 7400 and 7450.
4085 * doc/invoke.texi: Document.
4086 * config/rs6000/darwin.h (TARGET_DEFAULT): Set to be reasonable
4088 (PROCESSOR_DEFAULT): Ditto.
4090 2001-10-01 Loren J. Rittle <ljrittle@acm.org>
4092 * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CC.
4093 (fixinc.sh): Map CC, CFLAGS and LDFLAGS to HOST_* versions for
4094 later recursive make invocation.
4096 2001-10-01 Hans Boehm <boehm@acm.org>
4098 * optabs.c (emit_libcall_block): When using non-call exceptions,
4099 don't add REG_LIBCALL reg notes to trapping calls.
4101 2001-10-01 David Billinghurst <David.Billinghurst@riotinto.com>
4103 * flow.c (propagate_block_delete_libcall): Remove unused first arg
4104 (propagate_one_insn): Update for above change
4106 2001-10-01 David Billinghurst <David.Billinghurst@riotinto.com>
4108 * unwind-sjlj.c (_Unwind_GetRegionStart, _Unwind_GetDataRelBase,
4109 _Unwind_GetTextRelBase): Argument is unused.
4111 Mon Oct 1 19:20:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4113 * alias.c (get_alias_set): Try to replace PLACEHOLDER_EXPR.
4114 Loop through NOPs, placeholders, and components.
4115 Don't go through NOPs if change mode.
4116 (record_alias_subset): Do nothing if SUBSET and SET are the same.
4117 * emit-rtl.c (set_mem_alias_set): Enable check.
4118 * expr.c (find_placeholder): New function.
4119 (expand_expr, case PLACEHOLDER_EXPR): Use it.
4120 (expand_expr, case COMPONENT_EXPR): Always copy OP0 when we need
4121 to modify it and avoid unneeded copies.
4122 * expr.h (expand_expr): Always define.
4123 (find_placeholder): New declaration.
4125 2001-10-01 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4127 * config/m68hc11/m68hc11.md ("add-split"): Fix add split when
4128 operand 2 is the stack pointer.
4129 ("addr-peephole"): Fix address computation peephole when operand 2
4130 is the stack pointer.
4132 Mon Oct 1 09:26:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4134 * config/i386/i386.c (ix86_va_arg): Call set_mem_alias_set.
4135 (ix86_setup_incoming_varargs): Likewise.
4137 2001-10-01 Jason Merrill <jason_merrill@redhat.com>
4139 * stor-layout.c (layout_type): Don't complain about too-large
4142 Mon Oct 1 06:43:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4144 * function.c (keep_stack_depressed): Don't use delete_insn.
4146 * expr.h (set_mem_alias_set): Move decl to here.
4147 * rtl.h (mem_attrs): New typedef and struct.
4148 (union rtunion_def): Add field for mem_attrs.
4149 (X0MEMATTR, MEM_ATTRS): New macros.
4150 (MEM_ALIAS_SET): Use MEM_ATTRS.
4151 (MEM_DECL, MEM_OFFSET, MEM_SIZE, MEM_ALIGN): New macros.
4152 (MEM_COPY_ATTRIBUTES): Copy MEM_ATTRS.
4153 (set_mem_alias_set): Delete decl from here.
4155 * alias.c (set_mem_alias_set): Delete from here.
4156 * emit-rtl.c (mem_attrs_htab): New variable.
4157 (rtx_htab_mark, rtx_htab_mark_1): Deleted.
4158 (mem_attrs_htab_hash, mem_attrs_htab_eq): New functions.
4159 (mem_attrs_mark, get_mem_attrs): Likewise.
4160 (gen_rtx_MEM): Clear MEM_ATTRS.
4161 (set_mem_attributes): Move to here.
4162 (set_mem_alias_set): Likewise, and call get_mem_attrs.
4163 (init_emit_once): const_int_htab now deletable htab.
4164 Initialize mem_attrs_htab.
4165 * explow.c (set_mem_attributes): Delete from here.
4166 * function.c (put_var_into_stack): Clear MEM_ATTRS.
4167 (gen_mem_addressof): Likewise; rework to use set_mem_attributes.
4168 * ggc-common.c (ggc_mark_rtx_children, case MEM): New case.
4169 * reload1.c (reload): Rework changing REG to MEM.
4171 2001-09-30 H.J. Lu <hjl@gnu.org>
4173 * acconfig.h (PREFIX_INCLUDE_DIR): New variable.
4174 * config.in: Rebuild.
4176 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4178 * config/m68hc11/m68hc11.md ("cmpqi_1"): Fix constraints.
4179 ("tsthi_1"): Avoid allocation in register y.
4180 ("*movqi_68hc12"): Reorganize and fix constraints.
4181 ("zero_extendqisi2"): Prefer d over x and y for operand 1.
4182 ("addqi3"): Likewise.
4183 ("addhi3"): Fix constraints.
4184 ("*logicalhi3_zexthi"): Disparage soft registers.
4186 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4188 * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Fix move of sp
4191 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4193 * config/m68hc11/m68hc11.h(INCOMING_RETURN_ADDR_RTX): Remove so
4194 that we use setjmp/longjmp exceptions.
4196 2001-09-30 Neil Booth <neil@daikokuya.demon.co.uk>
4198 * cpphash.h (POOL_ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE,
4199 POOL_SIZE, POOL_ROOM, POOL_COMMIT, struct cpp_chunk,
4200 struct cpp_pool, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
4201 _cpp_pool_alloc, _cpp_next_chunk): Remove.
4202 (_cpp_extend_buff, BUFF_ROOM): Update.
4203 (_cpp_append_extend_buff): New.
4204 (struct cpp_reader): Remove macro_pool, add a_buff.
4205 * cppinit.c (cpp_create_reader): Initialize a_buff, instead of
4207 (cpp_destroy): Free a_buff instead of macro_pool.
4208 * cpplex.c (new_chunk, chunk_suitable, _cpp_next_chunk,
4209 new_chunk, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
4210 _cpp_pool_alloc, ): Remove.
4211 (parse_number, parse_string): Update use of _cpp_extend_buff.
4212 (_cpp_extend_buff): Update.
4213 (_cpp_append_extend_buff, cpp_aligned_alloc): New.
4214 * cpplib.c (glue_header_name, parse_answer):
4215 Update use of _cpp_extend_buff.
4216 (cpp_register_pragma, cpp_register_pragma_space): Use
4218 (do_assert, do_unassert): Check for EOL, update.
4219 * cppmacro.c (stringify_arg, collect_args): Update to use
4220 _cpp_extend_buff and _cpp_append_extend_buff.
4221 (save_parameter, parse_params, alloc_expansion_token,
4222 _cpp_create_definition): Rework memory management.
4224 2001-09-29 Andris Pavenis <pavenis@lanet.lv>
4226 * config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): Don't
4227 update md_exec_prefix.
4228 (UPDATE_PATH_HOST_CANONICALIZE): Don't free PATH as it can point
4231 2001-09-30 Ulrich Weigand <uweigand@de.ibm.com>
4233 * config/s390/s390.h (EXTRA_CC_MODES): Add CCLmode.
4234 (SELECT_CC_MODE): Use s390_select_ccmode.
4235 * config/s390/s390-protos.h (s390_select_ccmode): Add.
4236 * config/s390/s390.c (s390_select_ccmode): New.
4237 (s390_match_ccmode): Add CCLmode.
4238 (s390_branch_condition_mask, s390_branch_condition_mnemonic): New.
4239 (output_branch_condition, output_inverse_branch_condition): Removed.
4240 (print_operand): Use s390_branch_condition_mnemonic.
4241 * config/s390/s390.md (addsi3_cc, addsi3_cconly, addsi3_cconly2,
4242 subsi3_cc, subsi3_cconly): Use logical instructions and CCLmode.
4243 (bunordered, bordered, buneq, bungt, bunlt, bnuge, bunle, bltgt): New.
4245 * config/s390/s390.c (check_and_change_labels): Preserve CC mode
4246 when converting conditional branches to far branches.
4247 * config/s390/s390.md (cmpstr_const, cmpstr_64, cmpstr_31, cmpint_si,
4248 cmpint_di): Use CCSmode instead of CCUmode.
4250 * config/s390/s390.c (legitimate_la_operand_p): New.
4251 * config/s390/s390-protos.h (legitimate_la_operand_p): Add.
4252 * config/s390/s390.md (movsi): Convert load address patterns to
4253 arithmetic operations when necessary.
4254 (addaddr_picR, addaddr_picL, addaddr_picN): Removed.
4255 (do_la): Renamed to *do_la and use legitimate_la_operand_p.
4256 (*do_la_reg_0): Don't use before reload.
4258 * config/s390/s390.c (legitimize_address): Make more efficient
4259 use of two-register addressing mode.
4261 * config/s390/s390.c (s390_function_prologue): Fix incorrect prolog
4262 with -mno-backchain in some corner cases.
4264 * config/s390/s390.md (cmpsi_cct): Operands 0 and 1 do not commute.
4266 2001-09-29 Alexandre Oliva <aoliva@redhat.com>
4268 * reload.c (find_reloads): Mark new USE insns with QImode.
4269 (find_reloads_toplev, find_reloads_address, subst_reg_equivs,
4270 find_reloads_subreg_address): Likewise.
4271 * regrename.c (note_sets, clear_dead_regs): Abort if pseudos are
4273 * reload1.c (reload_combine_note_use): Likewise, inside USEs and
4275 (reload): Make sure there are no USEs with mode other than
4276 VOIDmode. At the end, remove those marked with QImode.
4278 2001-09-29 Per Bothner <per@bothner.com>
4280 * cppdefault.c (cpp_include_defaults): Also search PREFIX_INCLUDE_DIR.
4281 * Makefile.in (includedir): Rename to local_includedir.
4282 (includedir): Define as $(prefix)/include.
4283 * config.in (PREFIX_INCLUDE_DIR): New variable.
4284 * configure.in (PREFIX_INCLUDE_DIR): Test for new variable.
4286 2001-09-29 Bernd Schmidt <bernds@redhat.com>
4288 * config/i386/i386.c (init_mmx_sse_builtins): Fix type of storelps and
4290 * doc/extend.texi (Vector Extensions): New node.
4291 * doc/invoke.texi (Machine Dependent Options): Add documentation for
4292 i386 -mmmx, -msse, -m3dnow.
4294 Sat Sep 29 15:08:16 CEST 2001 Jan Hubicka <jh@suse.cz>
4296 * doc/invoke.texi (Optimize Options): Revert an accidental checkin.
4298 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
4300 * cse.c (cse_insn) [HAVE_cc0]: Fix typo delete-insn -> delete_insn.
4302 * doc/invoke.texi (Optimize Options): Delete spurious @table.
4304 2001-09-28 Richard Henderson <rth@redhat.com>
4306 * varasm.c (assemble_integer): Bound alignment check by
4309 * cfgrtl.c (redirect_edge_and_branch): Abort if redirect_jump fails.
4311 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4313 * config/i386/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
4315 2001-09-25 Bernd Schmidt <bernds@redhat.com>
4317 Mostly from Graham Stott <grahams@redhat.com>
4318 * c-common.c (type_for_mode): Add support for V2SFmode.
4319 * tree.c (build_common_tree_nodes_2): Likewise.
4320 * tree.h (enum tree_index, global_trees): Likewise.
4321 * config/i386/i386.c (x86_3dnow_a): New variable.
4322 (override_options): Support 3Dnow extensions.
4323 (bdesc_2arg, bdesc_1arg): Some SSE instructions are also part of
4324 Athlon's version of 3Dnow.
4325 (ix86_init_mmx_sse_builtins): Create 3Dnow builtins.
4326 (ix86_expand_builtin): Handle them.
4327 (ix86_hard_regno_mode_ok): Support V2SFmode if using 3Dnow.
4328 * config/i386/i386.h (MASK_3DNOW, MASK_3DNOW_A, TARGET_3DNOW,
4329 TARGET_3DNOW_A): New macros.
4330 (TARGET_SWITCHES): Add 3Dnow switches.
4331 (VALID_MMX_REG_MODE_3DNOW): New macro.
4332 (VECTOR_MODE_SUPPORTED_P): Use it.
4333 (enum ix86_builtins): Add entries for 3Dnow builtins.
4334 * config/i386/i386.md (movv2sf_internal, movv2sf, pushv2sf, pf2id,
4335 pf2iw, addv2sf3, subv2sf3, subrv2sf3, gtv2sf3, gev2sf3, eqv2sf3,
4336 pfmaxv23sf3, pfminv2sf3, mulv2sf3, femms, prefetch_3dnow, prefetchw,
4337 pfacc, pfnacc, pfpnacc, pi2fw, floatv2si2, pavgusb, pfrcpv2sf2,
4338 pfrcpit1v2sf3, pfrcpit2v2sf3, pfrsqrtv2sf2, pfrsqit1v2sf3,
4339 pmulhrwvhi3, pswapdv2si2, pswapdv2sf2): New patterns.
4340 (mmx_pmovmskb, mmx_maskmovq, sse_movntdi, umulv4hi3_highpart,
4341 mmx_uavgv8qi3, mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw,
4342 mmx_pshufw, umaxv8qi3, smaxv4hi3, uminv8qi3, sminv4hi3, sfence,
4343 sfence_insn, prefetch): Make these available if TARGET_SSE or
4346 Fri Sep 28 19:18:40 CEST 2001 Jan Hubicka <jh@suse.cz>
4348 * i386-protos.h (ix86_setup_incoming_varargs, ix86_va_arg,
4349 ix86_va_start, ix86_build_va_list): Declare.
4350 * i386.c (ix86_setup_incoming_varargs, ix86_va_arg,
4351 ix86_va_start, ix86_build_va_list): New global functions.
4352 * i386.md (sse_prologue_save_insn): New insn.
4353 (sse_prologue_save): New expander.
4354 * i386.h (EXPAND_BUILTIN_VA_ARG, EXPAND_BUILTIN_VA_START,
4355 BUILD_VA_LIST_TYPE, SETUP_INCOMING_VARARGS): New macros.
4357 2001-09-28 Neil Booth <neil@daikokuya.demon.co.uk>
4359 * cpplex.c (new_buff, _cpp_get_buff, _cpp_extend_buff):
4360 Use size_t everywhere, make definitions consistent with
4363 Fri Sep 28 14:59:34 CEST 2001 Jan Hubicka <jh@suse.cz>
4365 * gcse.c (replace_store_insn): Use delete_insn.
4366 * loop.c (move_movables): Likewise; avoid delete_insn
4367 from clobbering notes moved elsewhere.
4368 (check_dbra_loop): Use delete_insn.
4369 * ssa.c (convert_from_ssa): Likewise.
4370 * cse.c (cse_insn): Use delete_insn.
4372 2001-09-28 Neil Booth <neil@daikokuya.demon.co.uk>
4374 * cpphash.h (struct cpp_buff): Make unsigned.
4375 (_cpp_get_buff): Take length of size_t.
4376 (_cpp_unaligned_alloc): New.
4377 (BUFF_ROOM, BUFF_FRONT, BUFF_LIMIT): New.
4378 (struct cpp_reader): Remove ident_pool. Add u_buff.
4379 * cppinit.c (cpp_create_reader): Initialize u_buff, not ident_pool.
4380 (cpp_destroy): Destroy u_buff, not ident_pool.
4381 * cpplex.c (parse_number, parse_string, save_comment,
4382 cpp_token_as_text): Update to use the unaligned buffer.
4383 (new_buff): Make unsigned.
4384 (_cpp_unaligned_alloc): New.
4385 * cpplib.c (glue_header_name): Update to use the unaligned buffer.
4386 * cppmacro.c (new_number_token, builtin_macro, stringify_arg):
4388 (collect_args): Make unsigned.
4390 2001-09-27 Zack Weinberg <zack@codesourcery.com>
4392 * cpplex.c (cpp_output_token): Use a putc loop for
4393 SPELL_OPERATOR, and fwrite for SPELL_IDENT.
4395 * configure.in: Detect fwrite_unlocked and fprintf_unlocked.
4396 * configure, config.in: Regenerate.
4397 * system.h: Replace fwrite and fprintf with their unlocked
4398 variants if available.
4400 2001-09-27 Richard Henderson <rth@redhat.com>
4402 * dwarf2out.c (dwarf2out_frame_finish): Never elide .debug_frame
4403 in favour of .eh_frame.
4405 2001-09-27 Aldy Hernandez <aldyh@redhat.com>
4407 * config/rs6000/rs6000.h (FUNCTION_VALUE): Change hardcoded 33 and 3
4409 (LIBCALL_VALUE): Likewise.
4411 2001-09-27 Neil Booth <neil@daikokuya.demon.co.uk>
4413 * cpphash.h: Update comment.
4414 * cpplex.c: Update comments.
4415 (_cpp_can_paste): Remove.
4416 * cpplib.h (_cpp_can_paste): Remove.
4417 * cppmacro.c (paste_tokens, paste_all_tokens): Update to use the
4418 lexer rather than _cpp_can_paste.
4420 2001-09-27 Neil Booth <neil@daikokuya.demon.co.uk>
4422 * doc/cppinternals.texi: Update.
4424 2001-09-26 Neil Booth <neil@daikokuya.demon.co.uk>
4426 * cpphash.h (struct cpp_pool): Remove locks and locked.
4427 (struct cpp_context): Add member buff.
4428 (struct cpp_reader): Remove member argument_pool.
4429 (_cpp_lock_pool, _cpp_unlock_pool): Remove.
4430 * cppinit.c (cpp_create_reader, cpp_destroy): Argument_pool is dead.
4431 * cpplex.c (chunk_suitable): Remove pool argument.
4432 (MIN_BUFF_SIZE, BUFF_SIZE_UPPER_BOUND, EXTENDED_BUFF_SIZE): New.
4433 (new_buff, _cpp_extend_buff): Update.
4434 (_cpp_get_buff): Fix silly pointer bug. Be more selective about
4435 which buffer is returned.
4436 (_cpp_next_chunk, _cpp_init_pool): Pool locking removed.
4437 (_cpp_lock_pool, _cpp_unlock_pool): Remove.
4438 * cppmacro.c (lock_pools, unlock_pools): Remove.
4439 (push_ptoken_context): Take a _cpp_buff.
4440 (enter_macro_context): Pool locking removed.
4441 (replace_args): Use a _cpp_buff for the replacement list with
4443 (push_token_context): Clear buff.
4444 (expand_arg): Use _cpp_pop_context.
4445 (_cpp_pop_context): Free a context's buffer, if any.
4447 2001-09-26 DJ Delorie <dj@redhat.com>
4449 * c-typeck.c (digest_init): Check for sizeless arrays.
4451 2001-09-26 Richard Henderson <rth@redhat.com>
4453 * optabs.c (init_one_libfunc): Create a dummy function type
4454 instead of using error_mark_node.
4456 2001-09-26 Neil Booth <neil@daikokuya.demon.co.uk>
4458 * cpphash.h (struct _cpp_buff, _cpp_get_buff, _cpp_release_buff,
4459 _cpp_extend_buff, _cpp_free_buff): New.
4460 (struct cpp_reader): New member free_buffs.
4461 * cppinit.c (cpp_destroy): Free buffers.
4462 * cpplex.c (new_buff, _cpp_release_buff, _cpp_get_buff,
4463 _cpp_extend_buff, _cpp_free_buff): New.
4464 * cpplib.h (struct cpp_options): Remove unused member.
4465 * cppmacro.c (collect_args): New. Combines the old parse_arg
4466 and parse_args. Use _cpp_buff for memory allocation.
4467 (funlike_invocation_p, replace_args): Update.
4469 Wed Sep 26 13:20:51 CEST 2001 Jan Hubicka <jh@suse.cz>
4471 * final.c (final_scan_insn): Use delete_insn instead of delete_note.
4473 2001-09-25 Andrew Haley <aph@cambridge.redhat.com>
4475 * except.c (sjlj_mark_call_sites): Change address inside sequence.
4477 2001-09-24 Andrew Haley <aph@cambridge.redhat.com>
4479 * config/sh/linux.h (LINK_SPEC): Set dynamic-linker to agree with
4482 2001-09-25 Janis Johnson <janis187@us.ibm.com>
4483 Jim Wilson <wilson@redhat.com>
4485 * doc/install.texi (Specific, ia64-*-linux): Document.
4487 Tue Sep 25 17:13:56 CEST 2001 Jan Hubicka <jh@suse.cz>
4489 * Makefile.in (cfgrtl.o): Add.
4490 * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
4491 free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
4492 free_aux_for_edge): Declare.
4494 (HAVE_return): Undefine.
4495 * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
4496 free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
4497 free_aux_for_edge): New global functions.
4498 (first_delete_block): New static variable.
4499 (init_flow): Clear first_delete_block.
4500 (basic_block_for_insn, label_value_list, tail_recursion_label_list,
4501 can_delete_note_p, can_delete_label_p, commit_one_edge_insertion,
4502 try_redirect_by_replacing_jump, last_loop_beg_note,
4503 back_edge_of_syntactic_loop_p, force_nonfallthru_and_redirect,
4504 delete_insn, delete_insn_chain, create_basic_block_structure,
4505 create_basic_block, flow_delete_block, compute_bb_for_insn,
4506 free_bb_for_insn, update_bb_for_insn, set_block_for_insn,
4507 set_block_for_new_insns, split_block, merge_blocks_nomove,
4508 block_label, try_redirect_by_replacing_jump, last_loop_beg_note,
4509 redirect_edge_and_branch, force_nonfallthru_and_redirect,
4510 force_nonfallthru, redirect_edge_and_branch_force, tidy_fallthru_edge,
4511 tidy_fallthru_edges, split_edge, insert_insn_on_edge,
4512 commit_one_edge_insertion, commit_edge_insertions, dump_bb, debug_bb,
4513 debug_bb_n, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
4514 purge_all_dead_edges): Move to ....
4515 * cfgrtl.c: New file; .... Here.
4517 * bb-reorder.c (fixup_reorder_chain): Use alloc_aux_for_block.
4518 (reroder_basic_block): Use alloc_aux_for_blocks.
4519 * predict.c (estimate_bb_frequencies): Likewise; use
4520 alloc_aux_for_edges.
4521 * profile.c (compute_branch_probabilities): Likewise.
4522 (branch_prob): Likewise.
4523 * reg-stack.c (reg_to_stack): Likewise.
4525 * emit-rtl.c (emit_insns_after): Never return NULL.
4527 * basic-block.h (set_block_for_new_insns): Delete.
4528 * cfgrtl.c (set_block_for_new_insns): Delete.
4530 * cfgcleanup.c (try_optimize_cfg): Add fake exit edges for noreturn
4531 calls when crossjumping.
4533 * cfgcleanup.c (try_simplify_condjump): Cleanup invert_jump call.
4534 * unroll.c (copy_loop_body): Use delete_insn.
4536 * final.c (final, final_scan_insn): Use delete_insn/delete_note.
4537 * function.c (fixup_var_refs_insn, fixup_var_refs_1,
4538 keep_stack_depressed): Likewise.
4539 * gcse.c (cprop_cc0_jump): Likewise.
4540 * local-alloc.c (update_equiv_regs): Likewise.
4541 * loop.c (scan_loop, loop_delete_insns): Likewise.
4542 * regmove.c (try_auto_increment, fixup_match_1): Likewise.
4543 * reload1.c (reload, calculate_needs_all_insns, reload_as_needed,
4544 delete_output_reload, delete_address_reloads_1,
4545 reload_cse_delete_noop_set, reload_combine, reload_cse_move2add):
4547 * sibcall.c (replace_call_placeholder): Likewise.
4548 * cse.c (cse_insn): Likewise.
4550 2001-09-25 Bernd Schmidt <bernds@redhat.com>
4552 From Graham Stott <grahams@redhat.com>
4553 (def_builtin): Only define builtins appropriate for target_flags. All
4555 (builtin_decsription): Add new field mask which is used to determine
4556 when to define the builtin via the macro def_builtin.
4558 (bdesc_comi): Initialise new mask fields.
4559 (bdesc_2srg): Likewise.
4560 (bdesc_1arg): Likewise.
4562 * config/i386/i386.c (ix86_init_builtins): Correct return type
4563 building v4hi_ftype_v4hi_int_int tree node.
4564 (ix86_expand_sse_comi): Fix typo swapping operands.
4565 Don't swap comparision condition, it is already swapped.
4566 (ix86_expand_sse_compare): Before swapping operands
4567 move operand 1 into new rtx and not the target rtx.
4568 Don't swap comparison condition, it is already swapped.
4569 Always check whether we need to create a new TARGET.
4571 * config/i386/i386.md: (sse_comi) Fix typos.
4572 (sse_ucomi): Likewise.
4573 (cvtss2si): Fix operand 0 contraint.
4574 (cvttss2si): Likewise.
4575 (sse_unpckhps): Fix mode for operand 2.
4576 (sse_unpcklps): Likewise.
4578 2001-09-25 Graham Stott <grahams@redhat.com>
4580 * sibcall.c (skip_copy_to_return_value): Tighten return value
4583 2001-09-24 David Edelsohn <edelsohn@gnu.org>
4585 * rs6000.c (lwa_operand): Address must be word aligned.
4587 Mon Sep 24 18:57:59 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4589 * tree.c (type_hash_marked_p): Consider as marked if debug symbol
4590 number has been set.
4591 (type_hash_mark): Mark type itself.
4593 2001-09-24 Neil Booth <neil@daikokuya.demon.co.uk>
4595 * c-lex.c (cb_def_pragma): Update.
4596 (c_lex): Update, and skip padding.
4597 * cppexp.c (lex, parse_defined): Update, remove unused variable.
4598 * cpphash.h (struct toklist): Delete.
4599 (union utoken): New.
4600 (struct cpp_context): Update.
4601 (struct cpp_reader): New members eof, avoid_paste.
4602 (_cpp_temp_token): New.
4603 * cppinit.c (cpp_create_reader): Update.
4604 * cpplex.c (_cpp_temp_token): New.
4605 (_cpp_lex_direct): Add PREV_WHITE when parsing args.
4606 (cpp_output_token): Don't print leading whitespace.
4607 (cpp_output_line): Update.
4608 * cpplib.c (glue_header_name, parse_include, get__Pragma_string,
4609 do_include_common, do_line, do_ident, do_pragma,
4610 do_pragma_dependency, _cpp_do__Pragma, parse_answer,
4611 parse_assertion): Update.
4612 (get_token_no_padding): New.
4613 * cpplib.h (CPP_PADDING): New.
4614 (AVOID_LPASTE): Delete.
4615 (struct cpp_token): New union member source.
4616 (cpp_get_token): Update.
4617 * cppmacro.c (macro_arg): Convert to use pointers to const tokens.
4618 (builtin_macro, paste_all_tokens, paste_tokens, funlike_invocation_p,
4619 replace_args, quote_string, stringify_arg, parse_arg, next_context,
4620 enter_macro_context, expand_arg, _cpp_pop_context, cpp_scan_nooutput,
4621 _cpp_backup_tokens, _cpp_create_definition): Update.
4622 (push_arg_context): Delete.
4623 (padding_token, push_token_context, push_ptoken_context): New.
4624 (make_string_token, make_number_token): Update, rename.
4625 (cpp_get_token): Update to handle tokens as pointers to const,
4626 and insert padding appropriately.
4627 * cppmain.c (struct printer): New member prev.
4628 (check_multiline_token): Constify.
4629 (do_preprocessing, cb_line_change): Update.
4630 (scan_translation_unit): Update to handle spacing.
4631 * scan-decls.c (get_a_token): New.
4632 (skip_to_closing_brace, scan_decls): Update.
4633 * fix-header.c (read_scan_file): Update.
4635 * doc/cpp.texi: Update.
4637 2001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4639 * c-aux-info.c (affix_data_type): Use ATTRIBUTE_MALLOC. Avoid
4640 leak by passing malloc'ed pointer to reconcat, not concat.
4642 2001-09-24 DJ Delorie <dj@redhat.com>
4644 * varasm.c (array_size_for_constructor): Handle STRING_CSTs also.
4646 2001-09-24 Ulrich Weigand <uweigand@de.ibm.com>:
4648 * flow.c (delete_dead_jumptables): Delete jumptable if the only
4649 reference is from the literal pool.
4651 2001-09-24 Janis Johnson <janis187@us.ibm.com>
4653 * doc/install.texi (Final install): Request additional information
4654 in mail about successful builds.
4656 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
4658 * pa.c (return_addr_rtx): Return NULL_RTX if count is not zero. Use
4659 initial value of return pointer register instead of value in frame-20.
4662 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
4664 * som.h (ASM_OUTPUT_EXTERNAL): Improve formatting.
4665 (ASM_OUTPUT_EXTERNAL_LIBCALL): Only generate a .IMPORT statement for
4666 the libcall if there isn't a referenced identifier for the symbol.
4668 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
4670 * pa.h (TRAMPOLINE_TEMPLATE): Add two words to the template for
4671 non 64-bit machines. Use these as a plabel for the trampoline.
4672 (TRAMPOLINE_SIZE): Adjust size for new words.
4673 (INITIALIZE_TRAMPOLINE): Initialize new words.
4674 (TRAMPOLINE_ADJUST_ADDRESS): New. Adjust address to make it a
4675 pointer to the plabel in the trampoline.
4677 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
4679 * pa.c (function_arg): Pass floating arguments in both general and
4680 floating registers in indirect (dynamic) calls when generating code
4681 for the 32 bit ABI and the HP assembler.
4683 2001-09-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4685 * doc/install.texi: Markup fixes.
4686 Use Solaris 2, SunOS 4 as appropriate.
4687 (Specific, *-*-solaris2*): Explain this.
4688 Unconditionally warn against /usr/ucb tools.
4689 Remove Sun as warning, obsolete.
4690 Move X11 header bug workaround here, update patches.
4691 (Specific, sparc-sun-solaris2*): Detail Sun as fix status.
4692 (Specific, sparc-sun-solaris2.7): Update patch 106950 status.
4694 2001-09-23 Zack Weinberg <zack@codesourcery.com>
4696 * errors.h (warning, error, fatal, internal_error): Don't mark
4697 with ATTRIBUTE_PRINTF_n.
4698 * toplev.h (internal_error, fatal_io_error, warning, error,
4699 pedwarn, pedwarn_with_file_and_line, warning_with_file_and_line,
4700 error_with_file_and_line, sorry, error_for_asm, warning_for_asm):
4703 Sun Sep 23 18:19:48 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4705 * function.c (pop_function_context_from): var_refs_queue
4706 and temp slots now in GC memory.
4707 (mark_function_status, free_after_compilation): Likewise;
4708 also struct function now in GC memory.
4709 (assign_stack_temp_for_type): struct temp_slot now in GC memory.
4710 (combine_temp_slots): Likewise.
4711 (schedule_fixup_var_refs): var_refs_queue now in GC memory.
4712 (prepare_function_start): Use GC memory for struct function.
4713 (mark_temp_slot): Deleted.
4714 (gcc_mark_struct_function): struct function now in GC memory.
4716 * fold-const.c (extract_muldiv, case PLUS_EXPR): Only adjust
4717 code for division, not modulus.
4719 * rtl.def (MEM): Remove obsolete part of comment.
4721 2001-09-22 Joseph S. Myers <jsm28@cam.ac.uk>
4723 * c-format.c (init_function_format_info): Check __builtin_printf
4724 and __builtin_fprintf even if -ffreestanding. Check C99 functions
4727 Sat Sep 22 09:09:32 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4729 * c-common.c (format_attribute_table): Remove decl.
4730 * tree.h (format_attribute_table, lang_attribute_table): New decls.
4731 (lang_attribute_common): Likewise.
4733 * function.c (fix_lexical_address): Use set_mem_alias_set.
4734 (expand_function_start): Likewise.
4735 * config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Likewise.
4737 * varasm.c (output_constant): Fix unused variable warning.
4739 * attribs.c: New file, from c-common.c.
4740 (attribute_tables): Now four elements.
4741 (format_attribute_table, lang_attribute_common): New variables.
4742 (init_attributes): Reflect above changes.
4743 (handle_mode_attribute): Delete check for wider than uintmax.
4744 * c-common.c: Delete parts moved to attribs.c.
4745 (enum attrs): Deleted; unused.
4746 (c_format_attribute_table): New variable.
4747 (c_common_lang_init): Initialize format_attribute_table with it.
4748 * c-common.h (decl_attributes): Remove decl.
4749 * tree.h (decl_attribute): Move it to here.
4750 * Makefile.in (C_AND_OBJS_OBJS): Add attribs.o.
4751 (attribs.o): New rule.
4753 2001-09-22 Andreas Jaeger <aj@suse.de>
4755 * builtins.c (c_getstr): Remove unused variable.
4757 2001-09-21 Richard Henderson <rth@redhat.com>
4759 * reload1.c (reload): Use delete_insn instead of splatting
4762 2001-09-21 Richard Henderson <rth@redhat.com>
4764 * reload.c (push_secondary_reload): Don't check for "=" in output
4765 constraint after ""->ALL_REGS check.
4767 2001-09-21 Richard Henderson <rth@redhat.com>
4769 * predict.c (expected_value_to_br_prob): Use pc_set.
4771 * optabs.c (init_one_libfunc): Gen a FUNCTION_DECL for use by
4772 ENCODE_SECTION_INFO; get SYMBOL_REF from make_decl_rtl.
4774 2001-09-21 Richard Henderson <rth@redhat.com>
4776 * rtl.h (LCT_RETURNS_TWICE): New.
4777 * calls.c (emit_call_1): Set current_function_calls_setjmp for
4779 (emit_library_call_value_1): Map LCT_RETURNS_TWICE
4780 to ECF_RETURNS_TWICE.
4781 * except.c (sjlj_emit_function_enter): Use LCT_RETURNS_TWICE for
4784 * unwind-sjlj.c: Invent the setjmp.h declarations if inhibit_libc.
4786 * config/stormy16/stormy16.h (DONT_USE_BUILTIN_SETJMP): New.
4787 (JMP_BUF_SIZE): New.
4789 2001-09-21 Richard Henderson <rth@redhat.com>
4791 * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Map 'd'
4794 2001-09-21 Richard Henderson <rth@redhat.com>
4796 * tree.def (FDESC_EXPR): New.
4797 * expr.c (expand_expr): Handle it.
4798 * varasm.c (initializer_constant_valid_p): Likewise.
4799 (output_constant): Likewise.
4800 * defaults.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
4801 * config/ia64/ia64.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
4802 (ASM_OUTPUT_FDESC): New.
4803 * doc/tm.texi: Document the new macros.
4805 21-09-2001 Richard Earnshaw (reanrsha@arm.com)
4807 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Don't leave
4808 ADDR_VEC or ADDR_DIFF_VEC jump insns as part of the basic block
4809 once merging is complete.
4811 Fri Sep 21 11:20:12 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4813 * integrate.c (allocate_initial_values): Eliminate unused arg warning.
4815 21-09-2001 Richard Earnshaw (reanrsha@arm.com)
4817 * cfgcleanup.c (flow_find_cross_jump): Delete any REG_EQUAL notes
4818 that would be invalid after a merge.
4820 Fri Sep 21 14:24:29 CEST 2001 Jan Hubicka <jh@suse.cz>
4822 * basic-block.h (flow_delete_insn, flow_delete_insn_chain): Kill.
4823 * cfg.c (delete_insn): Rename from ....; use remove_insn; do not
4825 (flow_delete_insn): This one.
4826 (delete_insn_chain): Rename from ...; do not care labels.
4827 (flow_delete_insn_chain): ... this one.
4828 (flow_delete_block): Remove the insns one BB has been expunged.
4829 (merge_blocks_nomove): Likewise.
4830 (try_redirect_by_replacing_jump): Use delete_insn[_chain]; do not care
4831 updating BB boundaries.
4832 (tidy_fallthru_edge): Likewise.
4833 (commit_one_edge_insertion): Likewise.
4834 * cfgbuild.c (find_basic_block): Likewise.
4835 (find_basic_blocks_1): Likewise.
4836 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Likewise.
4837 (try_crossjump_to_edge): Likewise.
4838 (try_optimize_cfg): Likewise.
4839 * cse.c (delete_trivially_dead_insns): Likewise.
4840 * df.c (df_insn_delete): Likewise.
4841 * doloop.c (doloop_modify): Use delete_related_insns.
4842 * emit-rtl.c (try_split): Likewise.
4843 (remove_insn): Update BB boundaries.
4844 * expect.c (connect_post_landing_pads): Use delete_related_insns.
4845 * flow.c (delete_dead_jumptables): Use delete_insn[_chain]; do not care
4846 updating BB boundaries.
4847 (propagate_block_delete_insn): Likewise.
4848 (propagate_block_delete_libcall): Likewise.
4849 * function.c (delete_handlers): Use delete_related_insns.
4850 (thread_prologue_and_epilogue_insns): Likewise.
4851 * gcse.c (delete_null_pointer_checks): Use delete_related_insns.
4852 * genpeep.c (gen_peephole): Use delete_related_insns.
4853 * ifcvt.c (noce_process_if_block): Use delete_insn; do not care updating
4855 (find_cond_trap): Likewise.
4856 * integrate.c (save_for_inline): Use delete_related_insns.
4857 (copy_insn_list): Likewise.
4858 * jump.c (pruge_linie_number_notes): Likewise.
4859 (duplicate_loop_exit_test): Likewise.
4860 (delete_computation): Likewise.
4861 (delete_related_insn): Rename from ...; use delete_insn
4862 (delete_insn): ... this one.
4863 (redirect_jump): Use delete_related_insns.
4864 * loop.c (scan_loop): Likewise.
4865 (move_movables): Likewise.
4866 (find_and_verify_loops): Likewise.
4867 (check_dbra_loop): Likewise.
4868 * recog.c (peephole2_optimize): Likewise.
4869 * reg-stack.c (delete_insn_for_stacker): Remove.
4870 (move_for_stack_reg): Use delete_insn.
4871 * regmove.c (combine_stack_adjustments_for_block): Likewise.
4872 * reload1.c (delete_address_reloads): Use delete_related_insns.
4873 (fixup_abnormal_edges): Use delete_insn.
4874 * recog.c (emit_delay_sequence): Use delete_related_insns.
4875 (delete_from-delay_slot): Likewise.
4876 (delete_scheduled_jump): likewise.
4877 (optimize_skip): Likewise.
4878 (try_merge_delay_insns): Likewise.
4879 (full_simple_delay_slots): Likewise.
4880 (fill_slots_from_thread): Likewise.
4881 (relax_delay_slots): Likewise.
4882 (make_return_insns): Likewise.
4883 (dbr_schedule): Likewise.
4884 * rtl.h (delete_insn): Rename to delete_related_insns.
4885 (delete_insn, delete_insn_chain): New prototypes.
4886 * ssa-ccp (sse_fast_dce): Remove deleting of DEF, as it is done
4887 by df_insn_delete already.
4888 * ssa-dce.c (delete_insn_bb): Use delete_insn.
4889 * ssa.c (convert_from_ssa): Use delete_related_insns.
4890 * unroll.c (unroll_loop): Likewise.
4891 (calculate_giv_inc): Likewise.
4892 (copy_loop_body): Likewise.
4894 * i386-protos.h (ix86_libcall_value, ix86_function_value,
4895 ix86_function_arg_regno_p, ix86_function_arg_boundary,
4896 ix86_return_in_memory, ix86_function_value): Declare.
4897 * i386.c (x86_64_int_parameter_registers, x86_64_int_return_registers):
4898 new static valurables.
4899 (x86_64_reg_class): New enum
4900 (x86_64_reg_class_name): New array.
4901 (classify_argument, examine_argument, construct_container,
4902 merge_classes): New static functions.
4903 (optimization_options): Enable flag_omit_frame_pointer and disable
4904 flag_pcc_struct_return on 64bit.
4905 (ix86_libcall_value, ix86_function_value,
4906 ix86_function_arg_regno_p, ix86_function_arg_boundary,
4907 ix86_return_in_memory, ix86_function_value): New global functions.
4908 (init_cumulative_args): Refuse regparm on x86_64, set maybe_vaarg.
4909 (function_arg_advance): Handle x86_64 passing conventions.
4910 (function_arg): Likewise.
4911 * i386.h (FUNCTION_ARG_BOUNDARY): New macro.
4912 (RETURN_IN_MEMORY): Move offline.
4913 (FUNCTION_VALUE, LIBCALL_VALUE): Likewise.
4914 (FUNCTION_VALUE_REGNO_P): New macro.
4915 (FUNCTION_ARG_REGNO_P): Move offline.
4916 (struct ix86_args): Add maybe_vaarg.
4917 * next.h (FUNCTION_VALUE_REGNO_P): Delete.
4918 * unix.h (FUNCTION_VALUE_REGNO_P): Delete.
4920 2001-09-21 Hartmut Penner <hpenner@de.ibm.com>
4922 * s390.md: Changed attributes for scheduling.
4923 * s390.c: (s390_adjust_cost, s390_adjust_priority)
4926 2001-09-21 Joseph S. Myers <jsm28@cam.ac.uk>
4928 Table-driven attributes.
4929 * c-decl.c, config/alpha/alpha.c, config/arc/arc.c,
4930 config/arm/arm.c, config/arm/pe.c, config/avr/avr.c,
4931 config/avr/avr.h, config/d30v/d30v.h, config/fr30/fr30.h,
4932 config/h8300/h8300.c, config/i386/cygwin.h, config/i386/winnt.c,
4933 config/m32r/m32r.c, config/mcore/mcore.c, config/sh/sh.c,
4934 config/stormy16/stormy16.h, config/v850/v850.c, doc/c-tree.texi,
4935 doc/tm.texi, ggc-common.c, integrate.c, print-tree.c, tree.c,
4936 tree.h: Rename DECL_MACHINE_ATTRIBUTES to DECL_ATTRIBUTES.
4937 * tree.h (struct tree_decl): Change machine_attributes to
4939 * doc/c-tree.texi: Document that all attributes are now attached
4941 * c-common.c (add_attribute, attrtab, attrtab_idx,
4942 default_valid_lang_attribute, valid_lang_attribute): Remove.
4943 (attribute_tables, attributes_initialized,
4944 c_common_attribute_table, default_lang_attribute_table): New
4946 (handle_packed_attribute, handle_nocommon_attribute,
4947 handle_common_attribute, handle_noreturn_attribute,
4948 handle_unused_attribute, handle_const_attribute,
4949 handle_transparent_union_attribute, handle_constructor_attribute,
4950 handle_destructor_attribute, handle_mode_attribute,
4951 handle_section_attribute, handle_aligned_attribute,
4952 handle_weak_attribute, handle_alias_attribute,
4953 handle_no_instrument_function_attribute,
4954 handle_no_check_memory_usage_attribute, handle_malloc_attribute,
4955 handle_no_limit_stack_attribute, handle_pure_attribute): New
4957 (init_attributes, decl_attributes): Rewrite to implement
4958 table-driven attributes.
4959 * c-common.h (enum attribute_flags): Move to tree.h.
4960 * c-format.c (decl_handle_format_attribute,
4961 decl_handle_format_arg_attribute): Rename to
4962 handle_format_attribute and handle_format_arg_attribute. Update
4963 for table-driven attributes.
4964 * c-common.h (decl_handle_format_attribute,
4965 decl_handle_format_arg_attribute): Remove prototypes.
4966 (handle_format_attribute, handle_format_arg_attribute): Add
4968 * c-decl.c (grokdeclarator): Handle attributes nested inside
4970 * c-parse.in (setattrs, maybe_setattrs): Remove.
4971 (maybe_type_quals_setattrs): Rename to maybe_type_quals_attrs.
4972 Update to handle nested attributes properly.
4973 (maybe_resetattrs, after_type_declarator,
4974 parm_declarator_nostarttypename, notype_declarator, absdcl1_noea,
4975 absdcl1_ea, direct_absdcl1): Update to handle nested attributes
4977 (make_pointer_declarator): Update to handle nested attributes
4979 * doc/extend.texi: Update documentation of limits of attributes
4980 syntax. Warn about problems with attribute semantics in C++.
4981 * target.h (struct target): Remove valid_decl_attribute and
4982 valid_type_attribute. Add attribute_table and
4983 function_attribute_inlinable_p.
4984 * target-def.h (TARGET_VALID_DECL_ATTRIBUTE,
4985 TARGET_VALID_TYPE_ATTRIBUTE): Remove.
4986 (TARGET_ATTRIBUTE_TABLE, TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P):
4988 (TARGET_INITIALIZER): Update.
4989 * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): Remove default
4991 (function_attribute_inlinable_p): New function. Check for the
4992 presence of any machine attributes before using
4993 targetm.function_attribute_inlinable_p.
4994 (function_cannot_inline_p): Update.
4995 * Makefile.in (integrate.o): Update dependencies.
4996 * doc/tm.texi: Update documentation of target attributes and
4997 example definition of TARGET_VALID_TYPE_ATTRIBUTE.
4998 * tree.c (default_valid_attribute_p, valid_machine_attribute):
5000 (default_target_attribute_table,
5001 default_function_attribute_inlinable_p): New.
5002 (lookup_attribute): Update comment to clarify handling of multiple
5003 attributes with the same name.
5004 (merge_attributes, attribute_list_contained): Allow multiple
5005 attributes with the same name but different arguments to appear in
5006 the same attribute list.
5007 * tree.h (default_valid_attribute_p): Remove prototype.
5008 (struct attribute_spec): New.
5009 (default_target_attribute_table): Declare.
5010 (enum attribute_flags): Move from c-common.h. Add
5011 ATTR_FLAG_TYPE_IN_PLACE.
5012 (default_function_attribute_inlinable_p): Declare.
5013 * config/alpha/alpha.c (vms_valid_decl_attribute_p): Remove.
5014 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
5015 (TARGET_ATTRIBUTE_TABLE): Define.
5016 (vms_attribute_table): New.
5017 * config/arc/arc.c (arc_valid_decl_attribute): Remove.
5018 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
5019 (TARGET_ATTRIBUTE_TABLE): Define.
5020 (arc_attribute_table, arc_handle_interrupt_attribute): New.
5021 * config/arm/arm.c (arm_valid_type_attribute_p,
5022 arm_valid_decl_attribute_p, arm_pe_valid_decl_attribute_p):
5024 (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
5026 (TARGET_ATTRIBUTE_TABLE): Define.
5027 (arm_attribute_table, arm_handle_fndecl_attribute,
5028 arm_handle_isr_attribute): New.
5029 * config/avr/avr.c (avr_valid_type_attribute,
5030 avr_valid_decl_attribute): Remove.
5031 (TARGET_VALID_DECL_ATTRIBUTE, TARGET_VALID_TYPE_ATTRIBUTE): Don't
5033 (TARGET_ATTRIBUTE_TABLE): Define.
5034 (avr_attribute_table, avr_handle_progmem_attribute,
5035 avr_handle_fndecl_attribute): New.
5036 * config/c4x/c4x.c (c4x_valid_type_attribute_p): Remove.
5037 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
5038 (TARGET_ATTRIBUTE_TABLE): Define.
5039 (c4x_attribute_table, c4x_handle_fntype_attribute): New.
5040 * config/h8300/h8300.c (h8300_valid_decl_attribute): Remove.
5041 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
5042 (TARGET_ATTRIBUTE_TABLE): Define.
5043 (h8300_attribute_table, h8300_handle_fndecl_attribute,
5044 h8300_handle_eightbit_data_attribute,
5045 h8300_handle_tiny_data_attribute): New.
5046 * config/i386/i386-protos.h (ix86_valid_type_attribute_p,
5047 i386_pe_valid_decl_attribute_p, i386_pe_valid_type_attribute_p):
5049 (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New
5051 * config/i386/i386.c (ix86_valid_type_attribute_p: Remove.
5052 (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
5054 (TARGET_ATTRIBUTE_TABLE): Define.
5055 (ix86_attribute_table, ix86_handle_cdecl_attribute,
5056 ix86_handle_regparm_attribute): New.
5057 * config/i386/winnt.c (i386_pe_valid_decl_attribute_p,
5058 i386_pe_valid_type_attribute_p): Remove.
5059 (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New.
5060 * config/ia64/ia64.c (ia64_valid_type_attribute): Remove.
5061 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
5062 (TARGET_ATTRIBUTE_TABLE): Define.
5063 (ia64_attribute_table): New.
5064 * config/m32r/m32r.c (m32r_valid_decl_attribute, interrupt_ident1,
5065 interrupt_ident2, model_ident1, model_ident2): Remove.
5066 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
5067 (TARGET_ATTRIBUTE_TABLE): Define.
5068 (init_idents): Update.
5069 (m32r_attribute_table, m32r_handle_model_attribute): New.
5070 * config/m68hc11/m68hc11.c (m68hc11_valid_type_attribute_p):
5072 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
5073 (TARGET_ATTRIBUTE_TABLE): Define.
5074 (m68hc11_attribute_table, m68hc11_handle_fntype_attribute): New.
5075 * config/mcore/mcore.c (mcore_valid_decl_attribute): Remove.
5076 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
5077 (TARGET_ATTRIBUTE_TABLE): Define.
5078 (mcore_attribute_table, mcore_handle_naked_attribute): New.
5079 * config/ns32k/ns32k.c (ns32k_valid_type_attribute_p): Remove.
5080 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
5081 (TARGET_ATTRIBUTE_TABLE): Define.
5082 (ns32k_attribute_table, ns32k_handle_fntype_attribute): New.
5083 * config/rs6000/rs6000.c (rs6000_valid_type_attribute_p): Remove.
5084 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
5085 (TARGET_ATTRIBUTE_TABLE): Define.
5086 (rs6000_attribute_table, rs6000_handle_longcall_attribute): New.
5087 * config/sh/sh.c (sh_valid_decl_attribute): Remove.
5088 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
5089 (TARGET_ATTRIBUTE_TABLE): Define.
5090 (sh_attribute_table, sh_handle_interrupt_handler_attribute,
5091 sh_handle_sp_switch_attribute, sh_handle_trap_exit_attribute):
5093 * config/stormy16/stormy16.c (stormy16_valid_type_attribute):
5095 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define
5096 (TARGET_ATTRIBUTE_TABLE): Define.
5097 (stormy16_attribute_table, stormy16_handle_interrupt_attribute):
5099 * config/v850/v850.c (v850_valid_decl_attribute): Remove.
5100 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
5101 (TARGET_ATTRIBUTE_TABLE): Define.
5102 (v850_attribute_table, v850_handle_interrupt_attribute,
5103 v850_handle_data_area_attribute): New.
5104 * config/v850/v850-c.c (mark_current_function_as_interrupt):
5105 Return void. Call decl_attributes instead of
5106 valid_machine_attribute.
5108 Fri Sep 21 01:49:41 2001 J"orn Rennecke <amylaar@redhat.com>
5110 * sh-protos.h (sh_pr_n_sets): Declare.
5111 * sh.c (calc_live_regs): If the initial value for PR has been copied,
5112 look at the copy to determine if PR needs to be saved.
5113 sh_pr_n_sets: New function.
5114 * sh.h (RETURN_ADDR_RTX): Use get_hard_reg_initial_val.
5115 (ALLOCATE_INITIAL_VALUE): Define.
5117 * sh.c (initial_elimination_offset):
5118 Fix RETURN_ADDRESS_POINTER_REGNUM case.
5120 Fri Sep 21 01:13:56 2001 J"orn Rennecke <amylaar@redhat.com>
5122 * integrate.c (allocate_initial_values): New function.
5123 * integrate.h (allocate_initial_values): Declare.
5124 * local-alloc.c (local_alloc): Move call to allocate_reg_info from
5126 * reload1.c (reload): And initialization of reg_equiv_memory_loc
5128 * toplev.c (rest_of_compilation): To here.
5129 Call allocate_initial_values.
5130 * tm.texi: add description for ALLOCATE_INITIAL_VALUE.
5132 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5134 * ggc-page.c (ggc_marked_p): Properly convert return to boolean.
5136 2001-09-20 DJ Delorie <dj@redhat.com>
5138 * c-typeck.c (really_start_incremental_init): Discriminate
5139 between zero-length arrays and flexible arrays.
5140 (push_init_level): Detect zero-length arrays and handle them
5141 like fixed-sized arrays.
5142 * expr.c (store_constructor): Handle zero-length arrays and
5143 flexible arrays correctly.
5144 * doc/extend.texi: Update zero-length array notes.
5146 2001-09-20 Jim Wilson <wilson@redhat.com>
5148 * config/ia64/ia64.c (itanium_split_issue): Allow max 2 FP per cycle.
5149 (insn_matches_slot): Handle TYPE_L and TYPE_X slots when checking
5150 for issue port conflicts.
5151 (cycle_end_fill_slots): TYPE_L instructions take two slots.
5153 2001-09-20 Andrew MacLeod <amacleod@redhat.com>
5155 * testsuite/gcc.c-torture/execute/990208-1.x: New. XFAIL at -O3
5158 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5160 * fold-const.c (hashtab.h): Include.
5161 (int_const_binop): Remove FORSIZE arg and compute from type; all
5163 Call size_int_type_wide for all single-word constants.
5164 (size_htab_hash, size_htab_eq): New functions.
5165 (size_int_type_wide): Rework to use hash table.
5166 * ggc-common.c (hashtab.h): Include.
5167 (struct d_htab_root): New struct.
5168 (d_htab_roots): New variable.
5169 (ggc_add_deletable_htab, ggc_htab_delete): New functions
5170 (ggc_mark_roots): Handle deletable htabs.
5171 * ggc-page.c (ggc_marked_p): New function.
5172 * ggc-simple.c (ggc_marked_p): Likewise.
5173 * ggc.h: Reformatting throughout.
5174 (ggc_marked_p, ggc_add_deletable_htab): New declarations.
5175 * tree.c (init_obstacks): Make type_hash_table a deletable root.
5176 (type_hash_add): Allocate struct type_hash from GC memory.
5177 (mark_hash_entry, mark_type_hash): Deleted.
5178 (type_hash_marked_p, type_hash_mark): New functions.
5179 * Makefile.in (ggc-common.o, fold-const.o): Include hashtab.h.
5181 Thu Sep 20 12:49:34 2001 J"orn Rennecke <amylaar@redhat.com>
5183 * sh.c (shiftcosts): Don't use shiftcosts array for modes wider
5186 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5188 * stor-layout.c (layout_type, case ARRAY_TYPE): Kludge to disable
5189 array-too-large test for signed sizetype.
5191 Thu Sep 20 12:19:36 CEST 2001 Jan Hubicka <jh@suse.cz>
5193 * i386.md (indirect_jump): Allow Pmode operand.
5194 (tablejump): LIkewise; perform expansion to 64bit mode.
5195 * i386.c (symbolic_operand): Allow 64bit PIC references.
5196 (pic_symbolic_operand): Likewise.
5197 (ix86_find_base_term): Strip the 64bit PIC references.
5198 (legitimate_pic_address_disp_p): Handle 64bit PIC.
5199 (legitimize_pic_address): Likewise.
5200 (i386_simplify_dwarf_addr): Strip down the 64bit PIC references.
5201 * i386.h (CASE_VECTOR_MODE): Set to SImode for 64bit PIC compilation.
5203 2001-09-19 Alexandre Petit-Bianco <apbianco@redhat.com>
5205 * stringpool.c (get_identifier_with_length): New function.
5206 * tree.h (get_identifier_with_length): New prototype.
5208 2001-09-19 Alan Modra <amodra@bigpond.net.au>
5209 David Edelsohn <edelsohn@gnu.org>
5212 * config/rs6000/rs6000.c (logical_operand): CONST_INTs are
5213 already sign-extended.
5215 * config/rs6000/aix.h (INIT_TARGET_OPTABS): Define TFmode handlers.
5216 * config/rs6000/rs6000.c (logical_operand): Always compare op as
5218 (rs6000_emit_set_long_const): Avoid unnecessary shift.
5219 (output_profile_hook): Declare label_name const.
5220 * config/rs6000/rs6000.md (boolcsi3, boolcdi3): Change predicates
5221 to match constraints.
5223 2001-09-19 Stan Shebs <shebs@apple.com>
5225 * alias.c: Fix typos in comments.
5226 * sched-rgn.c (init_ready_list): Ditto.
5227 * unwind-dw2.c (uw_frame_state_for): Ditto.
5228 * unwind-dw2-fde.c (_Unwind_Find_FDE): Ditto.
5229 * unwind.inc (_Unwind_RaiseException_Phase2): Ditto.
5230 * config/rs6000/rs6000.c (rs6000_adjust_priority): Ditto.
5232 2001-09-19 Richard Henderson <rth@redhat.com>
5234 * cfg.c (force_nonfallthru_and_redirect): Handle redirecting
5236 * Makefile.in (cfg.o): Depend on TM_P_H.
5238 2001-09-19 Richard Henderson <rth@redhat.com>
5240 * config/alpha/alpha.c (local_symbol_p): Split out from ...
5241 (local_symbolic_operand): ... here.
5242 (small_symbolic_operand): Check mode.
5243 (global_symbolic_operand): New.
5244 (input_operand): Reject symbolics if explicit relocs.
5245 (call_operand): Tidy.
5246 (alpha_legitimize_address): Use movdi_er_high_g.
5247 (alpha_expand_mov): Likewise.
5248 * config/alpha/alpha-protos.h: Update.
5249 * config/alpha/alpha.h (PREDICATE_CODES): Update.
5250 * config/alpha/alpha.md (UNSPEC_LITERAL, UNSPEC_LITUSE): New.
5251 (UNSPEC_LDGP2, UNSPECV_PLDGP2): New.
5252 (UNSPECV_LDGP2): Remove.
5253 (all call patterns): Use 's' not 'i' for symbolic constraint.
5254 (call_osf call_value_osf): Use call_operand.
5255 (all osf call patterns): Use $gp. New peepholes for explicit relocs.
5256 (movdi_er_nofix, movdi_er_fix): Remove symbolic alternative.
5257 (prologue_ldgp_1_er): Remove.
5258 (ldgp_er_1, ldgp_er_2, prologue_ldgp_er_2): New.
5259 (builtin_setjmp_receiver_er patterns): Use them.
5260 (exception_receiver_er): Likewise.
5262 2001-09-19 Richard Henderson <rth@redhat.com>
5264 * cfgbuild.c (find_sub_basic_blocks): Handle insns that can throw.
5266 * emit-rtl.c (try_split): Copy NORETURN, SETJMP, ALWAYS_RETURN
5267 and NON_LOCAL_GOTO notes.
5268 * recog.c (peephole2_optimize): Likewise. Handle EH_REGION;
5269 copy over CALL_INSN_FUNCTION_USAGE.
5271 2001-09-18 Catherine Moore <clm@redhat.com>
5273 * config/stormy16/stormy16.h (DEFAULT_PCC_STRUCT_RETURN):
5276 2001-09-18 Ulrich Weigand <uweigand@de.ibm.com>:
5278 * config.gcc (s390-*-linux-*, s390x-*-linux*): Switch to
5279 new-style tm_file specification. Specify correct tm_p_file,
5280 md_file, and out_file for s390x.
5282 * config/s390/linux.h, linux64.h: Don't include other target
5283 macro header files. Now handled via tm_file.
5285 * config/s390/linux.h, s390.h: (IEEE_FLOAT, TARGET_IEEE_FLOAT,
5286 TARGET_IBM_FLOAT): Move from linux.h to s390.h to ensure they
5287 are defined before use.
5289 Tue Sep 18 09:51:11 2001 Eric Christopher <ecechristo@redhat.com>
5291 * config/mips/mips.c (mips_asm_file_start): Conditionalize Elf
5292 code generation only for Gnu assembler.
5294 2001-09-18 Catherine Moore <clm@redhat.com>
5296 * config/stormy16 (LIB_SPEC): Remove -lnosys.
5298 2001-09-18 Richard Sandiford <rsandifo@redhat.com>
5300 * config/mips/mips.c (mips_frame_set): New.
5301 (mips_emit_frame_related_store): When storing two 32-bit FPRs, use
5302 a parallel frame-related expression with a set for each register.
5304 2001-09-18 Philip Blundell <philb@gnu.org>
5306 * config/arm/lib1funcs.asm (L_dvmd_lnx): Don't rely on kernel
5309 2001-09-17 Dale Johannesen <dalej@apple.com>
5311 * config/rs6000/rs6000.h (FIXED_REGISTERS): Use FIXED_R2.
5312 * config/rs6000/aix.h (FIXED_R2): Define.
5313 * config/rs6000/darwin.h (FIXED_R2): Define.
5314 * config/rs6000/sysv4.h (FIXED_R2): Define.
5316 2001-09-17 Jeff Sturm <jsturm@one-point.com>
5318 * except.c (dw2_build_landing_pads): New local
5319 clobbers_hard_regs. Emit an ASM_INPUT as a scheduling
5320 barrier after clobbers. Fixes c++/4012.
5322 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5324 * gcc.c (find_file): Use ACONCAT in lieu of alloca/strcpy/strcat.
5326 2001-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
5328 * dostage2, dostage3, listing, make-l2.com, makefile.vms,
5329 patch-apollo-includes, vmsconfig.com: Remove obsolete files.
5331 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5333 * c-aux-info.c (affix_data_type): Use ASTRDUP in lieu of
5336 2001-09-17 Neil Booth <neil@daikokuya.demon.co.uk>
5338 * cpphash.h (_cpp_lex_direct): New.
5339 * cpplex.c (_cpp_lex_token): Update.
5340 (lex_token): Rename _cpp_lex_direct; lex into pfile->cur_token,
5341 and increment that pointer.
5342 * cppmacro.c (alloc_expansion_token): New.
5343 (lex_expansion_token): Lex macro expansion directly into
5346 2001-09-16 Brad Lucier <lucier@math.purdue.edu>
5348 * Makefile.in: Make rtl-error.o depend on $(CONFIG_H).
5350 Sun Sep 16 21:59:46 CEST 2001 Jan hubicka <jh@suse.cz>
5352 * basic-block.h (free_bb_for_insn): Declare.
5353 * bb-reorder.c (label_for_bb): Use block_label.
5354 (emit_jump_to_block_after): Remove.
5355 (insert_intra_1): Do not update block_for_insn.
5356 (insert_inter_bb_scope_notes): Likewise; update bb->end
5357 * cfg.c (free_bb_for_insn): New.
5358 (try_rediret_by_replacing_jump): Avoid set_block_for_new_insns call.
5359 (force_nonfallthru_and_redirect): Likewise; do not update BB boundaries.
5360 (commit_one_edge_insertion): Likewise.
5361 (commit_one_edge_insertion): Do not update BB boundary.
5362 (commit_edge_insertions): Do not call compute_bb_for_insn.
5363 * cfgbuild.c (find_basic_blocks): Do not free basic_block_for_insn.
5364 * cfgcleanup.c (merge_blocks_move_predecessor): Use reorder_insns_nobb.
5365 (merge_blocks_move_successor_nojumps): Likewise.
5366 (try_crossjump_to_edge): Do not update block_for_insn.
5367 * combine.c (combine_instructions): Remove compute_bb_for_insn call.
5368 * df.c (df_pattern_emit_later): Do not update BB boundary.
5369 (df_jump_pattern_emit_after): Likewise.
5370 (df_insn_move_before): Use emit_insn_before.
5371 * emit-rtl.c (try_split): Emit after trial to get bb boundary updated
5373 (add_insn_after, add_insn_before, emit_insns_after): Update BB
5374 boundaries and basic_block_for_insn.
5375 (reorder_insns_nobb): Rename from reorder_insns.
5376 (reorder_insns): New.
5377 (emit_block_insn_before, emit_block_insn_after): Kill.
5378 * flow.c (check_function_return_warnings): Do not call
5379 compute_bb_for_insn; Do not free basic_block_for_insn.
5380 (attempt_auto_inc): Do not update basic_block_for_insn.
5381 * function.c (emit_return_into_block): Likewise;
5382 do not update BB boundaries.
5383 * gcse.c (handle_avail_expr): Do not update basic_block_for_insn.
5384 (insert_insn_end_bb): Use emit_insn_before; Likewise.
5385 (pre_insert_copy_insn): Likewise.
5386 (update_ld_motion_notes): Likewise.
5387 (insert_insn_start_bb): Likewise.
5388 (replace_store_insn): Likewise.
5389 * ifcvt.c (noce_process_if_block): Likewise.
5390 (if_convert): Do not call compute_bb_for_insn.
5391 * lcm.c (optimize_mode_switching): Do not update BB boundaries.
5392 Use emit_insn_before and emit_insn_after.
5393 * recog.c (split_all_insns): Do not update BB boundaries;
5394 Do not call compute_bb_for_insn.
5395 (peephole2_optimize): Do not update BB boundaries.
5396 * reg-stack.c (emit_pop_insn): Use emit_insn_after and
5398 (emit_swap_insn): Likewise.
5399 (convert_regs_1): Likewise.
5400 * reload1.c (reload): Call compute_bb_for_insn.
5401 * rtl.h (reorder_insns_nobb): Declare.
5402 * ssa.c (rename_equivalent_regs): Use emit_insn_before.
5403 * toplev.c (rest_of_compilation): Call free_bb_for_insn
5404 at places CFG is invalidated; do not call compute_bb_for_insn.
5406 * cfg.c (expunge_block): Invalidate BB structure.
5408 * (merge_blocks_nomove): Update properly BLOCK_FOR_INSN
5411 * cfg.c (verify_flow_info): Verify the basic_block_for_insn array.
5413 2001-09-16 Neil Booth <neil@daikokuya.demon.co.uk>
5415 * cpphash.h (_cpp_lex_token): Update prototype.
5416 * cpplex.c (_cpp_lex_token): New prototype.
5417 * cpplib.c (skip_rest_of_line, check_eol, _cpp_handle_directive,
5418 lex_macro_node, read_flag, do_pragma_poison): Update.
5419 * cppmacro.c (cpp_get_token, parse_params,
5420 lex_expansion_token): Update.
5422 2001-09-16 Neil Booth <neil@daikokuya.demon.co.uk>
5424 * cppmain.c (scan_translation_unit): Don't worry about
5425 putting a space after hashes.
5426 * cpplib.c (directive_diagnostics): New.
5427 (_cpp_handle_directive): Update to use directive_diagnostics.
5428 (run_directive): Don't toggle prevent_expansion.
5429 (do_line): Backup in case of the line extension.
5430 * cpplib.h (cpp_lexer_pos): Remove.
5431 * cppmacro.c (_cpp_create_definition): Precede a leading #
5434 2001-09-15 Richard Henderson <rth@redhat.com>
5436 * c-typeck.c (comptypes): Handle zero-length arrays properly.
5438 2001-09-15 Roman Lechtchinsky <rl@cs.tu-berlin.de>
5440 * c-common.c (c_promoting_integer_type_p): Handle ?Imode types.
5442 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
5444 PR preprocessor/3571
5445 * tradcpp.c (handle_directive): Skip non-vertical space.
5447 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
5449 * cppmain.c (setup_callbacks): Set line callback only
5450 if outputting preprocessed source.
5452 2001-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5454 * collect2.c (main): Const-ification.
5455 * gcc.c (translate_options, process_command): Use xstrdup in
5456 lieu of xmalloc/strcpy.
5457 (main): Use concat in lieu of xmalloc/strcpy/strcat.
5459 2001-09-14 Roman Lechtchinsky <rl@cs.tu-berlin.de>
5461 * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Fix
5464 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
5466 * scan-decls.c (scan_decls): Fix typo.
5468 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
5470 * cpphash.h (struct cpp_reader): Remove lexer_pos, directive_pos.
5471 Split mlstring_pos into mls_line and mls_col.
5472 * cppinit.c (cpp_create_reader): Initialize line to 1.
5473 (cpp_destroy): Free tokenruns.
5474 (push_include): Don't update lexer_pos.
5475 * cpplex.c (unterminated, parse_string): Update.
5476 (lex_token): Don't update lexer_pos, update.
5477 * cpplib.c (if_stack): Save line instead of line + col.
5478 (start_directive, _cpp_do__Pragma, do_else, do_elif,
5479 push_conditional, _cpp_pop_buffer): Update.
5480 * cppmacro.c (funlike_invocation_p): Don't save lexer_pos.
5481 (_cpp_create_definition): Update.
5483 2001-09-15 Eric Christopher <echristo@redhat.com>
5485 * config/mips/abi64.h: Add support for MEABI.
5487 2001-09-15 Eric Christopher <echristo@redhat.com>
5489 * config/mips/mips.md: Add unspec #2.
5491 (reload_outdi): Ditto.
5492 (reload_outsi): Ditto.
5495 2001-09-15 Eric Christopher <echristo@redhat.com>
5496 Jason Eckhardt <jle@redhat.com>
5498 * config.gcc: Add mipsisa32 target and mipsisa32-linux target.
5499 * config/mips/isa32-linux.h: New file.
5500 * config/mips/isa3264.h: Ditto.
5501 * config/mips/mips-protos.h: Add mips_hard_regno_nregs.
5502 * config/mips/mips.c (mips_hard_regno_nregs): Move here from mips.h.
5503 (output_block_mode): Support MEABI.
5504 (function_arg): Ditto. Fix floating point arg passing.
5505 (mips_va_start): Ditto.
5506 (override_options): Add isas 32 and 64, meabi, mips32 and mips64
5508 (mips_asm_file_start): Add new section to pass abi to gdb.
5509 (function_arg_pass_by_reference): Support MEABI.
5510 (mips_parse_cpu): Support mips32 and mips64 processors.
5511 * config/mips/mips.h: Support ABI_MEABI, TARGET_MIPS4KC,
5512 TARGET_MIPS5KC. Support isa32 and isa64.
5513 (processor_type): Add r4kc, r5kc, r20kc.
5514 (GENERATE_MULT3_SI): New.
5515 (GENERATE_MULT3_DI): Ditto.
5516 (GENERATE_MULT3): Remove.
5517 (ISA_HAS_64BIT_REGS): Add isa == 64.
5518 (ISA_HAS_8CC): Add mips_isa = 32 and 64.
5519 (ISA_HAS_MADD_MSUB): New.
5520 (ISA_HAS_CLZ_CLO): Ditto.
5521 (ISA_HAS_DCLZ_DCLO): Ditto.
5522 (ABI_GAS_ASM_SPEC): New.
5523 (GAS_ASM_SPEC): Use. Add support for mips32, mips64.
5526 (SUBTARGET_CC1_SPEC): Ditto.
5527 (SUBTARGET_CPP_SIZE_SPEC): Ditto.
5528 (PAD_VARARGS_DOWN): Support MEABI.
5529 (HARD_REGNO_NREGS): Move to mips.c.
5530 (ASM_OUTPUT_IDENT): Add #undef.
5531 * config/mips/mips.md: Add r4kc, r5kc, r20kc.
5532 (mulsi3): Use GENERATE_MULT3_SI.
5533 (mulsi3_mult3): Ditto. Support mips32, mips64.
5534 (mul_acc_si): Use ISA_HAS_MADD_MSUB.
5535 (mul_sub_si): New pattern.
5536 (unnamed splitters): New.
5537 (muldi3): Use GENERATE_MULT3_DI.
5538 (muldi3_internal2): Ditto.
5539 (movdicc): Support mips32.
5540 * config/mips/t-isa3264: New file.
5542 2001-09-15 Hans-Peter Nilsson <hp@axis.com>
5544 * rtl.h (FIND_REG_INC_NOTE) [HAVE_PRE_INCREMENT
5545 || HAVE_PRE_DECREMENT || HAVE_POST_INCREMENT
5546 || HAVE_POST_DECREMENT]: Call find_regno_note for REGs.
5548 * reorg.c (fill_slots_from_thread): After call to
5549 steal_delay_list_from_target, update own_thread as new_thread may
5552 2001-09-14 Neil Booth <neil@daikokuya.demon.co.uk>
5554 * cpperror.c (print_location): Take line and column, for
5555 default positioning use the previously lexed token.
5556 (_cpp_begin_message): Take line and column.
5557 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
5558 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
5559 * cpphash.h (_cpp_begin_message): Update prototype.
5560 * cppinit.c (push_include): Don't set output line.
5561 * cpplex.c (_cpp_lex_token): Callback for start of new output lines.
5562 * cpplib.c (do_diagnostic, _cpp_pop_buffer): Update.
5563 (do_pragma): Kludge for front ends. Don't expand macros at all.
5564 * cpplib.h (cpp_lookahead, cpp_token_with_pos, cpp_get_line): Remove.
5565 (struct cpp_token): Remove output_line.
5566 (struct cpp_callbacks): New member line_change.
5567 * cppmacro.c (builtin_macro, paste_all_tokens, replace_args,
5568 cpp_get_token): Preserve BOL flag.
5569 (cpp_get_line): Remove.
5570 (_cpp_backup_tokens): Remove useless abort().
5571 * cppmain.c (cb_line_change): New.
5572 (scan_translation_unit): Don't worry about starting new lines here.
5573 * scan-decls.c (scan_decls): Update.
5574 * c-lex.c (c_lex, init_c_lex): Update.
5575 (cb_line_change, src_lineno): New.
5577 Fri Sep 14 13:54:50 EDT 2001 John Wehle (john@feith.com)
5579 * tree.c (append_random_chars): Generate the random
5580 characters in a reproducable fashion.
5582 2001-09-14 Richard Henderson <rth@redhat.com>
5584 * config/i386/i386.c (internal_label_prefix): New.
5585 (internal_label_prefix_len): New.
5586 (override_options): Set them.
5587 (local_symbolic_operand): New.
5588 (legitimate_pic_address_disp_p): Use it.
5589 (legitimize_pic_address): Likewise.
5591 2001-09-14 Marc Espie <espie@openbsd.org>
5593 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Generate reference to GOT
5596 2001-09-14 Roman Lechtchinsky <rl@cs.tu-berlin.de>
5598 * config/alpha/alpha.md (unaligned_extendhidi_be): Fix.
5599 * config/alpha/unicosmk.h (INIT_TARGET_OPTABS): New.
5601 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
5603 * rtlanal.c (subreg_regno_offset): Add semicolon to end of
5604 invocation of SUBREG_REGNO_OFFSET.
5606 * haifa-sched.c: Fix typo in FSF copyright statement.
5607 * sched-deps.c: Fix typo in FSF copyright statement.
5608 * sched-ebb.c: Fix typo in FSF copyright statement.
5609 * sched-rgn.c: Fix typo in FSF copyright statement.
5610 * sched-vis.c: Fix typo in FSF copyright statement.
5612 * config.gcc: Move inclusion of arm elf specific header files
5613 from the files themselves into the tm_file variable. Make
5614 sure that elfos.h is included before target specific elf
5616 * config/arm/aout.h (NO_DOLLAR_IN_LABEL): Only define if not
5618 (ASM_OUTPUT_ASCII, ASM_OUTPUT_SKIP): Protect definition.
5619 * config/arm.arm.h (TARGET_MEM_FUNCTIONS,
5620 ASM_OUTPUT_CASE_LABEL): Protect definition.
5621 (CC1_SPEC, FP_DEFAULT, ARM_FUNCTION_PROFILE): Only define if
5622 not already defined.
5623 * config/arm/conix-elf.h: (USER_LABEL_PREFIX,
5624 LOCAL_LABEL_PREFIX, MAKE_DECL_ONE_ONLY, UNIQUE_SECTION):
5625 Remove duplicate definition.
5626 (READONLY_DATA_SECTION, SUBTARGET_EXTRA_SECTION,
5627 (SUBTARGET_EXTRA_SECTION_FUNCTION, RDATA_SECTION_ASM_OP,
5628 (RDATA_SECTION_FUNCTION): Remove redundant definition.
5629 (STARTFILE_SPEC, ENDFILE_SPEC): Protect definition.
5630 Remove inclusion of arm/elf.h.
5631 * config/arm/unknown-elf.h: as for conix-elf.h.
5632 (STARTFILE_SPEC): Include crti.o and crtn.o.
5633 * config/arm/linux-elf.h: as for conix-elf.h.
5634 * config/arm/ecos-elf.h: Remove inclusion of unknown-elf.h.
5635 * config/arm/strongarm-elf.h: Remove inclusion of
5637 * config/arm/xscale-elf.h: Remove inclusion of unknown-elf.h.
5638 * config/arm/unknown-elf-oabi.h: Remove inclusion of
5639 unknown-elf.h and elf.h.
5640 * config/arm/uclinux-elf.h: Remove inclusion of linux-elf.h.
5641 * config/arm/linux-gas.h (DBX_DEBUGGING_INFO,
5642 ASM_WEAKEN_LABEL): Remove redundant definition.
5643 * config/arm/elf.h: Test for inclusion of elfos.h
5644 (USER_LABEL_PREFIX, ASM_DECLARE_RESULT, ASM_DECLARE_RESULT,
5645 ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT_NAME,
5646 SUBTARGET_EXTRA_SECTION, SUBTARGET_EXTRA_SECTION_FUNCTION,
5647 EXTRA_SECTIONS, INT_ASM_OP, ASM_WEAKEN_LABEL): Remove
5648 redundant definition.
5649 (TYPE_OPERAND_FMT, ASM_DECLARE_FUNCTION_NAME,
5650 ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_INTERNAL_LABEL,
5651 ASM_OUTPUT_ALIGNED_COMMON): Protect definition.
5652 * t-arm-elf (EXTRA_MULTILIB_PARTS): Add crti.o and crtn.o.
5653 Add rules to build crti.o and crtn.o
5654 * crti.asm: New file.
5655 * crtn.asm: New file.
5657 2001-09-13 Neil Booth <neil@daikokuya.demon.co.uk>
5659 * c-parse.in (_yylex): Use _cpp_backup_tokens.
5660 * cpphash.h (struct tokenrun): Add prev.
5661 (struct lexer_state): Remove bol.
5662 (struct cpp_reader): Remove old lookahead stuff, add lookaheads.
5663 (_cpp_free_lookaheads, _cpp_release_lookahead, _cpp_push_token)
5665 * cppinit.c (cpp_create_reader): Don't set bol.
5666 (cpp_destroy): Don't free lookaheads.
5667 * cpplex.c (lex_directive): Remove.
5668 (next_tokenrun): Update.
5669 (_cpp_lex_token): Clean up logic.
5670 (lex_token): Update to return a pointer to lexed token, since it
5671 can move to the start of the buffer. Simpify newline handling.
5672 * cpplib.c (SEEN_EOL): Update.
5673 (skip_rest_of_line): Remove lookahead stuff.
5674 (end_directive): Line numbers are already incremented. Revert
5675 to start of lexed token buffer if we can.
5676 (_cpp_handle_directive, do_pragma, do_pragma_dependency,
5677 parse_answer): Use _cpp_backup_tokens.
5678 (run_directive, cpp_pop_buffer): Don't set bol, set saved_flags
5679 instead. Don't check for EOL.
5680 (do_include_common, do_line, do_pragma_system_header): Use
5682 * cpplib.h (BOL, _cpp_backup_tokens): New.
5683 * cppmacro.c (save_lookahead_token, take_lookahead_token,
5684 alloc_lookahead, free_lookahead, _cpp_free_lookaheads,
5685 cpp_start_lookahead, cpp_stop_lookahead, _cpp_push_token): Remove.
5686 (builtin_macro): Don't use cpp_get_line.
5687 (cpp_get_line): Short term kludge.
5688 (parse_arg): Handle directives in arguments here. Back up when
5689 appropriate. Store EOF at end of argument list.
5690 (funlike_invocation_p): Use _cpp_backup_tokens.
5691 (push_arg_context): Account for EOF at end of list.
5692 (cpp_get_token): Remove lookahead stuff. Update.
5694 2001-09-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5696 * c-parse.in (yyerror): Const-ification and/or static-ization.
5697 * c-typeck.c (push_member_name): Likewise.
5698 * collect2.c (main): Likewise.
5699 * dbxout.c (dbxout_parms): Likewise.
5700 * diagnostic.c (format_with_decl): Likewise.
5701 * dwarf2out.c (output_ranges): Likewise.
5702 * dwarfout.c (fundamental_type_code): Likewise.
5703 * except.c (dw2_output_call_site_table): Likewise.
5704 * gcc.c (do_spec_1): Likewise.
5705 * genopinit.c (optabs): Likewise.
5706 * objc/objc-act.c (synth_id_with_class_suffix, start_class,
5707 gen_declaration_1, handle_impent): Likewise.
5708 * protoize.c (default_include, in_system_include_dir, abspath):
5710 * sched-vis.c (visualize_stall_cycles): Likewise.
5711 * sdbout.c (plain_type_1, sdbout_end_function,
5712 sdbout_end_epilogue): Likewise.
5713 * varasm.c (decode_reg_name): Likewise.
5715 * 1750a.c (mod_regno_adjust): Likewise.
5716 * alpha.c (alpha_write_one_linkage,
5717 unicosmk_output_default_externs): Likewise.
5718 * arm.c (arm_condition_codes): Likewise.
5719 * arm.h (arm_condition_codes): Likewise.
5720 * avr.c (output_movsisf, encode_section_info): Likewise.
5721 * darwin.h (GEN_BINDER_NAME_FOR_STUB, GEN_SYMBOL_NAME_FOR_SYMBOL):
5723 * i386.c (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
5724 * i386.h (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
5725 * m88k.c (output_function_profiler): Likewise.
5726 * mips.c (mips_output_conditional_branch): Likewise.
5727 * ns32k.c (ns32k_out_reg_names): Likewise.
5728 * ns32k.h (ns32k_out_reg_names): Likewise.
5729 * pj.c (pj_output_rval): Likewise.
5730 * rs6000.c (GEN_LOCAL_LABEL_FOR_SYMBOL): Likewise.
5731 * sparc.c (sparc_flat_function_prologue,
5732 sparc_flat_function_epilogue): Likewise.
5734 2001-09-13 Markus Werle <numerical.simulation@web.de>
5735 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5737 * doc/install.texi (Binaries): Add "Binaries for HP-UX 11.00 at
5738 Aachen University of Technology".
5740 2001-09-13 Andreas Schwab <schwab@suse.de>
5742 * config/float-m68k.h: Define DECIMAL_DIG and FLT_EVAL_METHOD for
5745 2001-09-13 Richard Henderson <rth@redhat.com>
5747 * config/alpha/alpha.c (small_symbolic_operand): New.
5748 (override_options): Set MASK_SMALL_DATA based on pic/PIC.
5749 (some_operand, input_operand): Don't handle HIGH.
5750 (alpha_legitimize_address): Use it. Emit HIGH with PLUS gp.
5751 (alpha_expand_mov): Likewise.
5752 (print_operand) [H]: Just print HIGH symbol.
5753 (print_operand_address): Handle small data.
5754 * config/alpha/alpha.h (MASK_SMALL_DATA, TARGET_SMALL_DATA): New.
5755 (TARGET_SWITCHES): Add -msmall-data/large-data.
5756 (PIC_OFFSET_TABLE_REGNUM): New.
5757 (PREFERRED_RELOAD_CLASS): Don't handle HIGH.
5758 (PREDICATE_COES): Update.
5759 * config/alpha/alpha.md (adddi_er_high): New.
5760 (adddi_er_low): Handle small data.
5761 * config/alpha/elf.h (DO_SELECT_SECTION): If SMALL_DATA,
5762 prefer .sdata to .rodata.
5763 (SELECT_RTX_SECTION): Likewise.
5765 2001-09-12 Josh Martin <josh.martin@abq.sc.philips.com>
5767 * fixinc/inclhack.def(hpux11_size_t): Keep HP-UX headers from
5768 defining __size_t and leaving size_t undefined.
5770 2001-09-12 Diego Novillo <dnovillo@redhat.com>
5772 * basic-block.h (expunge_block): Declare.
5773 * cfg.c (expunge_block): Remove static declaration.
5775 2001-09-12 Richard Henderson <rth@redhat.com>
5777 * integrate.c (copy_insn_list): Copy label name from
5778 NOTE_INSN_DELETED_LABEL.
5780 2001-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5782 * c-common.c (c_tree_code_name): Const-ification.
5783 * c-decl.c (c_decode_option): Likewise.
5784 * c-typeck.c (warn_for_assignment): Likewise.
5785 * collect2.c (libexts, is_ctor_dtor, main, ignore_library):
5787 * cppinit.c (output_deps): Likewise.
5788 * dependence.c (dependence_string, direction_string): Likewise.
5789 * dwarf2out.c (output_ranges): Likewise.
5790 * fixinc/fixfixes.c (emit_gnu_type): Likewise.
5791 * fixinc/gnu-regex.c (re_error_msgid): Likewise.
5792 * gcc.c (standard_exec_prefix, standard_exec_prefix_1,
5793 standard_startfile_prefix, standard_startfile_prefix_1,
5794 standard_startfile_prefix_2, tooldir_base_prefix,
5795 standard_bindir_prefix, find_a_file): Likewise.
5796 * genattrtab.c (make_length_attrs): Likewise.
5797 * gencheck.c (tree_codes): Likewise.
5798 * genemit.c (gen_split): Likewise.
5799 * genrecog.c (special_mode_pred_table): Likewise.
5800 * graph.c (graph_ext): Likewise.
5801 * protoize (default_include): Likewise.
5802 * reload.c (reload_when_needed_name): Likewise.
5803 * sched-vis.c (visualize_stall_cycles): Likewise.
5804 * tlink.c (recompile_files): Likewise.
5805 * toplev.c (decode_g_option): Likewise.
5806 * tradcpp.c (output_deps): Likewise.
5807 * varasm.c (decode_reg_name): Likewise.
5809 * arm.c (arm_condition_codes, strings_fpa, thumb_condition_code):
5812 * avr.c (avr_regnames, encode_section_info): Likewise.
5813 * c4x.c (float_reg_names): Likewise.
5814 * darwin.h (ASM_GLOBALIZE_LABEL): Likewise.
5815 * elfos.h (const_section): Likewise.
5816 * i386.c (ix86_comp_type_attributes): Likewise.
5817 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
5818 * ia64/aix.h (UNIQUE_SECTION): Likewise.
5819 * ia64.c (type_names): Likewise.
5820 * m68hc11.c (reg_class_names): Likewise.
5821 * m88k.c (m_options): Likewise.
5822 * mips.c (mips_output_conditional_branch, mips_unique_section):
5824 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
5825 * sparc.c (sparc_flat_function_prologue, sparc_flat_function_epilogue,
5826 ultra_code_names): Likewise.
5827 * sparc.h (OVERRIDE_OPTIONS): Likewise.
5829 2001-09-12 Jakub Jelinek <jakub@redhat.com>
5831 * configure.in (gcc_cv_as_shf_merge): Fix a typo.
5832 Use --fatal-warnings option for gas.
5833 * configure: Rebuilt.
5835 2001-09-12 Roman Lechtchinsky <rl@cs.tu-berlin.de>
5837 * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Document.
5839 2001-09-11 Jim Wilson <wilson@redhat.com>
5841 * alias.c (clear_reg_alias_info): Only handle pseudo registers.
5843 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
5845 * builtins.c (c_strlen): Treat an offset too large for a
5846 HOST_WIDE_INT as out of range.
5848 Tue Sep 11 18:57:47 CEST 2001 Jan Hubicka <jh@suse.cz>
5850 * basic-block.h (EDGE_CRITICAL): Remove; renumber other flags.
5851 (EDGE_CRITICAL_P): New predicate.
5852 * cfg.c (force_nonfallthru_and_redirect, split_edge): Kill EDGE_CRITICAL
5854 (insert_insn_on_edge): Use EDGE_CRITICAL_P.
5855 (dump_edge_info): Remove "crit".
5856 * cfganal.c (mark_critical_edges): Kill.
5857 * cfgbuild.c (find_basic_blocks): Remove mark_critical_edges call.
5858 * cfgcleanup.c (cleanup_cfg): Likewise.
5859 * profile.c (instrument_edges): Use EDGE_CRITICAL_P.
5860 (find_spanning_tree): Likewise.
5861 * reg-stack.c (convert_regs_1): Likewise.
5862 * ssa.c (mark_regs_equivalent_over_bad_edges): Likewise.
5864 * basic-block.h (create_basic_block_structure): New.
5865 (create_basic_block): Update prototype.
5866 (force_nonfallthru): New.
5867 * bb-reorder.c (fixup_reorder_chain): Fixup use force_nonfallthru.
5868 * cfg.c (create_basic_block_structure): Rename from create_basic_block;
5869 handle updating of block_for_insn, creating of empty BBs and BBs at
5870 the end of INSN chain.
5871 (create_basic_block): New function.
5872 (split_block): Use create_basic_block.
5873 (force_nonfallthru_and_redirect): Break out from ...; cleanup
5874 (redirect_edge_and_branch_force): ... here.
5875 (force_nonfallthru): New.
5876 (split_edge): Rewrite to use force_nonfallthru and create_block.
5877 * cfgbuild.c (find_basic_blocks_1): Use create_basic_block_structure.
5878 (find_basic_blocks): Free basic_block_for_insn.
5879 * cfgcleanup.c (merge_blocks): Use force_nonfallthru.
5881 * cfg.c: Fix formating.
5882 * cfgcleanup.c: Fix formating.
5883 (merge_blocks, tail_recursion_label_p): Return bool.
5884 (merge_blocks_move_predecessor_nojumps,
5885 merge_blocks_move_successor_nojumps): Return void.
5887 2001-09-11 Jakub Jelinek <jakub@redhat.com>
5889 * configure.in: Check whether assembler supports section merging.
5890 * config.in: Rebuilt.
5891 * configure: Rebuilt.
5892 * varasm.c (variable_section, output_constant_pool): Pass alignment
5893 to SELECT_SECTION and SELECT_RTX_SECTION.
5894 (mergeable_string_section): New.
5895 (mergeable_constant_section): New.
5896 (default_elf_asm_named_section): Output SECTION_MERGE and
5897 SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
5898 * output.h (mergeable_string_section): New.
5899 (mergeable_constant_section): New.
5900 (SECTION_MERGE, SECTION_STRINGS, SECTION_ENTSIZE): Define.
5901 * toplev.c (flag_merge_constants): New.
5902 (f_options): Add -fmerge-constants and -fmerge-all-constants
5904 (toplev_main): Default to -fno-merge-constants if not optimizing.
5905 * flags.h (flag_merge_constants): Add extern.
5906 * invoke.texi (-fmerge-constants, -fmerge-all-constants): Document.
5907 * tm.texi (SELECT_SECTION, SELECT_RTX_SECTION): Document added third
5909 * config/elfos.h (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START):
5910 Define if assembler has working .subsection -1 support.
5911 (SELECT_RTX_SECTION, SELECT_SECTION): Add third macro argument.
5912 Put constant into special SHF_MERGE sections if the linker should
5913 attempt to merge duplicates.
5914 * config/ia64/sysv4.h (SELECT_RTX_SECTION, SELECT_SECTION): Add third
5916 Put constant into special SHF_MERGE sections if the linker should
5917 attempt to merge duplicates.
5918 * config/alpha/elf.h: Likewise.
5919 (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START): Define if assembler
5920 has working .subsection -1 support.
5921 * config/nextstep.h: Add third argument to SELECT_RTX_SECTION and
5923 * config/svr3.h: Likewise.
5924 * config/darwin.h: Likewise.
5925 * config/arm/aof.h: Likewise.
5926 * config/arm/linux-elf.h: Likewise.
5927 * config/avr/avr.h: Likewise.
5928 * config/c4x/c4x.h: Likewise.
5929 * config/d30v/d30v.h: Likewise.
5930 * config/i386/dgux.h: Likewise.
5931 * config/i386/osfrose.h: Likewise.
5932 * config/i386/sco5.h: Likewise.
5933 * config/i386/svr3gas.h: Likewise.
5934 * config/ia64/aix.h: Likewise.
5935 * config/m32r/m32r.h: Likewise.
5936 * config/m68k/m68k.h: Likewise.
5937 * config/m88k/dgux.h: Likewise.
5938 * config/m88k/m88k.h: Likewise.
5939 * config/mcore/mcore-pe.h: Likewise.
5940 * config/mips/mips.h: Likewise.
5941 * config/pa/pa.h: Likewise.
5942 * config/pa/pa-linux.h: Likewise.
5943 * config/romp/romp.h: Likewise.
5944 * config/rs6000/sysv4.h: Likewise.
5945 * config/rs6000/xcoff.h: Likewise.
5946 * config/s390/linux.h: Likewise.
5947 * config/sparc/sparc.h: Likewise.
5948 * config/sparc/sysv4.h: Likewise.
5949 * config/stormy16/stormy16.h: Likewise.
5950 * config/v850/v850.h: Likewise.
5951 * config/vax/vms.h: Likewise.
5952 * config/arm/arm.c (arm_elf_asm_named_section): Output SECTION_MERGE
5953 and SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
5954 * config/sparc/sparc.c (sparc_elf_asm_named_section): Use
5955 default_elf_asm_named_section for SHF_MERGE sections.
5957 Tue Sep 11 17:55:54 CEST 2001 Jan Hubicka <jh@suse.cz>
5959 * bb-reorder.c (fixup_reorder_chain): Fallthru edge to exit block
5962 2001-09-11 Joseph S. Myers <jsm28@cam.ac.uk>
5964 * c-common.c (split_specs_attrs): Allow for empty attributes with
5965 empty TREE_PURPOSE. Fixes PR c/4294.
5967 Tue Sep 11 11:37:52 CEST 2001 Jan Hubicka <jh@suse.cz>
5969 * basic-block.h (cached_make_edge, make_single_succ): New.
5970 (make_edge): Remove first parameter.
5971 * bb-reroder.c (fixup_reorder_chain): Use make_single_succ_edge.
5972 * cfg.c (cached_make_edge): Rename from make_edge; return newly
5973 created edge; use obstack allocation.
5974 (make_edge, make_single_succ_edge): New.
5975 (first_removed_edge): New static variable.
5976 (init_flow): Initialize first_removed_edge and n_edges.
5977 (clear_edges): Use remove_edge.
5978 (flow_delete_block): Likewise.
5979 (remove_edge): Add removed edges to the removed edges list.
5980 (split_block, redirect_edge_and_branch_force, split_edge):
5982 * cfganal.c (flow_call_edges_add): Updaet make_edge call.
5983 (add_noreturn_fake_exit_edges): Likewise.
5984 (connect_infinite_loops_to_exit): Liekwise.
5985 * cfgbuild.c (make_label_edge, make_edges, find_sub_basic_blocks):
5986 Use cached_make_edge.
5987 * cfgcleanup.c (try_crossjump_to_edge): Use make_single_succ_edge.
5988 * profile.c (branch_prob): Update make_edge call.
5989 * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
5991 2001-09-11 Richard Henderson <rth@redhat.com>
5993 * config/alpha/alpha.c: Tidy formatting.
5994 (local_symbolic_operand): Verify mode.
5995 (alpha_sa_mask): Ignore unicos for eh_return.
5996 (alpha_expand_epilogue): Handle sp_adj2 zero, not NULL.
5997 * config/alpha/alpha.md (umk divsi patterns): Remove.
5998 (extendsfdf2): Remove unicos check.
5999 (tablejump): Merge vms and unicos code; always use direct set
6002 2001-09-11 Roman Lechtchinsky <rl@cs.tu-berlin.de>
6004 * config.gcc (alpha*-*-unicosmk*): New target.
6006 * config/alpha/alpha-protos.h (symbolic_operand,
6007 unicosmk_add_call_info_word, unicosmk_add_extern,
6008 unicosmk_defer_case_vector, unicosmk_unique_section,
6009 unicosmk_output_align, unicosmk_text_section, unicosmk_data_section,
6010 unicosmk_asm_file_start, unicosmk_asm_file_end,
6011 unicosmk_output_common): Declare.
6013 * config/alpha/alpha.c (NUM_ARGS, override_options, call_operand,
6014 direct_return, function_arg, alpha_va_start, alpha_va_arg,
6015 alpha_does_function_need_gp, alpha_end_function): Support Cray
6017 (alpha_init_machine_status, alpha_mark_machine_status,
6018 alpha_free_machine_status, unicosmk_output_deferred_case_vectors,
6019 unicosmk_gen_dsib, unicosmk_output_ssib, unicosmk_need_dex,
6020 unicosmk_asm_named_section, unicosmk_insert_attributes,
6021 unicosmk_section_type_flags, symbolic_operand,
6022 unicosmk_output_module_name, unicosmk_output_default_externs,
6023 unicosmk_output_dex, unicosmk_output_externs,
6024 unicosmk_output_addr_vec, unicosmk_ssib_name,
6025 unicosmk_initial_elimination_offset, unicosmk_asm_file_start,
6026 unicosmk_asm_file_end, unicosmk_output_common,
6027 unicosmk_section_type_flags, unicosmk_unique_section,
6028 unicosmk_add_call_info_word, unicosmk_text_section,
6029 unicosmk_data_section, unicosmk_extern_list, unicosmk_extern_head,
6030 unicosmk_add_extern, unicosmk_dex, unicosmk_dex_list,
6031 unicosmk_dex_count, unicosmk_special_name): New.
6032 (TARGET_INSERT_ATTRIBUTES, TARGET_SECTION_TYPE_FLAGS): Define for
6033 TARGET_ABI_UNICOSMK.
6034 (get_aligned_mem, alpha_expand_unaligned_load,
6035 alpha_expand_unaligned_store, alpha_expand_unaligned_load_words,
6036 alpha_expand_unaligned_store_words): Support big-endian mode.
6037 (print_operand): Likewise. New format specifier 't'. Use
6038 TARGET_AS_SLASH_BEFORE_SUFFIX.
6039 (alpha_is_stack_procedure): Rename from vms_is_stack_procedure.
6040 (alpha_pv_save_size): Update with above change.
6041 (alpha_sa_mask, alpha_sa_size, alpha_expand_prologue,
6042 alpha_start_function, alpha_expand_epilogue): Likewise. Support Cray
6045 * config/alpha/alpha.h (TARGET_ABI_UNICOSMK): New.
6046 (TARGET_ABI_OSF): Exclude TARGET_ABI_UNICOSMK.
6047 (TARGET_AS_SLASH_BEFORE_SUFFIX): New.
6048 (EXTRA_CONSTRAINT): New constraint 'U'.
6049 (PREDICATE_CODES): Add symbolic_operand.
6051 * config/alpha/alpha.md (UNSPEC_UMK_LAUM, UNSPEC_UMK_LALM,
6052 UNSPEC_UMK_LAL, UNSPEC_UMK_LOAD_CIW): New constants.
6053 (mulsi3, *mulsi_se, mulvsi3): Disable for TARGET_ABI_UNICOSMK.
6054 (integer division and modulus patterns): Split in default and
6056 (*divmodsi_internal, *divmoddi_internal): Disable for
6057 TARGET_ABI_UNICOSMK.
6058 (unaligned_extend?idi, unaligned_load?i, unaligned_store?i): Split in
6059 little-endian and big-endian versions.
6060 (ext, ins, msk): Likewise.
6061 (extv, extzv, insv): Support big-endian mode.
6062 (call, call_value, tablejump): Support TARGET_ABI_UNICOSMK.
6063 (call_umk, call_value_umk, *call_umk, tablejump_umk,
6064 *tablejump_umk_internal, *call_value_umk): New.
6065 (*movdi_nofix): Add pattern for loading an address into a register on
6066 TARGET_ABI_UNICOSMK.
6067 (umk_laum, umk_lal, umk_lalm, *umk_load_ciw): New.
6068 (umk_mismatch_args, arg_home_umk): New.
6069 (various insns): Don't use mov, fmov, nop, fnop and unop.
6070 (realign): Support TARGET_ABI_UNICOSMK.
6072 * config/alpha/unicosmk.h: New file.
6073 * config/alpha/t-unicosmk: New file.
6075 * fixinc/inclhack.def (unicosmk_restrict): New.
6076 * fixinc/fixincl.x: Regenerate.
6078 * ginclude/stddef.h (size_t): Check for and define __SIZE_T__.
6079 (wchar_t): Check for and define __WCHAR_T__.
6081 2001-09-11 Richard Sandiford <rsandifo@redhat.com>
6083 * combine.c (simplify_shift_const): Treat shifts by the mode
6086 2001-09-11 Neil Booth <neil@daikokuya.demon.co.uk>
6088 * cpphash.h (struct tokenrun): New.
6089 (struct cpp_context): New member bol.
6090 (struct cpp_reader): New members.
6091 (_cpp_init_tokenrun): New.
6092 * cppinit.c (cpp_create_reader): Set up the token runs.
6093 * cpplex.c (lex_directive, lex_token, next_tokenrun): New.
6094 (lex_token): New internalised version of _cpp_lex_token. Don't
6095 handle directives or the multiple include opimisation here any
6096 more. Simply lex a token.
6097 * cpplib.c (run_directive): Clear bol.
6098 (_cpp_pop_buffer): Set bol.
6099 * cppmacro.c (funlike_invocation_p): Keep tokens whilst parsing
6102 2001-09-11 Michael Meissner <meissner@redhat.com>
6104 * config/mips/mips.h (CC1_SPEC): If -mgp32 default to -mfp32, and
6105 give an error if the user uses -mfp32.
6106 (CPP_FPR_SPEC): Define __mips_fpr to be 32 or 64 depending on the
6108 (CPP_SPEC): Define __mips_fpr to be 32 or 64, depending on the
6109 floating point register size.
6110 (EXTRA_SPECS): Add CPP_FPR_SPEC.
6112 * config/mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Use
6113 HOST_WIDE_INT_PRINT_DEC to properly print the result of
6115 * config/mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
6116 * config/mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
6118 2001-09-11 Hans-Peter Nilsson <hp@axis.com>
6120 * dbxout.c (dbxout_parms): Fix typo in comment.
6121 * unroll.c (loop_find_equiv_value): Ditto.
6122 * toplev.c (rest_of_compilation): Ditto.
6123 * loop.c (scan_loop): Ditto.
6124 * dwarf2out.c (struct dw_fde_struct): Ditto.
6126 2001-09-10 Zack Weinberg <zackw@panix.com>
6128 * cpplex.c (parse_identifier): Fast-path optimize. Avoid
6129 copying identifier when we're just going to throw it away.
6130 (parse_identifier_slow): New routine to handle abnormal cases.
6131 (_cpp_lex_token): Update call site.
6133 * hashtable.c (ht_lookup): Don't assume that the string we've
6134 been given is NUL-terminated.
6135 * system.h: #define __builtin_expect(a, b) to (a) if not
6138 2001-09-10 Michael Meissner <meissner@redhat.com>
6140 * config.gcc (sparc64-*-solaris2): Add alias to be compatible with
6143 2001-09-10 David Edelsohn <edelsohn@gnu.org>
6145 * config/rs6000/t-aix43 (SHLIB_INSTALL): Use mode 751 (a+x,r-o).
6147 Mon Sep 10 16:26:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6149 * builtins.c (c_getstr): Correct thinko in last change and further
6152 2001-09-10 Tim Freeman <tim@fungibole.com>
6154 * dwarf2out.c (incomplete_types, decl_scope_table): Make them
6155 into varray's and register them as roots with the garbage
6156 collector so they are not collected too soon.
6158 Mon Sep 10 14:21:26 CEST 2001 Jan Hubicka <jh@suse.cz>
6160 * Makefile.in (cfg.o, cfganal.o, cfgloop.o, cfgbuild.o, cfgcleanup.o):
6162 * basic-block.h (flow_obstack, label_value_list,
6163 tail_recursion_label_list): Declare
6164 (tidy_fallthru_edges): Declare.
6165 (expunge_block, last_loop_beg_note): Delete.
6166 (can_fallthru, flow_nodes_print, flow_edge_list_print): Declare.
6168 (basic_block_for_insn, label_value_list): Move from flow.c; make global.
6169 (n_basic_blocks, n_edges, basic_block_info, entry_exit_blocks,
6170 init_flow, clear_edges, can_delete_note_p, can_delete_label_p,
6171 flow_delete_insn, flow_delete_insn_chain, create_basic_block,
6172 expunge_block, flow_delete_block, compute_bb_for_insn,
6173 update_bb_for_insn, set_block_for_insn, set_block_for_new_insns,
6174 make_edge, remove_edge, redirect_edge_succ, redirect_edge_succ_nodup,
6175 redirect_edge_pred, split_block, marge_blocks_nomove, block_label,
6176 try_redirect_by_replacing_jump, last_loop_beg_note,
6177 redirect_edge_and_branch, redirect_edge_and_branch_force,
6178 tidy_fallthru_edge, tidy_fallthru_edges, back_edge_of_syntactic_loop_p,
6179 split_edge, insert_insn_on_edge, commit_one_edge_insertion,
6180 commit_edge_insertions, dump_flow_info, debug_flow_info,
6181 dump_edge_info, dump_bb, debug_bb, debug_bb_n, print_rtl_with_bb,
6182 verify_flow_info, purge_dead_edges, purge_all_dead_edges):
6183 Move here from flow.c
6184 * cfganal.c: New file.
6185 (forwarder_block_p, can_fallthru, mark_critical_edges,
6186 mark_dfs_back_edges, need_fake_edge_p, flow_call_edges_add,
6187 find_unreachable_blocks, create_edge_list, free_edge_list,
6188 print_edge_list, verify_edge_list, find_edge_index, flow_nodes_print,
6189 flow_edge_list_print, remove_fake_successors, remove_fake_edges,
6190 add_noreturn_fake_exit_edges, connect_infinite_loops_to_exit,
6191 flow_reverse_top_sort_order_compute, flow_depth_first_order_compute,
6192 flow_dfs_compute_reverse_init, flow_dfs-compute_reverse_add_bb,
6193 flow_dfs-compute_reverse_execute, flow_dfs_compute_reverse_finish);
6194 Move here from flow.c
6195 * cfgbuild.c: New file
6196 (count_basic_blocks, find_label_refs, make_label_edge, make_eh_edge,
6197 make_edges, find_basic_blocks_1, find_basic_blocks,
6198 find_sub_basic_blocks): Move here from flow.c
6199 * cfgcleanup.c: New file.
6200 (try_simplify_condjump, try_forward_edges, tail_recursion_label_p,
6201 merge_blocks_move_predecessor_nojumps,
6202 merge_blocks_move_successor_nojumps, merge_blocks,
6203 flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
6204 try_crossjump_bb, try_optimize_cfg): Move here from flow.c
6205 (delete_unreachable_blocks, cleanup_cfg): Likewise; return true
6207 * cfgloop.c: New file
6208 (flow_loops_cfg_dump, flow_loop_nested_p, flow_loop_dump,
6209 flow_loops_dump, flow_loops_free, flow_loop_entry_edges_find,
6210 flow_loop_exit_edges_find, flow_loop_nodes_find,
6211 flow_loop_pre_header_scan, flow_loop_pre_header_find,
6212 flow_loop_tree_node_add, flow_loops_tree_build,
6213 flow_loop_level_compute, flow_loops_level_compute, flow_loop_scan,
6214 flow_loops_find, flow_loops_update, flow_loop_outside_edge_p):
6215 Move here from flow.c
6216 * flow.c: Remove everything moved elsewhere
6217 * output.h (cleanup_cfg): Return bool.
6219 * bb-reorder.c (reorder_block_def): Remove 'index'.
6220 (insert_intra_1): Add argument BB, set block for new note.
6221 (make_reorder_chain): Do not depdent on BB indexes.
6222 (make_reorder_chain_1): Do not use BB indexes.
6223 (label_for_bb): Likewise; set BB for new insn.
6224 (emit_jump_to_block_after): Likewise.
6225 (fixup_reoder_chain): Sanity check that all basic blocks
6226 are chained; verify newly created insn chain; remove
6227 undocnitional jump simplifying; Do not use BB indexes;
6228 properly initialize count and frequency information;
6229 dump reordered sequence.
6230 (insert_intra_bb_scope_notes): update call of insert_intra_1.
6231 (insert_inter_bb_scope_notes): Set block for new insn.
6232 (reorder_basic_blocks): Dump flow info before reoredering.
6234 Mon Sep 10 06:47:35 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6236 * alias.c (clear_reg_alias_info): Use K&R format definition.
6237 Avoid unsigned warning.
6238 * builtins.c: Use "unsigned int", not "unsigned".
6239 (target_char_cast): Use host_integerp and tree_low_cst.
6240 (expand_builtin_args_info, expand_builtin_frame_address): Likewise.
6241 (c_strlen): Likewise; OFFSET now HOST_WIDE_INT.
6242 (c_getstr): Likewise.
6243 (std_expand_builtin_va_arg): Use int_size_in_bytes.
6244 (builtin_memcpy_read_str): Avoid unsigned warning.
6245 (expand_builtin_memcpy): Alignments are unsigned.
6246 (expand_builtin_strncpy, expand_builtin_memset): Likewise.
6247 (expand_builtin_expect_jump): Use integer_zerop and integer_onep.
6248 * predict.c (expensive_function_p): LIMIT now unsigned.
6249 * resource.c (mark_target_live_regs): Make some vars unsigned.
6250 * sdbout.c: Use "unsigned int", not "unsigned".
6251 (MAKE_LINE_SAFE): Add cast to avoid unsigned warning.
6252 (sdbout_source_line): Likewise.
6253 (sdbout_record_type_name): Remove "const" for NAME declaration.
6254 * config/alpha/alpha.c (alpha_expand_block_move): Whitespace fixes.
6256 2001-09-10 Richard Sandiford <rsandifo@redhat.com>
6258 * calls.c (store_one_arg): Expand comment.
6260 2001-09-10 Roman Lechtchinsky <rl@cs.tu-berlin.de>
6262 * calls.c (store_one_arg): Make sure that the entire argument is
6263 pushed if STACK_PARMS_IN_REG_PARM_AREA is defined.
6265 2001-09-09 Richard Henderson <rth@redhat.com>
6267 * emit-rtl.c (adjust_address): Fix mode for LO_SUM.
6269 Sun Sep 9 10:43:17 CEST 2001 Jan Hubicka <jh@suse.cz>
6271 * loop.c (combine_givs): Fix computing of benefit once giv is combined.
6273 2001-09-09 Richard Henderson <rth@redhat.com>
6275 * config/alpha/alpha.c (alpha_next_sequence_number): New.
6276 (alpha_this_literal_sequence_number): New.
6277 (alpha_this_gpdisp_sequence_number): New.
6278 (some_operand, input_operand): Add HIGH.
6279 (local_symbolic_operand): New.
6280 (alpha_encode_section_info): New.
6281 (alpha_legitimate_address_p): Allow LO_SUM.
6282 (alpha_legitimize_address): Generate HIGH+LO_SUM.
6283 (alpha_expand_mov): Likewise.
6284 (secondary_reload_class): Check memory_operand not general_operand
6286 (alpha_expand_unaligned_load): Force LO_SUM addresses into a register.
6287 (alpha_expand_unaligned_store): Likewise.
6288 (alpha_expand_unaligned_load_words): Likewise.
6289 (alpha_expand_unaligned_store_words): Likewise.
6290 (alpha_expand_block_clear): Likewise.
6291 (print_operand): Handle %#, %*, %H.
6292 (print_operand_address): Handle LO_SUM.
6294 (alpha_does_function_need_gp): Use it.
6295 (alpha_expand_block_move): Fix signed compare warnings.
6296 (alpha_sa_mask, alpha_align_insns): Likewise.
6297 * config/alpha/alpha-protos.h: Update.
6298 * config/alpha/alpha.h (TARGET_EXPLICIT_RELOCS): New.
6299 (MASK_EXPLICIT_RELOCS): New.
6300 (TARGET_SWITCHES): Add -mexplicit-relocs.
6301 (EXTRA_CONSTRAINT): Add 'T'.
6302 (PREFERRED_RELOAD_CLASS): HIGH goes in GENERAL_REGS.
6303 (ASM_APP_ON, ASM_APP_OFF): Turn on and off asm macro expansion.
6304 (ENCODE_SECTION_INFO): Out line.
6305 (REDO_SECTION_INFO_P): New.
6306 (STRIP_NAME_ENCODING): New.
6307 (ASM_OUTPUT_LABELREF): New.
6308 (PRINT_OPERAND_PUNCT_VALID_P): Add #, *.
6309 (PREDICATE_CODES): Update.
6310 * config/alpha/alpha.md (divmodsi_internal_er, divmoddi_internal_er,
6311 call_osf_1_er_noreturn, call_osf_1_er, movdi_er_low, movdi_er_nofix,
6312 movdi_er_fix, prologue_ldgp_1_er, builtin_setjmp_receiver_sub_label_er,
6313 builtin_setjmp_receiver_er, exception_receiver_1_er,
6314 call_value_osf_1_er): New patterns.
6315 (sibcall_osf_1, sibcall_value_osf_1): Remove register alternative.
6316 (movqi, movhi, movsi): Add explicit $31 base register to lda.
6317 * config/alpha/elf.h (ASM_FILE_START): Set nomacro if explicit relocs.
6318 (FINAL_PRESCAN_INSN): New.
6320 Sat Sep 8 22:00:55 CEST 2001 Jan Hubicka <jh@suse.cz>
6322 * reg-stack.c (subst_stack_regs_pat): Fix fcmov reversal code.
6324 2001-09-08 Andreas Jaeger <aj@suse.de>
6326 * i386.h (TARGET_SWITCHES): Fix description.
6328 2001-09-07 David Edelsohn <edelsohn@gnu.org>
6330 * rs6000.c (num_insns_constant): Compute number of instructions
6333 * doc/install.texi: Explain AIX exception handling work-around.
6334 Update URL for AIX fixes.
6336 2001-09-07 Jim Wilson <wilson@redhat.com>
6338 * alias.c (clear_reg_alias_info): New.
6339 * flow.c (attempt_auto_inc): Call clear_reg_alias_info.
6340 * rtl.h (clear_reg_alias_info): Declare.
6342 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
6344 * real.c (EMUSHORT,EMUSHORT_SIZE): Use HImode if no 16-bit type is
6346 (UEMUSHORT): New. Use instead of unsigned EMUSHORT.
6347 (m16m,edivm,emulm): Change declaration to match definition.
6349 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
6351 * reload.c (push_reload): Check for subreg_lowpart_p instead of
6352 SUBREG_BYTE being 0 when determining if the inner part of a subreg
6355 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
6357 * c-common.c (signed_or_unsigned_type): Handle machine mode types
6358 which have no corresponding C type.
6359 * fold_const.c (target_isinf,target_isnan,target_negative): Update
6360 the representation of 64-bit doubles to work with 64-bit ints.
6362 2001-09-07 Aldy Hernandez <aldyh@redhat.com>
6364 * config/mips/mips.c (override_options): Do not override ISA when ABI
6365 specified if MIPS_CPU_STRING_DEFAULT was specified.
6367 2001-09-07 Richard Henderson <rth@redhat.com>
6369 * loop.c (record_giv): Avoid simplifying MULT to ASHIFT.
6370 (express_from_1): Wrap lines.
6371 * rtlanal.c (commutative_operand_precedence): Rename from
6372 operand_preference; export.
6373 * rtl.h: Declare it.
6374 * simplify-rtx.c (simplify_gen_binary): Tidy +/- const_int handling.
6375 (simplify_binary_operation): Invoke simplify_plus_minus on
6376 (CONST (PLUS ...)) as well.
6377 (struct simplify_plus_minus_op_data): New.
6378 (simplify_plus_minus_op_data_cmp): New.
6379 (simplify_plus_minus): Use them. Avoid infinite recursion with
6380 simplify_binary_operation wrt CONST.
6382 Fri Sep 7 11:52:30 2001 Kazu Hirata <kazu@hxi.com>
6384 * h8300-protos.h (general_operand_dst_push): Remove.
6385 * h8300.c (general_operand_dst_push): Likewise.
6386 * h8300.h (OK_FOR_T): Likewise.
6387 (EXTRA_CONSTRAINTS): Do not use OK_FOR_T.
6388 * h8300.md (pushqi_h8300): New.
6389 (pushqi_h8300hs): Likewise.
6391 (pushhi_h8300): Likewise.
6392 (pushhi_h8300hs): Likewise.
6395 Fri Sep 7 12:56:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6397 * genattrtab.c (attr_printf): First arg is unsigned.
6398 Clean up formatting of callers.
6400 2001-09-06 Aldy Hernandez <aldyh@redhat.com>
6402 * config/mips/mips.c (override_options): Allow abi32 with 64 bit
6405 2001-09-07 Andreas Jaeger <aj@suse.de>
6407 * i386.h (TARGET_SWITCHES): Fix descriptions.
6409 2001-09-07 Matt Kraai <kraai@alumni.carnegiemellon.edu>
6411 * stor-layout.c (compute_record_mode): Check DECL_SIZE is set.
6413 2001-09-06 Ira Ruben <ira@apple.com>
6415 Remove OP_IDENTIFIER.
6416 * tree.def (OP_IDENTIFIER): Remove.
6417 * tree.c (tree_node_kind enum): Remove op_id_kind.
6418 (tree_node_kind_names): Remove "op_identifiers".
6419 (make_node): Remove OP_IDENTIFIER test.
6420 (build_op_identifier): Removed because it isn't being used.
6421 * print-tree.c (print_node): Remove OP_IDENTIFIER case.
6422 * cp/pt.c (tsubst): Remove OP_IDENTIFIER case.
6424 2001-09-06 Richard Henderson <rth@redhat.com>
6426 * simplify-rtx.c (simplify_binary_operation): Revert last change.
6428 2001-09-06 Richard Henderson <rth@redhat.com>
6430 * simplify-rtx.c (simplify_binary_operation): Simplify contents
6433 2001-09-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6435 * config/rs6000/rs6000.c (rs6000_emit_prologue): Fix DWARF2 register
6436 number used for CR register.
6438 Thu Sep 6 11:16:35 2001 Jeffrey A Law (law@cygnus.com)
6439 Joern Rennecke (amylaar@cygnus.com)
6441 * h8300-protos.h (h8300_return_addr_rtx): New prototype.
6442 * h8300.c (initial_offset): Handle offset between RP and FP.
6443 (h8300_return_addr_rtx): New function.
6444 * h8300.h (FIRST_PSEUDO_REGISTER): Bump now that we have a
6446 (FIXED_REGISTERS, CALL_USED_REGISTERS): Corresponding changes.
6447 (REG_ALLOC_ORDER, RETURN_ADDRESS_POINTER_REGNUM): Likewise.
6448 (REG_CLASS_CONTENTS, ELIMINABLE_REGS): Likewise.
6449 (CAN_ELIMINATE, REGISTER_NAMES):
6450 (RETURN_ADDR_RTX): Call h8300_return_addr_rtx.
6452 2001-09-06 Nathan Sidwell <nathan@codesourcery.com>
6454 Remove TYPE_NONCOPIED_PARTS.
6455 * tree.h (TYPE_NONCOPIED_PARTS): Remove.
6456 (struct tree_type): Remove noncopied_parts.
6457 * c-tree.h (TYPE_ACTUAL_ARG_TYPES): Map onto TYPE_BINFO.
6458 * expr.c (save_noncopied_parts, init_noncopied_parts): Remove.
6459 (fixed_type_p): Remove.
6460 (expand_expr, INIT_EXPR): Don't deal with noncopied parts.
6461 (expand_expr, MODIFY_EXPR): Likewise.
6462 * ggc-common.c (ggc_mark_trees): Remove TYPE_NONCOPIED_PARTS.
6463 * doc/c-tree.texi: Remove TYPE_NONCOPIED_PARTS FIXME.
6465 2001-09-06 Alan Modra <amodra@bigpond.net.au>
6467 * config/rs6000/rs6000.c (mask_operand): Use signed vars to avoid
6469 (mask64_operand): Likewise.
6470 (includes_rldic_lshift_p): Likewise.
6471 (includes_rldicr_lshift_p): Likewise.
6473 2001-09-05 Ziemowit Laski <zlaski@apple.com>
6475 * objc/objc-act.c (build_message_expr): If a class method cannot
6476 be found, do not issue a warning if a corresponding instance
6477 method exists in the root class.
6479 2001-09-05 Richard Henderson <rth@redhat.com>
6481 * config/alpha/alpha.c (alpha_expand_mov): Initialize temp.
6483 2001-09-05 Zack Weinberg <zack@codesourcery.com>
6485 * function.c (ggc_mark_struct_function): Mark f->outer.
6486 * toplev.c (rest_of_compilation): Clear DECL_SAVED_INSNS here...
6487 * integrate.c (output_inline_function): ... not here.
6489 Wed Sep 5 17:28:49 CEST 2001 Jan Hubicka <jh@suse.cz>
6491 * profile.c (branch_prob): Call add_noreturn_fake_exit_edges.
6493 * i386.c (size_cost): New static variable.
6494 (override_function): Use size_cost when -Os is specified.
6496 * i386.c (ix86_expand_prologue): Set use_fast_prologue_epilogue
6497 properly; Use current_function_calls_eh_return.
6498 (ix86_expand_epilogue): Avoid dummy optimize_size tests;
6499 use leave to avoid dependency chain.
6501 * local-alloc.c (update_equiv_regs): Use CFG to iterate over INSN stream;
6502 get BB loop_depth instead of computing it from LOOP notes.
6504 * reg-stack.c (subst_stack_reg_pat): Handle reversal of conditional moves.
6506 2001-09-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
6508 * som.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
6509 * pa.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
6510 UNALIGNED_DOUBLE_INT_ASM_OP): Define
6512 2001-09-05 Jeffrey A Law (law@cygnus.com)
6513 Jason Merrill (jason@redhat.com)
6515 * stor-layout.c (layout_type): Complain if an array's size can
6516 not be represented in a size_t.
6518 * config/h8300/elf.h (ENDFILE_SPEC, STARTFILE_SPEC): Define.
6520 2001-09-05 David Billinghurst <David.Billinghurst@riotinto.com>
6522 * gcc.c: (process_command) Add parentheses around assignment
6523 used as truth value.
6525 2001-09-05 Richard Sandiford <rsandifo@redhat.com>
6527 * config/mips/mips.c (save_restore_insns): Don't mark any register
6528 save slots as unchanging if current_function_calls_eh_return.
6530 2001-09-05 Richard Henderson <rth@redhat.com>
6532 * config/alpha/alpha.c (alpha_legitimate_address_p): New.
6533 * config/alpha/alpha-protos.h: Declare it.
6534 * config/alpha/alpha.h (GO_IF_LEGITIMATE_ADDRESS): Move to c file.
6535 (NONSTRICT_REG_OK_FOR_BASE_P): Rename from non-strict macro.
6536 (NONSTRICT_REG_OK_FP_BASE_P): Likewise.
6537 (STRICT_REG_OK_FOR_BASE_P): Rename from strict macro.
6538 (REG_OK_FOR_BASE_P): Select one of the above.
6540 2001-09-05 Richard Sandiford <rsandifo@redhat.com>
6542 * config/mips/t-elf (EXTRA_PARTS): Use EXTRA_MULTILIB_PARTS instead.
6543 (crti.o): Prefix name of object file with $(T).
6546 2001-09-05 David S. Miller <davem@redhat.com>
6548 * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
6549 * config/sparc/linux64.h: Likewise.
6551 2001-09-05 Andreas Jaeger <aj@suse.de>
6553 * doc/invoke.texi (i386 Options): -mwide-multiply is not
6554 available anymore, remove the documentation.
6555 (i386 Options): Fix typo, cleanup index entries.
6557 * prefix.c (concat): Remove, we can use the version from liberty.
6559 2001-09-05 Richard Henderson <rth@redhat.com>
6561 * config/alpha/alpha.c (alpha_expand_mov, alpha_expand_mov_nobwx):
6562 New functions split out of md file expanders.
6563 * config/alpha/alpha-protos.h: Declare them.
6564 * config/alpha/alpha.md (movqi, movhi, movsi, movdi): Use them.
6566 2001-09-05 Neil Booth <neil@daikokuya.demon.co.uk>
6568 * cppmacro.c (funlike_invocation_p): No need to restore context.
6570 2001-09-04 Richard Henderson <rth@redhat.com>
6572 * reload.c (push_reload): Export.
6573 * reload.h (push_reload): Declare it.
6575 * config/alpha/alpha.h (LEGITIMIZE_ADDRESS): Move out o' line.
6576 (LEGITIMIZE_RELOAD_ADDRESS): Likewise.
6577 * config/alpha/alpha.c (alpha_legitimize_address): New.
6578 (alpha_legitimize_reload_address): Likewise.
6579 * config/alpha/alpha-protos.h: Declare them.
6581 2001-09-04 Stan Shebs <shebs@apple.com>
6583 * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Define.
6584 * config/darwin.c (machopic_stub_name): Account for internally
6585 generated lib calls such as memcpy.
6587 2001-09-04 Richard Henderson <rth@redhat.com>
6589 * unwind.h (_UA_END_OF_STACK): New flag.
6590 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Set it.
6592 Tue Sep 4 11:16:35 2001 Jeffrey A Law (law@cygnus.com)
6594 * h8300/elf.h (LINK_SPEC): Redefine appropriately for the H8.
6596 2001-09-04 Richard Sandiford <rsandifo@redhat.com>
6598 * config/mips/mips.c (save_restore_insns): Change base_offset to
6599 fp_offset in second call to mips_emit_frame_related_store.
6601 2001-09-04 Hans-Peter Nilsson <hp@axis.com>
6603 * doc/rtl.texi: Mention that besides as a CODE_LABEL, a label can
6604 sometimes be represented as a NOTE of type
6605 NOTE_INSN_DELETED_LABEL.
6606 (Insns): Document NOTE_INSN_DELETED_LABEL.
6608 2001-09-04 Nathan Sidwell <nathan@codesourcery.com>
6610 * c-common.h (tree_dump_index): Add more comments.
6611 * c-dump.c (dump_files): Name flags `tree' rather than `ast'.
6612 (dump_option_value_info): New struct.
6613 (dump_options): New array.
6614 (dump_switch_p): Parse switch options symbolically.
6615 * doc/invoke.texi (-fdump-ast): Rename to ...
6616 (-fdump-tree): ... here. Document that options are symbolic, and
6617 not all are applicable.
6619 2001-09-04 David S. Miller <davem@redhat.com>
6621 * config/sparc/sparc.md (define_splits): Kill constraints.
6623 Cleanup redundant and unused insn attributes.
6624 * config/sparc/sparc.md (define_attr "insn"): Kill address, unary,
6625 binary, and move. Mark ialu as default.
6626 (commented out define_function_unit "alu"): Kill.
6627 (define_attr "use_clobbered"): Kill.
6628 (whole file): Kill address insn type references. Replace
6629 all unary/binary/move references with ialu.
6630 * config/sparc/sparc.c (whole file): Kill TYPE_ADDRESS
6631 references. Replace TYPE_{UNARY,BINARY,MOVE} references with
6634 Simplify length insn attribute and make more judicious use
6635 of insn attribute defaulting.
6636 * config/sparc/sparc.md (all insns with length > one): Mark as
6637 insn type multi if real instructions, else use default if
6638 it is a forced splitter.
6639 (all insns with length == one): Use default insn length.
6640 (all insns of type ialu): Use default insn type.
6642 Fix erroneous insn attribute settings.
6643 (addx): Set insn type to misc.
6644 (mulsidi3_sp64, const_mulsidi3_sp64, umulsidi3_sp64,
6645 const_umulsidi3_sp64): Set insn type to imul.
6647 Track SFmode vs DFmode insns according to UltraSPARC
6649 * config/sparc/sparc.md ("fptype"): New attribute, default
6651 (all DFmode single insns): Mark as fptype "double".
6653 2001-09-03 Jakub Jelinek <jakub@redhat.com>
6655 * loop.c (express_from_1): Fix CONSTANT_P(a) case.
6657 2001-09-03 Richard Henderson <rth@redhat.com>
6659 * function.h (struct function): Add arg_pointer_save_area_init.
6660 * function.c (expand_function_end): Init arg_pointer_save_area.
6661 (get_arg_pointer_save_area): Do not init arg_pointer_save_area
6662 when called from a nested function.
6664 2001-09-02 Angela Marie Thomas <angela@cygnus.com>
6666 * fixinc/Makefile.in: Regenerate fixincl.x only if maintainer-mode
6669 Sun Sep 2 18:37:54 CEST 2001 Jan Hubicka <jh@suse.cz>
6671 * reload1.c (fixup_abnormal_edges): Allow NOTEs in the sequence.
6673 2001-09-01 Geoffrey Keating <geoffk@redhat.com>
6675 * expr.c (push_block): Make sane use of STACK_GROWS_DOWNWARD.
6676 (emit_push_insn): Use specified padding direction when
6677 STACK_PUSH_CODE is POST_INC.
6679 * config/stormy16/stormy16.h (DWARF2_UNWIND_INFO): Define to 0.
6681 2001-09-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6683 * mips.h (INITIAL_ELIMINATION_OFFSET): Add missing `else abort'.
6685 2001-09-01 Neil Booth <neil@daikokuya.demon.co.uk>
6687 * cppinit.c (cpp_start_read): Free the imacros list as we
6688 traverse it. Don't free the chains before returning.
6689 (_cpp_push_next_buffer): Only try pushing buffers if we've
6690 completed -imacros handling.
6692 2001-08-31 Eric Christopher <echristo@redhat.com>
6694 * gcc.c (handle_braces): Add explaination for abort.
6696 2001-08-30 Roman Zippel <zippel@linux-m68k.org>
6698 * expmed.c (store_bit_field): Update to patch from 2001-08-27:
6699 move adjustment of bitpos instead.
6701 2001-08-31 Zack Weinberg <zack@codesourcery.com>
6703 * function.c: Remove all_functions. Make outer_function_chain
6705 (init_function_start): Don't add new function structure to
6707 (find_function_data, push_function_context_to,
6708 pop_function_context_from, put_var_into_stack,
6709 trampoline_address): Update for changed structure element names.
6710 (push_function_context_to): Disentangle.
6711 (free_after_compilation): Also free F.
6712 (expand_dummy_function_end): Don't free cfun here.
6713 (put_var_into_stack): Comment why we can't use find_function_data here.
6714 (fix_lexical_addr, trampoline_address, ): Use find_function_data.
6715 (mark_function_chain): Split into maybe_mark_struct_function and
6716 ggc_mark_struct_function. Export the latter.
6717 (init_function_once): Mark from cfun and outer_function_chain;
6720 * function.h (struct function): Kill next_global. Rename next
6721 to outer. All users updated to match.
6722 (all_functions, outer_function_chain): Don't declare.
6724 * ggc-common.c (ggc_mark_trees): Mark DECL_SAVED_INSNS.
6725 * integrate.c (output_inline_function): Clear DECL_SAVED_INSNS,
6726 don't touch f->inlinable, after calling rest_of_compilation.
6728 * tree.h: Forward-declare struct function. Prototype
6729 ggc_mark_struct_function.
6731 2001-08-31 Kazu Hirata <kazu@hxi.com>
6733 * config/h8300/h8300.md (*andorhi3): Fix typos.
6735 2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6737 * calls.c (emit_library_call_value): Don't use a fixed
6738 argument after VA_CLOSE, i.e. out of scope in traditional C.
6740 * emit-rtl.c (gen_rtvec): Likewise.
6742 2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6744 * Makefile.in (c-pragma.o): Depend on output.h.
6745 (reorg.o): Depend on except.h.
6747 * c-pragma.c: Include output.h.
6749 * reorg.c: Include except.h.
6751 * unwind-dw2.c: Call __builtin_alloca, not alloca.
6753 2001-08-31 Richard Henderson <rth@redhat.com>
6755 * sched-deps.c (add_dependence): Don't elide dependency if the
6756 conditional used by insn is modified in elem.
6758 2001-08-31 Nick Clifton <nickc@cambridge.redhat.com>
6760 * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Define.
6762 2001-08-31 Diego Novillo <dnovillo@redhat.com>
6764 * c-decl.c (c_decode_option): Skip '-f' prefix before calling
6767 2001-08-31 Geoffrey Keating <geoffk@redhat.com>
6769 * config/stormy16/stormy16.c (stormy16_asm_out_destructor): New
6771 (stormy16_asm_out_constructor): New function.
6772 (TARGET_ASM_CONSTRUCTOR): Define.
6773 (TARGET_ASM_DESTRUCTOR): Define.
6775 2001-08-31 Andreas Jaeger <aj@suse.de>
6777 * gcse.c (add_label_notes): REG_LABEL is an INSN_LIST.
6778 * loop.c (add_label_notes): Likewise.
6779 * reload.c (find_reloads): Likewise.
6780 * config/sh/sh.c (machine_dependent_reorg): Likewise.
6782 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
6784 * unwind-pe.h (read_uleb128, read_sleb128): Move actual reading
6785 code here. Take _Unwind_{W,Sw}ord*.
6786 (read_encoded_value_with_base): Use them.
6787 * unwind-dw2.c (_Unwind_FrameState): Make cfa_offset and cfa_reg
6789 (extract_cie_info): Simplify read_?leb128 handling.
6790 (execute_stack_op, execute_cfa_program): Likewise.
6791 * unwind-dw2-fde.c (get_cie_encoding): Likewise.
6793 2001-08-31 Geoffrey Keating <geoffk@redhat.com>
6795 * config/stormy16/stormy16.c (stormy16_expand_epilogue): Use
6796 the frame pointer to pop the stack if convenient.
6798 * config/stormy16/stormy16.c (stormy16_initialize_trampoline):
6799 Don't use post-increment before combine.
6800 * config/stormy16/stormy16.h (STATIC_CHAIN_REGNUM): Don't use
6801 a call-saved register.
6803 2001-08-31 Andreas Jaeger <aj@suse.de>
6805 * jump.c (mark_jump_label): Revert patch from 2001-08-28, the
6808 2001-08-30 Geoffrey Keating <geoffk@redhat.com>
6810 * config/stormy16/stormy16.md (udivmodhi4): Express using UDIV/UMOD,
6811 not DIV/MOD, of course.
6813 2001-08-30 Vladimir Makarov <vmakarov@redhat.com>
6815 * rtl.def: Undo my patch commited 2001-08-27.
6817 * genattrtab.c: Ditto.
6821 * sched-int.h: Ditto.
6823 * target-def.h: Ditto.
6827 * haifa-sched.c: Ditto.
6829 * sched-rgn.c: Ditto.
6831 * sched-vis.c: Ditto.
6833 * Makefile.in: Ditto.
6835 * doc/md.texi: Ditto.
6837 * doc/tm.texi: Ditto.
6839 * doc/contrib.texi: Ditto.
6841 * doc/gcc.texi: Ditto.
6843 * genattrtab.h: Remove it.
6845 * genautomata.c: Remove it.
6847 * genattr.c: Undo my patch and Richard Henderson's patch commited
6850 Thu Aug 30 19:22:15 2001 J"orn Rennecke <amylaar@redhat.com>
6852 * config.gcc (h8300-*-elf*): New case.
6853 * h8300.h (CPP_SPEC): Add subtarget_cpp_spec.
6854 (SUBTARGET_CPP_SPEC): Define.
6855 (EXTRA_SPECS): Define.
6856 (SUBTARGET_EXTRA_SPECS): Define.
6857 * config/h8300/crti.asm, config/h8300/crtn.asm: New files.
6858 * config/h8300/elf.h, config/h8300/t-elf: Likewise.
6860 Thu Aug 30 18:50:37 2001 J"orn Rennecke <amylaar@redhat.com>
6862 * t-h8300 (LIB1ASMFUNCS): Add _fixunssfdi and _fixunssfsi_asm.
6863 (LIB2FUNCS_EXTRA): Define.
6864 config/h8300/lib1funcs.asm: New part: L_fixunssfsi_asm .
6865 config/h8300/fixunssfsi.c: New file.
6867 2001-08-30 Kazu Hirata <kazu@hxi.com>
6869 * config/h8300/h8300.md (zero_extendqihi2): Changes to
6870 define_expand to accommodate target-specific attributes.
6871 (anonymous zero_extendqihi2 patterns): New.
6873 Thu Aug 30 18:10:56 2001 J"orn Rennecke <amylaar@redhat.com>
6875 * h8300.md (*andorhi3): New pattern.
6877 Thu Aug 30 16:00:31 2001 J"orn Rennecke <amylaar@redhat.com>
6879 * h8300.c (dosize): Fix test for "sub".
6881 Thu Aug 30 10:21:43 2001 J"orn Rennecke <amylaar@redhat.com>
6883 * c-typeck.c (pointer_diff): Try to eliminate common term before
6886 2001-08-30 Nick Clifton <nickc@cambridge.redhat.com>
6888 * config/arm/arm.c (arm_compute_initial_elimination_offset):
6889 Account for the saves of the FP registers.
6891 * config/arm/unknown-elf.h (TEXT_SECTION): Delete.
6892 (TEXT_SECTION_ASM_OP): Define.
6893 (INIT_SECTION_ASM_OP): Define.
6894 (FINI_SECTION_ASM_OP): Define.
6895 (SUBTARGET_EXTRA_SECTIONS): Remove trailing comma.
6896 (RDATA_SECTION_FUNCITON): Provide prototype.
6898 2001-08-29 Geoffrey Keating <geoffk@redhat.com>
6900 * reload1.c (move2add_note_store): Correct typo checking for
6903 2001-08-29 Andrew MacLeod <amacleod@redhat.com>
6905 * gcse.c (compute_hash_table): The SRC part of an insn with a RETVAL
6906 note should not be considered outside the libcall block.
6908 2001-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6910 * genattrtab.c (attr_printf): Use VA_OPEN/VA_FIXEDARG/VA_CLOSE.
6912 2001-08-29 Kazu Hirata <kazu@hxi.com>
6914 * config/h8300/h8300.md (movsi_h8300hs): Make it 64-bit safe.
6916 2001-08-29 Kazu Hirata <kazu@hxi.com>
6918 * config/h8300/h8300-protos.h: Add a prototype for
6920 * config/h8300/h8300.c (emit_logical_op): New.
6921 * config/h8300/h8300.md (andhi3): Use emit_logical_op.
6928 2001-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
6930 * pa.c (move_operand): Cast GET_MODE_SIZE results to HOST_WIDE_INT for
6931 comparison with rtx INTVAL.
6932 (pa_output_function_prologue): Don't mix signed and unsigned in `?'
6934 * pa.h (FUNCTION_ARG_SIZE): Likewise.
6936 2001-08-29 Kazu Hirata <kazu@hxi.com>
6938 * config/h8300/lib1funcs.asm: Update the copyright. Fix
6941 2001-08-29 Kazu Hirata <kazu@hxi.com>
6943 * config/h8300/h8300.md (anonymous movhi pattern): Don't move
6944 (reg n) to (mem (pre_dec (reg n))
6945 (anonymous movsi pattern): Likewise.
6947 2001-08-29 Kazu Hirata <kazu@hxi.com>
6949 * config/h8300/h8300.h (RETURN_ADDR_RTX): New.
6951 2001-08-29 Kazu Hirata <kazu@hxi.com>
6953 * config/h8300/h8300.md (movsi_h8300hs): Optimize loading of
6954 several special constants.
6956 2001-08-29 Kazu Hirata <kazu@hxi.com>
6958 * config/h8300/lib1funcs.asm: Fix comment typos.
6960 2001-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6962 * iris6.h (ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT):
6963 Fix format specifier warnings.
6965 * irix6-libc-compat.c (inet_ntoa, inet_lnaof, inet_netof,
6966 inet_makeaddr, semctl): Prototype.
6968 * mips.c (compute_frame_size): Fix signed/unsigned warnings.
6969 (save_restore_insns): Use base_offset, not gp_offset.
6971 * mips.h (GP_REG_OR_PSEUDO_STRICT_P): Fix signed/unsigned warning.
6972 (ASM_OUTPUT_BYTE): Fix format specifier warning.
6974 2001-08-29 Richard Henderson <rth@redhat.com>
6976 * bb-reorder.c (function_tail_eff_head): New.
6977 (record_effective_endpoints): Set it.
6978 (fixup_reorder_chain): Use it.
6980 2001-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6982 * dwarf2asm.c (dw2_asm_output_nstring): Fix typo in previous change.
6984 2001-08-28 Dale Johannesen <dalej@apple.com>
6986 * config/darwin.c (machopic_function_base_name): Add const
6987 qualifier to a string.
6988 (darwin_encode_section_info): Ditto.
6990 2001-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6992 * tree.c (default_valid_attribute_p): Don't use PARAMS on a
6993 function definition.
6995 2001-08-28 Daniel Berlin <dan@cgsoftware.com>
6997 * df.h (struct df): Add rts_order variable.
6999 * df.c (df_visit_next_rts): New function.
7000 (df_visit_next): Renamed to df_visit_next_rc
7001 (df_analyse_1): Allocate/compute/free rts_order as well.
7002 (df_rd_global_compute): Use df_visit_next_rc instead of
7004 (df_ru_global_compute): Use df_visit_next_rts instead of
7007 * flow.c (flow_reverse_top_sort_order_compute): New function.
7009 * basic-block.h: Add prototype.
7011 2001-08-28 Daniel Berlin <dan@cgsoftware.com>
7013 * ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): For unreachable
7014 blocks, the BB_REACHABLE is now set, rather than aux being
7015 non-NULL. Update the test to reflect this.
7017 2001-08-28 Eric Christopher <echristo@redhat.com>
7019 * config/mips/crtn.asm: Add comment explaining 16 byte alignment.
7020 config/mips/crti.asm: Ditto.
7022 2001-08-28 Eric Christopher <echristo@redhat.com>
7023 Richard Henderson <rth@redhat.com>
7025 * c-pragma.h (add_weak): Move prototype from here...
7026 * output.h (add_weak): ... to here.
7027 * varasm.c (add_weak): Fix typo.
7028 * config/mips/crti.asm: New file.
7029 * config/mips/crtn.asm: Ditto.
7030 * config/mips/elf.h (SBSS_SECTION_ASM_OP) Add #undef.
7031 (CTOR_LISTS_DEFINED_EXTERNALLY): Remove.
7032 (INVOKE__main): Ditto.
7033 (INIT_SECTION_ASM_OP): New.
7034 (FINI_SECTION_ASM_OP): Ditto.
7035 (STARTFILE_SPEC): Add crti.
7036 (ENDFILE_SPEC): Add crtn.
7037 * config/mips/elf64.h: Same.
7038 * config/mips/rtems64.h (INVOKE__main, NAME__MAIN, SYMBOL__MAIN):
7040 * config/mips/vxworks.h: Ditto.
7041 * config/mips/t-elf: Support crti and crtn.
7043 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
7045 * jump.c (mark_jump_label): Fix typo: REG_LABEL is EXPR_LIST, not
7048 2001-08-28 Richard Henderson <rth@redhat.com>
7050 * config/ia64/ia64.md (andcmbi3, iorcmbi3): Fix typos.
7051 (one_cmplbi2 splitter): Remove redundant test.
7053 2001-08-28 Dale Johannesen <dalej@apple.com>
7055 * config/rs6000/darwin.h (DEFAULT_SIGNED_CHAR): Define.
7057 2001-08-28 Danny Smith <dannysmith@users.sourceforge.net>
7059 * config/i386/cygwin.h (BIGGEST_FIELD_ALIGNMENT): Set to 64.
7061 2001-08-28 Stan Shebs <shebs@apple.com>
7063 * config/darwin.h (ASM_OUTPUT_LABELREF): Handle '*' names.
7064 (UNALIGNED_SHORT_ASM_OP): Define.
7065 (UNALIGNED_INT_ASM_OP): Define.
7067 2001-08-28 Will Cohen <wcohen@redhat.com>
7069 * config/rs6000/rs6000.md (store_multiple): Correct RTL
7070 generation for first set.
7072 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
7074 * flow.c (redirect_edge_succ_nodup): Return new edge.
7075 (try_simplify_condjump): Use new edge.
7076 * basic-block.h (redirect_edge_succ_nodup): Update prototype.
7078 * cse.c (cse_basic_block): Skip note instructions.
7080 2001-08-27 Richard Henderson <rth@redhat.com>
7082 * combine.c (combine_simplify_rtx): Don't reverse condition
7083 if there is no reverse for the condition.
7084 (simplify_comparison): Don't simplify subregs from INT to FP.
7086 * config/m68k/m68k.md (sordered, sordered_1, sunordered, sunordered_1,
7087 suneq, suneq_1, sunge, sunge_1, sungt, sungt_1, sunle, sunle_1,
7088 sunlt, sunlt_1, sltgt, sltgt_1, fsogt_1, fsoge_1, fsolt_1, fsole_1,
7089 bordered, bunordered, buneq, bunge, bungt, bunle, bunlt, bltgt,
7090 bordered_rev, bunordered_rev, buneq_rev, bunge_rev, bungt_rev,
7091 bunle_rev, bunlt_rev, bltgt_rev): New patterns.
7093 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
7095 * config/m68k/m68k.md (subreghi1ashrdi_const32, bsetmemqi,
7096 bsetmemqi+1, strict_low_part peephole): Fix SUBREG_BYTE offset.
7098 (adddi_dilshr32, adddi_dishl32): Only data register can be
7099 source for mem destination.
7101 * expmed.c (store_bit_field): Ignore adjustment to bitpos
7102 and use bitnum to decide about register move.
7104 2001-08-27 Richard Henderson <rth@redhat.com>
7106 * genattr.c (main): Emit state_t even when not doing scheduling.
7108 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
7109 Richard Henderson <rth@redhat.com>
7111 * gcse.c (reg_first_set, reg_last_set): Replace with ...
7112 (reg_avail_info, current_bb): ... these.
7113 (oprs_unchanged_p, record_last_reg_set_info): Use them.
7114 (compute_hash_table): Likewise.
7116 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
7118 * flow.c (verify_flow_info): Use checksums to verify edges.
7120 2001-08-27 Richard Henderson <rth@redhat.com>
7122 * genautomata.c (expand_automata): Always create a description.
7124 2001-08-27 Geoffrey Keating <geoffk@redhat.com>
7126 * optabs.c (expand_binop): Correctly handle the carry in multiword
7127 add/subtract operations.
7129 2001-08-27 Fred Fish <fnf@be.com>
7131 * ginclude/stddef.h: Fix typo, __SIZE__TYPE__ should be
7134 2001-08-27 Geoffrey Keating <geoffk@redhat.com>
7136 * reload.c (find_reloads_toplev): Back out this change:
7138 Wed Jul 26 19:44:05 2000 Hans-Peter Nilsson <hp@axis.com>
7140 * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
7141 mem if the address is a mode_dependent_address_p.
7143 2001-08-27 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
7145 * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
7146 PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
7147 AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
7150 * genattr.c (main): New variable num_insn_reservations. Increase
7151 it if there is DEFINE_INSN_RESERVATION. Output automaton based
7152 pipeline hazard recognizer interface.
7154 * genattrtab.h: New file.
7156 * genattrtab.c: Include genattrtab.h.
7157 (attr_printf, check_attr_test, make_internal_attr,
7158 make_numeric_value): Move protypes into genattrtab.h. Define them
7160 (num_dfa_decls): New global variable.
7161 (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
7162 DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
7163 DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
7164 DEFINE_INSN_RESERVATION. Call expand_automata and write_automata.
7166 * genautomata.c: New file.
7168 * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
7170 * sched-int.h: (curr_state): Add the external definition for
7171 automaton pipeline interface.
7172 (haifa_insn_data): Add comments for members blockage and units.
7174 * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
7175 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
7176 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
7177 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
7178 TARGET_SCHED_DFA_POST_CYCLE_INSN,
7179 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
7180 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
7182 (TARGET_SCHED): Use the new macros.
7184 * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
7185 dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
7186 first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
7187 dfa_bubble): New members in gcc_target.sched.
7189 * haifa-sched.c (insert_schedule_bubbles_p): New variable.
7190 (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
7191 (insn_queue): Redefine it as pointer to array.
7192 (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
7194 (max_insn_queue_index_macro_value): New variable.
7195 (curr_state, dfa_state_size, ready_try): New varaibles for
7196 automaton interface.
7197 (ready_element, ready_remove, max_issue): New function prototypes
7198 for automaton interface.
7199 (choose_ready): New function prototype.
7200 (insn_unit, blockage_range): Add comments.
7201 (unit_last_insn, unit_tick, unit_n_insns): Define them for case
7202 FUNCTION_UNITS_SIZE == 0.
7203 (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
7204 actual_hazard, potential_hazard): Add comments.
7205 (insn_cost): Use cost -1 as undefined value. Remove
7206 LINK_COST_ZERO and LINK_COST_FREE. Add new code for automaton
7208 (ready_element, ready_remove): New functions for automaton
7210 (schedule_insn): Add new code for automaton pipeline interface.
7211 (queue_to_ready): Add new code for automaton pipeline interface.
7212 Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
7213 (debug_ready_list): Print newline when the queue is empty.
7214 (max_issue): New function for automaton pipeline interface.
7215 (choose_ready): New function.
7216 (schedule_block): Add new code for automaton pipeline interface.
7217 Print ready list before scheduling each insn.
7218 (sched_init): Add new code for automaton pipeline interface.
7219 Initiate insn cost by -1.
7220 (sched_finish): Free the current automaton state and finalize
7221 automaton pipeline interface.
7223 * sched-rgn.c: Include target.h.
7224 (init_ready_list, new_ready, debug_dependencies): Add new code for
7225 automaton pipeline interface.
7227 * sched-vis.c: Include target.h.
7228 (get_visual_tbl_length): Add code for automaton interface.
7229 (target_units, print_block_visualization): Add comments.
7231 * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
7232 USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
7233 (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
7234 (getruntime.o, genautomata.o): New entries.
7235 (genattrtab.o): Add new dependency file genattrtab.h.
7236 (genattrtab): Add new dependencies. Link it with `libm.a'.
7237 (getruntime.o, hashtab.o): New entries for canadian cross.
7239 * doc/md.texi: Description of automaton based model.
7241 * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
7243 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
7244 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
7245 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
7246 TARGET_SCHED_DFA_POST_CYCLE_INSN,
7247 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
7248 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
7249 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
7251 (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
7252 MAX_DFA_ISSUE_RATE): New macro descriptions.
7254 * doc/contrib.texi: Add dfa based scheduler contribution.
7256 * doc/gcc.texi: Add more information about genattrtab.
7258 2001-08-27 Diego Novillo <dnovillo@redhat.com>
7260 * flow.c (flow_loop_dump): Do not display insn UIDs if this is not
7263 2001-08-27 Richard Henderson <rth@redhat.com>
7265 * function.c (expand_function_end): Don't init arg_pointer_save_area.
7266 (get_arg_pointer_save_area): New. Create an init it here.
7267 (fix_lexical_addr): Use it.
7268 * function.h: Declare it.
7269 * builtins.c (expand_builtin_setjmp_receiver): Use it.
7270 * stmt.c (expand_nl_goto_receiver): Use it.
7272 2001-08-27 Richard Henderson <rth@redhat.com>
7274 * final.c (final_scan_insn): Don't enter APP_ON mode for
7277 * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper
7278 alignment for assemble_integer for DW_EH_PE_aligned.
7279 * except.c (output_function_exception_table): Likewise.
7281 2001-08-26 Andreas Jaeger <aj@suse.de>
7283 * c-tree.h: Add prototyp for c_sizeof_nowarn.
7285 2001-08-25 Dan Nicolaescu <dann@ics.uci.edu>
7287 * ssa-ccp.c (ssa_const_prop): Free ssa_edges.
7289 2001-08-27 Alan Modra <amodra@bigpond.net.au>
7291 * config/rs6000/rs6000.c (mask_operand): Rewrite without
7293 (mask64_operand): Likewise.
7294 (rldic_operand): Delete.
7295 (includes_lshift64_p): Delete.
7296 (includes_rldic_lshift_p): New function.
7297 (includes_rldicr_lshift_p): New function.
7298 (print_operand): Don't call rldic_operand in case 'W'.
7299 * config/rs6000/rs6000-protos.h (rldic_operand): Remove.
7300 (includes_lshift64_p): Remove.
7301 (includes_rldic_lshift_p): Declare.
7302 (includes_rldicr_lshift_p): Declare.
7303 * config/rs6000/rs6000.h (PREDICATE_CODES): Remove rldic_operand.
7304 * config/rs6000/rs6000.md <ashldi3_internal 64 bit patterns>:
7305 Replace match_operand rldic_operand predicate with
7306 const_int_operand. Replace includes_lshift64_p condition with
7307 includes_rldic_lshift_p.
7308 <ashldi3_internal 64 bit rldicr patterns>: New.
7310 2001-08-27 Andreas Jaeger <aj@suse.de>
7312 * emit-rtl.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
7313 * errors.c: Likewise.
7314 * final.c: Likewise.
7315 * dwarf2asm.c: Likewise.
7316 * doprint.c (checkit): Likewise.
7317 * diagnostic.c: Likewise.
7318 * collect2.c: Likewise.
7319 * calls.c: Likewise.
7320 * c-semantics.c (build_stmt): Likewise.
7321 * c-format.c (status_warning): Likewise.
7322 * c-errors.c (pedwarn_c99): Likewise.
7323 * builtins.c (validate_arglist): Likewise.
7324 * config/pj/pj.c (pj_printf): Likewise.
7325 * fix-header.c: Likewise.
7327 * gcov.c (fnotice): Likewise.
7328 * gensupport.c (message_with_line): Likewise.
7329 * mips-tfile.c: Likewise.
7330 * protoize.c (notice): Likewise.
7331 * read-rtl.c (fatal_with_file_and_line): Likewise.
7332 * rtl-error.c: Likewise.
7333 * tradcpp.c: Likewise.
7335 * cp/tree.c (build_min_nt): Likewise.
7336 (build_min): Likewise.
7337 * cp/lex.c: Likewise.
7338 * cp/errfn.c: Likewise.
7339 * cp/rtti.c (create_pseudo_type_info): Likewise.
7341 Sun Aug 26 20:25:44 2001 Denis Chertykov <denisc@overta.ru>
7343 * df.c (df_uses_record): Return after recording all uses
7346 2001-08-26 Daniel Berlin <dan@cgsoftware.com>
7348 * df.c (df_insn_modify): Realloc the INSN table here, if
7349 necessary, here, too.
7351 2001-08-26 Aldy Hernandez <aldyh@redhat.com>
7353 * config/mips/mips.c (mips_function_value): Handle complex return
7356 2001-08-25 Hans-Peter Nilsson <hp@bitrange.com>
7358 * reload1.c (reload): Make all entries in reg_equiv_memory_loc
7360 * reload.c (make_memloc): Copy result if it is still
7361 reg_equiv_memory_loc[regno] on return.
7362 (subst_reloads) [ENABLE_CHECKING]: Check that none of
7363 reg_equiv_constant, reg_equiv_memory_loc, reg_equiv_address and
7364 reg_equiv_mem are modified by the substitutions.
7366 Sat Aug 25 23:07:35 CEST 2001 Jan Hubicka <jh@suse.cz>
7368 * predict.c (expensive_function_p): New.
7369 * rtl.h (expensive_function_p): Declare.
7370 * i386.c (FAST_PROLOGUE_INSN_COUNT): New constant.
7371 (use_fast_prologue_epilogue): New static variable.
7372 (expand_prologue): Set it; emit short prologues if unset.
7373 (expand_epilogue): Likewise.
7375 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
7377 * config.gcc: Add stormy16-*-elf case.
7378 * config/stormy16/stormy-abi: New file.
7379 * config/stormy16/stormy16-lib2.c: New file.
7380 * config/stormy16/stormy16-protos.h: New file.
7381 * config/stormy16/stormy16.c: New file.
7382 * config/stormy16/stormy16.h: New file.
7383 * config/stormy16/stormy16.md: New file.
7384 * config/stormy16/t-stormy16: New file.
7386 Sat Aug 25 15:46:51 CEST 2001 Jan Hubicka <jh@suse.cz>
7388 * i386.h (no-accumulate-outgoing-args): Use proper mask.
7390 2001-08-24 David Edelsohn <edelsohn@gnu.org>
7392 * config/rs6000/rs6000.c (rs6000_initialize_trampoline): Function
7393 descriptor members are pointer size, not constant 4.
7394 * config/rs6000/rs6000.md (define_splits): Remove more unused
7397 2001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7399 * sparc.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
7401 2001-08-24 Andreas Jaeger <aj@suse.de>, rkl@connect.org.uk
7403 * cp/rtti.c (VPARAMS): Fix parameter.
7405 2001-08-24 Zack Weinberg <zackw@panix.com>
7407 * expmed.c: Default-#define HAVE_insv, HAVE_extv, and HAVE_extzv
7409 (mode_for_extraction): No need for #ifdefs. Add default-case abort
7411 (store_bit_field): Eliminate insv_bitsize variable. Put HAVE_insv
7412 in if controlling use of insv.
7413 (extract_bit_field): Likewise, for extv and extzv.
7415 Fri Aug 24 17:27:46 CEST 2001 Jan Hubicka <jh@suse.cz>
7417 * i386.md (movcc peep2): Fix load of 0.
7419 2001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7421 * fold-const.c (tree_expr_nonnegative_p): Handle *_DIV_EXPR,
7422 *_MOD_EXPR, SAVE_EXPR and NON_LVALUE_EXPR.
7424 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
7426 * c-pragma.h: Move weak_syms and weak_decls...
7427 * varasm.c: ...here. Now static.
7428 (declare_weak, weak_finish, remove_from_pending_weak_list): Don't
7429 depend on HANDLE_PRAGMA_WEAK.
7431 * c-common.c (c_alignof, c_alignof_expr): Move here...
7432 * c-typeck.c: ...from here.
7433 * c-tree.h, c-common.h: Adjust.
7435 2001-08-23 Bernd Schmidt <bernds@redhat.com>
7437 * config/ia64/ia64.c (rws_update): If !pred, set write_count
7438 instead of incrementing it.
7440 * config/ia64/ia64.c (ia64_sched_reorder): When there's more than one
7441 asm ready, don't try to move them all into the same array element.
7443 Thu Aug 23 17:21:43 CEST 2001 Jan Hubicka <jh@suse.cz>
7445 * function.c (thread_prologue_and_epilogue_insns): Avoid
7446 fallthru flag on edge to exit.
7448 * i386.md (trunc?fsi splitter): Conditionionize for non-sse.
7450 * flow.c (delete_noop_moves, propagate_block_delete_insn): Purge
7453 2001-08-23 Lars Brinkhoff <lars@nocrew.org>
7455 * config/mcore/mcore.h (MACHINE_DEPENDENT_SIMPLIFY): Remove.
7456 * config/mcore/mcore.c (mcore_dependent_simplify_rtx): Likewise.
7457 * config/mcore/mcore-protos.h (mcore_dependent_simplify_rtx):
7460 2001-08-23 Lars Brinkhoff <lars@nocrew.org>
7462 * genconstants.c, genpreds.c, libfuncs.h, optabs.h, rtl-error.h:
7463 replace "GNU CC" with "GCC".
7465 2001-08-23 Richard Henderson <rth@redhat.com>
7467 * config/ia64/ia64.c (ia64_register_move_cost): Add mode arguemnt.
7468 Reorganize. Handle ADDL like GR, add GR_AND_BR. Handle TFmode.
7469 (ia64_secondary_reload_class): Need GR between AR/BR and anything.
7470 Need GR between FR and not GR_AND_FR.
7471 * config/ia64/ia64-protos.h (ia64_register_move_cost): Update.
7472 * config/ia64/ia64.h (reg_class): Add GR_AND_BR_REGS, move
7473 AR regs before GR regs.
7474 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
7475 (PREFERRED_RELOAD_CLASS): Tweak for reordered classes.
7476 (REGISTER_MOVE_COST): Update.
7477 (MEMORY_MOVE_COST): Add GR_AND_FR_REGS.
7479 2001-08-23 Richard Henderson <rth@redhat.com>
7481 * regclass.c (init_reg_sets_1): Don't assume cost 2 within
7484 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
7486 * reload1.c (emit_reload_insns): Don't look for notes
7487 on a NULL store_insn.
7489 2001-08-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7491 * sparc.c (uns_small_int): Don't reference a constant >32-bit.
7492 (addrs_ok_for_ldd_peep): Fix signed/unsigned warning.
7493 (sparc_flat_function_prologue, sparc_flat_function_epilogue): Fix
7494 format specifier warnings.
7495 (sparc_sched_reorder): Mark parameter with ATTRIBUTE_UNUSED.
7497 2001-08-22 David Billinghurst <David.Billinghurst@riotinto.com>
7499 * config/i386/i386-protos.h: Correct declaration of
7500 i386_pe_asm_named_section.
7502 2001-08-22 John David Anglin <dave@hiauly1.hia.nrc.ca>
7504 * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Add declaration for
7506 * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
7508 2001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
7510 * cpperror.c (print_location): Don't show _Pragma.
7511 * cppfiles.c (_cpp_pop_file_buffer): Handle -include file pushing
7512 and file change callback generation here.
7513 (stack_include_file): Update use of cpp_push_buffer.
7514 * cpphash.h (_cpp_pop_file_buffer): Update prototype.
7515 (struct cpp_buffer): Remove type, pfile members.
7516 * cppinit.c (cpp_handle_option): Use free_chain.
7517 * cpplex.c (_cpp_lex_token): Don't do -include file pushing here.
7518 (skip_escaped_newlines, get_effective_char, lex_percent): Take
7519 a cpp_reader rather than a cpp_buffer.
7520 (skip_escaped_newlines, get_effective_char, skip_block_comment,
7521 skip_line_comment, parse_string, lex_percent, lex_dot,
7522 _cpp_lex_token): Update accordingly.
7523 * cpplib.c (_cpp_pop_buffer): Don't do file change callback
7525 (cpp_push_buffer): Update prototype.
7526 (run_directive): Update use of cpp_push_buffer.
7527 (_cpp_do__Pragma, cpp_define, cpp_define_builtin, cpp_undef,
7528 handle_assertion): Update use of run_directive.
7529 * cpplib.h (enum cpp_buffer_type): Remove.
7530 (cpp_push_buffer): Update prototype.
7531 * fix-header.c (read_scan_file): Update.
7533 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
7535 * gcc.c (struct prefix_list): Change prefix to const char *.
7537 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
7539 * final.c (final_scan_insn): Call ADDR_VEC_ALIGN on next insn.
7541 2001-08-22 Jason Merrill <jason_merrill@redhat.com>
7543 * explow.c (set_mem_attributes): Avoid returning a bogus alias set
7546 * jump.c (squeeze_notes): Take parms by reference. Handle END being
7549 * ifcvt.c (dead_or_predicable): Adjust.
7550 * loop.c (find_and_verify_loops): Adjust.
7551 * stmt.c (expand_end_case): Adjust.
7552 * flow.c (merge_blocks_move_successor_nojumps): Adjust. Modify the
7553 head and end insn pointers in the basic block, not just local copies.
7554 (merge_blocks_move_predecessor_nojumps): Likewise.
7556 2001-08-22 Lars Brinkhoff <lars@nocrew.org>
7558 * Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
7559 bitmap.h, builtin-types.def, builtins.c, builtins.def,
7560 c-aux-info.c, c-common.c, c-common.def, c-common.h,
7561 c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
7562 c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
7563 c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
7564 caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
7565 conditions.h, config.gcc, configure.frag, configure.in,
7566 conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
7567 cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
7568 dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
7569 doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
7570 dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
7571 emit-rtl.c, errors.c, errors.h, except.c, except.h,
7572 exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
7573 fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
7574 function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
7575 gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
7576 gencheck.c, gencodes.c, genconfig.c, genemit.c,
7577 genextract.c, genflags.c, gengenrtl.c, genmultilib,
7578 genopinit.c, genoutput.c, genpeep.c, genrecog.c,
7579 gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
7580 ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
7581 graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
7582 gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
7583 gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
7584 hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
7585 integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
7586 libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
7587 machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
7588 mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
7589 mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
7590 params.h, predict.c, predict.def, predict.h, prefix.c,
7591 prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
7592 read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
7593 regclass.c, regmove.c, regrename.c, regs.h, reload.c,
7594 reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
7595 rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
7596 sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
7597 sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
7598 ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
7599 stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
7600 tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
7601 tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
7602 unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
7603 unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
7604 xcoffout.h: replace "GNU CC" with "GCC".
7606 2001-08-21 Richard Henderson <rth@redhat.com>
7608 * final.c (LABEL_ALIGN_AFTER_BARRIER): Default to no alignment.
7609 (final_scan_insn): Consider jump tables data even if we have no
7610 independent text section if !JUMP_TABLES_IN_TEXT_SECTION. Use
7612 * config/ia64/ia64.h (JUMP_TABLES_IN_TEXT_SECTION): Remove.
7613 (ASM_OUTPUT_CASE_END): Remove.
7614 (ASM_OUTPUT_ADDR_DIFF_ELT): Emit pc-relative references.
7615 * config/ia64/ia64.md (tablejump): Decode pc-relative references.
7616 * config/ia64/sysv4.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Remove.
7618 2001-08-21 Richard Henderson <rth@redhat.com>
7620 * config/ia64/ia64.c (emit_all_insn_group_barriers): Flush state
7621 at barrier insns. Emit stop bits before barriers.
7623 * flow.c (flow_find_cross_jump): Don't consider unconditional
7624 return insns for commoning.
7626 * final.c (compute_alignments): Fix typo.
7628 * expmed.c (CODE_FOR_insv, gen_insv): Provide defaults.
7629 (CODE_FOR_extv, gen_extv, CODE_FOR_extzv, gen_extzv): Likewise.
7630 (store_bit_field): Use mode_for_extraction more places.
7631 (extract_bit_field): Likewise.
7633 2001-08-21 Zack Weinberg <zackw@panix.com>
7635 * caller-save.c: Don't include insn-codes.h.
7636 (reg_save_code, reg_restore_code): Make arrays of int.
7637 All uses updated to match.
7638 (insert_save, insert_restore): No need to initialize "code"
7639 variable upon declaration.
7640 * Makefile.in: update dependencies; fix typo in clean rule.
7642 2001-08-21 Richard Henderson <rth@redhat.com>
7644 * ifcvt.c (find_if_block): Allow join_bb as EXIT.
7645 (merge_if_block): Handle fallout from same.
7647 2001-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7649 * builtins.c (type_to_class): Fix typo in last change.
7651 2001-08-21 Richard Henderson <rth@redhat.com>
7653 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't emit '#' if
7654 ia64_asm_output_label.
7656 * config/ia64/crtbegin.asm (__do_global_dtors_aux): Use saved
7657 copy of gp while the real gp register contains garbage.
7659 2001-08-21 Zack Weinberg <zackw@panix.com>
7661 * expmed.c (mode_for_extraction): New function.
7662 (store_bit_field, extract_bit_field): Use it.
7663 * expr.h: Prototype it and provide an enum for its first argument.
7665 * combine.c, function.c, recog.c: Don't include insn-codes.h.
7666 Use mode_for_extraction rather than testing HAVE_insv/extv/extzv
7667 and digging through the insn_data tables.
7668 * Makefile.in: Update dependencies.
7670 2001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
7672 * cppfiles.c (stack_include_file): line-map.c now handles include
7674 (handle_missing_handler): Similarly.
7675 (_cpp_execute_include): Similarly.
7676 (_cpp_pop_file_buffer): Similarly.
7677 * cpphash.h (struct cpp_reader): Remove system_include_depth,
7678 buffer_stack_depth and include_depth.
7679 * cpplib.c (do_include_common): line-map.c now handles include depth.
7680 (cpp_push_buffer): Similarly.
7681 (_cpp_pop_buffer): Similarly.
7682 * cppmacro.c (builtin_macro): Update.
7683 * line-map.c (init_line_maps): Set depth.
7684 (add_line_map): Increment "used" earlier. Update and use the
7686 (trace_include): Use the include depth.
7687 * line-map.h (struct line_maps): New member depth.
7689 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
7691 * cppfiles.c (stack_include_file): Don't handle -H here.
7692 * cppinit.c (cpp_start_read): Set include tracing after
7693 cpp_post_options and after stacking the main file.
7694 * line-map.c (trace_include): New.
7695 (init_line_maps, add_line_map): Update.
7696 * line-map.h (struct line_maps): New member trace_includes.
7698 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
7700 * cppfiles.c (stack_include_file): Harmonize system headerness tests.
7701 * cppfiles.c (stack_include_file): Only stack a file if there
7702 is something to do. Return a boolean indicating whether a
7703 buffer was stacked or not.
7704 (_cpp_execute_include): Similarly.
7705 (_cpp_read_file): Similarly.
7706 * cpphash.h (_cpp_read_file, _cpp_execute_include): Update prototypes.
7708 2001-08-21 Sam Steingold <sds@gnu.org>
7710 * tradcpp.c (rescan): define obufp_before_macroname before RECACHE
7711 (RECACHE): keep obufp_before_macroname up to date
7713 2001-08-21 Zack Weinberg <zackw@panix.com>
7715 * stmt.c: Don't include insn-codes.h.
7716 (expand_end_case): Machine specific logic moved to expr.c.
7717 No need to worry about __builtin_classify_type.
7718 (check_for_full_enumeration_handling, emit_case_nodes):
7721 * builtins.o (expand_builtin_classify_type): Split up so code
7722 can be shared with fold_builtin_classify_type.
7723 (type_to_class, fold_builtin_classify_type): New functions.
7724 (fold_builtins): Handle __builtin_classify_type.
7726 * expr.c (do_tablejump): Now static.
7727 (case_values_threshold, try_casesi, try_tablejump): New;
7728 code mostly from stmt.c (expand_end_case).
7729 (expr.h): Update prototypes.
7731 * Makefile.in (stmt.o): Update dependencies.
7733 2001-08-21 Will Cohen <wcohen@redhat.com>
7735 * configure/alpha/alpha.h (CONDITIONAL_REGISTER_USAGE): Added local
7736 declaration of variable i.
7737 * configure/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Added local
7738 declaration of variable i.
7740 2001-08-21 Richard Henderson <rth@redhat.com>
7742 * crtstuff.c: Fix thinko last change. Move list tails to start
7743 of CRT_END section. Tidy ifdefs.
7744 (__EH_FRAME_BEGIN__): Always static for ELF.
7745 (__do_global_ctors_1): Rename from __frame_dummy.
7746 * config/mips/iris6.h (LINK_SPEC): Update for __do_global_ctors_1
7747 name change; don't hide __EH_FRAME_BEGIN__.
7749 2001-08-21 Richard Henderson <rth@redhat.com>
7751 * gdbinit.in: Move break on exit after break on fancy_abort.
7753 * config/ia64/ia64.c (ia64_return_in_memory): True for variable
7756 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
7758 * cpphash.h (_cpp_push_next_buffer): New.
7759 * cppinit.c (do_includes): Remove.
7760 (push_include, free_chain, _cpp_push_next_buffer): New.
7761 (cpp_start_read): Use them to rework command line option handling.
7762 (cpp_handle_option): Combine handling of -include and -imacros.
7763 * cpplex.c (_cpp_lex_token): Push a new -include buffer if
7764 appropriate. Always insert missing \n at EOF.
7765 * cpplib.c (start_directive): Get the directive position right.
7766 * cppmain.c (cb_file_change): Always print the first line, unless
7769 2001-08-20 Andreas Jaeger <aj@suse.de>
7771 * profile.c (compute_branch_probabilities): Remove extra new-line
7773 * flow.c (verify_flow_info): Likewise.
7775 2001-08-20 Diego Novillo <dnovillo@redhat.com>
7777 * basic-block.h (basic_block): Add new field 'flags'.
7778 (BB_REACHABLE): Define.
7779 (expunge_block): Declare.
7780 * flow.c (ENTRY_BLOCK_PTR): Initialize field 'flags'.
7781 (EXIT_BLOCK_PTR): Ditto.
7782 (expunge_block): Remove static declaration.
7783 (cleanup_cfg): Clear bb->aux on every basic block.
7784 (find_unreachable_blocks): Set BB_REACHABLE bit in bb->flags when
7785 computing reachability.
7786 (delete_unreachable_blocks): Delete block b if b->flags has
7789 2001-08-20 Diego Novillo <dnovillo@redhat.com>
7791 * doc/invoke.texi: Replace references to -fdump-tree with -fdump-ast.
7793 2001-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7795 * sparc.c (sparc_variable_issue): Fix typo in last change.
7797 2001-08-20 Richard Henderson <rth@redhat.com>
7799 * varasm.c (assemble_integer): Document ppc-eabi -mrelocatable losage.
7801 2001-08-20 John David Anglin <dave@hiauly1.hia.nrc.ca>
7803 * pa.h (RETURN_IN_MEMORY): Improve comment.
7805 2001-08-20 Janis Johnson <janis187@us.ibm.com>
7807 * doc/invoke.texi (Profiling options): Clarify the interactions
7808 between -fprofile-arcs and -ftest-coverage, -fprofile-arcs.
7810 2001-08-20 Jeffrey Oldham <oldham@codesourcery.com>
7812 * crtstuff.c (__do_global_ctors): Fix typo in preprocessing
7815 2001-08-20 Matt Kraai <kraai@alumni.carnegiemellon.edu>
7817 * gcc.c (make_relative_prefix): Allocate a sufficiently large
7820 2001-08-20 Richard Henderson <rth@redhat.com>
7822 * final.c (end_final): Fix typo last change.
7824 2001-08-20 Neil Booth <neil@daikokuya.demon.co.uk>
7826 * cppinit.c (init_standard_includes): The returned buffer
7827 is already malloc-ed.
7828 * gcc.c (add_prefix): Similarly.
7829 * prefix.c (translate_name): Update to support clear buffer
7831 (update_path): Similarly. Be sure to free any newly allocated
7832 key. UPDATE_PATH_HOST_CANONICALIZE takes only one argument.
7834 * prefix.h (update_path): Update prototype and document.
7835 * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): Clean
7836 up and update to new buffer ownership rules.
7837 * doc/gcc.texi (UPDATE_PATH_HOST_CANONICALIZE): Update.
7839 Mon Aug 20 01:44:50 CEST 2001 Jan Hubicka <jh@suse.cz>
7841 * final.c (compute_alignments): New function.
7842 (init_insn_lengths): Do not care label_align.
7843 (LABEL_ALIGN_AFTER_BARRIER): Default to 1.
7844 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to 0.
7845 (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): New.
7846 (shorted_branches): Realloc label_align array; do
7847 not call init_insn_lengths; Do not care about loop alignments.
7848 * output.h (compute_alignments): Declare.
7849 * toplev.c (rest_of_compilation): Call compute_alignments.
7850 * tm.texi (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): Document.
7852 * predict.c (block_info_def): Add npredecesors, remove nvisited;
7853 change visited to tovisit.
7854 (propagate_freq): Use faster traversing algorithm.
7855 (estimate_loops_at_level, estimate_bb_frequencies): Change visited
7856 to tovisit; reverse meaning.
7858 * predict.c (struct block_info_def): Remove nvisited.
7859 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
7860 (estimate_bb_frequencies): Call mark_dfs_back_edges.
7862 2001-08-19 Geoffrey Keating <geoffk@redhat.com>
7864 * doc/invoke.texi (MIPS Options): Document -mfused-madd.
7865 * config/mips/mips.h (MASK_NO_FUSED_MADD): New.
7866 (TARGET_FUSED_MADD): New.
7867 (TARGET_SWITCHES): Add -mfused-madd, -mno-fused-madd.
7868 * config/mips/mips.md: Add TARGET_FUSED_MADD as condition to
7869 the multiply-add instructions.
7871 2001-08-19 Richard Henderson <rth@redhat.com>
7873 * dwarf2asm.c (dw2_output_indirect_constant_1): The symbol ref
7874 is aligned to pointer size.
7876 2001-08-19 Richard Henderson <rth@redhat.com>
7878 * config/ia64/ia64.c (ia64_cycle_display): Only emit cycle
7879 display markers during final schedule.
7881 2001-08-19 Richard Henderson <rth@redhat.com>
7883 * function.c (gen_mem_addressof): Don't call get_alias_set if no decl.
7885 2001-08-19 Richard Henderson <rth@redhat.com>
7887 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Handle @ and *
7889 (ASM_NAME_TO_STRING): Remove.
7890 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Handle @ and *
7891 in the same string. Remove support for expressions.
7893 2001-08-19 Richard Henderson <rth@redhat.com>
7895 * config/i386/i386.md (tablejump): Make an expander; handle
7896 pic relative addressing here.
7897 (tablejump_1): Rename from tablejump_pic.
7900 2001-08-19 Richard Henderson <rth@redhat.com>
7902 * regclass.c (fix_register): Fix typo.
7904 2001-08-18 Richard Henderson <rth@redhat.com>
7906 * config/ia64/unwind-ia64.c (UNW_REG_B0): New.
7907 (struct _Unwind_Context): Expand br_loc to hold it.
7908 (uw_frame_state_for): Handle leaf functions better.
7909 (uw_update_reg_address): Update for br_loc change.
7911 2001-08-18 Richard Henderson <rth@redhat.com>
7913 * crtstuff.c: Move list heads before code that uses them.
7914 (__JCR_LIST__): Remove initial null.
7915 (frame_dummy, __frame_dummy): Do java registration here ...
7916 (__do_global_ctors_aux): ... not here.
7918 * config/ia64/crtbegin.asm (dtor_ptr): Make gp-relative.
7919 (__do_global_dtors_aux): Update to match.
7920 (__JCR_LIST__, __do_jv_register_classes): New.
7922 * config/ia64/crtend.asm (__JCR_END__): New.
7923 (__do_global_ctors_aux): Use a GPREL64I reloc to __CTOR_END__
7924 instead of an indirect LTOFF22 reloc.
7926 2001-08-18 Richard Henderson <rth@redhat.com>
7928 * flow.c (mark_regs_live_at_end): Use regs_invalidated_by_call.
7929 * regclass.c (init_reg_sets_1): Fix typo.
7930 * config/ia64/ia64.c (ar_pfs_reg_operand): New.
7931 (ia64_expand_call): Pass ar.pfs to sibcall expanders.
7932 (ia64_compute_frame_size): Make ar.unat live when in use.
7933 (ia64_epilogue_uses): Reformat; do not check current_function_is_leaf
7934 for ar.pfs; remove ar.unat handling.
7935 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): ar.unat is
7937 (PREDICATE_CODES): Add ar_pfs_reg_operand.
7938 * config/ia64/ia64-protos.h: Update decls.
7939 * config/ia64/ia64.md (sibcall_nopic): Use ar.pfs.
7940 (sibcall_pic): Likewise.
7942 2001-08-18 Richard Henderson <rth@redhat.com>
7944 * config/ia64/ia64.c (ia64_sched_reorder2): Also skip past
7945 pred_rel_mutex when searching for insn_group_barrier.
7946 * config/ia64/ia64.md (cycle_display): Combine the expander
7949 * config/ia64/ia64.c (ia64_internal_sched_reorder): Emit stop
7950 bit before asm as needed.
7952 2001-08-18 Richard Henderson <rth@redhat.com>
7954 * timevar.def (TV_MACH_DEP): New.
7955 * toplev.c (rest_of_compilation): Use it.
7956 * config/ia64/ia64.c (ia64_reorg): Push to TV_SCHED2.
7958 2001-08-18 Zack Weinberg <zackw@panix.com>
7960 * unwind-dw2.c (execute_stack_op): Add default aborts to
7961 the inner switches to prevent warnings.
7963 2001-08-18 Richard Henderson <rth@redhat.com>
7965 * timevar.h (struct timevar_time_def): Change element type to float.
7966 (ticks_to_msec, clocks_to_msec): Likewise.
7967 (TICKS_TO_MSEC, CLOCKS_TO_MSEC): Rescale to seconds; use type float.
7968 (get_time): Likewise.
7969 (timevar_print): Adjust zero check and printing to match.
7971 2001-08-18 Zack Weinberg <zackw@panix.com>
7973 * doc/extend.texi, doc/gcc.texi, doc/install-old.texi,
7974 doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/include/gpl.texi:
7975 Eliminate overfull or underfull hboxes.
7977 2001-08-18 Zack Weinberg <zackw@panix.com>
7979 * cpperror.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
7981 2001-08-18 Zack Weinberg <zackw@panix.com>
7983 * haifa-sched.c: Convert to target hooks. Macros replaced
7984 are ISSUE_RATE, ADJUST_COST, ADJUST_PRIORITY, MD_SCHED_INIT,
7985 MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_VARIABLE_ISSUE,
7986 MD_SCHED_FINISH, and HAVE_cycle_display.
7987 * target-def.h (TARGET_SCHED_ADJUST_COST,
7988 TARGET_SCHED_ADJUST_PRIORITY, TARGET_SCHED_ISSUE_RATE,
7989 TARGET_SCHED_VARIABLE_ISSUE, TARGET_SCHED_INIT,
7990 TARGET_SCHED_FINISH, TARGET_SCHED_REORDER,
7991 TARGET_SCHED_REORDER2, TARGET_SCHED_CYCLE_DISPLAY):
7992 New hook #defines to be overridden.
7993 (TARGET_SCHED): Bring them all together.
7994 (TARGET_INITIALIZER): Update.
7995 * target.h: Don't forward declare struct rtx_def. Use 'rtx'
7996 instead of 'struct rtx_def *' throughout.
7997 (struct sched): New set of hooks for the scheduler.
7998 * Makefile.in (haifa-sched.o): Depend on target.h.
7999 * doc/tm.texi: Document the new scheduler hooks, together in
8000 their own section, instead of scattered around.
8001 Fix a bunch of underfull/overfull hboxes.
8003 * a29k.h, alpha.h, arm.h, c4x.h, convex.h, d30v.h, i386.h,
8004 ia64.h, m32r.h, m88k.h, mips.h, pa.h, rs6000.h, s390.h, sh.h,
8005 sparc.h: Don't define any of the old scheduler macros.
8007 * a29k.c, alpha.c, arm.c, c4x.c, convex.c, d30v.c, i386.c,
8008 ia64.c, m32r.c, m88k.c, mips.c, pa.c, rs6000.c, s390.c, sh.c,
8009 sparc.c: Create hook functions from code extracted from
8010 corresponding target header, or make existing hooks static, as
8011 appropriate. Set the appropriate entries in targetm.
8013 * alpha-protos.h, arm-protos.h, c4x-protos.h, d30v-protos.h,
8014 i386-protos.h, ia64-protos.h, m32r-protos.h, pa-protos.h,
8015 rs6000-protos.h, s390-protos.h, sparc-protos.h:
8016 Remove prototypes for functions which are now static.
8018 * d30v.h, d30v.c, m32r.h, m32r.c: Remove #ifdef HAIFA and
8019 related gunk; the Haifa scheduler is now the only choice.
8021 2001-08-18 Zack Weinberg <zackw@panix.com>
8023 * optabs.h (OTI_flodiv, flodiv_optab): Kill.
8024 * genopinit.c: Put floating point divide insns in sdiv_optab.
8025 * expr.c (expand_expr): Use sdiv_optab, not flodiv_optab.
8026 * config/gofast.h, config/c4x/c4x.h,
8027 config/ia64/hpux_longdouble.h, config/mips/mips.h,
8028 config/pa/long_double.h, config/rs6000/sysv4.h,
8029 config/sparc/sparc.h: Put floating point divide libcalls in sdiv_optab.
8030 * optabs.c (init_optab): Break into new_optab, init_optab, init_optabv.
8031 (init_optabs): Use init_optabv for overflow-trapping optabs.
8032 Don't init flodiv_optab. Give mov_optab, movstrict_optab, and
8033 cmp_optab RTX codes so have_insn_for can find them.
8035 * optabs.c (expand_simple_binop, expand_simple_unop,
8036 have_insn_for, gen_sub3_insn): New interfaces.
8037 * expr.h: Prototype new functions.
8038 (enum optab_methods): Move here from optabs.h.
8040 * builtins.c, combine.c, doloop.c, function.c, ifcvt.c,
8041 loop.c, profile.c, simplify-rtx.c, stmt.c, unroll.c:
8042 Use new functions instead of working directly with optabs.
8043 * doloop.c, ifcvt.c, loop.c, profile.c, simplify-rtx.c,
8044 unroll.c: Don't include optabs.h.
8045 * caller-save.c, combine.c, function.c, stmt.c: Just include
8046 insn-codes.h, not optabs.h.
8047 * Makefile.in: Update dependencies.
8049 * combine.c (make_compound_operation, simplify_comparison):
8050 Fix typos testing for this or that instruction.
8052 2001-08-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8054 * mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2_DIVMOD_FUNCS when
8055 generating libgcc.a.
8057 2001-08-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8059 * except.c (TYPE_HASH): Delete.
8061 * objc/objc-act.c (HASHFUNCTION): Cast to size_t, not
8064 * tree.c (TYPE_HASH): Delete.
8066 * tree.h (TYPE_HASH): Define.
8068 2001-08-18 Graham Stott <grahams@redhat.com>
8070 * config/mips/mips.md (adddi3_internal_2+1): Remove constraints from
8072 (adddi3_internal_2+2): Likewise.
8073 (eh_set_lr_di+1): Likewise.
8075 2001-08-17 Richard Henderson <rth@redhat.com>
8077 * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8078 UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Move from ...
8079 * dwarf2asm.c: ... here.
8080 * dwarfout.c: Remove them.
8082 * varasm.c (assemble_integer): Add align parameter.
8083 (assemble_real, output_constant, output_constructor): Likewise.
8084 * output.h: Update decls.
8085 * dwarf2asm.c, final.c, varasm.c, config/darwin.c, config/nextstep.c,
8086 config/alpha/alpha.c, config/arm/arm.md, config/clipper/clipper.c,
8087 config/m88k/m88k.c, config/mcore/mcore.md, config/mips/mips.h,
8088 config/mips/mips.md, config/pa/pa.c, config/rs6000/rs6000.c,
8089 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.md:
8092 * final.c (end_final): Abort profile block generation if we
8093 havn't layed it out properly.
8094 * output.h (assemble_eh_integer): Remove stale decl.
8095 * varasm.c (assemble_zeros): Tidy; use assemble_integer.
8097 (assemble_integer): Handle unaligned data.
8098 (assemble_real): Abort on unaligned data.
8099 (output_constructor): Don't assume ASM_OUTPUT_ALIGN 0 does
8101 (default_dtor_section_asm_out_destructor): Use assemble_align.
8102 (default_named_section_asm_out_constructor): Likewise.
8103 (default_ctor_section_asm_out_constructor): Likewise.
8104 * config/darwin.c (machopic_asm_out_constructor): Likewise.
8105 (machopic_asm_out_destructor): Likewise.
8106 * config/nextstep.c (nextstep_asm_out_constructor): Likewise.
8107 (nextstep_asm_out_destructor): Likewise.
8108 * config/alpha/alpha.c (vms_asm_out_constructor): Likewise.
8109 (vms_asm_out_destructor): Likewise.
8111 2001-08-17 Richard Henderson <rth@redhat.com>
8113 * config/mips/iris6.h (TARGET_IRIX6): New.
8114 (current_section_name, current_section_flags): New.
8115 (ASM_OUTPUT_ALIGN, ASM_FILE_START, ASM_FILE_END): New.
8116 (MAX_OFILE_ALIGNMENT): New.
8117 (ASM_OUTPUT_ALIGNED_LOCAL): Use bss_section.
8118 * config/mips/mips.c (mips_make_temp_file, temp_filename): Remove.
8119 (copy_file_data): Split out from
8120 (mips_asm_file_end): ... here.
8121 (mips_asm_file_start): Remove extra .section directive. Use
8122 tmpfile instead of mips_make_temp_file.
8123 (mips_unique_section): Use const char * as needed for warnings.
8124 (iris6_asm_named_section_1): Renamed from iris6_asm_named_section;
8125 re-add align parameter.
8126 (iris6_asm_named_section): New.
8127 (iris_section_align_entry_eq, iris_section_align_entry_hash): New.
8128 (iris6_asm_output_align, iris6_section_align_1): New.
8129 (iris6_asm_file_start, iris6_asm_file_end): New.
8130 * config/mips/mips-protos.h: Update decls.
8132 2001-08-17 Janis Johnson <janis187@us.ibm.com>
8134 * doc/install.texi (Install GCC): Add links to build status pages.
8136 (Final install): Ditto; request updates for specific info
8138 2001-08-17 Neil Booth <neil@daikokuya.demon.co.uk>
8140 * cpperror.c (print_location): Don't take a file name; use the
8142 (_cpp_begin_message): Similarly.
8143 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
8144 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
8145 (cpp_pedwarn_with_file_and_line): Remove.
8146 * cppfiles.c (stack_include_file): Update; set filename to stdin
8147 here when appropriate.
8148 * cpphash.h (struct cpp_buffer): Remove nominal_fname.
8149 (_cpp_begin_message): Don't take a file name.
8150 * cppinit.c: Add comment.
8151 * cpplex.c: Fix end-of-directive indicator.
8152 * cpplib.c: Don't include intl.h.
8153 (run_directive, do_diagnostic): Update.
8154 (do_line): Update to not use nominal_fname.
8155 (cpp_push_buffer): Don't take a filename.
8156 * cpplib.h (struct ht): Remove.
8157 (cpp_push_buffer): Don't take a filename.
8158 (cpp_pedwarn_with_file_and_line): Remove.
8159 * cppmacro.c (struct cpp_macro): Remove file.
8160 (builtin_macro): Update.
8161 (_cpp_create_definition): Update.
8162 * cppmain.c: Correct comment.
8163 * fix-header.c (read_scan_file): Update.
8165 2001-08-17 Kazu Hirata <kazu@hxi.com>
8167 * sbitmap.c: Fix comment formatting.
8168 * sched-deps.c: Likewise.
8169 * sibcall.c: Likewise.
8170 * simplify-rtx.c: Likewise.
8172 * ssa-ccp.c: Likewise.
8173 * stor-layout.c: Likewise.
8174 * timevar.c: Likewise.
8175 * toplev.c: Likewise.
8176 * unwind-dw2.c: Likewise.
8177 * unwind-dw2-fde.c: Likewise.
8178 * varasm.c: Likewise.
8180 2001-08-17 John David Anglin <dave@hiauly1.hia.nrc.ca>
8182 * pa.h (RETURN_IN_MEMORY): Return types with a size that is varable
8183 or larger than an integer in memory.
8185 2001-08-17 Zack Weinberg <zackw@panix.com>
8187 * system.h: Forward-declare struct rtx_def, struct rtvec_def,
8188 and union tree_node. Typedef rtx, rtvec, and tree. Fix comment.
8189 * rtl.h: Don't forward-declare union tree_node here. Don't
8190 typedef rtx or rtvec here. Change all uses of struct rtx_def *,
8191 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
8192 and tree respectively.
8193 * tree.h: Don't forward-declare struct rtx_def here. Don't
8194 typedef tree here. Change all uses of struct rtx_def *,
8195 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
8196 and tree respectively.
8198 2001-08-17 Richard Henderson <rth@redhat.com>
8200 * config/mips/elf.h, config/mips/elf64.h, config/mips/netbsd.h,
8201 config/mips/openbsd.h: Fix typos last change.
8203 2001-08-17 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
8205 * doc/invoke.texi (Optimize Options): The default for
8206 -finline-limit is 600.
8208 2001-08-17 Richard Henderson <rth@redhat.com>
8210 * varasm.c (text_section): Allow TEXT_SECTION to override the
8211 printing of TEXT_SECTION_ASM_OP.
8212 * dwarf2out.c (TEXT_SECTION_NAME): Rename from TEXT_SECTION.
8213 (DATA_SECTION, BSS_SECTION): Remove.
8214 * dwarfout.c (TEXT_SECTION_NAME, DATA_SECTION_NAME, DATA1_SECTION_NAME,
8215 RODATA_SECTION_NAME, RODATA1_SECTION_NAME, BSS_SECTION_NAME):
8216 Rename from s/_NAME//.
8217 * config/mips/mips.h (TARGET_FILE_SWITCHING): Add !TARGET_MIPS16.
8218 (ASM_DECLARE_FUNCTION_NAME): Move file switching ...
8219 (TEXT_SECTION): ... here. New.
8220 * config/mips/elf.h (TEXT_SECTION): New; no file switching.
8221 * config/mips/elf64.h, config/mips/netbsd.h: Likewise.
8222 * config/mips/openbsd.h: Likewise.
8223 * config/mips/mips.c (mips_asm_file_start): Tidy file switching test.
8224 (mips_asm_file_end): Likewise test.
8225 (mips_output_function_epilogue): Likewise. Switch back to data
8226 section after emitting the function.
8228 * doc/tm.texi (Sections): Document TEXT_SECTION.
8230 2001-08-17 Richard Henderson <rth@redhat.com>
8232 * dwarf2out.c (dwarf2out_init): Don't emit .debug_loc label here.
8233 (dwarf2out_finish): Do it here. Emit .debug_loc before .debug_info.
8235 2001-08-17 Richard Henderson <rth@redhat.com>
8237 * varasm.c (assemble_variable): Don't overalign if DECL_USER_ALIGN.
8238 * crtstuff.c (__CTOR_LIST__, __DTOR_LIST__, __EH_FRAME_BEGIN__,
8239 __JCR_LIST__, __CTOR_END__, __DTOR_END__, __FRAME_END__,__JCR_END__):
8240 Add aligned attribute.
8242 2001-08-17 Andrew Haley <aph@cambridge.redhat.com>
8244 * config/sh/sh.md: Add modes to unspecs in first insn to match
8245 those in the second.
8247 * Makefile.in: Fix collect2 copy for Cygwin.
8249 Fri Aug 17 15:48:57 CEST 2001 Jan Hubicka <jh@suse.cz>
8251 Install the proper patch.
8252 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
8253 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
8254 (expand_function_start): Likewise.
8255 * stmt.c (expand_decl): Likewise.
8256 * varasm.c (make_decl_rtx): Likewise.
8258 Fri Aug 17 15:41:35 CEST 2001 Jan Hubicka <jh@suse.cz>
8260 * final.c: Undo my previous accidental checkin.
8261 * output.h: Likewise.
8262 * tm.texi: Likewise.
8264 2001-08-16 Richard Henderson <rth@redhat.com>
8266 * varasm.c (named_section_flags): Remove align parameter.
8267 * varasm.c, dwarf2out.c: Update all callers.
8268 * output.h: Update prototypes.
8270 * target.h (target.asm_out.named_section): Remove align parameter.
8271 * varasm.c, config/a29k/a29k.c, config/alpha/alpha.c,
8272 config/arm/arm.c, config/c4x/c4x.c, config/h8300/h8300.c,
8273 config/i386/i386.c, config/i386/winnt.c, config/m68k/m68k.c,
8274 config/mcore/mcore.c, config/mips/mips.c, config/rs6000/rs6000.c,
8275 config/sh/sh.c, config/sparc/sparc.c: Update implementations to match.
8277 * varasm.c (in_named_entry_eq, in_named_entry_hash): New.
8278 (get_named_section_flags, set_named_section_flags): New.
8279 (named_section_flags): Use them.
8280 (named_section): Do decl vs section flags check here...
8281 (default_section_type_flags): ... not here.
8282 (init_varasm_once): Create in_named_htab.
8283 (resolve_unique_section): Mark reloc unused.
8285 2001-08-16 Richard Henderson <rth@redhat.com>
8287 * varasm.c (force_const_mem): Keep pool alignment in bits.
8288 (output_constant_pool): Use assemble_align.
8290 2001-08-16 Zack Weinberg <zackw@panix.com>
8292 * doc/tm.texi: Remove extra @table command.
8294 2001-08-16 Zack Weinberg <zackw@panix.com>
8296 * final.c (shorten_branches): Clear the end of the label_align
8297 array only if we made it larger. Break up messy expressions
8300 * diagnostic.c (internal_error): Check for error recursion
8301 before doing ICE suppression.
8303 * timevar.c: Timing variables now count in milliseconds.
8304 (init_timevar): Set up ticks_to_msec and clocks_to_msec here.
8305 (get_time): Not here.
8306 (timevar_print): Don't print any timer whose user, cpu, and
8307 wall times are all zero as displayed.
8308 * timevar.h: Update comment aboout units. Make timevar
8311 Thu Aug 16 17:39:45 CEST 2001 Jan Hubicka <jh@suse.cz>
8313 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
8314 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
8315 (expand_function_start): Likewise.
8316 * stmt.c (expand_decl): Likewise.
8317 * varasm.c (make_decl_rtx): Likewise.
8319 2001-08-16 Jason Merrill <jason_merrill@redhat.com>
8321 * stor-layout.c (layout_decl): Don't set DECL_USER_ALIGN.
8322 (finalize_record_size): Don't set TYPE_USER_ALIGN.
8324 2001-08-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
8326 * config/i386/i386.c (ix86_init_mmx_sse_builtins): Remove unused
8329 2001-08-16 Andreas Jaeger <aj@suse.de>
8331 * config/s390/s390.c: Include "debug.h" for dwarf2out_do_frame
8334 Wed Aug 15 15:22:52 EDT 2001 John Wehle (john@feith.com)
8336 * rtl.h (only_sets_cc0_p): New prototype.
8337 * jump.c (sets_cc0_p): Handle INSN.
8338 (only_sets_cc0_p): New function.
8339 * flow.c (merge_blocks_nomove): Use only_sets_cc0_p.
8340 (tidy_fallthru_edge): Likewise.
8341 * integrate.c (copy_insn_list): Likewise.
8342 * unroll.c (unroll_loop): Likewise.
8343 (copy_loop_body): Likewise.
8345 2001-08-15 Jason Eckhardt <jle@redhat.com>
8347 * config/i960/i960.md (trap): Change "faulteq.t" to "faulte.t".
8349 Wed Aug 15 14:24:22 CEST 2001 Jan Hubicka <jh@suse.cz>
8351 * predict.c (struct block_info_def): Remove nvisited.
8352 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
8353 (estimate_bb_frequencies): Call mark_dfs_back_edges.
8355 * i386.c (ix86_agi_depdendant): Lea causes AGI only on the Pentium
8356 (ix86_adjust_cost): Teach scheduler that latency to load operand can
8359 Wed Aug 15 12:41:32 CEST 2001 Jan Hubicka <jh@suse.cz>
8361 * predict.def: Update hitrates.
8363 2001-08-15 Richard Henderson <rth@redhat.com>
8365 * except.c (TYPE_HASH): Cast to size_t, not HOST_WIDE_INT.
8367 Tue Aug 14 17:30:59 2001 Jeffrey A Law (law@cygnus.com)
8369 * flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG
8370 note from its associated jump.
8372 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
8374 * config/s390/linux64.h (CPP_PREDEFINES): Define __s390__
8375 also on 64-bit s390x targets.
8377 2001-08-14 Nick Clifton <nickc@cambridge.redhat.com>
8379 * config/arm/arm.c (arm_compute_initial_elimination_offset): New
8381 (arm_expand_prologue): Handled nested functions which take a
8382 variable argument list.
8383 * config/arm/arm.h (ARM_INITIAL_ELIMINATION_OFFSET): Replace
8384 macro with an invocation of
8385 arm_compute_initial_elimination_offset.
8386 * config/arm/arm-protos.h: Prototype
8387 arm_compute_initial_elimination_offset.
8389 2001-08-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
8391 * doc/install.texi (Specific, avr): Fix markup.
8392 (Specific, c4x): Ditto.
8394 2001-08-14 Matt Kraai <kraai@alumni.carnegiemellon.edu>
8396 * predict.c (dump_prediction): Change `bool' parameter to `int'.
8398 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
8400 * Makefile.in (OBJS): Add rtl-error.o
8401 (rtl-error.o): New rule.
8402 (diagnostic.o): Adjust dependency.
8403 diagnostic.c (file_and_line_for_asm, diagnostic_for_asm,
8404 error_for_asm, _fatal_insn, _fatal_insn_not_found,
8405 warning_for_asm): Move to...
8406 rtl-error.c: ...here. New file.
8408 2001-08-14 Richard Henderson <rth@redhat.com>
8410 * dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame
8411 if USING_SJLJ_EXCEPTIONS.
8413 2001-08-14 Steve Ellcey <sje@cup.hp.com>
8415 * tlink.c (scan_linker_output): Check string for unsatisfied in
8416 addition to undefined and unresolved.
8418 2001-08-14 Graham Stott <grahams@redhat.com>
8420 * libgcc2.c (*): Replace EH_FRAME_SECTION with
8421 EH_FRAME_SECTION_NAME.
8423 Tue Aug 14 14:57:07 CEST 2001 Jan Hubicka <jh@suse.cz>
8425 * genattrtab.c (simplify_test_exp_in_temp): New function.
8426 (simplify_test_exp): Avoid explicit use of temporary obstack.
8427 (simplify_cond, insert_right_side, evaluate_eq_attr,
8428 simplify_and_tree, simplify_or_tree, eliminate_known_true):
8429 Use simplify_test_exp_in_temp.
8430 (optimize_attrs): Iterate until expression stabilizes.
8432 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>:
8434 * glimits.h: Remove the __LONG_MAX__ special case for s390x.
8435 * config/s390/linux64.h: Define __LONG_MAX__ in CPP_PREDEFINES.
8437 2001-08-13 Richard Henderson <rth@redhat.com>
8439 * config/arm/unknown-elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END): Remove.
8440 (DTOR_LIST_BEGIN, DTOR_LIST_END): Remove.
8441 * config/arm/conix-elf.h: Likewise.
8443 2001-08-13 Geoffrey Keating <geoffk@redhat.com>
8445 * config/svr4.h (LINK_SPEC): Don't do -Wl, here, it is done
8447 * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
8449 * gcse.c (hash_scan_set): Expressions that are set as part of
8450 jump instructions are not available.
8452 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>
8454 * config/s390/s390.c (print_operand, s390_function_prologue,
8455 s390_va_start): Fixed HOST_WIDE_INT type mismatch.
8457 2001-08-13 Richard Henderson <rth@redhat.com>
8459 * config/rs6000/xcoff.h (EH_FRAME_IN_DATA_SECTION): New.
8460 * defaults.h (EH_FRAME_SECTION_NAME): Respect it.
8461 * doc/tm.texi (Exception Region Output): Document it.
8463 2001-08-13 Geoffrey Keating <geoffk@redhat.com>
8465 * config/rs6000/sysv4.h (PREFERRED_DEBUGGING_TYPE): Use
8466 DWARF2 instead of stabs by default.
8468 2001-08-13 David Edelsohn <edelsohn@gnu.org>
8470 * config/rs6000/rs6000.c: Include optabs.h.
8472 2001-08-13 David Edelsohn <edelsohn@gnu.org>
8474 * config/rs6000/eabi.asm: Define 64-bit versions of FPR
8475 save/restore routines.
8476 * ginclude/ppc-asm.h: Define 64-bit FUNC_* macros.
8478 2001-08-13 Andreas Jaeger <aj@suse.de>
8480 * gcc.c (init_spec): Revert last patch by Theodore Papadopoulo,
8481 the english is correct.
8483 2001-08-13 Zack Weinberg <zackw@panix.com>
8485 * expr.h: Split out optab- and libfunc-related code to...
8486 * optabs.h, libfuncs.h: ... these new headers.
8488 * Makefile.in (CONFIG_H, EXPR_H): Take out insn-codes.h.
8490 (various .o rules): Add $(OPTABS_H) and/or libfuncs.h to
8492 * mkconfig.sh: Don't include insn-codes.h from config.h.
8494 * reload.h: Use #ifdef GCC_INSN_CODES_H to decide whether
8495 enum insn_code is available. Move reload_in_optab and
8496 reload_out_optab array declarations to optabs.h.
8497 * regmove.c (gen_add3_insn): Move to optabs.c, export from
8498 there, prototype in expr.h.
8499 * gencodes.c: Cleanup: zap global variables, don't use
8500 printf where puts will do, don't bother defining MAX_INSN_CODE
8501 which nothing uses, let CODE_FOR_nothing get its value implicitly.
8503 * genemit.c, genopinit.c: Include optabs.h in generated file.
8504 * genoutput.c: Include insn-codes.h in generated file.
8505 * builtins.c, caller-save.c, combine.c, doloop.c, explow.c,
8506 expmed.c, expr.c, function.c, ifcvt.c, loop.c, optabs.c, profile.c,
8507 reload1.c, simplify-rtx.c, stmt.c, unroll.c, config/alpha/alpha.c,
8508 config/arm/arm.c, config/c4x/c4x.c, config/clipper/clipper.c,
8509 config/i386/i386.c, config/ia64/ia64.c, config/mn10300/mn10300.c,
8510 config/pj/pj.c, config/sh/sh.c, config/sparc/sparc.c:
8512 * builtins.c, calls.c, dwarf2out.c, except.c, expr.c, function.c,
8513 optabs.c, stmt.c, config/c4x/c4x.c, config/clipper/clipper.c,
8514 config/m88k/m88k.c, config/sparc/sparc.c:
8516 * reload.c: Include expr.h and optabs.h before reload.h.
8517 * config/alpha/alpha.c: Include tree.h before reload.h.
8518 * config/pa/pa.c: Include expr.h, optabs.h, libfuncs.h,
8519 and reload.h in that order.
8520 * config/sparc/sparc.c: Include debug.h.
8521 * recog.c: Include insn-codes.h.
8523 2001-08-13 Andreas Jaeger <aj@suse.de>
8525 * config.gcc: Use t-slibgcc-elf to build shared libgcc_s on
8528 2000-08-13 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
8530 * dwarf2out.c (output_cfa_loc): Fix typo in comment.
8531 * gcc.c (init_spec): Fix typo in comment.
8532 * varasm.c (data_section): Fix typo in comment.
8534 Mon Aug 13 02:27:39 CEST 2001 Jan Hubicka <jh@suse.cz>
8536 * predict.c (dump_prediction): New argument "USED".
8537 (combine_predictions_for_insn): Determine the used heuristics,
8538 output the case no heuristic applied.
8539 * predict.def (PRED_DS_THEORY, PRED_NO_HEURISTIC): New.
8541 2001-08-13 Andreas Jaeger <aj@suse.de>
8543 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Don't capitalize
8546 2001-08-13 Kazu Hirata <kazu@hxi.com>
8548 * jump.c: Fix formatting.
8550 2001-08-13 Kazu Hirata <kazu@hxi.com>
8552 * config/h8300/h8300.md (zero_extendqihi2): Correct the insn
8555 2001-08-12 Geoffrey Keating <geoffk@redhat.com>
8557 * loop.c (check_dbra_loop): Use condjump_label to compute
8560 * rtl.h: Move prototypes of rtx_alloc and rtvec_alloc around
8561 to better document the files they're in.
8563 2001-08-12 Zack Weinberg <zackw@panix.com>
8565 * recog.h (struct insn_operand_data): Shrink 'mode' field
8568 2001-08-12 Kazu Hirata <kazu@hxi.com>
8570 * gcc.c: Fix comment formatting.
8571 * gccspec.c: Likewise.
8574 * genemit.c: Likewise.
8575 * gengenrtl.c: Likewise.
8576 * genrecog.c: Likewise.
8577 * gensupport.c: Likewise.
8578 * ggc-page.c: Likewise.
8579 * global.c: Likewise.
8580 * graph.c: Likewise.
8581 * ifcvt.c: Likewise.
8582 * integrate.c: Likewise.
8584 * libgcc2.c: Likewise.
8586 * mbchar.c: Likewise.
8587 * optabs.c: Likewise.
8588 * predict.c: Likewise.
8589 * prefix.c: Likewise.
8590 * profile.c: Likewise.
8591 * protoize.c: Likewise.
8593 * recog.c: Likewise.
8594 * regclass.c: Likewise.
8595 * regmove.c: Likewise.
8596 * reg-stack.c: Likewise.
8597 * reload1.c: Likewise.
8598 * resource.c: Likewise.
8599 * rtlanal.c: Likewise.
8602 2001-08-12 Kazu Hirata <kazu@hxi.com>
8604 * doc/tm.texi (ENCODE_SECTION_INFO): Add documentation on how
8605 a tree representing a constant is passed to the macro.
8607 2001-08-12 Richard Henderson <rth@redhat.com>
8609 * config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): New.
8610 (rs6000_elf_asm_out_destructor): New.
8611 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): Remove.
8612 (DTORS_SECTION_ASM_OP): Remove.
8613 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
8614 (ASM_OUTPUT_INT): Don't hack TARGET_RELOCATABLE for constructors.
8616 2001-08-12 David Edelsohn <edelsohn@gnu.org>
8619 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8620 * gcc.c (set_collect_gcc_options): New function, split out from
8622 Ignore elided switches.
8623 (do_spec_1): Invoke before executing command.
8624 (set_input): Export.
8625 Move declaration ...
8626 * gcc.h (set_input): ... here.
8627 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
8630 2001-08-12 Richard Henderson <rth@redhat.com>
8632 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Fix
8633 thinko wrt TARGET_RELOCATABLE.
8635 2001-08-12 Neil Booth <neil@daikokuya.demon.co.uk>
8637 * fix-header.c (cb_file_change): Update prototype.
8639 2001-08-11 Zack Weinberg <zackw@panix.com>
8641 * toplev.c (set_float_handler): Make static.
8642 * toplev.h: Don't prototype set_float_handler.
8644 * simplify-rtx.c: Don't include setjmp.h.
8645 (simplify_unary_real, simplify_binary_real, simplify_binary_is2orm1):
8647 (simplify_unary_operation, simplify_binary_operation): Use them,
8648 via do_float_handler.
8650 * fold-const.c: Don't include setjmp.h.
8651 (exact_real_inverse_1): New function.
8652 (exact_real_inverse): Use it, via do_float_handler.
8654 * varasm.c: Don't include setjmp.h.
8655 (assemble_real_1): New function.
8656 (assemble_real): Use it, via do_float_handler.
8657 Call internal_error if we get a trap here.
8659 * c-parse.in, cse.c, cselib.c, config/i386/i386.c,
8660 config/pj/pj.c, config/s390/s390.c: Don't include setjmp.h.
8662 2001-08-11 Zack Weinberg <zackw@panix.com>
8664 * defaults.h: Define PREFERRED_STACK_BOUNDARY to
8665 STACK_BOUNDARY if not already defined.
8667 * calls.c, function.c, reload1.c, explow.c: Don't default
8668 PREFERRED_STACK_BOUNDARY. Remove all #if/#ifdef on
8669 PREFERRRED_STACK_BOUNDARY and/or STACK_BOUNDARY.
8671 * explow.c (allocate_dynamic_stack_space): Change unsafe #if
8674 * doc/tm.texi: Document that STACK_BOUNDARY is required;
8675 clarify difference between it and PREFERRED_STACK_BOUNDARY.
8677 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
8679 * cppmacro.c (enter_macro_context): Push macro expansions even
8682 2001-08-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8684 * config/rs6000/rs6000.c: Include integrate.h to silence warning.
8685 (rs6000_elf_section_type_flags): Actually return a value.
8687 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
8689 * s390.c, s390.h, s390.md, s390-protos.h, linux.h, t-linux:
8690 Clean up code: add missing comments and prototypes, fix warnings,
8691 remove obsolete code, fix spacing to conform to coding style.
8693 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
8695 * config/s390/s390.c (targetm): Define TARGET_ASM_OPEN_PAREN
8696 and TARGET_ASM_CLOSE_PAREN.
8697 (regclass_map): CC register belongs to class NO_REGS.
8698 (legitimize_pic_address): Don't generate unnecessary moves
8699 (to avoid confusing loop optimization).
8700 (check_and_change_labels): Replace jump_long by indirect_jump.
8701 (s390_final_chunkify): Don't start a new literal pool on section
8702 switch in 64-bit code.
8703 (s390_va_start, s390_va_arg): Fixed incorrect sizes for 64-bit.
8705 * config/s390/s390.h (TARGET_SWITCHES): Renamed debug_arg to debug.
8706 (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE): Set to 64 (for 64-bit).
8707 (HARD_REGNO_MODE_OK, RETURN_IN_MEMORY): Support complex integer
8709 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Remove CC_REGS.
8710 (EH_RETURN_HANDLER_RTX): Fixed incorrect offset for 64-bit.
8711 (CONST_COSTS): Fixed incorrect costs.
8713 * config/s390/s390.md (fixuns_trunc[sd]f[sd]i2, udivsi3, umodsi3):
8714 Use emit_jump instead of emit_jump_insn (gen_jump).
8715 (divsi3, modsi3): Clobber low word of divmoddisi3 before shifting
8716 (to avoid confusing flow analysis).
8717 (tablejump, tablejump1, tablejump2): Removed. Replaced by casesi.
8718 (casesi, casesi_jump): New.
8719 (jump_long): Removed. Functionality merged into indirect_jump.
8720 (indirect_jump): Accept address_operand, not just register_operand.
8721 (cjump_long, icjump_long): Use same logic as indirect_jump.
8722 (builtin_setjmp_setup, builtin_setjmp_receiver, builtin_longjmp):
8723 Fixed broken setjmp/longjmp handling.
8724 (do_builtin_setjmp_setup): Removed.
8726 * config/s390/linux.h (ASM_OUTPUT_DOUBLE_INT): Work around
8727 broken GNU as versions that don't accept .quad with large
8728 negative values. Use hexadecimal output instead.
8729 (ASM_OUTPUT_ADDR_DIFF_ELT): Adapt to new casesi insn.
8730 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN, FUNCTION_PROLOGUE,
8731 FUNCTION_EPILOGUE): Removed. Now in targetm.
8733 * config/s390/linux64.h (CALL_USED_REGISTERS): Add CC register.
8735 * config/s390/fixdfdi.h: Add missing copyright statement.
8736 Fix type conflicts on 64-bit. Add missing SFmode routines.
8738 * s390.c, s390.h, s390.md, linux.h, linux64.h: Fixed incorrect
8741 2001-08-11 Richard Henderson <rth@redhat.com>
8743 * rtl.h (REG_EH_RETHROW): Remove.
8744 * rtl.c (reg_note_name): Update.
8745 * combine.c (distribute_notes): Don't check for it.
8747 2001-08-11 Richard Henderson <rth@redhat.com>
8749 * combine.c (distribute_notes): Place REG_SETJMP.
8751 2001-08-11 Richard Henderson <rth@redhat.com>
8753 * doc/extend.texi (Arrays and pointers implementation): Discourage
8754 relying on sign-extension of pointers.
8756 2001-08-11 H.J. Lu <hjl@gnu.org>
8758 * config/mips/linux.h (EXTRA_SECTIONS): Remove in_ctors and
8760 (EXTRA_SECTION_FUNCTIONS): Remove DTORS_SECTION_ASM_OP and
8761 RDATA_SECTION_ASM_OP.
8763 2001-08-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
8765 * doc/install.texi (Specific, c4x): Fix cross-reference to the
8766 main manual to work both for info and HTML versions.
8768 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
8769 Matt Kraai <kraai@alumni.carnegiemellon.edu>
8771 * cpphash.c (_cpp_destroy_hashtable): Use ht_destroy.
8772 * cpphash.h (CPP_IN_SYSTEM_HEADER): Fix.
8773 (struct cpp_pool): New member first.
8774 * cppinit.c (append_include_chain): Plug memory leaks.
8775 * cpplib.c (cpp_register_pragma, cpp_register_pragma_space):
8776 Allocate pragma structures from the (aligned) macro pool to
8777 avoid leaking memory.
8778 * cpplex.c (_cpp_init_pool, _cpp_free_pool): Use pool->first
8779 so we don't leak memory.
8780 * hashtable.c (ht_destroy): New.
8781 * hashtable.h (ht_destroy): New.
8783 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
8784 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8786 * c-lex.c (map): Make const.
8787 (cb_file_change): Update for callback passing a line map.
8788 Don't assume we have a previous map. Remove sanity check
8789 about popping too many files.
8790 * cpperror.c (print_location): Make map const.
8791 * cppfiles.c (stack_include_file): Update; line maps now hold sysp.
8792 (cpp_make_system_header): Similarly.
8793 (search_from): Similarly.
8794 (_cpp_execute_include): Don't remember where we came from.
8795 * cpphash.h (struct cpp_buffer): Remove return_to_line, sysp.
8796 (struct cpp_reader): Make map const.
8797 (CPP_IN_SYSTEM_HEADER, _cpp_do_file_change): Update.
8798 * cpplib.c (do_line): Update; line maps now hold sysp.
8799 (cpp_push_buffer): Similarly.
8800 (_cpp_do_file_change): Similarly; callback with map instead.
8801 (cpp_get_line_maps): Constify return value.
8802 (_cpp_pop_buffer): Update.
8803 * cpplib.h (struct cpp_file_change): Remove.
8804 (struct cpp_callbacks): Update.
8805 (cpp_get_line_maps): Constify return value.
8806 * cppmacro.c (_cpp_create_definition): Update.
8807 * cppmain.c (struct printer): Constify map.
8808 (maybe_print_line): Similarly.
8809 (print_line): Similarly. Deduce flags 1 and 2 here.
8810 (cb_file_change): Update.
8811 * line-map.c (free_line_maps): Warn regardless.
8812 (add_line_map): Return pointer to const. When passed NULL to_file
8813 with LC_LEAVE, use the obvious values for the return point so the
8814 caller doesn't have to figure them out.
8815 (lookup_line): Return pointer to const.
8816 (print_containing_files): Take pointer to const.
8817 * line-map.h (struct line_map): New members reason, sysp.
8818 (add_line_map): Return pointer to const.
8819 (lookup_line): Similarly.
8820 (print_containing_files): Take pointer to const.
8822 2001-08-10 Roman Zippel <zippel@linux-m68k.org>
8823 Richard Henderson <rth@redhat.com>
8825 * regmove.c (regmove_optimize): Avoid setting a register twice in
8828 2001-08-10 Richard Henderson <rth@redhat.com>
8830 * doc/extend.texi (Arrays and pointers implementation): Document
8831 behavior of pointer/integer conversion.
8833 2001-08-10 Ulrich Weigand <uweigand@de.ibm.com>
8835 * glimits.h (__LONG_MAX__): Add s390x as 64-bit architecture.
8837 2001-08-10 Richard Henderson <rth@redhat.com>
8839 * doc/extend.texi (C Implementation): New chapter.
8840 * doc/gcc.texi (Top): Link it in.
8842 2001-08-10 Andrew Cagney <ac131313@redhat.com>
8844 * doc/install.texi (Specific): Fix CVS merge botch.
8846 2001-08-10 Richard Henderson <rth@redhat.com>
8848 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): Protect with
8849 ifdef CTOR_LIST_BEGIN instead of INIT_SECTION_ASM_OP.
8851 2001-08-10 Zack Weinberg <zackw@stanford.edu>
8853 * calls.c, function.c: Always define PREFERRED_STACK_BOUNDARY
8854 if not already defined. Remove all #ifdefs on STACK_BOUNDARY;
8855 this macro is now required.
8857 * cselib.c (cselib_process_insn), flow.c (propagate_block),
8858 loop.c (find_and_verify_loops), reload.c (reload): Check
8859 for rtx code of CALL_INSN, not CALL, when deciding if we
8860 need to check for REG_SETJMP note.
8862 * gcse.c (compute_hash_table, compute_store_table): Update
8863 the #ifdef NON_SAVING_SETJMP code to the new REG_SETJMP
8866 * config/avr/avr.c: Fix typo.
8867 * config/convex/convex.c (expand_movstr): Use adjust_address.
8868 * config/dsp16xx/dsp16xx.c: Define dsp16xx_compare_gen
8870 * config/dsp16xx/dsp16xx.md: Correct calls to replace_equiv_address.
8871 * config/elxsi/elxsi.c: Include tree.h, expr.h, regs.h, and flags.h.
8873 * config/elxsi/elxsi.h: Don't define Rmode (typo for Pmode?)
8874 Do define STACK_BOUNDARY.
8875 * config/i370/i370.c: Include expr.h.
8876 * config/i860/sysv3.h, config/i860/sysv4.h, config/m32r/m32r.h,
8877 config/pa/som.h, config/v850/v850.h: Take in_ctors and
8878 in_dtors out of EXTRA_SECTIONS; take CTORS_SECTION_FUNCTION
8879 and DTORS_SECTION_FUNCTION out of EXTRA_SECTION_FUNCTIONS.
8880 * config/m88k/m88k.c: Include c-tree.h after expr.h.
8881 * config/pdp11/pdp11.c: Include expr.h and toplev.h.
8882 * config/romp/romp.c: Include expr.h after tree.h.
8884 (output_fpop): Use xmalloc, not oballoc.
8885 * config/we32k/we32k.c: Include expr.h.
8887 2001-08-10 Kazu Hirata <kazu@hxi.com>
8889 * config/h8300/h8300.h: Fix formatting.
8891 2001-08-08 Jason Merrill <jason_merrill@redhat.com>
8893 * c-common.h (RETURN_NULLIFIED_P): Lose.
8894 * c-semantics.c (genrtl_return_stmt): Don't check it.
8896 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
8898 * config/mips/mips.c (mips_add_large_offset_to_sp): New function.
8899 (mips_annotate_frame_insn): New function.
8900 (mips_emit_frame_related_store): New function.
8901 (save_restore_insns): Don't mark instructions that set up the base
8902 registers as frame-related. Add REG_FRAME_RELATED_EXPR notes to
8903 the store instructions instead.
8904 (mips_expand_prologue): If the stack size is moved into a temporary
8905 register, do not mark that move as frame-related. Add a
8906 REG_FRAME_RELATED_EXPR note to the stack adjustment instruction.
8908 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
8910 * config/mips/mips.c (save_restore_insns): Don't mark the RA's
8911 stack slot as unchanging if current_function_calls_eh_return.
8913 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
8915 * config/mips/mips.md (reload_incc): Use HARD_REGNO_NREGS to
8916 access the second half of the TFmode scratch operand.
8918 2001-08-10 Anthony Green <green@redhat.com>
8920 * java/class.c (emit_register_classes): Conditionalize code on
8923 2001-08-10 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
8925 * doc/install.texi (Specific, avr): Fix cross-reference to the
8926 main manual to work both for info and HTML versions.
8928 2001-08-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
8930 * stmt.c (expand_null_return_1): Remove code to generate simple returns
8931 and "use_goto" argument.
8932 (expand_null_return, expand_value_return): Update all callers.
8933 * function.c (expand_function_end): Remove code to generate simple
8935 * config/vax/vax.md (epilogue): New expander for function return.
8936 * doc/md.texi (epilogue): Remove "if defined".
8938 2001-08-09 Zack Weinberg <zackw@stanford.edu>
8940 * Makefile.in: Partially revert my previous change:
8941 put -DGENERATOR_FILE back in HOST_CFLAGS, take it out
8942 of the hashtab.o and safe-ctype.o rules.
8944 2001-08-09 Richard Henderson <rth@redhat.com>
8946 * Makefile.in (MAYBE_USE_COLLECT2): Remove; purge all uses.
8947 (USE_COLLECT2): Remove duplicate definition.
8948 * config.gcc (a29k-udi, a29k-wrs-vxworks) [tm_file]: Remove a29k/udi.h.
8949 (use_collect2): Remove dead code.
8950 * configure.in (use_collect2): Remove will_use_collect2 and
8951 maybe_use_collect2; add USE_COLLECT2 to host_xm_defines and xm_defines.
8952 * configure: Rebuild.
8954 * target.h (targetm.asm_out.constructor): New.
8955 (targetm.asm_out.destructor, targetm.have_ctors_dtors): New.
8956 * target-def.h (TARGET_ASM_CONSTRUCTOR): New.
8957 (TARGET_ASM_DESTRUCTOR, TARGET_HAVE_CTORS_DTORS): New.
8958 * varasm.c (in_ctors, in_dtors): New.
8959 (assemble_constructor, assemble_destructor): Remove.
8960 (default_stabs_asm_out_destructor): New.
8961 (default_named_section_asm_out_destructor): New.
8962 (dtors_section, default_dtor_section_asm_out_destructor): New.
8963 (default_stabs_asm_out_constructor): New.
8964 (default_named_section_asm_out_constructor): New.
8965 (ctors_section, default_ctor_section_asm_out_constructor): New.
8966 * output.h: Update declarations.
8967 * c-decl.c (c_expand_body): Use target hooks instead of
8968 assemble_constructor and assemble_destructor.
8969 * profile.c (output_func_start_profiler): Likewise.
8970 * objc/objc-act.c (finish_objc): Likewise.
8971 (build_module_descriptor): Tidy. Set TREE_PUBLIC properly
8972 for the constructor.
8973 * objc/Make-lang.in (objc-act.o): Depend on TARGET_H.
8975 * crtstuff.c (CTORS_SECTION_ASM_OP): Don't define.
8976 (DTORS_SECTION_ASM_OP): Likewise.
8977 (__CTOR_LIST__): Use attribute section when possible.
8978 (__DTOR_LIST__, __CTOR_END__, __DTOR_END__): Likewise.
8980 * defaults.h (EH_FRAME_SECTION_NAME): Don't depend on
8981 ASM_OUTPUT_CONSTRUCTOR.
8983 * config/darwin.c (machopic_asm_out_constructor): New.
8984 (machopic_asm_out_destructor): New.
8985 * config/darwin-protos.h: Update declarations.
8986 * config/darwin.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
8987 (ASM_OUTPUT_DESTRUCTOR): Remove.
8988 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
8989 * config/nextstep.c (nextstep_asm_out_constructor): New.
8990 (nextstep_asm_out_destructor): New.
8991 * config/nextstep.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
8992 (ASM_OUTPUT_DESTRUCTOR): Remove.
8993 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
8994 * config/nextstep21.h: Undef TARGET_ASM_*STRUCTOR instead of
8995 ASM_OUTPUT_*STRUCTOR.
8996 * config/i386/aix386ng.h: Likewise.
8998 * config/elfos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Remove.
8999 (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): No ctors/dtors.
9000 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
9001 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
9002 * config/lynx.h: Likewise.
9003 * config/netware.h: Likewise.
9004 * config/psos.h: Likewise.
9005 * config/alpha/alpha-interix.h: Likewise.
9006 * config/alpha/elf.h: Likewise.
9007 * config/arc/arc.h: Likewise.
9008 * config/arm/aof.h: Likewise.
9009 * config/arm/coff.h: Likewise.
9010 * config/arm/elf.h: Likewise.
9011 * config/c4x/c4x.h: Likewise.
9012 * config/h8300/h8300.h: Likewise.
9013 * config/i386/cygwin.h: Likewise.
9014 * config/i386/djgpp.h: Likewise.
9015 * config/i386/i386-coff.h: Likewise.
9016 * config/i386/i386-interix.h: Likewise.
9017 * config/i386/sco5.h: Likewise.
9018 * config/i386/vsta.h: Likewise.
9019 * config/i386/win32.h: Likewise.
9020 * config/i960/i960-coff.h: Likewise.
9021 * config/ia64/sysv4.h: Likewise.
9022 * config/m68hc11/m68hc11.h: Likewise.
9023 * config/m68k/coff.h: Likewise.
9024 * config/m68k/mot3300.h: Likewise.
9025 * config/m88k/m88k.h: Likewise.
9026 * config/mcore/mcore-pe.h: Likewise.
9027 * config/mcore/mcore.h: Likewise.
9028 * config/mips/elf.h: Likewise.
9029 * config/mips/elf64.h: Likewise.
9030 * config/mips/iris6.h: Likewise.
9031 * config/pa/pa64-hpux.h: Likewise.
9032 * config/rs6000/sysv4.h: Likewise.
9033 * config/sh/sh.h: Likewise.
9034 * config/sparc/litecoff.h: Likewise.
9036 * config/svr3.h (CTORS_SECTION_ASM_OP): Remove.
9037 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
9038 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
9039 * config/1750a/1750a.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
9040 (ASM_OUTPUT_DESTRUCTOR): Remove.
9041 * config/a29k/a29k.c: Move include of tree.h.
9042 * config/a29k/udi.h: Delete file.
9043 * config/alpha/alpha.c (vms_asm_out_constructor): New.
9044 (vms_asm_out_destructor): New.
9045 * config/alpha/vms.h (EXTRA_SECTIONS): No ctors/dtors.
9046 (EXTRA_SECTION_FUNCTIONS): Likewise.
9047 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
9048 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
9049 * config/c4x/c4x.c: Move include of tree.h.
9050 * config/clipper/clipper.c (clix_asm_out_constructor): New.
9051 (clix_asm_out_destructor): New.
9052 * config/clipper/clix.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
9053 (ASM_OUTPUT_DESTRUCTOR): Remove.
9054 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
9055 * config/i386/aix386.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
9056 (TARGET_ASM_CONSTRUCTOR): New.
9057 * config/i386/i386.c (ix86_svr3_asm_out_constructor): New.
9058 (sco_asm_out_constructor): New.
9059 * config/i386/sco5.h (TARGET_ASM_CONSTRUCTOR): New.
9060 * config/i386/svr3gas.h: Remove stack grows up code.
9061 Remove code duplicated from i386/sysv3.h.
9062 (TARGET_ASM_CONSTRUCTOR): New.
9063 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
9064 (DTORS_SECTION_FUNCTION, CTORS_SECTION_FUNCTION): Remove.
9065 * config/i386/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
9066 (TARGET_ASM_CONSTRUCTOR): New.
9067 * config/m68hc11/m68hc11.c (m68hc11_asm_out_constructor): New.
9068 (m68hc11_asm_out_destructor): New.
9069 * config/m68hc11/m68hc11.h (TARGET_ASM_CONSTRUCTOR): New.
9070 (TARGET_ASM_DESTRUCTOR): New.
9071 * config/m68k/auxgas.h: Don't undef ASM_OUTPUT_*STRUCTOR.
9072 * config/m68k/dpx2.h: Properly undef all the bits inherited from
9073 config/svr3.h pertaining to section manipulation.
9074 * config/m68k/dpx2g.h: Remove #if 0 code.
9075 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): New.
9076 * config/m68k/tower-as.h (ASM_OUTPUT_SOURCE_LINE): Fix typo.
9077 (ASM_OUTPUT_CONSTRUCTOR): Remove.
9078 (TARGET_ASM_CONSTRUCTOR): New.
9079 * config/m88k/m88k.c (m88k_layout_frame): Don't use assign_stack_local.
9080 (m88k_svr3_asm_out_constructor): New.
9081 (m88k_svr3_asm_out_destructor): New.
9082 * config/m88k/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
9083 (ASM_OUTPUT_DESTRUCTOR): Remove.
9084 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
9085 * config/mips/mips.h: Remove #if 0 ASM_OUTPUT_*STRUCTOR code.
9086 * config/rs6000/aix.h: Likewise.
9087 * config/mips/rtems64.h: Don't undef removed constructor related bits.
9088 * config/mips/vxworks.h: Likewise.
9089 * config/rs6000/lynx.h: Likewise.
9090 * config/sh/elf.h: Likewise.
9091 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): New.
9092 (DTORS_SECTION_ASM_OP): New.
9093 * config/sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
9094 (ASM_OUTPUT_DESTRUCTOR): Remove.
9095 * config/sparc/sol2-sld-64.h: Likewise.
9096 * config/vax/vax.c (vms_asm_out_constructor): New.
9097 (vms_asm_out_destructor): New.
9098 * config/vax/vms.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
9099 (ASM_OUTPUT_DESTRUCTOR): Remove.
9100 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
9102 * doc/tm.texi (@node Initialization): Update.
9104 2001-08-09 Richard Henderson <rth@redhat.com>
9106 * config/alpha/crtbegin.asm (__JCR_LIST__): New.
9107 (__do_global_dtors_aux): Use gp-relative static data to avoid
9108 one dynamic relocation.
9109 (__do_frame_setup): Register Java classes.
9110 * config/alpha/crtend.asm (__JCR_END__): New.
9112 2001-08-09 Zack Weinberg <zackw@stanford.edu>
9114 * Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
9115 (CONFIG_H, TCONFIG_H, TM_P_H): Update.
9116 (GEN, STAGESTUFF): Add new files.
9117 (insn-constants.h, s-constants, tm-preds.h, s-preds,
9118 genconstants, genpreds, genconstants.o, genpreds.o): New rules.
9119 (hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE.
9120 * mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h
9121 as well as insn-codes.h and insn-flags.h in config.h; and no
9122 extra headers in tconfig.h and hconfig.h.
9124 * gencodes.c: Eliminate code to generate predicate declarations
9125 or #defines for md-file constants.
9126 * genconstants.c, genpreds.c: New files.
9128 * i386.md: Re-order guard expressions such that TARGET_64BIT
9129 comes first, when this permits better optimization. Add
9130 TARGET_64BIT to more x86-64 patterns. Add comment explaining
9131 why this is desirable.
9133 2001-08-09 Jakub Jelinek <jakub@redhat.com>
9135 * config/ia64/fde-glibc.c: Require glibc 2.2.4+ headers.
9136 (find_fde_for_dso): Remove.
9137 (_Unwind_IteratePhdrCallback): New.
9138 (_Unwind_FindTableEntry): Use dl_iterate_phdr.
9139 * config/ia64/crtbegin.asm (__ia64_app_header): Remove.
9141 Thu Aug 9 11:30:20 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9143 * expr.c (emit_single_push_insn): Only exists ifdef PUSH_ROUNDING.
9144 (move_by_pieces_1): If would call it, abort if no PUSH_ROUNDING.
9146 2001-08-09 Graham Stott <grahams@redhat.com>
9148 * sched-vis.c (MAX_VISUAL_NO_UNIT): Define.
9149 (vis_no_unit): Use it.
9150 (visualize_no_unit): Add the insn only if room exists.
9152 2001-08-09 Graham Stott <grahams@redhat.com>
9154 * predict.c (estimate_probability): Replace magic numbers with
9155 appropriate enumeration.
9157 2001-08-09 Graham Stott <grahams@redhat.com>
9159 * cppexp.c (EXTRACT_PRIO): Uppercase and parenthsize macro
9161 (EXTRACT_FLAGS): Likewise.
9163 2001-08-09 Aldy Hernandez <aldyh@redhat.com>
9165 * config/mips/mips.c (mips_legitimate_address_p): Check for
9166 CONST_INT in last patch.
9168 2001-08-08 Anthony Green <green@redhat.com>
9170 * java/class.c (emit_register_classes): Use assemble_jcr if
9171 possible. Keep the original mechanism as a fallback.
9172 * defaults.h (JCR_SECTION_NAME): Define if we have named section
9173 and weak symbol support.
9174 * crtstuff.c (__JCR_LIST__): Define.
9175 (__JCR_END__): Define.
9176 (_Jv_RegiserClasses): Define weak symbol if possible.
9177 (__do_global_ctors_aux): Register classes for ELF targets with
9178 weak symbol support.
9180 2001-08-08 Kazu Hirata <kazu@hxi.com>
9182 * dbxout.c: Fix comment formatting.
9183 * dependence.c: Likewise.
9185 * diagnostic.c: Likewise.
9186 * dominance.c: Likewise.
9187 * doprint.c: Likewise.
9188 * dwarf2out.c: Likewise.
9189 * dwarfout.c: Likewise.
9190 * emit-rtl.c: Likewise.
9191 * except.c: Likewise.
9192 * explow.c: Likewise.
9193 * expmed.c: Likewise.
9196 * fold-const.c: Likewise.
9197 * function.c: Likewise.
9199 2001-08-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9201 * global.c (retry_global_alloc): Avoid shadowing allocno.
9203 2001-08-08 Mark Mitchell <mark@codesourcery.com>
9205 * except.c (remove_fixup_regions): Fix typo.
9207 2001-08-08 Jan van Male <jan.vanmale@fenk.wau.nl>
9209 * emit-rtl.c (adjust_address, adjust_address_nv): Cast offset to
9210 unsigned HOST_WIDE_INT to avoid warning.
9211 * final.c (final): Cast INSN_UID to unsigned to avoid warning.
9212 * flow.c (set_block_for_new_insns): Likewise.
9214 Wed Aug 8 21:08:14 CEST 2001 Jan Hubicka <jh@suse.cz>
9216 * sibcall.c (return_value_pseudo): New static variable.
9217 (skip_copy_to_return_value): Handle return_value_pseudo.
9218 (call_ends_block_p): Ensure that return_value_pseudo is set.
9219 (optimize_sibling_and_tail_recursive_call): Discover the
9220 load of pseudo return value in alternate exit block.
9222 Wed Aug 8 21:06:43 CEST 2001 Jan Hubicka <jh@suse.cz>
9224 * calls.c (ECF_ALWAYS_RETURN): New constant.
9225 (emit_call_1): Add REG_ALWAYS_RETURN note if needed.
9226 (expand_call): Use LCF_ALWAYS_RETURN for __bb_fork_func.
9227 (emit_library_call_value_1): Handle LCT_ALWAYS_RETRUN.
9228 * flow.c (need_fake_edge_p): Handle REG_ALWAYS_RETURN.
9229 * rtl.c (reg_note_name): New name.
9230 * rtl.h (enum reg_note): Add REG_ALWAYS_RETURN.
9232 2001-08-07 Aldy Hernandez <aldyh@redhat.com>
9234 * config/mips/mips.c (mips_legitimate_address_p): Limit "la" addresses.
9236 2001-08-08 Jason Merrill <jason_merrill@redhat.com>
9238 * alias.c (get_alias_set): Return a previously calculated
9239 alias set for a VAR_DECL.
9240 * function.c (gen_mem_addressof): Calculate the alias set before
9243 Wed Aug 8 18:44:37 CEST 2001 Jan Hubicka <jh@suse.cz>
9245 * predict.def: Set hitrates according our experimental run.
9247 Wed Aug 8 18:01:58 CEST 2001 Jan Hubicka <jh@suse.cz>
9249 * i386.h (HARD_REGNO_RENAME_OK): New macro.
9251 2001-08-08 H.J. Lu <hjl@gnu.org>
9253 * config/mips/mips.c (mips_unique_section): New. Copied from
9256 * config/mips/mips-protos.h (mips_unique_section): New
9259 * config/mips/elf.h (UNIQUE_SECTION): Use mips_unique_section.
9261 * config/mips/little.h: New. Generic little endian mips
9262 targets. Only mips*-*-linux* is converted to use it so far.
9264 * config/mips/linux.h: Include "gofast.h" and "mips/mips.h".
9265 (WCHAR_TYPE): Defined
9266 (WCHAR_TYPE_SIZE): Likewise.
9267 (INIT_SUBTARGET_OPTABS): Likewise.
9268 (BSS_SECTION_ASM_OP): Likewise.
9269 (SBSS_SECTION_ASM_OP): Likewise.
9270 (ASM_OUTPUT_ALIGNED_BSS): Likewise.
9271 (ASM_DECLARE_OBJECT_NAME): Likewise.
9272 (UNIQUE_SECTION): Likewise.
9273 (EXTRA_SECTIONS): Likewise.
9274 (ASM_OUTPUT_CONSTRUCTOR): Likewise.
9275 (ASM_OUTPUT_DESTRUCTOR): Likewise.
9276 (ASM_OUTPUT_DEF): Likewise.
9277 (HANDLE_SYSV_PRAGMA): Removed.
9278 (NO_IMPLICIT_EXTERN_C): Likewise.
9279 (TARGET_MEM_FUNCTIONS): Likewise.
9280 (STARTFILE_SPEC): Likewise.
9281 (ENDFILE_SPEC): Likewise.
9282 (LIB_SPEC): Likewise.
9283 (INVOKE__main): Likewise.
9284 (CTOR_LIST_BEGIN): Likewise.
9285 (CTOR_LIST_END): Likewise.
9286 (DTOR_LIST_BEGIN): Likewise.
9287 (DTOR_LIST_END): Likewise.
9288 (SET_ASM_OP): Likewise.
9289 (ASM_OUTPUT_SOURCE_LINE): Likewise.
9290 (ASM_OUTPUT_DEF): Likewise.
9291 (ASM_OUTPUT_IDENT): Likewise.
9293 * config/mips/mips.h (ASM_SPEC): Undefine before define.
9294 (CPLUSPLUS_CPP_SPEC): Likewise.
9295 (ASM_APP_ON) Redefine only if not defined.
9296 (ASM_APP_OFF): Likewise.
9297 (ASM_OUTPUT_SOURCE_LINE): Likewise.
9298 (ASM_OUTPUT_IDENT): Likewise.
9300 * config.gcc: Update tm_file for Linux/mips.
9302 2001-08-08 Bernd Schmidt <bernds@redhat.com>
9304 * cselib.c (cselib_record_sets): If insn is predicated, turn
9305 sources into IF_THEN_ELSEs.
9307 * config/ia64/ia64.md (cond_opsi2_internal, cond_opsi2_internal_b):
9308 Turn into define_insn_and_split.
9310 * sched-deps.c: Include "cselib.h".
9311 (add_insn_mem_dependence, sched_analyze_1, sched_analyze_2):
9312 Use cselib to turn memory addresses into VALUEs.
9313 (sched_analyze): Call cselib_init/cselib_finish if necessary.
9314 * sched-int.h (struct sched_info): New member USE_CSELIB.
9315 * sched-ebb.c (ebb_sched_info): Initialize it.
9316 * sched-rgn.c (rgn_sched_info): Likewise.
9317 * Makefile.in (sched-deps.o): Update dependencies.
9319 * cselib.h (cselib_subst_to_values): Declare.
9320 * cselib.c (cselib_subst_to_values): No longer static. Allow MEMs
9321 that have no value and autoincs to be handled by generating a new
9324 2001-08-08 Graham Stott <grahams@redhat.com>
9326 * final.c (shorten_branches): Update the INSN_ADDRESSES of insns
9327 within fixed length SEQUENCE.
9329 2001-08-08 Graham Stott <grahams@redhat.com>
9331 * diagnostic.h (diagnostic_format_decoder): Parenthesize macro parameter.
9332 (diagnostic_prefixing_rule): Likewise.
9333 (diagnostic_line_cutoff): Likewise.
9334 (diagnostic_kind_count): Likewise.
9336 2001-08-08 Graham Stott <grahams@redhat.com>
9338 * alias.c (find_base_decl): Delete redundent assignment.
9340 2001-08-08 Graham Stott <grahams@redhat.com>
9342 * dependence.c (INDEX_LIMIT_CHECK): Uppercase macro parameter.
9343 (abs): Uppercase and paranthesize macro parameter.
9344 (MEM_DEPENDENCY): Add whitespace.
9346 2001-08-08 Graham Stott <grahams@redhat.com>
9348 * config/mips/mips.c (mips_legitimate_address_p): Fix enable checking
9349 failure check for CONST_INT
9351 2001-08-08 Graham Stott <grahams@redhat.com>
9353 * flow.c (back_edge_of_syntactic_loop_p): Add whitespace.
9354 (libcall_dead_p): Likewise.
9356 (mark_used_regs): Constify fmt.
9357 (find_use_as_address): Likewise.
9359 2001-08-08 Graham Stott <grahams@redhat.com>
9361 * c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro
9364 2001-08-08 Graham Stott <grahams@redhat.com>
9366 * combine.c (combine_simplify_rtx): Update comment and
9367 remove erroneous test.
9369 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
9371 * cppinit.c (cpp_finish): Pop the final buffer without comment.
9372 * cpplex.c (_cpp_lex_token): Don't pop the final buffer; and
9373 take care to avoid multiple no-newline at EOF warnings in that
9376 Tue Aug 7 22:18:06 CEST 2001 Jan Hubicka <jh@suse.cz>
9378 * calls.c (expand_call): Do not emit INSN_SETJMP note.
9379 (emit_library_call_value_1): Likewise.
9380 (emit_call_1): Emit REG_SETJMP note.
9381 * cse.c (cse_end_of_basic_block): Use REG_SETJMP instead
9383 * cselib.c (cselib_process_insn): Likewise.
9384 * flow.c (propagate_block): Likewise.
9385 * loop.c (find_and_verify_loops): Likewise.
9386 * reload.c (find_equiv_regs): Likewise.
9387 * reload1.c (reload): Likewise.
9388 * resource.c (mark_referenced_resources,
9389 mark_set_resources): Likewise.
9390 * sched-deps (sched_analyze_insn, sched_analyze): Likewise.
9391 * final.c (final_scan_insn): Remove NOTE_INSN_SETJMP.
9392 * haifa-sched.c (unlink_other_notes): Likewise.
9393 (reemit_notes): Likewise.
9394 * sched-ebb.c (sched_ebb): Likewise.
9395 * sched-rgc.c (sched_region): Likewise.
9396 * rtl.c (note_insn_name): Likewise.
9397 (reg_note_name): Add REG_SETJMP
9398 * rtl.h (reg_note): Add REG_SETJMP.
9399 (insn_note): Remove NOTE_INSN_SETJMP.
9401 * profile.c (branch_prob): Add fake edges for setjmp.
9403 2001-08-07 Daniel Jacobowitz <drow@mvista.com>
9405 * config.gcc: Quote target_cpu_default2 correctly for
9406 powerpc*-*-* targets.
9408 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
9410 * cpplib.h, line-map.h: Update comments.
9411 * cppmain.c (printer_init): Move inline.
9412 (maybe_print_line, print_line): Take a map pointer.
9413 (cb_ident, cb_define, cb_undef, cb_include, cb_def_pragma): Update.
9414 (cb_file_change): Don't use prior value of print.map.
9416 2001-08-07 David Edelsohn <edelsohn@gnu.org>
9418 * doc/install.texi: Document fine-grained multilib configuration.
9420 Tue Aug 7 16:52:54 CEST 2001 Jan Hubicka <jh@suse.cz>
9422 * rtlanal.c (find_first_parameter_load): Call note_stores
9423 only on the instructions.
9425 Tue Aug 7 14:56:16 CEST 2001 Jan Hubicka <jh@suse.cz>
9427 * alias.c (nonlocal_mentioned_p):
9428 Rename CONST_CALL_P to CONST_OR_PURE_CALL_P
9429 * calls.c (emit_call_1): Likewise.
9430 * cse.c (cse_insn, invalidate_skipped_block): Likewise.
9431 * cselib.c (cselib_process_insn): Likewise.
9432 * df.c (df_insns_modify): Likewise.
9433 * flow.c (need_fake_edge_p): Likewise.
9434 (propagate_one_insn): Likewise.
9435 * haifa-sched.c (reemit_notes): Likewise.
9436 * integrate.c (copy_insn_list): Likewise.
9437 * jump.c (delete_prior_computation): Likewise.
9438 * local-alloc.c (validate_equiv_mem): Likewise.
9439 * loop.c (scan_loop): Likewise.
9440 * predict.c (estimate_probability): Likewise.
9441 * reload.c (reload): Likewise.
9442 * sched-deps (sched_analyze): Likewise.
9443 * rtl.h (CONST_CALL_P): rename to CONST_OR_PURE_CALL_P.
9444 * gcse.c (compute_hash_table): Likewise.
9445 (mark_call): Likewise.
9446 (store_killed_in_insn): Likewise.
9448 2001-08-07 Jason Merrill <jason_merrill@redhat.com>
9450 * c-semantics.c (make_rtl_for_local_static): Use DECL_RTL_SET_P.
9452 2001-08-06 Richard Henderson <rth@redhat.com>
9454 * varasm.c (assemble_gc_entry): Remove.
9455 * output.h: Likewise.
9457 2001-08-06 Richard Henderson <rth@redhat.com>
9459 * varasm.c (assemble_constructor): Take a symbol_ref and a
9460 priority instead of a bare string. Move priority handling
9461 here from cp/decl2.c.
9462 * output.h: Update decls.
9464 * c-decl.c (c_expand_body): Update calls to assemble_constructor
9465 and assemble_destructor.
9466 * profile.c (output_func_start_profiler): Likewise.
9467 * objc/objc-act.c (finish_objc): Likewise.
9468 (build_module_descriptor): Return the symbol not the symbol name.
9470 2001-08-06 David Edelsohn <edelsohn@gnu.org>
9472 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): Add whitespace.
9473 * config/rs6000/linux64.h (RS6000_MCOUNT): Define.
9474 ({SAVE,RESTORE}_FP_{PREFFIX,SUFFIX}): Define.
9475 * config/rs6000/rs6000.h (ASM_OUTPUT_DOUBLE_INT): Remove whitespace.
9476 * config/rs6000/sysv4.h (DOUBLE_INT_ASM_OP): Add whitespace.
9477 * config/rs6000/xcoff.h (DOUBLE_INT_ASM_OP): Add whitespace.
9479 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
9481 * cpperror.c (print_containing_files): Moved to line-map.c.
9482 (print_location): line-map.c handles re-listing or otherwise.
9483 * cpphash.h (struct lexer_state): Remove next_bol.
9484 (struct cpp_buffer): Remove include_stack_listed.
9485 * cpplib.c (do_line, cpp_push_buffer, _cpp_pop_buffer):
9486 Remove faked buffer handling.
9487 (_cpp_do_file_change): Tweak.
9488 * cpplib.h (enum cpp_buffer_type): Remove BUF_FAKE.
9489 * cppmain.c (struct printer): Remove filename.
9490 (print_line, cb_file_change): Update accordingly.
9491 * line-map.c: Include intl.h.
9492 (init_line_maps): Initialize last_listed.
9493 (free_line_maps): Sanity check, warn if ENABLED_CHECKING.
9494 (add_line_map): Sanity check inputs, warn if ENABLED_CHECKING.
9495 (print_containing_files): New.
9496 * line-map.h (struct line_maps): New member last_listed.
9497 (print_containing_files, INCLUDED_FROM): New.
9498 * Makefile.in: Update.
9499 * po/POTFILES.in: Add line-map.c.
9501 2001-08-06 Richard Henderson <rth@redhat.com>
9503 * except.c (convert_from_eh_region_ranges_1): Never mark
9504 USE or CLOBBER insns as throwing.
9506 * expr.c (store_constructor): Don't clobber memory targets.
9508 2001-08-06 Andreas Jaeger <aj@suse.de>
9510 * profile.c (branch_prob): Remove unused variable insn.
9512 * Makefile.in (local-alloc.o): Add dependency on except.h.
9514 * local-alloc.c: Include except.h for can_throw_internal prototype.
9516 2001-08-06 Richard Henderson <rth@redhat.com>
9518 * config/i386/i386.h (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): New.
9519 * function.c (expand_main_function): Implement it.
9520 * doc/tm.texi: Document it.
9522 2001-08-06 Stan Shebs <shebs@apple.com>
9524 * doc/install.texi: Document powerpc-*-darwin* details.
9526 2001-08-06 Daniel Berlin <dan@cgsoftware.com>
9528 * config/rs6000/aix.h (CPP_CPU_SPEC): Move back to rs6000.h
9529 (ASM_CPU_SPEC): Move back to rs6000.h
9530 #undef CPP_DEFAULT_SPEC and ASM_DEFAULT_SPEC before redefining them.
9532 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): New macro.
9534 * config/rs6000/linux.h: Remove vtable thunks stuff we accidently
9537 * config/rs6000/linux64.h: Ditto.
9539 * config/rs6000/rs6000.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
9540 to here. Define default ASM_DEFAULT_SPEC and CPP_DEFAULT SPEC to
9543 Remove accidently readded definitions of FUNCTION_PROLOGUE,
9544 FUNCTION_EPILOGUE, ASM_OPEN_PAREN, ASM_CLOSE_PAREN
9546 * config/rs6000/sysv4.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
9549 2001-08-05 Richard Henderson <rth@redhat.com>
9551 * local-alloc.c (update_equiv_regs): Do not move insns that
9554 2001-08-05 Jan Hubicka <jh@suse.cz>
9556 * Makefile.in (reload1.o): Add dedendancy on except.h
9557 * basic-block.h (purge_all_dead_edges, purge_dead_edges): Update
9559 * flow.c (purge_dead_edges, purge_all_dead_edges): Return bool
9560 indicating wehther edges has been cleaned up.
9561 * reload1.c: Inlucde except.h
9562 (fixup_abnormal_edges): Accept deleted insns.
9563 * toplev.c (rest_of_compilation): Purge dead edges unconditionally
9566 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
9568 * cpplib.c (do_line): Correct line number after pop_buffer.
9570 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
9572 PR preprocessor/3824
9573 * line-map.c: Update comments.
9574 * line-map.h: Update comments.
9575 * tradcif.y: Don't consider large numbers unsigned.
9577 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
9579 PR preprocessor/3081
9580 * c-lex.c (map): New.
9581 (cb_file_change): Update map and use it.
9582 (cb_def_pragma, cb_define, cb_undef): Use map and line.
9583 (c_lex): Update to use map.
9584 * cpperror.c (print_location): Move to using logical line numbers.
9585 * cppfiles.c (stack_include_file): Update for new _cpp_do_file_change.
9586 (cpp_make_system_header): Similarly.
9587 (_cpp_execute_include): Stop line numbering hacks. Store the
9588 line we will return to.
9589 * cpphash.h (CPP_BUF_LINE): Remove.
9590 (struct cpp_buffer): Remove lineno and pseudo_newlines.
9591 Add map and return_to_line.
9592 (_cpp_do_file_change): Update.
9593 * cppinit.c (cpp_start_read): Update line kludge.
9594 * cpplex.c (handle_newline): Don't update lineno and pseudo_newlines.
9595 (trigraph_ok): Use logical line numbers for diagnostics.
9596 (skip_block_comment): Likewise.
9597 (skip_whitespace): Likewise.
9598 (skip_line_comment): Use pfile->line instead.
9599 (_cpp_lex_token): Update to use logical line numbering exclusively.
9600 Handle BOL locally. Accept new lines in directives, but keep
9601 pfile->line decremented. Diagnostics use logical lines. Update
9603 * cpplib.c (SEEN_EOL): New.
9604 (skip_rest_of_line, check_eol): Use it.
9605 (end_directive): Increase line number when accepting the newline
9606 at the end of a directive.
9607 (run_directive): Simplify.
9608 (do_line): Bad LC_LEAVEs become LC_RENAMEs. Update.
9609 (_cpp_do_file_change): Update to take buffer line number as an
9610 argument, and store the current map in the cpp_reader. Remove
9611 line number kludges.
9612 (_cpp_do__Pragma): Restore output position after a _Pragma.
9613 (cpp_push_buffer): Don't set output line or lineno.
9614 (_cpp_pop_buffer): Transfer more info from a faked buffer.
9615 Remove line kludge. Set output_line.
9616 * cppmacro.c (builtin_macro): Update handling of __LINE__.
9617 (parse_arg): Use logical lines.
9618 (save_lookahead_token): Save EOFs too now.
9619 * cppmain.c (struct printer): Fix comments.
9620 (printer_init): Simplify, let caller do errors.
9621 (scan_translation_unit, check_multiline_token, dump_macro): Update.
9622 (maybe_print_line): Simplify.
9623 (print_line): Don't print a linemarker if -P.
9624 (cb_define, cb_undef, cb_def_pragma, cb_ident, cb_include): Update.
9625 (cb_file_change): Simplify.
9626 * line-map.h (LAST_SOURCE_LINE): Fix.
9627 (CURRENT_LINE_MAP): New.
9629 2001-08-05 Bernd Schmidt <bernds@redhat.com>
9631 * doloop.c (doloop_modify_runtime): Properly compute number of
9632 iterations if loop was unrolled.
9634 * alias.c (rtx_equal_for_memref_p): VALUEs are only identical
9635 if their CSELIB_VAL_PTRs are.
9637 * config/ia64/ia64.c (struct spill_fill_data): New member prev_insn.
9638 (setup_spill_pointers): Initialize it.
9639 (spill_restore_mem): Set it.
9640 (do_spill, do_restore): Use it to add REG_INC note.
9641 * config/ia64/ia64.md (movti_internal): Add REG_INC notes as needed.
9643 * config/ia64/ia64.c (ia64_sched_reorder): Defer scheduling of
9644 asms if other insns are available.
9646 * config/ia64/ia64.c (condop_operator): New predicate.
9647 * config/ia64/ia64.h (PREDICATE_CODES): Add it.
9648 * config/ia64/ia64.md (cond_opsi2_internal and splitters): New
9651 * expr.c (expand_expr, case COND_EXPR): Prefer working with a
9652 temporary register than directly using a MEM.
9654 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
9656 * config/sh/sh.c (sh_asm_named_section): Fix typo in align
9657 parameter in last change.
9659 2001-08-04 Zack Weinberg <zackw@panix.com>
9661 * sparc.md: Don't use #if inside C test expression.
9663 2001-08-04 Richard Henderson <rth@redhat.com>
9665 * i386.c: Revert 07-30 ix86_output_main_function_alignment_hack.
9667 2001-08-04 Neil Booth <neil@daikokuya.demon.co.uk>
9669 * cpphash.h (struct cpp_reader): New member directive_line.
9670 * cpplib.h (struct cpp_callbacks): Update prototypes of callbacks.
9671 * cpplib.c (do_define, do_undef, do_ident, do_include_common,
9672 do_pragma): Pass line to callbacks.
9673 (start_directive): Record line of directive.
9674 * cppmain.c (cb_ident, cb_define, cb_undef, cb_def_pragma,
9675 cb_include): Similarly.
9676 * c-lex.c (cb_ident, cb_define, cb_undef, cb_def_pragma):
9679 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
9681 * config/d30v/d30v.h: Fix typo in start of UNIQUE_SECTION
9684 Sat Aug 4 13:51:36 CEST 2001 Jan Hubicka <jh@suse.cz>
9686 * loop.c (try_copy_prop); Kill invalidated REG_EQUAL notes.
9688 * reload1.c (fixup_abnormal_edges): New static function.
9691 * flow.c (need_fake_edge_p): New function.
9692 (flow_call_edges_add): Fix handling of noreturn and sibling calls;
9693 avoid call insn to be very last insn in the insn stream.
9695 * profile.c (branch_prob): Call flow_call_edges_add instead of
9696 doing that by hand; cleanup cfg to re-merge basic blocks once
9699 2001-08-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
9701 * Makefile.in (CPPLIB_H): New, so that dependencies on cpplib.h
9702 are also on line-map.h.
9703 * cppfiles.c (stack_include_file): Update.
9704 * cpphash.h (struct cpp_buffer): New member return_at_eof.
9705 (_cpp_pop_buffer): New.
9706 * cppinit.c (cpp_destroy, cpp_finish): Update.
9707 (do_includes): Mark each buffer to return at EOF.
9708 * cpplex.c (_cpp_lex_token): Pop buffers at EOF. Continue or
9709 return as requested.
9710 * cpplib.c (run_directive, do_line, cpp_push_buffer): Update.
9711 (cpp_pop_buffer): Rename _cpp_pop_buffer. Stop skipping.
9712 * cpplib.h (cpp_pop_buffer): Remove.
9713 (cpp_scan_buffer_nooutput): Rename cpp_scan_nooutput.
9714 * cppmacro.c (cpp_scan_buffer_nooutput): Similarly. No need to pop
9716 * cppmain.c (scan_buffer): Rename scan_translation_unit. No need
9718 (do_preprocessing): Update.
9719 * fix-header.c (read_scan_file): Update. No need to pop buffers.
9720 * c-parse.in (_yylex): Similarly.
9721 * scan-decls.c (scan_decls): Similarly.
9722 * line-map.h: Update comments.
9724 * objc/Make-lang.in (objc-act.o): Update dependencies.
9726 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9728 * config/m68hc11/m68hc11.md ("cmphi_1", "cmpqi_1"): Allow memory
9729 and soft register for operand 0.
9730 ("cmphi_z_used", "cmpqi_z_used"): Allow memory for operand 0.
9732 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9734 * config/m68hc11/m68hc11.md ("bitcmpqi"): Allow memory and soft
9735 register for operand 0.
9736 ("bitcmpqi_z_used"): Allow memory for operand 0.
9737 (split "bitcmpqi"): New split to handle address reg as operand 1.
9739 2001-08-04 Andreas Jaeger <aj@suse.de>
9741 * gcse.c: Revert Daniel's last patch.
9743 2001-08-03 Zack Weinberg <zackw@stanford.edu>
9745 * sparc-protos.h: Add prototypes for fp_zero_operand and
9747 * sh-protos.h: Add prototype for fpul_operand.
9749 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
9751 * doc/extend.texi (Other Builtins): Fix typo in last change.
9753 2001-08-03 Richard Henderson <rth@redhat.com>
9755 * target.h (gcc_target): Add asm_out.named_section,
9756 section_type_flags, have_named_sections.
9757 * target-def.h (TARGET_ASM_NAMED_SECTION): New.
9758 (TARGET_HAVE_NAMED_SECTIONS): New.
9759 (TARGET_SECTION_TYPE_FLAGS): New.
9761 * Makefile.in (toplev.o): Depend on TARGET_H.
9762 (varasm.o, dbxout.o): Likewise.
9763 * c-common.c (decl_attributes): Check targetm.have_named_sections
9764 instead of ifdef ASM_OUTPUT_SECTION_NAME.
9765 * dbxout.c (dbxout_function_decl): Likewise.
9766 (dbxout_function_end): Likewise.
9767 * toplev.c (compile_file): Likewise.
9768 * varasm.c (exception_section): Likewise.
9769 * cp/decl2.c (finish_objects): Likewise.
9771 * defaults.h (EH_FRAME_SECTION): Remove.
9772 (EH_FRAME_SECTION_ASM_OP): Remove.
9773 (EH_FRAME_SECTION_NAME): New.
9774 (UNIQUE_SECTION): Don't depend on ASM_OUTPUT_SECTION_NAME.
9775 (UNIQUE_SECTION_P): Remove.
9776 * dwarf2out.c (SECTION_FORMAT): Remove.
9777 (ASM_OUTPUT_SECTION): Remove.
9778 (output_call_frame_info): Use named_section_flags.
9779 (output_comp_unit, dwarf2out_start_source_file): Likewise.
9780 (dwarf2out_end_source_file, dwarf2out_define): Likewise.
9781 (dwarf2out_undef, dwarf2out_init, dwarf2out_finish): Likewise.
9782 * varasm.c (in_eh_frame, eh_frame_section): Remove.
9783 (named_section_flags): New.
9784 (named_section): Use it and targetm.section_type_flags.
9785 (resolve_unique_section): New.
9786 (assemble_start_function): Use it.
9787 (asm_emit_uninitialised, assemble_variable): Likewise.
9788 (default_section_type_flags): New.
9789 (default_no_named_section, default_elf_asm_named_section): New.
9790 (default_coff_asm_named_section, default_pe_asm_named_section): New.
9791 * output.h: Update varasm.c decls.
9792 (SECTION_*): New flags.
9794 * crtstuff.c: Check EH_FRAME_SECTION_NAME not EH_FRAME_SECTION_ASM_OP.
9795 (__EH_FRAME_BEGIN__, __FRAME_END__): Use attribute section.
9797 * config/elfos.h (UNIQUE_SECTION_P): Remove.
9798 * config/alpha/elf.h, config/arm/linux-elf.h: Likewise.
9799 * config/arm/pe.h, config/arm/unknown-elf.h: Likewise.
9800 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
9801 * config/i386/i386-interix.h, config/i386/win32.h: Likewise.
9802 * config/ia64/sysv4.h, config/mcore/mcore-pe.h: Likewise.
9803 * config/mips/elf.h, config/mips/elf64.h: Likewise.
9804 * config/mips/iris6gld.h, config/mips/mips.h: Likewise.
9805 * config/pa/pa64-hpux.h,
9807 * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Remove.
9808 (TARGET_ASM_NAMED_SECTION): New.
9809 * config/psos.h, config/a29k/a29k.h, config/alpha/elf.h: Likewise.
9810 * config/alpha/vms.h, config/arm/coff.h: Likewise.
9811 * config/arm/conix-elf.h, config/arm/elf.h: Likewise.
9812 * config/arm/linux-elf.h, config/arm/pe.h: Likewise.
9813 * config/arm/unknown-elf.h, config/avr/avr.h: Likewise.
9814 * config/c4x/c4x.h, config/h8300/h8300.h: Likewise.
9815 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
9816 * config/i386/i386-interix.h, config/i386/i386elf.h : Likewise.
9817 * config/i386/sco5.h, config/i386/win32.h: Likewise.
9818 * config/m68k/coff.h, config/mcore/mcore-pe.h: Likewise.
9819 * config/mcore/mcore.h, config/mips/elf.h: Likewise.
9820 * config/mips/elf64.h, config/mips/iris6.h: Likewise.
9821 * config/mips/netbsd.h, config/mips/openbsd.h: Likewise.
9822 * config/pa/pa64-hpux.h, config/rs6000/sysv4.h: Likewise.
9823 * config/rs6000/xcoff.h, config/sh/sh.h: Likewise.
9824 * config/sparc/sysv4.h: Likewise.
9826 * config/nextstep.h: Error until named sections implemented.
9828 * config/a29k/a29k.c (a29k_asm_named_section): New.
9829 * config/alpha/alpha.c (SECTION_VMS_OVERLAY): New.
9830 (vms_section_type_flags, vms_asm_named_section): New.
9831 * config/arm/arm.c (arm_elf_asm_named_section): New.
9832 * config/avr/avr.c (asm_output_section_name): Remove.
9833 * config/avr/avr-protos.h: Update.
9834 * config/c4x/c4x.c (c4x_asm_named_section): New.
9835 * config/h8300/h8300.c (h8300_asm_named_section): New.
9836 * config/i386/i386.c (sco_asm_named_section): New.
9837 * config/i386/winnt.c (SECTION_PE_SHARED): New.
9838 (i386_pe_section_type_flags): New.
9839 (i386_pe_asm_named_section): New.
9840 * config/i386/i386-protos.h: Update.
9841 * config/m68k/m68k.c (m68k_coff_asm_named_section): New.
9842 * config/mcore/mcore.c (mcore_asm_named_section): New.
9843 * config/mips/mips.c (iris6_asm_named_section): New.
9844 * config/mips/mips.h (ENCODE_SECTION_INFO): Use DECL_ONE_ONLY
9845 instead of UNIQUE_SECTION_P.
9846 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): New.
9847 (xcoff_asm_named_section): New.
9848 * config/sh/sh.c (sh_asm_named_section): New.
9849 * config/sparc/sparc.c (sparc_elf_asm_named_section): New.
9851 * config/i386/djgpp.h (EH_FRAME_SECTION_ASM_OP): Remove.
9852 * config/i386/sco5.h (EH_FRAME_SECTION_ASM_OP*): Remove.
9853 (EH_FRAME_SECTION_NAME): New.
9854 (EXCEPTION_SECTION): New.
9855 * config/ia64/ia64.h (EH_FRAME_SECTION_ASM_OP): Remove.
9856 (DEBUG_*_SECTION): Remove.
9857 * config/m68k/rtemself.h (EH_FRAME_SECTION_ASM_OP): Remove.
9858 * config/mips/iris6.h (DEBUG_*_SECTION): Remove.
9859 (EH_FRAME_SECTION_ASM_OP): Remove.
9861 * doc/tm.texi (UNIQUE_SECTION_P): Remove.
9862 (ASM_OUTPUT_SECTION_NAME): Remove.
9863 (TARGET_ASM_NAMED_SECTION): New.
9864 (TARGET_HAVE_NAMED_SECTIONS): New.
9865 (TARGET_SECTION_TYPE_FLAGS): New.
9866 (EH_FRAME_SECTION_ASM_OP): Remove.
9867 (EH_FRAME_SECTION_NAME): New.
9869 2001-08-03 Zack Weinberg <zackw@stanford.edu>
9871 * builtins.c (fold_builtin_constant_p): Return integer_zero_node
9872 for complex expressions when cfun == 0.
9873 * doc/extend.texi: Document that __builtin_constant_p can be
9874 used in data initializers as well as functions.
9876 2001-08-03 Alexandre Oliva <aoliva@redhat.com>
9878 * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Declare
9879 variable I locally, instead of expecting a declaration in the
9882 2001-08-03 Richard Henderson <rth@redhat.com>
9884 * except.c (collect_one_action_chain): Add an explicit cleanup
9885 action if regions surrounding a catch were encoded entirely
9886 within the call-site entry.
9888 2001-08-03 Richard Henderson <rth@redhat.com>
9890 * dbxout.c (dbxout_symbol_location): Flatten subregs first;
9891 don't take REGNO of a non-register.
9893 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
9895 * gthr-dce.h (__GTHREAD_MUTEX_INIT_FUNCTION and
9896 __GTHREAD_MUTEX_INIT_DEFAULT): New macros for mutex initialization.
9897 (__gthread_key_delete): Remove code for __PTHREAD_LIBRARY_VERSION_1 >= 1
9898 (__gthread_mutex_init_function): New function for mutex initialization.
9900 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
9902 * Makefile.in: Revert screwed up commit.
9904 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9906 * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Add _ctor and _dtor.
9907 * config/m68hc11/larith.asm (_exit): Split in several sub-sections
9908 merged by linker script to get a final _exit().
9909 (__do_global_dtors): New for destructor handling in specific exit
9911 (__do_global_ctors): New for constructors in specific install section.
9912 (__map_data_section): Map data sections before running constructors.
9913 * config/m68hc11/m68hc11.h (INT_ASM_OP): Define to use .word.
9914 (CTORS_SECTION_ASM_OP): Define to put in readonly section.
9915 (DTORS_SECTION_ASM_OP): Likewise.
9916 (CTORS_SECTION_FUNCTION): Define to force a reference to
9918 (DTORS_SECTION_FUNCTION): Likewise for __do_global_dtors.
9920 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
9922 * ChangeLog: Fix date on previous ChangeLog entry for GCSE.
9924 * Makefile.in: Add df.h to gcse.c dependencies.
9926 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
9928 * varasm.c (output_constant_def_contents): Use for the length of a
9929 string constant either its TREE_STRING_LENGTH or its int_size_in_bytes
9930 depending on which is larger.
9932 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
9934 * gcse.c: Include df.h for use as a dataflow analyzer.
9936 Declaration of reg_set_info: gone.
9937 New df_analyzer variable used by store motion.
9938 (reg_set_info): Deleted.
9939 (mark_mem_regs): New function, analyze regs used by a mem.
9940 (store_ops_ok): Use dataflow analyzer results to determine if
9941 necessary regs are changed in the block.
9942 (find_moveable_store): Remove check for symbol ref, we can handle
9943 much more complex expressions now.
9944 (compute_store_table): Remove most of the code, it's unnecessary
9945 now that the dataflow analyzer records the info for us.
9946 (store_killed_after): Add parameter to say whether to do the
9947 store_ops_okay test, used to speed up testing when we already know
9948 the answer, and just want to know if the store itself was killed.
9949 (build_store_vector): Largely rewritten to calculate the various
9950 vectors properly, and somewhat optimized.
9951 (store_motion): Init the df_analyzer, get REG_DEF chains.
9952 Also handle trapping expressions (since mems almost always trap)
9953 (simple_mem): Redefine what a simple mem is.
9955 2001-08-03 DJ Delorie <dj@redhat.com>
9957 * ifcvt.c (noce_get_alt_condition): Don't make an auxiliary
9958 set from a constant part of the condition.
9960 2001-08-01 Andrew Cagney <ac131313@redhat.com>
9962 * mkdeps.c (deps_add_default_target): Make local variable
9963 ``start'' a const char pointer.
9964 * dwarf2out.c (compute_section_prefix): Localize use of ``p''.
9966 2001-08-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9968 * doc/install.texi (Configuration): Fix markup.
9969 (Specific, i?86-*-udk): Likewise.
9970 (Specific, alpha*-dec-osf*): Warn against --with-gnu-as,
9972 Document --enable-threads and --enable-libgcj status.
9973 (Specific, mips-sgi-irix*): Canonicalize triples.
9974 (Specific, mips-sgi-irix5): Warn about problems with this config.
9975 Mention required GNU as patch.
9976 Native assembler problems are fixed.
9977 (Specific, mips-sgi-irix6): Update O32 ABI support status.
9978 Document --enable-threads and --enable-libgcj status.
9980 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
9982 * Makefile.in, mklibgcc.in: Restore changes with fixed invocation
9985 2001-08-03 Richard Henderson <rth@redhat.com>
9987 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't write to
9990 2001-08-03 Richard Henderson <rth@redhat.com>
9992 * rtlanal.c (find_first_parameter_load): Stop if we
9993 reach a CODE_LABEL at BOUNDARY.
9995 2001-08-03 Richard Henderson <rth@redhat.com>
9997 * config/alpha/alpha.md (force_movdi): New insn.
9998 * config/alpha/alpha.c (alpha_expand_prologue): Use it.
9999 Tweek FRP marking of VMS prologue insns.
10000 * config/alpha/vms.h (EPILOGUE_USES): New.
10002 2001-08-02 Richard Henderson <rth@redhat.com>
10004 * Makefile.in, mklibgcc.in: Revert mkinstalldirs change.
10006 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
10008 * combine.c, config.gcc, cse.c, defaults.h, real.c, reload.c,
10009 simplify-rtx.c, config/alpha/alpha.h, config/avr/avr.h,
10010 config/convex/convex.h, config/d30v/d30v.c,
10011 config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
10012 config/elxsi/elxsi.h, config/fr30/fr30.h, config/m88k/m88k.c,
10013 config/mips/mips.h, config/mn10200/mn10200.h,
10014 config/mn10300/mn10300.h, config/pdp11/pdp11.md,
10015 config/v850/v850.h, config/vax/openbsd.h,
10016 config/vax/openbsd1.h, config/vax/ultrix.h,
10017 config/vax/vax-protos.h, config/vax/vax.c, config/vax/vax.h,
10018 config/vax/vax.md, config/vax/vaxv.h, config/vax/xm-vms.h,
10019 cp/decl2.c, doc/contrib.texi, doc/cpp.texi, doc/gcc.texi,
10020 doc/install.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi,
10021 doc/tm.texi: consistently use "VAX", "VAXen", and "MicroVAX"
10022 in comments and documentation.
10024 2001-08-03 Neil Booth <neil@cat.daikokuya.demon.co.uk>
10028 * Makefile.in (line-map.o): New.
10029 (LIBCPP_OBJS, LIBCPP_DEPS): Update.
10030 * c-lex.c (cb_file_change): Update for new cpp_file_change structure.
10031 * cpperror.c (print_containing_files): Similarly.
10032 (print_location): Update. Don't output a space before _Pragma.
10033 * cppfiles.c (stack_include_file): Set to line 1 immediately.
10034 (stack_include_filee, cpp_make_system_header): Update.
10035 (_cpp_execute_include): Get logical line number right for calling
10036 as-yet-unterminated #include.
10037 * cpphash.h (struct cpp_reader): Add line_maps.
10038 (_cpp_do_file_change): Update.
10039 * cppinit.c (cpp_create_reader): Initialize line maps.
10040 (cpp_destroy): Destroy line maps.
10041 (cpp_start_read): Get logical line number right.
10042 * cpplex.c (parse_string): Only warn once for multi-line strings.
10043 Use boolean variable for null warning.
10044 * cpplib.c (_cpp_handle_directive): End the directive if it isn't
10046 (do_include_common): End the directive early.
10047 (do_line): Don't warn about out-of-range lines in preprocessed
10048 source. Update. Remove unused variables.
10049 (_cpp_do_file_change): Update for new line mapping.
10050 (pragma_cb): New typedef.
10051 (cpp_register_pragma): Stop looking ahead before calling the
10053 (do_pragma_system_header): End directive early.
10054 (cpp_get_line_maps): New.
10055 (cpp_pop_buffer): Fudge logical line. Update.
10056 * cpplib.h: Include line-map.h
10057 (enum cpp_fc_reason): Remove.
10058 (struct cpp_file_change): Update.
10059 (cpp_get_line_maps): New.
10060 * cppmain.c (struct_printer): New member map.
10061 (cb_file_change): Update for new mappings.
10062 * fix-header.c (cb_file_change): Similarly.
10064 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
10066 * Makefile.in (libgcc.mk): Define mkinstalldirs.
10067 * mklibgcc.in: Use mkinstalldirs instead of mkdir.
10069 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
10071 * config/vax/vax.c: include expr.h.
10073 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
10075 * Makefile.in ($(srcdir)/configure): Only rebuild in
10077 ($(srcdir)/config.in): Only define in maintainer mode.
10078 ($(srcdir)/cstamp-h.in): Only define in maintainer mode.
10080 2001-08-02 David Edelsohn <edelsohn@gnu.org>
10082 * doc/install.texi (Install GCC: Binaries): Update Bull info.
10084 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10086 * gcc.c (set_collect_gcc_options): New function, split out from
10088 Ignore elided switches.
10089 (do_spec_1): Invoke before executing command.
10090 (set_input): Export.
10091 Move declaration ...
10092 * gcc.h (set_input): ... here.
10093 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
10096 2001-08-02 Nathan Sidwell <nathan@codesourcery.com>
10099 * doc/c-tree.texi (Namespaces): Remove std & -fhonor-std
10101 * doc/invoke.texi (C++ Dialect Options): Remove -fno-honor-std.
10103 2001-08-02 Richard Sandiford <rsandifo@redhat.com>
10105 * mips.md (movdicc): Make conditional on TARGET_64BIT. Likewise
10106 for the unnamed instructions it expands to.
10108 2001-08-02 Richard Henderson <rth@redhat.com>
10110 * regclass.c (call_really_used_regs): Conditionally define.
10111 (init_reg_sets_1): Don't use it if not defined.
10112 (fix_register): Similarly, don't set it.
10114 2001-08-01 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
10116 * params.def (PARAM_MAX_INLINE_INSNS): Change default to 600.
10117 Correct comment that had been missed in the previous change.
10119 2001-08-01 Stan Shebs <shebs@apple.com>
10121 * config/darwin.c (machopic_stub_name): Try matching by name.
10122 (update_stubs): New function.
10123 (darwin_encode_section_info): Call it and update_non_lazy_ptrs
10126 2001-08-01 Richard Henderson <rth@redhat.com>
10128 * except.c (output_function_exception_table): Use assemble_align.
10129 * varasm.c (assemble_eh_label): Remove.
10130 (assemble_eh_align, assemble_eh_integer): Remove.
10132 2001-08-01 Robert Lipe <robertl@caldera.com>
10134 * dwarfout.c: Remove reference to README.DWARF.
10136 2001-08-01 Andrew MacLeod <amacleod@redhat.com>
10138 * regclass.c (call_really_used_regs): New array for registers which
10139 are actually used by a call.
10140 (init_reg_sets_1): Initialize regs_invalidated_by_call with the
10142 (fix_register): Set call_really_used too.
10143 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): Initialize.
10144 * doc/tm.texi (CALL_REALLY_USED_REGISTERS): Document.
10146 2001-08-01 Richard Henderson <rth@redhat.com>
10148 * read-rtl.c (read_name): Consider \r whitespace.
10150 2001-07-11 Andrew Cagney <ac131313@redhat.com>
10152 * config.gcc: Recognize powerpc-*-netbsd*.
10154 * doc/install.texi (Host/target specific installation notes for
10155 GCC): Mention powerpc-*-netbsd*.
10157 * config/rs6000/netbsd.h: New file.
10158 (STANDARD_STARTFILE_PREFIX, LINK_SHLIB_SPEC): Redefine.
10159 (LIB_DEFAULT_SPEC, STARTFILE_DEFAULT_SPEC): Redefine.
10160 (ENDFILE_DEFAULT_SPEC, LINK_START_DEFAULT_SPEC): Redefine.
10161 (LINK_OS_DEFAULT_SPEC, CPP_OS_DEFAULT_SPEC): Redefine.
10162 (TARGET_VERSION): Redefine.
10164 * config/rs6000/t-ppccomm (MULTILIB_MATCHES_SYSV): Recognize
10165 mcall-netbsd as a match for mcall-sysv.
10166 (EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext).
10167 (ncrti.S, ncrtn.S): New targets.
10168 ($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets.
10170 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize
10171 "netbsd' as a V4 ABI.
10172 (ASM_SPEC): Check for -mcall-netbsd.
10173 (CC1_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC): Ditto.
10174 (CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC): Ditto.
10175 (LIB_SPEC, ENDFILE_SPEC): Ditto.
10176 (LIB_NETBSD_SPEC, STARTFILE_NETBSD_SPEC): Define.
10177 (ENDFILE_NETBSD_SPEC, LINK_START_NETBSD_SPEC): Define.
10178 (LINK_OS_NETBSD_SPEC, CPP_OS_NETBSD_SPEC): Define.
10179 (SUBTARGET_EXTRA_SPECS): Add NetBSD specs.
10181 * doc/invoke.texi (Option Summary): Add -mcall-netbsd.
10182 (RS/6000 and PowerPC Options): Mention -mcall-netbsd.
10184 2001-08-01 Mark Kettenis <kettenis@gnu.org>
10186 * unwind-pe.h (base_of_encoded_value, read_encoded_value): Define
10187 only if NO_BASE_OF_ENCODED_VALUE isn't defined.
10188 * unwind-dw2-fde.c (NO_BASE_OF_ENCODED_VALUE): Define before
10189 including "unwind-pe.h".
10191 Wed Aug 1 20:01:42 CEST 2001 Jan Hubicka <jh@suse.cz>
10193 * rs6000.md (define_splits): Kill unused constraints.
10195 Wed Aug 1 20:02:12 CEST 2001 Graham Stott <grahams@redhat.com>
10196 Jan Hubicka <jh@suse.cz>
10198 * function.c (thread_prologue_and_epilogue_insns): Kill code
10199 dealing with non-existent CFG.
10201 2001-08-01 Kazu Hirata <kazu@hxi.com>
10203 * alias.c: Fix comment formatting.
10204 * bitmap.c: Likewise.
10205 * builtins.c: Likewise.
10206 * calls.c: Likewise.
10207 * c-common.c: Likewise.
10208 * c-decl.c: Likewise.
10209 * c-dump.c: Likewise.
10210 * c-lex.c: Likewise.
10211 * collect2.c: Likewise.
10212 * combine.c: Likewise.
10213 * conflict.c: Likewise.
10214 * cppfiles.c: Likewise.
10215 * cppinit.c: Likewise.
10216 * cpplex.c: Likewise.
10217 * cpplib.c: Likewise.
10218 * cppmacro.c: Likewise.
10219 * cppspec.c: Likewise.
10220 * c-pragma.c: Likewise.
10221 * crtstuff.c: Likewise.
10223 * cselib.c: Likewise.
10224 * c-semantics.c: Likewise.
10225 * c-typeck.c: Likewise.
10227 2001-08-01 H.J. Lu <hjl@gnu.org>
10229 * config/mips/linux.h (ASM_OUTPUT_IDENT): Defined.
10231 2001-08-01 H.J. Lu <hjl@gnu.org>
10233 * gcc/config/mips/linux.h (ASM_OUTPUT_SOURCE_LINE): Defined.
10235 2001-08-01 Ziemowit Laski <zlaski@apple.com>
10237 * c-parse.in (OBJC_NEED_RAW_IDENTIFIER): Define macro and flag for
10238 contextualizing Objective-C class name lookup by the lexer.
10239 (typespec_reserved_nonattr): Disable ObjC class name lookup after
10241 (protocoldef): Add support for forward @protocol declarations.
10242 (yylexname): Suppress ObjC class name lookup in certain contexts;
10243 re-enable after lookup is complete.
10244 (_yylex): Re-enable ObjC class name lookup when certain
10245 punctuation marks are seen.
10247 * objc/objc-act.c (check_protocol_recursively): New function used
10248 for finding circular dependencies in protocols.
10249 (objc_declare_protocols): New function for handling forward
10250 @protocol declarations.
10251 (receiver_is_class_object): Detect the case when 'self' is used
10252 inside of a class method.
10253 (build_message_expr): Issue a warning if class method is desired
10254 but instance method is found instead.
10255 (conforms_to_protocol): Streamline.
10256 (objc_comptypes): Detect the fact that 'Bar<Foo> foo' conforms to
10257 protocol Foo, even if 'Bar foo' does not.
10258 (check_protocols): Streamline.
10259 (start_protocol): Add checks for circular and duplicate protocol
10261 (encode_aggregate_within): For typedefs of structs, encode the
10263 * objc/objc-act.h (PROTOCOL_DEFINED): New tree accessor.
10264 (objc_declare_protocols): New prototype.
10266 2001-08-01 Neil Booth <neil@cat.daikokuya.demon.co.uk>
10268 * cpphash.h (struct cpp_reader): New members line, pseudo_newlines.
10269 * cpplex.c (handle_newline): Update prototype. Maintain logical
10271 (skip_escaped_newlines, skip_block_comment, parse_string):
10272 Update accordingly.
10273 (_cpp_lex_token): Update, and store token position within the token.
10274 * cpplib.h (struct cpp_token): Add line and column entries.
10275 * cppmacro.c (replace_args): Position stringified tokens correctly.
10277 2001-08-01 Andreas Jaeger <aj@suse.de>
10279 * basic-block.h: Add prototype for last_loop_beg_note.
10281 2001-07-31 Alexandre Petit-Bianco <apbianco@redhat.com>
10283 * expr.c (safe_from_p): Use WITH_CLEANUP_EXPR_RTL instead of
10284 RTL_EXPR_RTL while handling WITH_CLEANUP_EXPR nodes. Fixed typo in
10286 (expand_expr): Use WITH_CLEANUP_EXPR_RTL instead of RTL_EXPR_RTL
10287 while handling WITH_CLEANUP_EXPR node. Use second operand calling
10288 expand_decl_cleanup.
10289 * tree.c (firt_rtl_op): The third operand of WITH_CLEANUP_EXPR is
10291 (simple_cst_equal): WITH_CLEANUP_EXPR node to use its second
10292 operand while calling simple_cst_equal.
10293 * tree.def (WITH_CLEANUP_EXPR): Switched operands: the second
10294 operand is the cleanup expression, the third is the RTL_EXPR.
10295 * tree.h (WITH_CLEANUP_EXPR_RTL): New macro.
10297 2001-07-31 Jeff Sturm <jsturm@one-point.com>
10299 * except.c (duplicate_eh_regions): Test n_array[i] for NULL.
10301 2001-07-31 matthew green <mrg@eterna.com.au>
10303 * config.gcc (i386-*-netbsdelf): New description.
10304 * config/i386/netbsd-elf.h: New file.
10306 2001-07-30 Geoffrey Keating <geoffk@redhat.com>
10308 * loop.c (check_dbra_loop): Use single_set to compute
10311 2001-07-31 Daniel Berlin <dan@cgsoftware.com>
10313 PowerPC reorg and support for powerpc64-*-linux*.
10315 Also fixes emitting of constants on 32 bit and 64 bit
10318 * config.gcc: powerpc64-*-linux* is a new target.
10319 Things that needed aix.h now also include xcoff.h
10321 * config/rs6000/rs6000.h: Split XCOFF specific stuff into
10323 Move AIX specific stuff into aix.h.
10324 (TARGET_AIX): Renamed to TARGET_XCOFF, since the AIX ABI is used
10325 with more than just XCOFF now.
10326 (SET_ASM_OP): Remove, now defined where needed.
10327 (FUNCTION_PROLOGUE): New macro definition.
10328 (FUNCTION_EPILOGUE): New macro definition.
10329 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): New macro definition.
10331 * config/rs6000/xcoff.h: New file.
10333 * config/rs6000/linux64.h: New file.
10335 * config/rs6000/darwin.h: Copy needed AIX alignment definitions.
10337 2001-07-31 Alan Modra <amodra@bigpond.net.au>
10339 * rs6000.c (print_operand_address): Handle ELF syntax.
10340 (output_toc): Simplify. Use DOUBLE_INT_ASM_OP.
10341 * rs6000.md (load_toc_aix_di): Handle ELF syntax.
10342 * rs6000.h (ASM_OUTPUT_DOUBLE_INT, ASM_LONG): Use DOUBLE_INT_ASM_OP.
10344 2001-07-31 David Edelsohn <edelsohn@gnu.org>
10346 * rs6000.c (rs6000_override_options): Only disable
10347 flag_function_sections for XCOFF.
10348 (exact_log2_cint_operand): New predicate.
10349 (reg_or_{add,sub}_cint64_operand): New predicates.
10350 (add_operand): Compare CONST_INT with fewer function calls.
10351 (rs6000_emit_set_const, rs6000_emit_set_long_const): New functions.
10352 (print_operand, case 'p'): Ensure positive operand.
10353 (rs6000_emit_load_toc_table): No load_toc_v4_pic_di.
10354 * rs6000.h (CONST_OK_FOR_LETTER_P, case 'N'): Ensure positive value.
10355 (PREDICATE_CODES): Add new predicates.
10356 * rs6000.md (addsi3): Split 32-bit constants more correctly.
10357 (divsi3, modsi3): Ensure positive power-of-2.
10358 (adddi3): Use new predicate. Split 32-bit constants more
10359 correctly. Re-arrange splitter to handle any constant.
10360 (subdi3): Use new predicate.
10361 (divdi3, moddi3): Ensure positive power-of-2.
10362 (movdi): Use rs6000_emit_set_const.
10363 (load_toc_v4_pic_di): Delete.
10365 2001-07-31 Graham Stott <grahams@redhat.com>
10367 * function.c (pad_below): Revert 2001-07-26 patch.
10369 Tue Jul 31 15:37:35 CEST 2001 Jan Hubicka <jh@suse.cz>
10371 * reg-stack (convert_regs_1): Fix best edge condition.
10373 Tue Jul 31 15:33:27 CEST 2001 Jan Hubicka <jh@suse.cz>
10375 * jump.c (duplicate_loop_exit_test): Better test for jumps
10376 entering the loop; create loop pre_header.
10378 2001-07-31 Hartmut Penner <hpenner@de.ibm.com>
10380 * doc/install.texi: Add s390 and s390x as new targets.
10381 * doc/invoke.texi: Add documentation of S/390 and zSeries
10383 * doc/md.texi: Add documentation of S/390 and zSeries constraints.
10385 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
10387 * config/m68k/m68k.md: Replace all general_operand with
10388 nonimmediate_operand for all destinations.
10389 * config/m68k/m68k.c (not_sp_operand): Likewise.
10391 Mon Jul 30 23:20:34 EDT 2001 John Wehle (john@feith.com)
10393 * flow.c (merge_blocks): Return 1 if an extra jump is inserted.
10395 2001-07-30 Richard Henderson <rth@redhat.com>
10397 * config/ia64/ia64.h (DEBUG_RANGES_SECTION): New.
10398 * config/mips/iris6.h (DEBUG_RANGES_SECTION): New.
10400 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
10402 * config/m68k/m68k.h (TARGET_SWITCHES/TARGET_OPTIONS):
10403 Add missing doc strings
10404 * config/m68k/linux-aout.h (SUBTARGET_SWITCHES): Likewise
10405 * config/m68k/linux.h (SUBTARGET_SWITCHES): Likewise
10407 Mon Jul 30 22:16:08 CEST 2001 Jan Hubicka <jh@suse.cz>
10409 * i386.c (ix86_output_main_function_alignment_hack): New function.
10410 (TARGET_ASM_FUNCTION_PROLOGUE): Default to it.
10412 * flow.c (mark_dfs_back_edges): Move from loop_p ; mark back
10413 edges by EDGE_DFS_BACK flag.
10414 (dump_edge_info): Add dfs_back flag.
10415 * basic-block.h (EDGE_DFS_BACK): New constant.
10416 (mark_dfs_back_edges): Declare.
10417 * alias.c (loop_p): Remove.
10418 (mark_constant_function): Use mark_dfs_back_edges.
10420 * reg-stack.c (block_info_def): Add predecessors counter and stack_out.
10421 (reg_to_stack): Call mark_dfs_back_edges; count the predecessors.
10422 (compensate_edge): Break out from ...
10423 (convert_regs_1): ... here; do smart choosing of stack_out to copy.
10424 (convert_regs_2): Set block_done once block is really done;
10425 Do updating of the predecessors counts.
10427 * toplev.c (rest_of_compilation): Recompute block_for_insn
10428 before post-reload cfg_cleanup.
10429 * function.c (thread_prologue_epilogue_insns):
10430 Call set_block_for_new_insns when emitting prologue directly.
10432 2001-07-30 Andreas Jaeger <aj@suse.de>
10434 * jump.c: Add prototype for mark_modified_reg.
10436 * cse.c (set_live_p): Add unused attribute.
10438 * gcov.c (calculate_branch_probs): Use gcov_type to avoid
10440 (scan_for_source_files): Use long for count to avoid overflow.
10441 (output_data): Likewise.
10442 (output_data): Don't use string concatatenation to silence gcc
10445 * predict.c: Fix typos and grammar.
10447 * gcse.c (insert_insn_end_bb): Remove unused variables.
10449 Mon Jul 30 21:54:53 CEST 2001 Jan Hubicka <jh@suse.cz>
10451 * flow.c (mark_set_1): Use REG_FREQ_FROM_BB.
10452 (attempt_auto_inc): LIkewise.
10453 (mark_used_reg): Likewise.
10454 (try_pre_increment_1): Likewise.
10455 * regclass.c (regclass): Likewise.
10456 * global.c (allocno_compare): Update comment; change scaling factor.
10457 * local-alloc.c (QTY_CMP_PRI): Likewise.
10458 * regs.h (REG_FREQ_FROM_BB): New.
10459 (REG_FREQ_MAX): Likewise.
10461 2001-07-30 H.J. Lu <hjl@gnu.org>
10463 * config/mips/linux.h (CPLUSPLUS_CPP_SPEC): Add
10466 2001-07-30 H.J. Lu (hjl@gnu.org)
10468 * config/mips/linux.h (ASM_DECLARE_FUNCTION_NAME): Defined.
10469 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
10470 (FUNCTION_NAME_ALREADY_DECLARED): Likewise.
10472 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
10474 * config/arm/t-arm-elf (MULTILIB_EXCEPTIONS): Skip -mthumb as well
10475 as -mthumb-interwork when -mcpu=arm7 is specified.
10477 Mon Jul 30 17:44:43 CEST 2001 Jan Hubicka <jh@suse.cz>
10479 * predict.def (noreturn, loop branch, loop exit): Mark as first
10482 Mon Jul 30 12:52:11 CEST 2001 Jan Hubicka <jh@suse.cz>
10484 * combine.c (try_combine): Avoid barrier after noop jumps.
10486 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
10488 * cpphash.h (struct cpp_reader): Remove import_warning.
10489 * cpplib.c (skip_rest_of_line): Don't bother turning off
10491 (parse_include): Move include handling to...
10492 (do_include_common): ... here. Move import warning from...
10493 (do_import): ... here.
10494 (do_pragma_poison): Don't do a callback for poison identifiers.
10495 * cpplib.h (struct cpp_callbacks): Don't do poison callbacks.
10496 * cppmain.c (setup_callbacks): Similarly.
10498 Sun Jul 29 23:26:50 CEST 2001 Jan Hubicka <jh@suse.cz>
10500 * rtlanal.c (parms_set, find_first_parameter_load): Break out from...;
10501 handle multiple sets.
10502 * except.c (sjlj_mark_call_sites): .... here.
10503 * gcse.c (insert_insn_end_bb): Use find_first_parameter_load.
10505 Sun Jul 29 21:38:45 CEST 2001 Jan Hubicka <jh@suse.cz>
10507 Suggested by Richard Henderson and Richard Kenner:
10508 * combine.c (recog_for_combine): Use the fake recog
10509 only if instruction does not match.
10510 * rtl.h (NOOP_MOVE_INSN_CODE): New.
10511 * rtlanal.c (noop_move_p): Always return 1 for NOOP_MOVE_INSN_CODE.
10513 * combine.c (try_combine): Discover noop jump as direct jump.
10515 2001-07-29 Daniel Berlin <dan@cgsoftware.com>
10517 * df.c (df_rd_global_compute): Add successors to worklist, not
10519 (df_ru_global_compute): Ditto.
10521 2001-07-27 Daniel Berlin <dan@cgsoftware.com>
10523 * regclass.c (reg_scan_mark_refs): Increment REG_N_REFS when we
10524 increment REG_N_SETS.
10526 2001-07-26 Daniel Berlin <dan@cgsoftware.com>
10528 * sbitmap.h: New prototype for sbitmap_a_xor_b.
10530 * sbitmap.c (sbitmap_a_xor_b): New function.
10531 ifdef the basic block stuff on IN_GCC.
10533 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
10535 * cppexp.c (parse_defined): Always record the macro name.
10536 (lex): Don't worry about identifiers, or special-case
10538 (_cpp_parse_expr): Figure out at the end of the routine
10539 whether we saw a valid !defined() expression.
10540 * cppfiles.c (stack_include_file): Update for mi_valid.
10541 (_cpp_pop_file_buffer): Similarly.
10542 * cpplex.c (_cpp_lex_token): Similarly.
10543 * cpphash.h (enum mi_state, enum mi_ind, mi_state,
10544 mi_if_not_defined, mi_lexed): Remove.
10546 * cpplib.c (do_if): Simplify.
10547 (do_endif, push_conditional, _cpp_handle_directive): Update
10548 for renaming of mi_state to mi_valid.
10550 * cpp.texi: Add index entries for digraphs, and add comment
10551 that C++ refers to them as alternative tokens.
10553 Sun Jul 29 18:59:13 CEST 2001 Jan Hubicka <jh@suse.cz>
10555 * basic-block.h (CLEANUP_PRE_LOOP): New.
10556 * except.c (finish_eh_generation): Update call of cleanup_cfg.
10557 * sibcall.c (optimize_sibling_calls): Likewise.
10558 * toplev.c (rest_of_compilation): Likewise.
10559 * flow.c (try_forward_edges): Take argument MODE;
10560 do not forward over loop pre-headers if CLEANUP_PRE_LOOP.
10561 (try_optimize_cfg): Update call of try_forward_edges.
10563 Sun Jul 29 18:59:56 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
10564 Jan Hubicka <jh@suse.cz>
10566 * (validate_replace_rtx_1): Fix simplification of MINUS.
10568 2001-07-29 Neil Booth <neil@daikokuya.demon.co.uk>
10570 PR preprocessor/3669
10571 * cppinit.c (init_dependency_output): Turn off dump requests
10572 if sending dependencies to stdout.
10574 2001-07-28 Richard Henderson <rth@redhat.com>
10576 * flow.c (life_analysis): Elide PROP_ALLOW_CFG_CHANGES if
10579 2001-07-28 Golubev I. N. <gin@mo.msk.ru>
10581 * config/i386/sco5.h (DWARF2_DEBUGGING_INFO): Define.
10583 2001-07-28 Kazu Hirata <kazu@hxi.com>
10585 * config/h8300/h8300.h (ENCODE_SECTION_INFO): Check to see if DECL
10586 is VAR_DECL first to prevent an ICE.
10588 2001-07-28 Richard Henderson <rth@redhat.com>
10590 * varasm.c (immed_real_const_1): Don't elide special cases for
10592 (clear_const_double_mem): Clear const_tiny_rtx too.
10594 2001-07-28 Richard Henderson <rth@redhat.com>
10596 * dwarf2out.c (dw_val_class_offset): New.
10597 (struct dw_ranges_struct, dw_ranges_ref): New.
10598 (ranges_table, ranges_table_allocated): New.
10599 (ranges_table_in_use, RANGES_TABLE_INCREMENT): New.
10600 (add_AT_offset, add_ranges, output_ranges): New.
10601 (print_die, output_die): Handle dw_val_class_offset.
10602 (attr_checksum, size_of_die, value_format): Likewise.
10603 (gen_lexical_block_die): Handle non-contiguous blocks.
10604 (gen_block_die): Likewise.
10605 (dwarf2out_finish): Add a DW_AT_entry_pc to the compilation unit
10606 if needed. Dump the ranges table.
10607 * final.c (final_start_function): Remove unnecessary notes and
10608 rebuild the block tree before numbering the blocks.
10609 * function.c (reorder_blocks_0): Walk the existing block tree
10610 to unmark all blocks.
10611 (reorder_blocks_1): Create block fragments when duplicate block
10613 (reorder_fix_fragments): New.
10614 (reorder_blocks): Call it.
10615 * tree.h (BLOCK_FRAGMENT_ORIGIN, BLOCK_FRAGMENT_CHAIN): New.
10617 2001-07-28 Richard Henderson <rth@redhat.com>
10619 * emit-rtl.c (adjust_address): Make a copy of the memory address.
10621 2001-07-28 Richard Henderson <rth@redhat.com>
10623 * flow.c (add_to_mem_set_list): New function.
10624 (init_propagate_block_info): Use it.
10625 (mark_set_1): Likewise.
10626 (insn_dead_p): Canonicalize memory address for dead store
10627 comparison. Allow wider mode stores to kill narrower mode stores.
10628 (invalidate_mems_from_autoinc): Use invalidate_mems_from_set.
10629 (invalidate_mems_from_set): Don't handle MEMs.
10631 2001-07-28 Kazu Hirata <kazu@hxi.com>
10633 * config/h8300/h8300.h: Fix formatting.
10635 Sat Jul 28 23:35:22 CEST 2001 Jan Hubicka <jh@suse.cz>
10637 * basic-block.h (EDGE_FREQUENCY): New macro.
10638 * bb-reorder (fixup_reorder_chain): Set counts and frequencies
10640 * flow.c (find_sub_basic_blocks): Likewise.
10641 (try_crossjump_to_edge): Likewise; use EDGE_FREQUENCY
10642 (redirect_edge_and_branch): Use EDGE_FREQUENCY.
10644 * predict.c (DEF_PREDICTOR): New argument FLAGS.
10645 (HITRATE): New macro.
10646 (PRED_FLAG_FIRST_MATCH): New constant.
10647 (predictor_info): New field flgags.
10648 (combine_predictions_for_insn): Use DS theory to combine
10649 probabilities; set the edge probabilities when finished.
10650 (estimate_probability): Avoid duplicated matches
10651 of LOOP_BRANCH heuristics for nested loops; update comment.
10652 * predict.def: Add flags for each prediction, set probabilities
10653 according to B&L paper.
10654 * predict.h (DEF_PREDICTOR): New argument FLAGS.
10656 * profile.c (compute_branch_probabilities): Cleanup way the edge
10657 probabilities are computed and REG_BR_PROB notes are dropped; if
10658 values does not match, emit error.
10659 (init_branch_prob): Do error instead of warning when profile driven
10660 feedback is missing or corrupt.
10662 2001-07-27 DJ Delorie <dj@redhat.com>
10664 * ifcvt.c (noce_get_alt_condition): If the condition is a compare
10665 against a constant, try to adjust the compare to have the desired
10666 constant in it so that min/max optimizations happen more often.
10668 Fri Jul 27 17:53:00 CEST 2001 Jan Hubicka <jh@suse.cz>
10670 * flow.c (last_loop_beg_note): New function.
10671 (redirect_edge_and_branch): Use it.
10672 (split_edge): Likewise.
10674 * alias.c (loop_p): Avoid uninitialized memory access.
10676 * flow.c (try_forward_edges): Avoid accessing freed memory.
10678 * flow.c (backward_edge_of_syntactic_loop_p): Avoid uninitialized
10681 2001-07-26 Andrew Haley <aph@redhat.com>
10682 Joern Rennecke <amylaar@redhat.com>
10684 * config/sh/linux.h (CPP_DEFAULT_CPU_SPEC): New.
10685 (SUBTARGET_CPP_ENDIAN_SPEC): New.
10686 (SUBTARGET_CPP_SPEC): New.
10687 (CPP_SPEC): Remove.
10688 * config/sh/sh.h (SUBTARGET_CPP_ENDIAN_SPEC): New.
10689 (SUBTARGET_CPP_PTR_SPEC): New.
10690 (CPP_DEFAULT_CPU_SPEC): New.
10691 (EXTRA_SPECS): Add SUBTARGET_CPP_ENDIAN_SPEC,
10692 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
10693 (CPP_SPEC): Break out parts into SUBTARGET_CPP_ENDIAN_SPEC,
10694 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
10695 (SUBTARGET_CPP_SPEC): Define as an empty string.
10697 2001-07-27 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
10699 * doc/install.texi (Configuration): Properly link the host
10700 specific instructions also when generating HTML.
10702 Fri Jul 27 00:33:35 EDT 2001 John Wehle (john@feith.com)
10704 * flow.c (redirect_edge_and_branch_force): Test
10705 target->global_live_at_start.
10707 2001-07-26 Richard Henderson <rth@redhat.com>
10709 * simplify-rtx.c (avoid_constant_pool_reference): Export.
10710 * rtl.h (avoid_constant_pool_reference): Declare it.
10711 * dwarf2out.c (add_location_or_const_value_attribute): Use it.
10712 (add_const_value_attribute): Use add_AT_unsigned for unsigned values.
10714 Thu Jul 26 22:30:22 CEST 2001 Jan Hubicka <jh@suse.cz>
10716 * rtl.h (cleanup_barriers): Declare.
10717 * jump.c (cleanup_barriers): New function.
10718 * toplev.c (rest_of_compilation): Call cleanup_barriers
10719 before loop optimizer and after bb_reorder.
10721 * flow.c (back_edge_of_syntactic_loop_p): New.
10722 (split_edge): Use it.
10724 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10726 * glimits.h (_MACH_MACHLIMITS_H_): Delete.
10728 Thu Jul 26 22:22:21 2001 Denis Chertykov <denisc@overta.ru>
10730 * cse.c (cse_process_notes): Replace any registers if the address
10733 Thu Jul 26 14:04:03 EDT 2001 John Wehle (john@feith.com)
10735 * basic-block.h (PROP_ALLOW_CFG_CHANGES): Define.
10736 (PROP_FINAL): Include PROP_ALLOW_CFG_CHANGES.
10737 (propagate_block): Update prototype.
10738 * flow.c (update_life_info): Simplify the CFG and
10739 recalculate the global regs which are alive when
10740 removing dead code during a global update.
10741 (propagate_block): Return non-zero if an INSN is
10744 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10746 * Makefile.in (LIBICONV): Define.
10748 2001-07-26 Catherine Moore <clm@redhat.com>
10750 * config/v850/v850.h (ENCODE_SECTION_INFO): Change order
10751 of conditional to avoid tree checking errors.
10753 2001-07-26 Kazu Hirata <kazu@hxi.com>
10755 * regmove.c (regmove_optimize): Don't replace a reg with
10756 another reg of a different mode.
10758 2001-07-26 Andrew MacLeod <amacleod@redhat.com>
10760 * params.def (PARAM_MAX_PENDING_LIST_LENGTH): Add parameter to
10761 limit length of dependency flush list.
10762 * params.h (MAX_PENDING_LIST_LENGTH): Define.
10763 * sched-int.h (struct deps): Add pending_flush_length field.
10764 * sched-deps.c (flush_pending_lists): Last_pending_memory_flush now
10765 has 1 element in it.
10766 (sched_analyze_1): Use MAX_PENDING_LIST_LENGTH.
10767 (sched_analyze): After a jump, if the pending memory flush list is too
10768 large, flush the pending lists.
10769 (init_deps): Initialize pending_flush_length to 0.
10770 * doc/invoke.texi (max_pending_list_length): Document parameter.
10772 2001-07-26 Neil Booth <neil@daikokuya.demon.co.uk>
10774 * toplev.c, varasm.c, final.c: Include xcoffout.h if appropriate.
10775 * dbxout.c (dbxout_global_decl): Move outside #ifdef.
10776 * Makefile.in (varasm.o, final.o, toplev.o): Update dependencies.
10778 2001-07-26 Neil Booth <neil@cat.daikokuya.demon.co.uk>
10780 * cpphash.h (struct_lexer_state): Delete was_skipping.
10781 Move skipping here from struct cpp_reader.
10782 * cpplex.c (parse_identifier): Update.
10783 (_cpp_lex_token): Don't skip tokens in a directive.
10784 * cpplib.c (struct if_stack): Update.
10785 (start_directive, end_directive): Don't change skipping state.
10786 (_cpp_handle_directive): Update.
10787 (do_ifdef, do_ifndef, do_if, do_elif): Similarly.
10788 (do_else, do_endif): Update; only check for excess tokens if not
10789 in a skipped conditional block.
10790 (push_conditional): Update for new struct if_stack.
10792 2001-07-26 Graham Stott <grahams@redhat.com>
10794 * function.c (locate_and_pad_parm): Also pad initial offset
10795 so that the total argument size also includes the padding.
10797 2001-07-26 Graham Stott <grahams@redhat.com>
10799 * gensupport.c (alter_output_for_insn): Correct enable checking failure
10800 change XSTR to XTMPL.
10802 (process_one_cond_exec): Likewise
10804 2001-07-25 Richard Henderson <rth@redhat.com>
10806 * varasm.c (assemble_variable): Create DECL_RTL before setting
10809 Thu Jul 26 00:19:30 CEST 2001 Jan Hubicka <jh@suse.cz>
10811 * predict.c (estimate_probability): Avoid duplicated predictions.
10813 * loop.c (find_and_verify_loops): Grok multiple barriers.
10815 Wed Jul 25 18:00:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10817 * config/alpha/alpha.c (print_operand, case '/'): Don't write '/'.
10819 * dbxout.c: Consistently use putc instead of fputc.
10820 (print_wide_int): New function; call instead of direct fprintf.
10821 (dbxout_type_index): Adjust calls of CHARS to be more accurate.
10822 (dbxout_type_fields, dbxout_type_method_1): Likewise.
10823 (dbxout_type_methods, dbxout_range_type, dbxout_type): Likewise.
10824 (print_int_cst_octal): Likewise.
10825 (print_octal): Show we wrote characters.
10826 (dbxout_type): Set have_used_extensions in more places.
10828 2001-07-25 Catherine Moore <clm@redhat.com>
10830 * config/v850/v850.c (v850_va_arg): Use addr
10831 instead of valist to build incr.
10833 Wed Jul 25 22:48:59 CEST 2001 Jan Hubicka <jh@suse.cz>
10835 * flow.c (delete_dead_jumptables): New function.
10836 (life_analyzis): Call it.
10837 * bb-reorder.c (skip_insns_after_block): Handle contradictory
10840 2001-07-25 Richard Henderson <rth@redhat.com>
10842 * except.c (reachable_handlers): Handle a region being removed
10843 out from under a RESX.
10845 2001-07-25 Richard Henderson <rth@redhat.com>
10847 * config/alpha/alpha.c (alpha_emit_conditional_move): Always
10848 swap GE/GT if it is an fp comparison.
10850 2001-07-25 Andrew Haley <aph@cambridge.redhat.com>
10852 * alias.c (rtx_equal_for_memref_p): Allow strings as types in
10855 Wed Jul 25 08:25:01 2001 Jeffrey A Law (law@cygnus.com)
10857 * ssa.c (rename_insn_1): Do not wrap an assignment to a
10858 paradoxical SUBREG inside a SEQUENCE. Fix minor formatting
10861 * ssa-ccp.c (visit_expression): Handle CALL_INSNs that can
10862 throw an exception.
10863 (visit_expression): When attempting to simplify an expression,
10864 retrieve any modes for arguments before they are simplified
10867 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
10868 Janis Johnson <janis@us.ibm.com>
10870 * stmt.c (expand_goto): A nonlocal goto can be a call too.
10871 * builtins.c (expand_builtin_longjmp): Reverse label and static chain
10872 pointer parameters to match documented usage of nonlocal_goto.
10873 * config/ia64/ia64.md (nonlocal_goto): Revert label and static chain
10874 parameters to their correct order.
10875 * config/sparc/sparc.md (nonlocal_goto): Revert label and static chain
10876 parameters to their correct order.
10878 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
10880 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well.
10882 2001-07-25 Jan Hubicka <jh@suse.cz>
10883 Richard Henderson <rth@redhat.com>
10885 * flow.c (find_sub_basic_blocks): Fix handling of the last BB in
10887 (make_edges): New argument update_p; populate the edge cache if set.
10888 (find_basic_blocks): Update make_edges invocation.
10890 2001-07-24 Joel Sherrill <joel@OARcorp.com>
10892 * config/i960/i960.h (CPP_SPEC): Define _SOFT_FLOAT for -msoft-float.
10894 2001-07-24 Joel Sherrill <joel@OARcorp.com>
10896 * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
10897 -Acpu and -Amachine.h.
10898 * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise.
10899 Corrected header to say ELF not a.out.
10900 * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT
10901 when given -msoft-float.
10903 2001-07-24 Joel Sherrill <joel@OARcorp.com>
10905 * config.gcc (arm*-*-rtems*): Include crtinit.o and crtfini.o as
10906 extra multilib parts like arm-elf.
10907 (i960-*-coff*, i960-*-rtems): Should not use collect2.
10908 (m68020-*-elf*, m68k-*-elf*, m68k-*-rtems*): Include crtinit.o and
10909 crtfini.o as extra multilib parts.
10911 2001-07-24 Joel Sherrill <joel@OARcorp.com>
10913 * configure.in: Add rtems as a supported thread model.
10914 * gthr-rtems.h: Add missing entry point __gthread_active_p.
10915 * configure: Rebuilt.
10917 2001-07-24 Lars Brinkhoff <lars@nocrew.org>
10919 * stor-layout.c (get_mode_alignment): make it work when
10920 BITS_PER_UNIT is not a power of two.
10921 * builtins.c (get_pointer_alignment): Likewise.
10923 2001-07-24 Richard Henderson <rth@redhat.com>
10925 * simplify-rtx.c (avoid_constant_pool_reference): Coerce
10926 the retrieved constant into the expected mode.
10928 Wed Jul 25 01:41:27 CEST 2001 Jan Hubicka <jh@suse.cz>
10930 * flow.c (try_simplify_condjump): Avoid duplicated edges.
10931 (verify_flow_info): Check for duplicated edges; clarify
10934 * flow.c (block_label): Update basic_block_for_insn.
10935 (commit_edge_insertions): Call compute_bb_for_insn.
10937 * flow.c (purge_dead_edges): Handle conditional jumps and conditional
10940 * flow.c (redirect_edge_and_branch,
10941 try_optimize_cfg): Use redirect_edge_succ_nodup
10942 (redirect_edge_succ_nodup): New.
10943 * basic_block.h (redirect_edge_succ_nodup): Declare.
10945 * toplev.c (rest_of_compilation): Rebuild CFG before cfg_cleanup
10948 Wed Jul 25 00:32:49 CEST 2001 Jan Hubicka <jh@suse.cz>
10950 * flow.c (try_forward_edges): Accept fallthru edge; Update comment.
10951 (try_crossjump_to_edge): Update commetns.
10952 (try_crossjump_bb): Likewise.
10954 2001-07-24 Richard Henderson <rth@redhat.com>
10956 * combine.c (distribute_notes): Move set of need_refresh
10957 for noop_move_p down to catch all cases.
10959 Tue Jul 24 20:32:44 CEST 2001 Jan Hubicka <jh@suse.cz>
10961 * recog.c (split_all_insns_noflow): New.
10962 * rtl.h (split_all_insns_noflow): Declare.
10963 * ia64.c (ia64_reorg): Use split_all_insns_noflow.
10964 * m68hc11.c (m68hc11_reorg): Likewise.
10965 * sh.c (machine_dependent_reorg): Likewise.
10966 * toplev.c (rest_of_compilation): Likewise for last split_all_insns
10969 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
10971 * config/sh/sh.md (ashlsi3_std splitter): Split only after reload.
10972 (ashlsi3_n splitter): Likewise.
10973 (lshrsi3_n splitter): Likewise.
10975 (GOTaddr2picreg): Make const SImode.
10976 (sym_label2reg): Likewise.
10977 (symGOT2reg): Likewise.
10978 (symGOTOFF2reg) Likewise.
10980 (casesi_worker_0): Make unspec SImode.
10982 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
10984 * config/sh/sh.c (barrier_align): Check that an operand really is
10985 an insn before extracting its INSN_CODE.
10987 2001-07-24 Andrew Haley <aph@cambridge.redhat.com>
10989 * config/sh/sh.h (OVERRIDE_OPTIONS): Add braces to get rid of
10992 * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Truncate operands
10993 for SImode to prevent overflow.
10995 2001-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10997 * config/mips/irix6-libc-compat.c: New file.
10998 * config/mips/t-iris6 (LIB2FUNCS_STATIC_EXTRA): Use it.
10999 * doc/install.texi (Specific, mips*-sgi-irix6): Mention structure
11000 passing workaround.
11002 2001-07-24 lars brinkhoff <lars@nocrew.org>
11004 * rtl.texi (REG_POINTER): Document.
11005 (Machine Modes): Document BImode, OImode, PQImode, PHImode,
11006 QFmode, HFmode, TQFmode, QCmode, and HCmode.
11008 Tue Jul 24 10:49:40 CEST 2001 Jan Hubicka <jh@suse.cz>
11010 * flow.c (delete_noop_moves): Do not confuse libcall regions.
11012 2001-07-23 Richard Henderson <rth@redhat.com>
11014 * flow.c (try_simplify_condjump): Use tidy_fallthru_edge.
11016 2001-07-23 Kazu Hirata <kazu@hxi.com>
11018 * config/h8300/h8300-protos.h: Add a prototype for
11019 general_operand_dst_push.
11020 * config/h8300/h8300.c (general_operand_dst_push): New.
11021 * config/h8300/h8300.h (OK_FOR_T): New.
11022 (EXTRA_CONSTRAINT): Use it.
11023 * config/h8300/h8300.md (movqi_push): Remove and integrate into
11024 the existing movqi pattern.
11025 (movhi_push): Likewise.
11027 * reload.c: Fix comment typos.
11029 Mon Jul 23 23:34:07 CEST 2001 Jan Hubicka <jh@suse.cz>
11031 * gcse.c (cprop_insn): Update call of cprop_cc0_jump.
11033 2001-07-23 H.J. Lu (hjl@gnu.org)
11035 * doc/extend.texi: Update __builtin_return_address and
11036 __builtin_frame_address.
11038 2001-07-23 Richard Henderson <rth@redhat.com>
11040 * config/i386/i386.c (ix86_expand_setcc): Don't use method 0
11042 * config/i386/i386.md: New setcc+movzbl peephole2.
11044 2001-07-23 Neil Booth <neil@cat.daikokuya.demon.co.uk>
11046 * objc/Make-lang.in (objc-act.o): Depend on debug.h.
11047 * objc/objc-act.c: Include debug.h.
11048 (synth_module_prologue): Save and restore debug hooks too.
11050 2001-07-23 lars brinkhoff <lars@nocrew.org>
11052 * tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT
11053 and C4X_FLOAT_FORMAT.
11054 (BOOL_TYPE_SIZE): Document.
11056 Mon Jul 23 11:54:23 2001 Clinton Popetz <cpopetz@cpopetz.com>
11058 * unroll.c (loop_iterations): Fix miscalculation of initial
11061 2001-07-13 Andrew Haley <aph@redhat.com>
11063 * doc/tm.texi (MD_CAN_REDIRECT_BRANCH): New macro.
11064 * config/sh/sh.h (MD_CAN_REDIRECT_BRANCH): New macro.
11065 * config/sh/sh.c (sh_can_redirect_branch): New function.
11066 * config/sh/sh-protos.h (sh_can_redirect_branch): Declare.
11067 * reorg.c (steal_delay_list_from_target): Use
11068 MD_CAN_REDIRECT_BRANCH to see if redirection is possible.
11070 Mon Jul 23 17:20:18 CEST 2001 Jan Hubicka <jh@suse.cz>
11072 * flow.c (try_simplify_condjump): Unlink insn chain on
11073 fallthru edge; use can_fallthru.
11075 Mon Jul 23 16:03:19 CEST 2001 Jan Hubicka <jh@suse.cz>
11077 * basic-block.h (find_sub_basic_block): Declare.
11078 * flow.c (make_edges): New arguments MIN and MAX;
11079 (find_sub_basic_blocks): Revamp to use make_edges
11080 and purge_dead_edges.
11081 (find_basic_blocks): Update call of find_sub_basic_block.
11083 * recog.c (split_all_insns): Always expect CFG to be consistent;
11084 call find_sub_basic_blocks in case something has changed.
11085 * toplev.c (rest_of_compilation): Always call split_all_insns once CFG
11088 * basic-block.h (delete_noop_moves): Declare.
11089 * combine.c (combine_instructions): Call it.
11090 (recog_for_combine): Tolerate noop moves
11091 (distribute_notes): Force refresh when register dies at noop move.
11092 * flow.c (delete_noop_moves): Use BB structure; delete JUMP insns
11094 (life_analysis): Update delete_noop_moves call.
11095 (set_noop_p): Move too ...
11096 * rtlanal.c (noop_move_p): ... here.
11097 * rtl.h (noop_move_p): Declare.
11099 * basic-block.h (purge_all_dead_edges, purge_dead_edges): New functions.
11100 * toplev.c (rest_of_compilation): Conditionally call purge_all_dead_edges
11102 * gcse.c (cprop_cc0_jump, cprop_insn): New argument "basic_block".
11103 (cprop_jump): Likewise; call purge_dead_edges if substitution succeeded.
11105 2001-07-23 Hans-Peter Nilsson <hp@bitrange.com>
11107 * reload.c (push_reload): Fix typo in comment.
11108 (find_reloads_address): Ditto.
11109 (reg_overlap_mentioned_for_reload_p): Ditto in head comment.
11111 2001-07-22 Richard Henderson <rth@redhat.com>
11113 * flow.c: Grammar check and clarify a lot of comments.
11114 (try_simplify_condjump): Rename variables to be clearer.
11115 (try_forward_edges): Skip complex and fallthru edges.
11116 Rearrange tests to avoid duplicate checks.
11117 (flow_find_cross_jump): Likewise.
11118 (outgoing_edges_match): Allow match if neither branch has
11119 probability data. Loosen probability match to 5%.
11120 (try_crossjump_to_edge): Hoist repeated indirection into
11122 (try_crossjump_bb): Don't check complex edges. Eliminate
11123 redundant crossjump tests.
11124 (try_optimize_cfg): Fix use of bool. Reorganize cheaper
11125 checks before more expensive checks.
11127 2001-07-22 Richard Henderson <rth@redhat.com>
11129 * fold-const.c (fold): Test vs FLOAT_TYPE_P instead of
11130 INTEGRAL_TYPE_P when folding comparisons with operand_equal_p
11133 2001-07-22 Richard Henderson <rth@redhat.com>
11135 * m68k.c (const_uint32_operand): Abort if mode is <= 32 bits.
11136 (const_sint32_operand): Likewise.
11137 * m68k.md (anon mulsi pattern): Use const_int_operand not
11138 const_sint32_operand.
11139 (umulsi3_highpart): Zero extend a constant input.
11140 (smulsi3_highpart): Don't bother checking SImode constant.
11141 (const_umulsi3_highpart): Give op3 DImode.
11142 (const_smulsi3_highpart): Likewise.
11144 2001-07-22 Richard Henderson <rth@redhat.com>
11146 * flow.c (split_block): Make sure bb_note is included in the
11147 new block when splitting before a label.
11149 Sun Jul 22 23:28:56 CEST 2001 Jan Hubicka <jh@suse.cz>
11151 * basic-block.h (redirect_edge_and_branch_force,
11152 redirect_edge_and_branch, block_label, forwarder_block_p): Declare.
11153 * flow.c (redirect_edge_and_branch_force,
11154 redirect_edge_and_branch, block_label, forwarder_block_p): Make global.
11155 (redirect_edge_and_branch_force): Fix copying of lifeness information.
11156 (block_label): Handle EXIT_BLOCK_PTR by returning NULL.
11157 * ifcvt.c (dead_or_predictable): Take BB as an new destination
11158 instead of label; update CFG after transformation.
11159 (find_if_case_1): Update call, use redirect_edge_and_branch_force
11160 for finishing the transformation; handle even case where ELSE
11161 does not follow THEN.
11162 (find_if_case_2): Update call of dead_or_predictable; simplify
11165 * emit-rtl.c (split_branch_probability): New global variable.
11166 (try_split): Take care to set split_branch_probability and
11167 create REG_BR_PROB note for new jump insns.
11168 * md.texi (define_split): Document new feature.
11170 * i386.c (ix86_split_fp_branch): Redistribute branch probability notes.
11172 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
11174 * varasm.c: Don't inlcude dbxout.h, sdbout.h or xcoffout.h.
11175 (asm_out_file): Remove redundant declaration.
11176 (assemble_asm): Remove old #if 0 block.
11177 (assemble_variable): Remove end of function; debug output is
11178 now handled with global_decl. Remove old #if 0 block. Update.
11179 Remove saved_in_section and associated no-op code.
11180 * Makefile.in (varasm.o): Correct dependencies.
11182 Sun Jul 22 17:55:11 2001 Alexandre Oliva <aoliva@redhat.com>
11184 * config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
11185 the definition in defaults.h.
11187 Sun Jul 22 21:31:04 CEST 2001 Jan Hubicka <jh@suse.cz>
11189 * jump.c: Update comments.
11190 (delete_barrier_successors, delete_unreferenced_labels,
11191 delete_noop_moves, tension_vector_labels, delete_from_jump_chain,
11192 delete_labelref_insn, redirect_tablejump, jump_optimize_1,
11193 jump_optimize, jump_optimize_minimal): Kill.
11194 (rebuild_jump_labels): Move code from jump_optimize_1.
11195 (purge_line_number_notes): Likewise.
11196 (copy_loop_headers): Likewise.
11197 * reg-stack.c: Update comment.
11198 * stmt.c: Likewise.
11199 * rtl.h (jump_optimize, jump_optimize_1, JUMP_NOOP_MOVES,
11200 JUMP_AFTER_REGSCAN): Kill.
11201 * toplev.c (rest_of_compilation): Use cleanup_cfg, call
11202 purge_line_number_notes and copy_loop_headers.
11204 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
11205 Richard Henderson <rth@redhat.com>
11207 * dbxout.c (dbxout_global_decl): New.
11208 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
11209 * sdbout.c (sdbout_finish): New.
11210 (sdbout_debug_hooks): Use it, add comments.
11211 (sdbout_global_decl): Defer initialised public vars to
11213 * varasm.c (assemble_variable): Don't output debug information
11214 for file-scope variables.
11216 2001-07-22 Richard Henderson <rth@redhat.com>
11218 * config/alpha/alpha.c (get_trap_mode_suffix): New.
11219 (get_round_mode_suffix): New.
11220 (print_operand): Use them for [/]. Remove support for [&'`()+].
11221 * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Update.
11222 * config/alpha/alpha.md (attr round_suffix): New.
11223 (attr trap_suffix): New.
11224 (all insns): Set them appropriately. Use %/ instead of the
11225 myriad punctuators.
11227 2001-07-22 Neil Booth <neil@cat.daikokuya.demon.co.uk>
11229 * dbxout.c, sdbout.c, varasm.c: Revert most recent debug patch.
11231 2001-07-22 Richard Henderson <rth@redhat.com>
11233 * regrename.c (regrename_optimize): Compute nregs for each
11234 potential target register.
11236 2001-07-21 Neil Booth <neil@daikokuya.demon.co.uk>
11237 Richard Henderson <rth@redhat.com>
11239 * dbxout.c (dbxout_global_decl): New.
11240 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
11241 * sdbout.c (sdbout_finish): New.
11242 (sdbout_debug_hooks): Use it, add comments.
11243 (sdbout_global_decl): Defer initialised public vars to
11245 * varasm.c (assemble_variable): Don't output debug information
11246 for file-scope variables.
11248 2001-07-21 H.J. Lu (hjl@gnu.org)
11250 * config/mips/mips.c (mips_cpu): Moved into ...
11251 (override_options): Here.
11253 * config/mips/mips.h (mips_cpu_attr): Replace mips_cpu with
11255 (mips_cpu): Removed.
11257 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
11259 * config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand.
11260 ("iorqi3"): Likewise.
11261 ("xorqi3"): Likewise.
11262 ("*addhi3"): Fix constraint to avoid reloading in a soft register.
11263 ("*subhi3_sp): Likewise.
11264 ("*subhi3"): Likewise.
11265 ("extendhisi2"): Accept D, X and Y as source operand to avoid
11268 2001-07-21 Nathan Sidwell <nathan@codesourcery.com>
11270 * doc/tm.texi: Remove DEFAULT_VTABLE_THUNKS.
11271 * config/freebsd.h: Likewise.
11272 * config/linux.h: Likewise.
11273 * config/openbsd.h: Likewise.
11274 * config/alpha/linux-elf.h: Likewise.
11275 * config/arm/linux-elf.h: Likewise.
11276 * config/d30v/d30v.h: Likewise.
11277 * config/fr30/fr30.h: Likewise.
11278 * config/ia64/aix.h: Likewise.
11279 * config/ia64/ia64.h: Likewise.
11280 * config/mips/linux.h: Likewise.
11281 * config/pj/pj.h: Likewise.
11282 * config/rs6000/linux.h: Likewise.
11283 * config/sparc/linux.h: Likewise.
11284 * config/sparc/linux64.h: Likewise.
11286 2001-07-20 Bruce Korb <bkorb@gnu.org>
11288 * fixinc/fixincl.c(test_for_changes): force unsigned char comparisons
11289 because getc() and char* may disagree on signedness.
11291 2001-07-20 Richard Henderson <rth@redhat.com>
11293 * doc/rtl.texi (REG_DEAD): Update for current semantics.
11295 * flow.c (try_redirect_by_replacing_jump): Correctly compute which
11296 insns to delete in the presence of cc0 in a jump insn.
11298 Fri Jul 20 22:14:49 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
11299 Jan Hubicka <jh@suse.cz>
11301 * m68k.md (zero_extend?i?i2 expander): Use gen_lowpart instead
11302 of doing the change by hand.
11304 Fri Jul 20 21:59:42 CEST 2001 Jan Hubicka <jh@suse.cz>
11306 * rtlanal.c (set_noop_p): Return true for noop jumps.
11308 * expr.c (emit_single_push_insn): Add call to push expander.
11309 * expr.h (optab_index): Add OTI_push
11310 (push_optab): New constant.
11311 * genopinit.c (optabs): Add push_optab.
11312 * optabs.c (init_optab): Init push optab.
11313 * md.texi (push??1): Document
11315 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
11317 * config/m68hc11/m68hc11.md ("movdi", "movdi_internal"): Use an
11318 expand to emit the pattern; put a REG_INC note for push/pop
11320 ("movdf", "movdf_internal"): Likewise.
11321 ("movsi", "movsi_internal"): Likewise.
11322 ("movsf", "movsf_internal"): Likewise.
11323 ("movhi", "movqi"): Emit a REG_INC note for push/pop instructions.
11325 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
11327 * config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use
11330 2001-07-20 Daniel Berlin <dan@cgsoftware.com>
11332 * params.def: Change default max inline insns to 100.
11334 2001-07-20 Diego Novillo <dnovillo@redhat.com>
11336 * combine.c (combine_simplify_rtx): Generate a new shift operation
11337 when simplifying the first operand of a (neg (ashift)) expression.
11339 2001-07-20 Roman Lechtchinsky <rl@cs.tu-berlin.de>
11341 * regclass.c (N_REG_INTS): Use only 32 bits per element.
11343 2001-07-20 Kelley Cook <kelley.cook@home.com>
11345 * doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug
11346 information. Move rest into ...
11347 (*-*-solaris): ... here. Eliminate redundant information and
11348 reword necessary packages section. Delete 4.x assembler bug info.
11349 (sparc-sun-*): Merge into ...
11350 (sparc-sun-sunos*): here.
11352 2001-07-20 Catherine Moore <clm@redhat.com>
11354 * config/v850/v850.md (casesi): Generate LABEL_REF
11357 Fri Jul 20 14:12:57 CEST 2001 Jan Hubicka <jh@suse.cz>
11359 * i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
11360 * i386.c (ix86_zero_extend_to_Pmode): Make global.
11361 * i386.md (strclrsi expander): Use it.
11363 Fri Jul 20 13:24:16 CEST 2001 Jan Hubicka <jh@suse.cz>
11365 * integrate.c (copy_insn_list): handle
11366 NOTE_INSN_DELETED_LABEL, as if it were CODE_LABEL.
11367 (copy_rtx_and_substitute): Likewise; behave to NOTE_INSN_DELETED_LABEL
11368 identically as to CODE_LABEL.
11370 * fold-const (fold): Convert A/B/C to A/(B*C) and
11373 * except.c (connect_post_landing_pads): Delete the RESX insns.
11375 2001-07-20 Aldy Hernandez <aldyh@redhat.com>
11377 * config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro.
11379 * config/mips/mips.md (nmadd/nmsub): Use macro.
11381 2001-07-20 Nathan Sidwell <nathan@codesourcery.com>
11383 * cppinit.c (remove_dup_dir): Make static.
11384 (remove_dup_dirs): Make static. Only warn about preempting a
11385 system directory with a non-system directory.
11387 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
11389 * ifcvt.c (noce_try_store_flag_constants): Correct order
11390 of parameters to trunc_int_for_mode.
11392 2001-07-19 Mark Mitchell <mark@codesourcery.com>
11394 * reorg.c (fill_simple_delay_slots): If an instruction might throw
11395 an exception that will be caught within this function, do not fill
11396 its delay slot with any subsequent instruction.
11398 2001-07-19 Steve Ellcey <sje@cup.hp.com>
11400 * tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition.
11401 * optabs.c (can_extend_p) Check HAVE_ptr_extend for a specialized
11402 pointer extension instruction.
11403 * combine.c (nonzero_bits,num_sign_bit_copies) Likewise.
11404 * simplify-rtx.c (simplify_unary_operation) Likewise.
11405 * explow.c (convert_memory_address) Check value of
11406 POINTERS_EXTEND_UNSIGNED to avoid some conversions when
11408 * config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, MULTILIB_OPTIONS,
11409 MULTILIB_DIRNAMES, MULTILIB_MATCHES) Add multilib support.
11410 * config/ia64/hpux.h (CPP_SPEC, ASM_SPEC, SUBTARGET_SWITCHES)
11411 Add Multilib Support.
11412 (POINTERS_EXTEND_UNSIGNED) Define for ILP32 support.
11413 * config/ia64/ia64.h (MASK_ILP32, TARGET_ILP32, SUBTARGET_SWITCHES)
11414 Add Multilib Support.
11415 (POINTER_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE) Modify for ILP32
11417 * config/ia64/ia64.c (rtx_needs_barrier) Add support for addp4.
11418 * config/ia64/ia64.md (ptr_extend) New instruction to "swizzle"
11419 a 32 bit HP-UX pointer into a 64 bit HP-UX pointer.
11421 2001-07-19 Alexandre Oliva <aoliva@redhat.com>
11423 * simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from
11424 old and new operands in `<', `3' and `b'.
11426 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
11428 * Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
11429 (final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h.
11430 (toplev.o): Don't depend on xcoffout.h.
11431 * c-decl.c: Include debug.h
11432 (duplicate_decls): Use debug hook.
11433 * dbxout.c (dbxout_source_file, dbxout_args): Make static.
11434 (dbx_debug_hooks, xcoff_debug_hooks): Update.
11435 (dbxout_types): Remove.
11436 * dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove.
11437 * debug.c (do_nothing_debug_hooks): Update.
11438 (debug_true_tree, debug_nothing_rtx): New.
11439 * debug.h (struct rtx_def): New.
11440 (struct gcc_debug_hooks): New hooks ignore_block,
11441 outlining_inline_function and label.
11442 (debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init,
11443 dwarf2out_frame_finish): New.
11444 * dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function):
11445 Make static, update prototype.
11446 (dwarf2_debug_hooks): Update.
11447 * dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function,
11448 dwarf2out_frame_init, dwarf2out_frame_finish): Remove.
11449 * dwarfout.c (dwarf_debug_hooks): Update.
11450 * emit-rtl.c: Include debug.h.
11451 (remove_unnecessary_notes): Use debug hook.
11452 * final.c: Don't include dbxout.h, xcoffout.h or sdbout.h.
11453 (final_scan_insn): Use debug hook.
11454 * integrate.c (output_inline_function): Use debug hook.
11455 * sdbout.c (sdbout_toplevel_data, sdbout_label): Make static.
11456 (sdb_debug_hooks): Update.
11457 * sdbout.h (sdbout_label, sdbout_toplevel_data): Remove.
11458 * toplev.c: Don't include xcoffout.h.
11459 (note_outlining_of_inline_function, debug_ignore_block): Remove.
11460 * toplev.h (note_outlining_of_inline_function, debug_ignore_block):
11462 * tree.h (dwarf2out_do_frame): Remove.
11464 2001-07-19 Catherine Moore <clm@cygnus.com>
11466 * config/v850/v850.h (ASM_OUTPUT_LABELREF): Restore.
11468 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
11470 * reload1.c (eliminate_regs_in_insn): When updating a set
11471 to the frame pointer to the hardware frame pointer, perform
11472 the update always not just when REPLACE is set.
11474 * reload1.c (choose_reload_regs): Don't inherit a reload
11475 that crosses multiple registers if registers past the first
11476 don't fit in the desired class.
11478 * ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
11479 when negating constants.
11481 2001-07-19 Toon Moene <toon@moene.indiv.nluug.nl>
11483 * tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
11484 * doc/tree.texi: Ditto.
11486 2001-07-19 Mark Kettenis <kettenis@wins.uva.nl>
11487 Jakub Jelinek <jakub@redhat.com>
11489 * unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
11490 (extract_cie_info): Handle "eh" augmentation properly,
11492 (struct frame_state, __frame_state_for): New.
11494 2001-07-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11496 * config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL,
11497 HANDLE_SYSV_PRAGMA): Define.
11498 * mips-tfile.c (add_ext_symbol): Pass complete symbol ptr, inline
11500 (copy_object): Caller changed.
11502 2001-07-19 Andreas Schwab <schwab@suse.de>
11504 * configure.in (assembler dwarf2 debug_line support): Define nop
11506 * configure: Regenerated.
11508 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
11510 * Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
11512 * dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move
11513 to conditionally compiled block.
11514 (dbx_debug_hooks, xcoff_debug_hooks): Update.
11515 * dbxout.h (dbxout_function): Remove.
11516 * debug.c (do_nothing_debug_hooks): Update.
11517 * debug.h (struct gcc_debug_hooks): New hooks function_decl,
11518 global_decl, deferred_inline_function.
11519 * dwarf2out.c (dwarf2_debug_hooks): Update.
11520 (dwarf2out_global_decl): New.
11521 * dwarfout.c: Don't include dwarfout.h.
11522 (dwarfout_global_decl, dwarfout_function_decl,
11523 dwarfout_deferred_inline_function): New.
11524 (dwarf_debug_hooks): Update.
11525 * dwarfout.h: Remove.
11526 * final.c: Don't include dwarfout.h.
11527 * sdbout.c (sdbout_global_decl): New.
11528 (sdbout_debug_hooks): Update.
11529 * toplev.c: Don't include dwarfout.h.
11530 (check_global_declarations, rest_of_compilation): Use new debug hooks.
11531 (note_deferral_of_defined_inline_function): Remove.
11532 * toplev.h (note_deferral_of_defined_inline_function): Remove.
11533 * ch/Makefile.in (lex.o): No dependence on dwarfout.h.
11534 * ch/lex.c: Don't include dwarfout.h.
11535 * cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h.
11536 (semantics.o, optimize.o): Depend on debug.h not dwarfout.h.
11537 * cp/decl2.c: Don't include dwarfout.h and dwarf2out.h.
11538 * cp/optimize.c: Include debug.h.
11539 (maybe_clone_body): Use debug hook.
11540 * cp/semantics.c: Include debug.h.
11541 (expand_body): Use debug hook.
11542 * po/POTFILES.in: Remove dwarfout.h.
11544 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
11546 * c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
11547 * c-parse.in (yyerror, _yylex): Similarly.
11548 * cppexp.c (parse_number, parse_defined, lex, _cpp_parse_expr):
11549 Don't use CPP_INT, CPP_FLOAT; CPP_NUMBER is enough.
11551 * cpplib.h (CPP_INT, CPP_FLOAT): Remove.
11552 * cp/spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases.
11554 2001-07-18 Jeff Sturm <jsturm@one-point.com>
11556 * dwarf2out.c (dwarf2out_abstract_function): Don't emit
11557 in-class declaration at -g1. Fixes c++/2814.
11559 2001-07-18 Richard Henderson <rth@redhat.com>
11561 * doc/md.texi (reload_in/out): Document restrictions in predicates
11562 and constraints for these patterns. Document empty string matching
11565 2001-07-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11567 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.
11569 Wed Jul 18 20:47:36 CEST 2001 Jan Hubicka <jh@suse.cz>
11571 * cse.c: Undo my previous patch.
11573 2001-07-18 Tom Tromey <tromey@redhat.com>
11576 * configure: Rebuilt.
11577 * configure.in: Don't check for iconv.h or iconv(); use AM_ICONV
11579 * aclocal.m4 (AM_ICONV): New macro from Bruno Haible.
11581 Wed Jul 18 18:46:30 CEST 2001 Richard Henderson <rth@cygnus.com>
11582 Jan Hubicka <jh@suse.cz>
11584 * flow.c (redirect_edge_and_branch): Bail out on complex edges.
11585 (try_optimize_cfg): Do not remove tail recursive labels before sibcall.
11586 * jump.c (mark_jump_label): Do not forward branches.
11588 Wed Jul 18 18:35:01 CEST 2001 Jan Hubicka <jh@suse.cz>
11590 * cse.c (delete_trivially_dead_insns): Delete the libcall block
11591 when return value is unused.
11593 Wed Jul 18 18:28:16 CEST 2001 Jan Hubicka <jh@suse.cz>
11595 * gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.
11597 Wed Jul 18 12:05:29 2001 Nicola Pero <n.pero@mi.flashnet.it>
11599 * gthr-posix.h (__gthread_objc_mutex_trylock): Fixed return value
11600 on error. We can't blindly return the result of
11601 pthread_mutex_trylock because it returns a positive number on
11602 error, while we must return -1 on error.
11603 (__gthread_objc_mutex_lock, __gthread_objc_mutex_unlock): Similar
11605 Reported by Stephen Brandon <stephen@brandonitconsulting.co.uk>.
11607 2001-07-18 Andreas Jaeger <aj@suse.de>
11609 * integrate.c (output_inline_function): Correct type of debug_hooks.
11611 2001-07-18 Toon Moene <toon@moene.indiv.nluug.nl>
11613 * combine.c (combine_simplify_rtx): DIV can be treated
11614 associatively for floats if unsafe math optimisations are enabled.
11616 2001-07-17 Richard Henderson <rth@redhat.com>
11618 * reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
11620 2001-07-17 Richard Henderson <rth@redhat.com>
11622 * calls.c (prepare_call_address): New parameter SIBCALLP. If true,
11623 don't force the function address into a register.
11624 (expand_call, emit_library_call_value_1): Update callers.
11625 * builtins.c (expand_builtin_apply): Likewise.
11626 * expr.h (prepare_call_address): Update decl.
11628 2001-07-17 Chandrakala Chavva <cchavva@redhat.com>
11630 * config.gcc: For *-*-chorusos triplet, get chorus.h file from
11632 * config/i386/chorus.h: Move up.
11633 * config/sparc/chorus.h: Likewise.
11634 * config/rs6000/chorus.h: Likewise.
11635 * config/chorus.h: Moved here.
11637 2001-07-17 Andreas Schwab <schwab@suse.de>
11639 * configure.in (assembler eh_frame optimization): Handle big
11641 * configure: Regenerated.
11643 Tue Jul 17 23:43:31 CEST 2001 Jan Hubicka <jh@suse.cz>
11645 * expr.c (epxand_expr): Convert divisions into multiplications by
11646 reciprocals if -ffast-math.
11648 2001-07-17 Neil Booth <neil@daikokuya.demon.co.uk>
11650 * dbxout.c (dbxout_really_begin_function): Rename to
11651 dbxout_begin_function.
11652 (dbx_debug_hooks, xcoff_debug_hooks): Update.
11653 (dbxout_begin_function): Remove.
11654 (dbxout_function): Update.
11655 (dbxout_source_line): Update prototype.
11656 * dbxout.h (dbxout_begin_function): Remove.
11657 * debug.c (do_nothing_debug_hooks): Update.
11658 (debug_nothing_tree): Update.
11659 (debug_nothing_charstar_rtx): Remove.
11660 * debug.h (union tree_node): Declare.
11661 (struct rtx_def): Remove.
11662 (gcc_debug_hooks): New hooks begin_prologue, end_prologue,
11663 begin_function. Change source_line prototype.
11664 (debug_nothing_tree): New.
11665 (debug_nothing_charstar_rtx): Delete.
11666 (dwarf2out_begin_prologue): Moved from ...
11667 * tree.h: ... here.
11668 * dwarf2out.c (dwarf2_debug_hooks): Update.
11669 (dwarf2out_begin_prologue): Update prototype. If genuine dwarf2
11670 debug info, call dwarf2out_source_line.
11671 (dwarf2out_souce_line): Update prototype.
11672 * dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue.
11673 Change prototype, make static.
11674 (dwarfout_source_line): Update prototype.
11675 (dwarf_debug_hooks): Update.
11676 * dwarfout.h (dwarfout_begin_function): Remove.
11677 * final.c (final_start_function, final_scan_insn): Use appropriate
11678 debug hooks, update to use notice_source_line.
11679 (output_source_line): Rename notice_source_line. Don't call the
11680 source_line debug hook.
11681 * sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue,
11682 make static, update prototype.
11683 (sdbout_mark_begin_function): Rename sdbout_begin_function, update
11685 (sdbout_end_prologue): New.
11686 (sdbout_source_line): Update prototype.
11687 (sdbout_debug_hooks): Update.
11688 (sdbout_symbol): Remove unused var.
11689 * sdbout.h (sdbout_begin_function, sdbout_mark_begin_function):
11691 * varasm.c: Include debug.h.
11692 (assemble_start_function): Use begin_function debug_hook.
11693 * xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function,
11694 update with prototype.
11695 (xcoffout_source_line): Update prototype.
11696 * xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function,
11698 (xcoffout_source_line): Update prototype.
11700 2001-07-17 Richard Henderson <rth@redhat.com>
11702 * c-typeck.c (build_binary_op): Do not shorten unsigned
11703 right shift after sign extension.
11705 Tue Jul 17 16:56:05 CEST 2001 Jan Hubicka <jh@suse.cz>
11707 * combine.c (combine_simplify_rtx): Attempt to simplify
11708 a*(b/c) as (a*b)/c for floats in unsafe_math mode.
11710 * simplify-rtx.c (avoid_constatn_pool_reference): New static function.
11711 (simplify_binary_operation, simplify_unary_operation,
11712 simplify_relational_operation): Use it.
11714 * combine.c (combine_simplify_rtx): Don't do associative law
11715 on divisions; allow associative law on floats.
11717 2001-07-17 H.J. Lu <hjl@gnu.org>
11718 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11720 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
11721 ASM_OUTPUT_WEAK_ALIAS are defined.
11722 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible.
11723 * config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL):
11725 * config/mips/iris5.h: ... here.
11726 (HANDLE_SYSV_PRAGMA): Defined as 1.
11727 * varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS.
11728 * doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak
11731 2001-07-17 Joseph S. Myers <jsm28@cam.ac.uk>
11733 * c-parse.in (all_prefix_attributes): New variable.
11734 (PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros.
11735 (maybe_resetattrs): New production.
11736 (c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl,
11737 maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl,
11738 notype_initdcl, nested_function, notype_nested_function,
11739 component_decl, components, components_notype,
11740 component_declarator, component_notype_declarator,
11741 absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl,
11742 ivars, mydecl, myparm): Update. Avoid prefix attributes just
11743 after a comma being applied to more than one declarator.
11744 * doc/extend.texi (Attribute Syntax): Update. Remove
11745 documentation of bugs that are no longer present.
11747 2001-07-13 Eric Christopher <echristo@redhat.com>
11749 * config/mips/mips.h: Change TUNE_MIPS* options to use
11751 (EXTRA_SPECS): Add cc1_cpu_spec.
11752 * config/mips/mips.md (muldf3): Fix typo.
11754 2001-07-16 Richard Henderson <rth@redhat.com>
11756 * config/m68k/m68k.c: Include expr.h and reload.h.
11757 (print_operand_address) [16 bit int]: Cast INTVAL to int for %d.
11758 [general int]: Use HOST_WIDE_INT_PRINT_DEC.
11760 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
11761 Richard Henderson <rth@redhat.com>
11763 * cse.c (set_live_p): Take INSN argument for cc0; update callers.
11764 (insn_live_p): Fix fall off end of function.
11765 (dead_libcall_p): Remove COUNTS argument; update callers.
11766 (delete_trivially_dead_insns): Remove unused variables.
11768 2001-07-17 Andreas Jaeger <aj@suse.de>
11770 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
11771 x86-64 pic support.
11773 * lcm.c (optimize_mode_switching): Avoid warning for unused
11774 variable if !NORMAL_MODE.
11776 * flow.c (try_crossjump_to_edge): Remove unused variable.
11778 2001-07-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
11780 * inclhack.def (ultrix_atexit_param): New hack to fix ultrix 4.3
11781 atexit declaration in stdlib.h.
11783 2001-07-16 Richard Begg <Richard.Begg@colesmyer.com.au>
11785 * fixinc/inclhack.def(hpux_vsnprintf): brokenness in stdio.h
11787 Mon Jul 16 22:48:00 CEST 2001 Jan Hubicka <jh@suse.cz>
11789 * basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
11790 * except.c (finish_eh_generation): Update call of cleanup_cfg;
11791 do rebuild_jump_labels instead of jump_optimize
11792 * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
11793 * toplev.c (rest_of_compulation): Likewise for -Wreturn_type.
11794 * flow.c (try_optimize_cfg): Remove unneeded code_labels.
11796 * flow.c: Include timevar.h
11797 (find_basic_block): Push/pop timevar;
11798 (cleanup_cfg): Likewise.
11799 * timevar.def (TV_CFG, TV_CLEANUP_CFG): New.
11800 * Makefile: Add dependencies on timevar.h
11802 * integrate.c (save_for_inline): Kill all BASIC_BLOCK notes.
11803 (copy_insn_list): Avoid killing of BASIC_BLOCK notes.
11805 * rtl.h (delete_trivially_dead_insns): Add new parameter.
11806 * toplev.c (rest_of_compilation): Update calls.
11807 * cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ...
11808 (delete_trivially_dead_insns): ... here; accept new argument
11809 preserve_basic_blocks; preserve basic blocks if set.
11811 * reg-stack.c (stack_regs_mentioned): Return 0 if
11812 stack_regs_mentioned_data is not initialized.
11813 (reg_to_stack): Make stack_regs_mentioned survive after the
11814 reg-stack is completted; do not call cleanup_cfg.
11815 * toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder;
11816 make cleanup_cfg after bb-reorder to output to debug file.
11818 2001-07-16 Richard Henderson <rth@redhat.com>
11820 * regclass.c (init_reg_sets): Use only 32 bits per initializer
11821 from int_reg_class_contents.
11823 2001-07-16 Richard Henderson <rth@redhat.com>
11825 * hard-reg-set.h (regs_invalidated_by_call): Declare.
11826 * regclass.c (regs_invalidated_by_call): Move from cse.c.
11827 (init_reg_sets_1): Move initialization from cse_main.
11828 * cse.c (regs_invalidated_by_call): Move to regclass.c.
11829 (cse_main): Move its initialization also.
11830 * df.c (df_insn_refs_record): Use regs_invalidated_by_call.
11831 * flow.c (propagate_one_insn): Likewise.
11832 * gcse.c (compute_hash_table): Likewise.
11833 (compute_kill_rd, compute_store_table): Likewise.
11834 * sched-deps.c (sched_analyze_1): Likewise.
11836 Mon Jul 16 18:07:07 2001 J"orn Rennecke <amylaar@redhat.com>
11838 * gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of
11841 2001-07-16 Steve Ellcey <sje@cup.hp.com>
11843 * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests
11844 in if statement so we don't access undefined memory.
11846 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
11848 * gcse.c: Update comment at top.
11849 Update comment on mem handling.
11850 mem_last_set, mem_first_set, mem_set_in_block: gone.
11851 Declaration of reg_set_info: gone.
11852 (oprs_unchanged_p): Don't use mem_*set_* anymore. They are
11853 pointless with load_killed_in_block_p (they are *more*
11854 conservative then it, not less, and less accurate).
11855 (oprs_not_set_p): Ditto.
11856 (alloc_gcse_mem): Don't allocate mem_set_in_block
11857 (free_gcse_mem): Don't free it, either.
11858 (record_last_mem_set_info): Update comment in front, remove
11859 mem_*set_* stuff. Note the reason we don't handle stores directly
11861 (compute_hash_table): Update comments to reflect reality. Remove
11862 mem_*set_* references.
11863 (reset_opr_set_tables): Remove mem_*set_* references.
11864 (mark_call): Ditto.
11865 (mark_set): Ditto. Also remove double sets of bitmaps for REG's.
11866 (mark_clobber): Ditto (on both parts, we double set here too).
11867 (expr_killed_p): Remove mem_set_in_block test.
11868 (compute_transp): Remove mem_set_in_block test.
11870 * ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal
11871 of edge, and removal of phi alternative to dump file.
11872 (ssa_ccp_substitute_constants): Add note about register now being
11873 constant, and which uses were replaced in what insns to dump file.
11875 2001-07-16 Andreas Jaeger <aj@suse.de>
11877 * gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output
11878 variables of type HOST_WIDEST_INT.
11880 * libgcc2.c (__bb_exit_func): Handle gcov_type as long long.
11881 (__bb_exit_func): Correct type of count_max to avoid overflow.
11882 (num_digits): Handle long long argument.
11884 * combine.c (gen_lowpart_for_combine): Remove unused variable.
11886 2001-07-16 Neil Booth <neil@cat.daikokuya.demon.co.uk>
11888 * output.h (sdb_begin_function_line): Restore as an extern
11890 * sdbout.c (sdb_begin_function_line): Make extern.
11892 2001-07-15 Richard Henderson <rth@redhat.com>
11894 * machmode.def (Pmode): Redefine if GENERATOR_FILE.
11895 * genrecog.c (maybe_both_true_mode): New.
11896 (maybe_both_true_2): Use it.
11897 (write_switch): Don't put Pmode in a switch.
11898 * rtl.c (mode arrays): Don't explicitly size them.
11900 Sun Jul 15 14:07:36 CEST 2001 Jan Hubicka <jh@suse.cz>
11902 * toplev.c (rest_of_compilation): Fix register_life_up_to_date
11903 handling; move unconditional splitting before mode switching.
11905 * i386.md (type): Add fistp type.
11906 (i387, length_attr, scheduling definitions): Handle this type.
11907 (fix_trunc?f?i2): Revamp to use mode switching.
11908 (fix_trunct?f?i_nonmemory, fix_trunc?f?i_memory): New patterns.
11909 * i386.h (fp_cw_mode): New enum
11910 (OPTIMIZE_MODE_SWITCHING, NUM_MODES_FOR_MODE_SWITCHING, MODE_NEEDED,
11911 MODE_PRIORITY_TO_MODE, ENUM_MODE_SET): New macros.
11913 Sun Jul 15 12:53:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11915 * Makefile.in (integrate.o): Add debug.h.
11916 * integrate.c (debug.h): Add.
11917 (output_inline_function): Save, reset, and restore debug_hooks.
11919 2001-07-15 Richard Henderson <rth@redhat.com>
11921 * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
11922 instead of COMPARE for the EQUIV expression.
11924 2001-07-15 Richard Henderson <rth@redhat.com>
11926 * flow.c (redirect_edge_and_branch_force): Initialize
11927 global_live_at_start and global_live_at_end.
11928 (allocate_bb_life_data): Export.
11929 * basic-block.h (allocate_bb_life_data): Declare.
11930 * toplev.c (rest_of_compilation): Call it.
11932 2001-07-15 Richard Henderson <rth@redhat.com>
11934 * config/alpha/alpha.c (alpha_tablejump_addr_vec): New.
11935 (alpha_tablejump_best_label): New.
11936 * config/alpha/alpha-protos.h: Declare them.
11937 * config/alpha/alpha.md: Use braced strings for code blocks.
11938 (tablejump_osf): Break out add with r29.
11939 (tablejump_osf_internal): Remove.
11940 (tablejump_osf_nt_internal): Rename from tablejump_nt_internal,
11941 use alpha_tablejump_addr_vec and alpha_tablejump_best_label.
11943 Sun Jul 15 00:53:35 CEST 2001 Jan Hubicka <jh@suse.cz>
11945 * loop.c (scan_loop): Add USEs inside PARALLELs into dependencies
11948 * toplev.c (rest_of_compilation): Allow new pseudoes for mode switching.
11950 * i386-protos.h (ix86_split_fp_branch): Update prototype.
11951 (ix86_fp_jump_nontrivial_p): New.
11952 * i386.md (fp_jcc_?): Update call of split_fp_branch;
11953 use ix86_fp_jump_nontrivial_p.
11954 * i386.c (ix86_fp_jump_nontrivial_p): New.
11955 (ix86_split_fp_branch): Accept code instead of rtx.
11956 (ix86_expand_compare): Expand comparison early in case
11957 doing so is resonably cheap.
11959 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
11961 * config/rs6000/sysv4.h (CPP_ENDIAN_BIG_SPEC): Assert 'endian'
11963 (CPP_ENDIAN_LITTLE_SPEC): Assert 'endian' not 'machine'.
11964 (CPP_ENDIAN_SOLARIS_SPEC): Assert 'endian' not 'machine'.
11966 2001-07-15 Neil Booth <neil@daikokuya.demon.co.uk>
11968 * dbxout.c (dbxout_source_line): Make static, update prototype.
11969 (dbx_debug_hooks, xcoff_debug_hooks): Add new hooks.
11970 (dbxout_init, dbxout_finish, dbxout_source_line,
11971 dbxout_begin_block, dbxout_end_block): Update for new prototypes.
11972 * dbxout.h (dbxout_source_line): Delete.
11973 * debug.c (debug_nothing_file, debug_nothing_file_int,
11974 debug_nothing_file_charstar_rtx): New.
11975 (do_nothing_debug_hooks): Update.
11976 (debug_nothing_void, debug_nothing_charstar_rtx,
11977 dwarf2out_end_epilogue): New.
11978 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
11979 * debug.h (struct rtx_def): Declare.
11980 (gcc_debug_hooks): New hooks source_line, end_epilogue
11982 (debug_nothing_void, debug_nothing_charstar_rtx,
11983 dwarf2out_end_epilogue): New.
11984 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
11985 * dwarf2out.c (dwarf2out_source_line): Make static, update prototype.
11986 (dwarf2_debug_hooks): Update.
11987 (dwarf2out_init, dwarf2out_finish, dwarf2out_source_line,
11988 dwarf2out_begin_block, dwarf2out_end_block): Update for new prototypes.
11989 * dwarf2out.h (dwarf2out_source_line): Remove.
11990 * dwarfout.c (dwarfout_end_epilogue, dwarfout_end_function):
11991 Make static, update prototype.
11992 (dwarfout_init, dwarfout_finish, dwarfout_source_line,
11993 dwarfout_begin_block, dwarfout_end_block): Update for new prototypes.
11994 (dwarf_debug_hooks): Update.
11995 * dwarfout.h (dwarfout_end_epilogue, dwarfout_source_line,
11996 dwarfout_end_function): Remove.
11997 * final.c (profile_function): Use debug hooks for ending functions
11999 (output_source_line, final_end_function): Update prototype,
12001 (final_start_function, final_scan_insn): Update.
12002 * output.h (sdb_begin_function_line): Remove.
12003 (final_end_function): Update prototype.
12004 * sdbout.c (sdb_begin_function_line): Make static.
12005 (PUT_SDB_EPILOGUE_END): Move to sdbout_end_epilogue.
12006 (sdbout_source_line): New.
12007 (sdbout_end_epilogue, sdbout_end_function): Make static, update
12009 (sdb_debug_hooks): Update.
12010 (sdbout_init, sdbout_source_line,
12011 sdbout_begin_block, sdbout_end_block): Update for new prototypes.
12012 * sdbout.h (sdbout_end_epilogue, sdbout_end_function): Remove.
12013 * toplev.c (compile_file, rest_of_compilation): Update.
12014 * tree.h (dwarf2out_end_epilogue): Move to debug.h.
12015 * xcoffout.c (xcoffout_source_line, xcoffout_begin_block,
12016 xcoffout_end_block, xcoffout_end_epilogue, xcoffout_end_function):
12017 Update for prototype changes.
12018 * xcoffout.h (xcoffout_source_line, xcoffout_begin_block,
12019 xcoffout_end_block, xcoffout_end_epilogue): Update prototypes.
12021 2001-07-15 Richard Henderson <rth@redhat.com>
12023 * config/alpha/alpha.h (TARGET_ABI_OSF): New.
12024 (TARGET_ABI_WINDOWS_NT, TARGET_ABI_OPEN_VMS): Rename; update users.
12025 * config/alpha/alpha-protos.h: Update TARGET_ABI_* users.
12026 * config/alpha/alpha.c: Likewise.
12027 * config/alpha/alpha.md: Likewise.
12028 * config/alpha/alpha32.h: Likewise.
12029 * config/alpha/vms.h: Likewise.
12030 (OPEN_VMS): Remove.
12032 2001-07-14 Richard Henderson <rth@redhat.com>
12034 * config/alpha/alpha.md: Use define_constants for unspec values.
12035 Substitute throughout.
12037 2001-07-14 Tim Josling <tej@melbpc.org.au>
12039 * tree.def (EXPON_EXPR) remove. Never supported anyway.
12041 2001-07-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
12043 * pa.md: Remove unused constraints from define_split's.
12045 2001-04-14 Richard Henderson <rth@redhat.com>
12047 * ifcvt.c (find_cond_trap): Test for exit block.
12049 Sun Jul 15 00:50:20 CEST 2001 Jan Hubicka <jh@suse.cz>
12051 Re-install recently reverted patch.
12052 * emit-rtl.c (try_split): Update mark_jump_label call.
12053 * flow.c (find_sub_basic_blocks): Likewise.
12054 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
12055 jump_back_p): Kill.
12056 (mark_all_labels): Kill second parameter.
12057 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
12058 (rebuild_jump_labels, jump_optimize_minimal): Update call
12059 of jump_optimize_1.
12060 (jump_optimize_1): Kill crossjumping code.
12061 (mark_jump_label): Kill cross_jump parameter.
12062 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
12063 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
12064 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
12066 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
12068 (dump_file_info): Likewise.
12069 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
12070 reorganize passes to do reg-stack first, bb-reorder second.
12071 * invoke.texi (-d letters doc): Remove the jump2 pass.
12073 2001-07-14 Richard Henderson <rth@redhat.com>
12075 * ifcvt.c (find_cond_trap): New.
12076 (find_if_header): Call it.
12077 (merge_if_block): Relax existing jump sanity check.
12078 * jump.c (jump_optimize_1): Remove conditional trap handling.
12080 2001-07-14 Alan Modra <amodra@bigpond.net.au>
12082 * config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit
12084 (insn_refs_are_delayed): Correct comment.
12085 * config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise.
12086 * config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2
12087 instead of r31. Make associated insn !TARGET_64BIT, and
12088 provide an additional 64-bit insn that clobbers r2.
12089 (divsi3): Likewise.
12090 (udivsi3): Likewise.
12091 (modsi3): Likewise.
12092 (umodsi3): Likewise.
12094 Sat Jul 14 02:58:38 CEST 2001 Jan Hubicka <jh@suse.cz>
12096 * bb-reorder.c (skip_insn_after_block): Get past the line number notes.
12098 * flow.c (redirect_edge_and_branch_force, split_edge,
12099 try_crossjump_to_edge): Use set_block_for_new_insns.
12100 * bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns.
12102 2001-07-13 H.J. Lu (hjl@gnu.org)
12104 * config/elfos.h (UNIQUE_SECTION): Enable .bss section with
12107 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
12109 Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.
12111 2001-07-13 Joseph S. Myers <jsm28@cam.ac.uk>
12113 * c-common.c (decl_attributes): Take a pointer to the node to
12114 which attributes are to be attached, and a flags argument.
12115 * c-common.h (enum attribute_flags): New.
12116 (decl_attributes): Update prototype.
12117 * c-decl.c (start_decl, push_parm_decl, finish_struct,
12118 finish_enum, start_function): Update calls to decl_attributes.
12119 * c-parse.in (component_declarator, component_notype_declarator,
12120 label): Update calls to decl_attributes.
12122 Fri Jul 13 23:04:00 2001 Denis Chertykov <denisc@overta.ru>
12124 * config/avr/avr.md (strlenhi): PARALLEL keyword removed.
12125 * config/avr/avr.c (legitimate_address_p): Return value changed
12126 from letter to register classes. For better debugging.
12128 2001-07-13 Kazu Hirata <kazu@hxi.com>
12130 * jump.c (reversed_comparison_code_parts): Fix comment typos.
12132 2001-07-13 H.J. Lu (hjl@gnu.org)
12134 * config/elfos.h (UNIQUE_SECTION): Enable .bss section.
12136 2001-07-13 Marc Espie <espie@cvs.openbsd.org>
12138 * config.gcc (*-*-openbsd*): Add fragment to compile libgcc
12139 correctly for shared configurations.
12140 * config/t-libgcc-pic: New.
12141 * config/{i386,m68k,sparc}/t-openbsd: New.
12142 * config/openbsd.h: Include cpu_spec in cpp_spec where needed.
12143 Support -shared. Support debugging libraries with -g.
12144 * config/i386/openbsd.h: Correct ASM_COMMENT_START. Ensure dwarf2
12145 frame information does not emit pointer diffs.
12146 * config/sparc/openbsd.h: Ensure dwarf2 frame information does not
12147 emit pointer diffs.
12149 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
12151 Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001.
12153 2001-07-13 David Edelsohn <edelsohn@gnu.org>
12155 * combine.c (try_combine): Ensure const_int pow2 is positive.
12157 2001-07-13 Hartmut Penner <hpenner@de.ibm.com>
12159 * config.gcc: Add configuration for s/390.
12160 * config/s390/s390.c: New. Subroutines for code generation.
12161 * config/s390/s390.h: New. Definitions for s/390.
12162 * config/s390/s390-protos.h: New. Prototypes.
12163 * config/s390/linux.h: New. Definitions for linux for s/390.
12164 * config/s390/linux64.h: New. Definitions for linux for zSeries.
12165 * config/s390/t-linux: New. Makefile fragment.
12166 * config/s390/s390.md: New. Machine description for s/390 and zSeries.
12167 * config/s390/fixdfdi.h: New. Fix L_fix*di.
12169 Fri Jul 13 14:46:21 CEST 2001 Jan Hubicka <jh@suse.cz>
12171 * emit-rtl.c (try_split): Update mark_jump_label call.
12172 * flow.c (find_sub_basic_blocks): Likewise.
12173 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
12174 jump_back_p): Kill.
12175 (mark_all_labels): Kill second parameter.
12176 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
12177 (rebuild_jump_labels, jump_optimize_minimal): Update call
12178 of jump_optimize_1.
12179 (jump_optimize_1): Kill crossjumping code.
12180 (mark_jump_label): Kill cross_jump parameter.
12181 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
12182 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
12183 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
12185 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
12187 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
12188 reorganize passes to do reg-stack first, bb-reorder second.
12189 * invoke.texi (-d letters doc): Remove the jump2 pass.
12191 2001-07-12 Steve Ellcey <sje@cup.hp.com>
12193 * toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef.
12195 Thu Jul 12 17:57:16 CEST 2001 Jan Hubicka <jh@suse.cz>
12197 * flow.c (try_optimize_cfg): Delete whole chain of trivially dead
12199 (verify_flow_info): Make diagnostics prettier.
12201 Thu Jul 12 16:48:54 CEST 2001 Jan Hubicka <jh@suse.cz>
12203 * flow.c (find_basic_blocks_1): Do not emit NOP after call.
12205 * flow.c (outgoing_edges_match): Return early if condition reversal
12208 2001-07-06 Richard Sandiford <rsandifo@redhat.com>
12210 * config/mips/mips.c (print_operand): Extend '%D' to memory operands.
12211 (mips_move_2words): When splitting a move into two instructions,
12212 prefix the second address operand with '%D'.
12214 2001-07-12 Neil Booth <neil@daikokuya.demon.co.uk>
12216 * Makefile.in (final.o): Depend on debug.h.
12217 * dbxout.c (dbxout_begin_block, dbxout_end_block): New.
12218 (dbx_debug_hooks): Add new hooks.
12219 (xcoff_debug_hooks): New.
12220 * debug.c (debug_nothing_file_int_int): New.
12221 (do_nothing_debug_hooks): Update.
12222 * debug.h (gcc_debug_hooks): New hooks begin_block and end_block.
12223 (debug_nothing_file_int_int): New.
12224 * dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make
12225 static, update prototype.
12226 (dwarf2_debug_hooks): Update.
12227 * dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove.
12228 * dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make
12229 static, update prototype.
12230 (dwarf_debug_hooks): Update.
12231 * dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove.
12232 * final.c: Include debug.h.
12233 (final_scan_insn): Use debug hooks when beginning and ending blocks.
12234 * sdbout.c (sdbout_begin_block, sdbout_end_block): Make
12235 static, update prototype.
12236 (sdb_debug_hooks): Update.
12237 * sdbout.h (sdbout_begin_block, sdbout_end_block): Remove.
12238 * toplev.c: Distinguish between xcoff and dbx.
12240 * f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_):
12241 Call all debug hooks, not just dwarf ones.
12243 2001-07-11 Timothy Wall <twall@redhat.com>
12245 * config.gcc: Add configuration for AIX5/IA64.
12246 * config/ia64/aix.h: New. AIX5/IA64-specific configuration.
12247 * config/ia64/crt[in].asm: New. Generic static ctor/dtor
12248 support prefix/suffix code.
12249 * config/ia64/t-aix: New. Makefile fragment.
12250 * config/ia64/unwind-aix.c: New. Unwind table entry lookup.
12252 2001-07-11 Kazu Hirata <kazu@hxi.com>
12254 * recog.c (validate_change): Fix a comment typo.
12256 2001-07-11 Neil Booth <neil@daikokuya.demon.co.uk>
12258 * Makefile.in (c-lex.o): Wrap long lines. Depend on debug.h.
12259 * c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
12261 * dbxout.c (dbx_debug_hooks): Add new hooks.
12262 (dbxout_start_new_source_file): Rename dbxout_start_source_file,
12264 (dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
12266 * dbxout.h (dbxout_start_new_source_file,
12267 dbxout_resume_previous_source_file): Delete.
12268 * debug.c (do_nothing_debug_hooks): Add new hooks.
12269 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
12270 (debug_nothing_int_charstar, debug_nothing_int): New.
12271 * debug.h (gcc_debug_hooks): New hooks define, undef,
12272 start_source_file and end_source_file.
12273 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
12274 (debug_nothing_int_charstar, debug_nothing_int): New.
12275 * dwarf2out.c (dwarf2_debug_hooks): Add new hooks. Move into
12276 the conditionally compiled section.
12277 (dwarf2out_start_source_file, dwarf2out_end_source_file,
12278 dwarf2out_define, dwarf2out_undef): Make static.
12279 * dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
12280 dwarf2out_define, dwarf2out_undef): Remove.
12281 * dwarfout.c (dwarf_debug_hooks): Add new hooks.
12282 (dwarfout_start_source_file, dwarfout_end_source_file,
12283 dwarfout_define, dwarfout_undef): Make static.
12284 (dwarfout_start_source_file_check,
12285 dwarfout_end_source_file_check): New.
12286 (dwarfout_define, dwarfout_finish): Update.
12287 * dwarfout.h (dwarfout_start_new_source_file,
12288 dwarfout_resume_previous_source_file, dwarfout_define,
12289 dwarfout_undef): Remove.
12290 * sdbout.c (sdb_debug_hooks): Add new hooks.
12291 (sdbout_start_new_source_file): Rename sdbout_start_source_file,
12293 (sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
12294 make static, take an arg.
12295 * sdbout.h (sdbout_start_new_source_file,
12296 sdbout_resume_previous_source_file): Delete.
12297 * toplev.c (debug_start_source_file, debug_end_source_file,
12298 debug_define, debug_undef): Delete.
12299 * toplev.h (debug_start_source_file, debug_end_source_file,
12300 debug_define, debug_undef): Delete.
12302 * java/jcf-parse.c: Include debug.h.
12303 (parse_class_file): Update to use debug hooks directly.
12304 * java/Make-lang.in (jcf-parse.o): Depend on debug.h.
12306 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12308 * alias.c (set_mem_alias_set): New function.
12309 * rtl.h (set_mem_alias_set): Declare it.
12310 * builtins.c (expand_builtin_return_addr): Call it instead of
12311 using MEM_ALIAS_SET accessor.
12312 (expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise.
12313 (get_memory_rtx, expand_builtin_va_arg): Likewise.
12314 (expand_builtin_va_copy):Likewise.
12315 * caller-save.c (setup_save_areas): Likewise.
12316 * calls.c (compute_argument_addresses): Likewise.
12317 * explow.c (set_mem_attributes): Likewise.
12318 * expr.c (emit_single_push_insn, emit_push_insn): Likewise.
12319 (expand_assignment, store_constructor_field, store_field): Likewise.
12320 (expand_expr_unaligned): Likewise.
12321 * function.c (assign_stack_temp_for_type): Likewise.
12322 (put_reg_into_stack, gen_mem_addressof): Likewise.
12323 * ifcvt.c (noce_try_cmove_arith): Likewise.
12324 * reload1.c (reload, alter_reg): Likewise.
12325 * config/alpha/alpha.c (get_aligned_mem): Likewise.
12326 (alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise.
12327 (alpha_expand_unaligned_store): Likewise
12328 (alpha_expand_unaligned_load_words): Likewise.
12329 (alpha_expand_unaligned_store_words): Likewise.
12330 (alpha_expand_block_clear, alpha_expand_prologue): Likewise.
12331 (alpha_expand_epilogue): Likewise.
12332 * config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
12333 * config/clipper/clipper.c (clipper_builtin_saveregs): Likewise.
12334 * config/i386/i386.c (legitimize_pic_address): Likewise.
12335 * config/i960/i960.c (setup_incoming_varargs): Likewise.
12336 * config/ia64/ia64.c (spill_restore_mem): Likewise.
12337 * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
12338 * config/m8k/m88k.c (m88k_builtin_saveregs): Likewise.
12339 * config/mips/mips.c (mips_va_arg): Likewise.
12340 * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
12341 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
12342 * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
12343 (setup_incoming_varargs, rs6000_va_arg): Likewise.
12344 (rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise.
12345 (rs6000_emit_epilogue): Likewise.
12346 * config/sh/sh.c (sh_builtin_saveregs): Likewise.
12347 * config/sparc/sparc.c (sparc_va_arg): Likewise.
12348 * config/v850/v850.c (v850_va_arg): Likewise.
12350 Wed Jul 11 21:27:25 CEST 2001 Jan Hubicka <jh@suse.cz>
12352 * flow.c (merge_blocks_move_successor_nojumps): Do not crash
12353 when fallthru edge is present.
12354 (mege_blocks): Handle case where creation of jump insn
12357 * basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP,
12358 CLEANUP_POST_REGSTACK): New constants.
12359 * except.c (finish_eh_generation): Update call of cleanup_cfg,
12360 * jump.c (rtx_renumbered_equal_p): Handle 't' fields.
12361 * output.h (cleanup_cfg): Update prototype.
12362 * reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize
12363 * sibcall.c (optimize_sibling_and_tail_recursive_call): Update
12364 cleanup_cfg call; kill missleading comment.
12365 * toplev.c (rest_of_compilation): Update all cleanup_cfg calls.
12366 * flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode
12367 parameter; control optimizations performed using it.
12368 (flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
12369 try_crossjump_bb): New functions.
12371 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
12373 * pa.c (pa_output_function_prologue): Delete prototype. Make function
12375 * pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
12376 pa_output_function_prologue.
12377 * pa-protos.h (pa_output_function_prologue): New prototype.
12379 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
12381 * stmt.c (emit_case_nodes): Widen high and low instead of new_bound
12382 and low to get correct sign extension in low+high test.
12384 2001-07-11 Janis Johnson <janis@us.ibm.com>
12386 * gcov.c (arcdata): Use gcov_type to fix branch percentage
12387 for large hit count.
12389 * profile.c (branch_prob): Fix .bbg info for computed gotos
12392 2001-07-11 Mark Mitchell <mark@codesourcery.com>
12394 * stmt.c (parse_output_constraint): New function, split out
12396 (expand_asm_operands): ... here. Use parse_output_constraint.
12397 * tree.h (parse_output_constraint): Declare it.
12399 2001-07-11 Richard Henderson <rth@redhat.com>
12401 * bitmap.c: Comment some functions; fiddle whitespace.
12402 (bitmap_free): Don't export.
12403 (bitmap_element_allocate): Use memset.
12404 * bitmap.h (bitmap_free): Don't declare.
12406 2001-07-11 Daniel Berlin <dan@cgsoftware.com>
12408 * gcse.c, lcm.c, sched-deps.c:
12409 s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
12411 * flow.c (flow_loops_find): Free dom if we found no loops, since
12412 we aren't going to save it.
12414 * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are
12417 Wed Jul 11 09:00:48 2001 Jeffrey A Law (law@cygnus.com)
12419 * ssa-ccp.c (ssa_fast_dce): Free worklist when completed.
12421 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12423 * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
12424 #ifndef DWARF2_DEBUGGING_INFO.
12426 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
12428 * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
12430 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
12432 * config/mips/mips.c (gen_int_relational): Tell the caller not to
12433 reverse a branch if a NE comparison is implemented with GTU.
12435 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
12436 H.J. Lu <hjl@gnu.org>
12438 * mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for
12439 constant addresses.
12440 (call_internal2): Likewise.
12441 (call_value_internal1): Likewise.
12442 (call_value_internal2): Likewise.
12443 (call_value_multiple_internal1): Likewise.
12444 (call_value_multiple_internal2): Likewise.
12446 2001-07-10 Kazu Hirata <kazu@hxi.com>
12448 * calls.c (emit_library_call_value_1): Fix a comment typo.
12449 * dwarf2out.c (mem_loc_descriptor): Likewise.
12450 * config/i386/i386.c (ix86_expand_aligntest): Likewise.
12452 2001-07-11 David Billinghurst <David.Billinghurst@riotinto.com>
12454 * simplify-rtx.c (simplify_subreg): Fix typo in comment
12456 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12458 * recog.c (offsettable_address_p): Handle LO_SUM case.
12459 * config/mips/mips.c (double_memory_operand): Use adjust_address_nv
12460 instead of plus_constant.
12462 2001-07-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
12464 * reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
12465 fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.
12467 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12469 * config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
12470 adjust_address_nv instead of plus_constant.
12472 2001-07-10 Neil Booth <neil@daikokuya.demon.co.uk>
12474 * Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
12475 dwarf2out.o): Depend on debug.h, wrap long lines.
12476 * dbxout.c: Include debug.h.
12477 (dbx_debug_hooks): New.
12478 (dbxout_init): Make static, take just 2 args.
12479 (dbxout_finish): Make static.
12480 * dbxout.h (dbxout_init, dbxout_finish): Delete.
12481 * debug.c: New file.
12482 * debug.h: New file.
12483 * dwarf2out.c: Include debug.h.
12484 (dwarf2_debug_hooks): New.
12485 (dwarf2out_init): Make static.
12486 (dwarf2out_finish): Make static, take 2 args.
12487 * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
12488 * dwarfout.c: Include debug.h.
12489 (dwarf_debug_hooks): New.
12490 (dwarfout_init): Make static.
12491 (dwarfout_finish): Make static, take 2 args.
12492 * dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
12493 * sdbout.c: Include debug.h.
12494 (sdb_debug_hooks): New.
12495 (sdbout_init): Make static, take 2 args.
12496 * sdbout.h (sdbout_init): Delete.
12497 * toplev.c: Include debug.h.
12498 (debug_hooks): New.
12499 (compile_file): Set deubg_hooks based on command line options.
12500 Use the hooks unconditionally rather than conditional compilation.
12502 Tue Jul 10 09:04:45 2001 Jeffrey A Law (law@cygnus.com)
12504 * ssa-ccp.c (first_phi_node): Remove. Replace uses with calls to
12505 first_insn_after_basic_block_note instead.
12507 * df.c (df_bb_refs_unlink): #if 0 out for now.
12509 2001-07-10 David Billinghurst <David.Billinghurst@riotinto.com
12511 * ssa.h: Add prototype for ssa_const_prop
12512 * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
12513 (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
12514 (ssa_fast_dce): Remove unused variable
12516 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
12518 * diagnostic.c (finish_diagnostic): Rename to
12519 diagnostic_finish. Make it take an 'output_buffer *'. Adjust
12522 2001-07-10 Jason Merrill <jason_merrill@redhat.com>
12524 * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
12527 * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
12528 (dump_file): Only pad the demangled name with spaces if the
12529 mangled name was padded with spaces.
12531 2001-07-10 Bernd Schmidt <bernds@redhat.com>
12533 * bb-reorder.c (make_reorder_chain_1): Correct branch/fallthru
12536 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12538 * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
12539 extraction if no direct load if either EXPAND_CONST_ADDRESS or
12540 EXPAND_INITIALIZER.
12542 * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
12543 whether can put offset inside LO_SUM to check mode alignment, not size.
12545 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
12547 * doc/tm.texi (Misc): Fix thinko.
12549 2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>
12551 * regmove.c (replace_in_call_usage): Fix warnings.
12552 * sched-deps.c (add_dependence): Fix warnings.
12553 * simplify-rtx.c (simplify_subreg): Likewise.
12554 Return NULL_RTX instead of NULL.
12556 * reg-stack.c (emit_swap_insn): Eliminate warnings.
12557 (subst_asm_stack_regs): Likewise.
12559 * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
12562 * dwarf2out.c (output_call_frame_info): Declare i as int.
12563 (build_abbrev_table): Declare n_alloc as int.
12564 (dwarf2out_finish): Initialize die.
12565 * except.c: Declare sjlj_funcdef_number as unsigned.
12566 (connect_post_landing_pads): Declare j as unsigned.
12567 (convert_to_eh_region_ranges): Initialize call_site.
12568 (output_function_exception_table): Initialize tt_format_size.
12569 * expr.c (move_by_pieces_1): Initialize to1.
12570 (store_constructor): Initialize minelt and maxelt.
12571 * flow.c (mark_regs_live_at_end): Declare i as unsigned.
12572 * function.c (instantiate_decls): Avoid signed/unsigned warning.
12574 * c-decl.c (combine_parm_decls): Unused, remove.
12575 * c-tree.h: Remove prototype for combine_parm_decls.
12577 * reload.c (push_reload): Fix warning.
12578 (regno_clobbered_p): Likewise.
12579 * reload1.c (replace_pseudos_in_call_usage): Likewise.
12580 (reload_combine): Likewise.
12582 * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
12583 * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
12585 * bitmap.c (bitmap_operation): Change user.
12586 * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
12588 2001-07-10 Eric Christopher <echristo@redhat.com>
12590 * config/mips/mips.c (override_options): Fix typo.
12592 2001-07-09 Stan Shebs <shebs@apple.com>
12594 * target.h (struct gcc_target): New fields init_builtins and
12596 * target-def.h (TARGET_INIT_BUILTINS): New macro.
12597 (TARGET_EXPAND_BUILTIN): New macro.
12598 (TARGET_INITIALIZER): Add them.
12599 * builtins.c: Include target.h.
12600 (expand_builtin): Use targetm.expand_builtin.
12601 (default_init_builtins): New function.
12602 (default_expand_builtin): New function.
12603 * expr.h (default_init_builtins): Declare.
12604 (default_expand_builtin): Declare.
12605 * c-common.c (c_common_nodes_and_builtins): Use
12606 targetm.init_builtins.
12607 * defaults.h (MD_INIT_BUILTINS): Remove.
12608 * Makefile.in (builtins.o): Depend on target.h.
12610 * config/arm/arm.c (TARGET_INIT_BUILTINS): Define.
12611 (TARGET_EXPAND_BUILTIN): Define.
12612 * config/arm/arm.h (MD_INIT_BUILTINS): Remove.
12613 (MD_EXPAND_BUILTIN): Remove.
12615 * config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define.
12616 (TARGET_EXPAND_BUILTIN): Define.
12617 (c4x_init_builtins): Make endlink arg a local.
12618 (c4x_print_operand): Fix typos in adjust_address usages.
12619 * config/c4x/c4x-protos.h (c4x_init_builtins): Update decl.
12620 * config/c4x/c4x.h (MD_INIT_BUILTINS): Remove.
12621 (MD_EXPAND_BUILTIN): Remove.
12623 * config/i386/i386.c (TARGET_INIT_BUILTINS): Define.
12624 (TARGET_EXPAND_BUILTIN): Define.
12625 (ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins.
12626 (ix86_init_builtins): Call new function only if TARGET_MMX.
12627 * config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare.
12628 * config/i386/i386.h (MD_INIT_BUILTINS): Remove.
12629 (MD_EXPAND_BUILTIN): Remove.
12631 * config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define.
12632 (TARGET_EXPAND_BUILTIN): Define.
12633 * config/ia64/ia64.h (MD_INIT_BUILTINS): Remove.
12634 (MD_EXPAND_BUILTIN): Remove.
12636 * doc/tm.texi: Document these changes.
12638 2001-07-09 Diego Novillo <dnovillo@redhat.com>
12640 * basic-block.h (tree_node): Forward declare if needed.
12641 (struct basic_block_def): Add fields 'head_tree' and 'end_tree'.
12642 (BLOCK_HEAD_TREE): Define.
12643 (BLOCK_END_TREE): Define.
12644 (struct loops): Rename field 'tree' to 'tree_root'.
12645 * flow.c (entry_exit_blocks): Add initializers for 'head_tree' and
12647 (flow_loops_tree_build): Rename reference to field 'tree' to
12649 (flow_loops_level_compute): Ditto.
12650 * predict.c (estimate_bb_frequencies): Ditto.
12651 * tree.h (struct tree_common): Add field 'aux'.
12653 2001-07-09 Stan Shebs <shebs@apple.com>
12655 * config/darwin.c (darwin_encode_section_info): Don't mark any
12656 DECL_EXTERNAL node as defined.
12658 2001-07-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
12660 * pa.c (pa_init_machine_status, pa_mark_machine_status,
12661 pa_free_machine_status, hppa_init_pic_save): Delete.
12662 (hppa_pic_save_rtx): New. Use get_hard_reg_initial_val.
12663 (hppa_profile_hook): Use hppa_pic_save_rtx.
12664 * pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX,
12665 hppa_init_pic_save): Delete.
12666 (hppa_pic_save_rtx): Declare.
12667 * pa.md (call, call_value, sibcall, sibcall_value,
12668 builtin_setjmp_receiver): Use hppa_pic_save_rtx.
12670 2001-07-09 Kazu Hirata <kazu@hxi.com>
12672 * config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi.
12673 * config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise.
12675 2001-07-09 Andreas Jaeger <aj@suse.de>
12677 * output.h: Add declaration of final_forward_branch_p.
12679 * config/i386/i386.c (output_fix_trunc): Remove unused variable.
12681 * varray.c: Include errors.h for internal_error and trim_filename
12684 * Makefile.in (varray.o): Add errors.h.
12686 2001-07-09 Toon Moene <toon@moene.indiv.nluug.nl>
12688 * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
12689 * optabs.c (have_add2_insn): Check whether the add insn chosen
12690 really accepts the operands. (have_sub2_insn): Ditto for sub insn.
12691 * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn.
12693 Mon Jul 9 13:26:40 2001 Jeffrey A Law (law@cygnus.com)
12695 * Makefile.in (OBJS): Add ssa-ccp.o
12696 (ssa-ccp.o): Add dependencies.
12697 * toplev.c (DFI_ssa_ccp): New dump file enum.
12698 (dump_file): Add entry for dumping after SSA CCP.
12699 (flag_ssa_ccp): New flag variable.
12700 (f_options): Add -fssa-ccp.
12701 (rest_of_compilation): Run SSA CCP if requested.
12702 * timevar.def (TV_SSA_CCP): New timevar.
12703 * ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes.
12704 * doc/gcc.texi (Passes): Add documentation for SSA CCP pass.
12705 Fix minor typo in SSA DCE documentation.
12706 * doc/invoke.texi: Add documentation for new flag -fssa-ccp.
12707 Add documentation for new dump option. Renumber dump files
12710 Mon Jul 9 21:36:00 CEST 2001 Jan Hubicka <jh@suse.cz>
12712 * emit-rtl.c (gen_highpart_mode): New.
12713 * rtl.h (gen_highpart_mode): Declare.
12714 * sparc.md (insn splitters): Use gen_highpart_mode, whenever the
12715 operand can be VOIDmode constant.
12717 Mon Jul 9 17:23:10 CEST 2001 Jan Hubicka <jh@suse.cz>
12719 * flow.c (redirect_edge_and_branch_force): New.
12720 (can_fallthru): Ensure that basic blocks are succeeding.
12721 (try_optimize_cfg): Do not delete basic block if it is the last one.
12723 * flow.c (try_redirect_by_replacing_jump): Do not remove
12724 jumps with side effects, unlink chain on fallthru edge;
12725 set block for new jump instruction; avoid basic block to
12726 over by line number note.
12728 * flow.c (try_simplify_condjump): Verify that the condjump
12729 is not always falling through.
12732 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
12734 * flow.c (forwarder_block_p): Fix for fallthru blocks.
12735 (try_redirect_by_replacing_jump): Update properly the count
12736 and frequency information.
12738 Mon Jul 9 06:41:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12740 * emit-rtl.c (adjust_address, adjust_address_nv): Handle an
12741 address that is a LO_SUM specially.
12742 * explow.c (plus_constant_wide, case LO_SUM): Deleted.
12744 * c-lang.c (start_cdtor): Remove extra parameter from start_function.
12746 * emit-rtl.c (adjust_address_nv, replace_equiv_address_nv): New fcns.
12747 (operand_subword): Use them.
12748 (change_address_1): Renamed from change_address; new arg VALIDATE.
12749 * expr.h: Reflect above changes; change_address now macro.
12750 * alias.c (canon_rtx): Use replace_equiv_address_nv instead of
12752 * cselib.c (add_mem_for_addr): Likewise.
12753 * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
12754 * regmove.c (try_apply_stack_adjustment): Likewise.
12755 * reload.c (push_reload, make_memloc): Likewise.
12756 * reload1.c (eliminate_regs): Likewise.
12757 * simplify-rtx.c (simplify_replace_rtx): Likewise.
12758 * caller-save.c (setup_save_areas): Use adjust_address_nv instead of
12760 * combine.c (make_extraction, simplify_shift_const): Likewise.
12761 (gen_lowpart_for_combine): Likewise.
12762 * cse.c (gen_lowpart_if_possible): Likewise.
12763 * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
12764 * expr.c (expand_expr, case COMPONENT_REF): Likewise.
12765 * optabs.c (gen_move_insn): Likewise.
12766 * reload1.c (alter_reg): Likewise.
12767 * simplify-rtx.c (simplify_subreg): Likewise.
12768 * stmt.c (expand_anon_union_decl): Likewise.
12769 * recog.c (validate_replace_rtx_1): Likewise.
12771 * Makefile.in (recog.o): Add $(EXPR_H).
12772 * explow.c (stabilize): Call replace_equiv_address.
12773 * expr.c (move_by_pieces_1, store_by_pieces_2): Likewise.
12774 * final.c (alter_subreg): OFFSET is HOST_WIDE_INT.
12776 2001-07-03 Andrew Haley <aph@redhat.com>
12778 * expmed.c (store_fixed_bit_field): Don't use a mode bigger than
12779 the mode of the memory location.
12781 2001-07-09 Bo Thorsen <bo@suse.co.uk>
12783 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix x86-64 vtable support.
12785 2001-07-09 Neil Booth <neil@daikokuya.demon.co.uk>
12787 * final.c (output_addr_const): Use target opening and
12788 closing parentheses.
12789 * target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN
12790 defaults, add to TARGET_ASM_OUT.
12791 * target.h (struct gcc_target): Add open_paren and close_paren.
12792 * doc/md.texi: Update.
12793 * doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE,
12794 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and
12795 TARGET_ASM_CLOSE_PAREN.
12796 * config/i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
12798 * config/pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
12800 * config/1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
12801 * config/a29k/a29k.h: Similarly.
12802 * config/alpha/alpha.h: Similarly.
12803 * config/arc/arc.h: Similarly.
12804 * config/arm/aof.h: Similarly.
12805 * config/arm/aout.h: Similarly.
12806 * config/avr/avr.h: Similarly.
12807 * config/c4x/c4x.h: Similarly.
12808 * config/clipper/clipper.h: Similarly.
12809 * config/convex/convex.h: Similarly.
12810 * config/d30v/d30v.h: Similarly.
12811 * config/dsp16xx/dsp16xx.h: Similarly.
12812 * config/elxsi/elxsi.h: Similarly.
12813 * config/fr30/fr30.h: Similarly.
12814 * config/h8300/h8300.h: Similarly.
12815 * config/i370/i370.h: Similarly.
12816 * config/i386/i386.h: Similarly.
12817 * config/i860/i860.h: Similarly.
12818 * config/i960/i960.h: Similarly.
12819 * config/ia64/ia64.h: Similarly.
12820 * config/m32r/m32r.h: Similarly.
12821 * config/m68hc11/m68hc11.h: Similarly.
12822 * config/m68k/m68k.h: Similarly.
12823 * config/m88k/m88k.h: Similarly.
12824 * config/mcore/mcore.h: Similarly.
12825 * config/mips/mips.h: Similarly.
12826 * config/mn10200/mn10200.h: Similarly.
12827 * config/mn10300/mn10300.h: Similarly.
12828 * config/ns32k/ns32k.h: Similarly.
12829 * config/pa/pa.h: Similarly.
12830 * config/pdp11/pdp11.h: Similarly.
12831 * config/pj/pj.h: Similarly.
12832 * config/romp/romp.h: Similarly.
12833 * config/rs6000/rs6000.h: Similarly.
12834 * config/sh/sh.h: Similarly.
12835 * config/sparc/sparc.h: Similarly.
12836 * config/v850/v850.h: Similarly.
12837 * config/vax/vax.h: Similarly.
12838 * config/we32k/we32k.h: Similarly.
12840 2001-07-09 Joseph S. Myers <jsm28@cam.ac.uk>
12842 * doc/c-tree.texi: Document representation of attributes.
12844 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
12846 * doc/tm.texi: Update some places for the rename of target to
12849 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
12851 * target.h (struct gcc_target): Add insert_attributes.
12852 * target-def.h (TARGET_INSERT_ATTRIBUTES): Define.
12853 (TARGET_INITIALIZER): Update.
12854 * tree.c, tree.h (default_insert_attributes): New function.
12855 Update comments on other default functions to refer to targetm,
12857 * doc/tm.texi (INSERT_ATTRIBUTES): Update to document
12858 TARGET_INSERT_ATTRIBUTES.
12859 (SET_DEFAULT_DECL_ATTRIBUTES): Remove.
12860 * c-common.c (decl_attributes): Use targetm.insert_attributes.
12861 Don't use PRAGMA_INSERT_ATTRIBUTES.
12862 * Makefile.in (c-common.o): Depend on $(TARGET_H).
12863 * c-decl.c (start_decl, start_function): Don't call
12864 SET_DEFAULT_DECL_ATTRIBUTES.
12865 * config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
12866 * config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't
12868 * config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define.
12869 (c4x_check_attribute): Avoid modifying attribute list itself.
12870 (c4x_set_default_attributes): Rename to c4x_insert_attributes.
12872 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define.
12873 * config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't
12875 * config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define.
12876 (sh_pragma_insert_attributes): Rename to sh_insert_attributes.
12878 * config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
12879 * config/v850/v850-protos.h (v850_set_default_decl_attr): Don't
12881 * config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define.
12882 (v850_set_default_decl_attr): Rename to v850_insert_attributes.
12883 Adjust parameters. Make static.
12885 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
12887 * c-common.c (decl_attributes): Only take a single attributes
12889 * c-common.h (decl_attributes): Update prototype.
12890 * c-decl.c (start_decl, start_function): Only take a single
12891 attributes parameter. Update calls to decl_attributes.
12892 (finish_struct, finish_enum): Update calls to decl_attributes.
12893 (push_parm_decl): Expect unified list of attributes. Update call
12894 to decl_attributes.
12895 * c-parse.in (fndef, initdcl, notype_initdcl, nested_function,
12896 notype_nested_function, component_declarator,
12897 component_notype_declarator, label): Update calls to
12899 (absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute
12900 lists that are passed to push_parm_decl.
12901 * c-tree.h (start_function, start_decl): Update prototypes.
12902 * config/sh/sh-protos.h, config/sh/sh.c
12903 (sh_pragma_insert_attributes): Only take a single attributes
12905 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise.
12906 * doc/tm.texi (INSERT_ATTRIBUTES): Update.
12907 * objc/objc-act.c (define_decl, generate_objc_symtab_decl,
12908 build_module_descriptor, generate_static_references,
12909 generate_strings, build_selector_translation_table,
12910 generate_descriptor_table, generate_protocols,
12911 generate_ivars_list, generate_dispatch_table,
12912 generate_protocol_list, generate_category,
12913 generate_shared_structures, really_start_method, add_objc_decls,
12914 generate_classref_translation_entry): Update calls to start_decl
12915 and start_function.
12916 (build_tmp_function_decl, start_method_def): Unify attribute lists
12917 that are passed to push_parm_decl.
12919 2001-07-08 Neil Booth <neil@daikokuya.demon.co.uk>
12921 * final.c (no_asm_to_stream): New.
12922 (final_scan_insn): Use target structures for prologue ends
12923 and epilogue starts.
12924 * output.h (no_asm_to_stream): New.
12925 * target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE,
12926 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New.
12927 (TARGET_ASM_OUT): Update.
12928 * target.h (struct gcc_target): New members function_end_prologue
12929 and function_begin_epilogue.
12930 * config/1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused.
12931 * config/alpha/alpha-protos.h (output_end_prologue): Delete.
12932 * config/alpha/alpha.c (output_end_prologue): Rename to
12933 alpha_output_function_end_prologue. Use in target struct
12935 * config/alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete.
12936 * config/ia64/ia64-protos.h (ia64_output_end_prologue): Delete.
12937 * config/ia64/ia64.c (ia64_output_end_prologue): Rename to
12938 ia64_output_function_end_prologue. Use in target struct
12940 (ia64_function_prologue, ia64_funciton_epilogue): Rename
12941 mistyped prototypes.
12942 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete.
12943 * config/m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue):
12945 * config/m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename
12946 an use in target struct, make static.
12947 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE):
12950 2001-07-08 Richard Henderson <rth@redhat.com>
12952 * stmt.c (emit_case_nodes): Convert modes properly in low+high test.
12954 2001-07-08 Richard Henderson <rth@redhat.com>
12956 * config/i386/i386.md: Remove constraints strings from define_split
12957 and define_peephole2 patterns.
12958 (eh_return_si, eh_return_di): Split eh_return_1 for modes.
12959 (eh_return): Use them.
12961 2001-07-08 Richard Henderson <rth@redhat.com>
12963 * doc/tm.texi (Exception Handling): New subnode of Stack and Calling.
12964 Document MD_FALLBACK_FRAME_STATE_FOR.
12966 2001-07-07 Stephane Carrez <Stephane.Carrez@worldnet.fr>
12968 * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset):
12969 Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM
12971 * config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0.
12973 2001-07-07 Nick Clifton <nickc@cambridge.redhat.com>
12975 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end
12976 of the label inside NAME as opposed to just the end of NAME.
12978 2001-07-07 Neil Booth <neil@daikokuya.demon.co.uk>
12980 * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
12981 * config/alpha/alpha.c (alpha_init_machine_status,
12982 alpha_mark_machine_status, alpha_free_machine_status): Delete.
12983 (TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
12984 (vms_valid_decl_attribute_p): Make static, conditionally compile.
12985 * config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.
12987 2001-07-06 Stan Shebs <shebs@apple.com>
12989 * target.h (targetm): Rename global from "target", so as not to
12990 conflict with local variables.
12992 * c-typeck.c: Ditto.
12995 * cp/decl.c: Ditto.
12996 * cp/decl2.c: Ditto.
12997 * cp/typeck.c: Ditto.
12998 * 1750a/1750a.c: Ditto.
12999 * a29k/a29k.c: Ditto.
13000 * arc/arc.c: Ditto.
13001 * arm/arm.c: Ditto.
13002 * avr/avr.c: Ditto.
13003 * clipper/clipper.c: Ditto.
13004 * convex/convex.c: Ditto.
13005 * d30v/d30v.c: Ditto.
13006 * dsp16xx/dsp16xx.c: Ditto.
13007 * elxsi/elxsi.c: Ditto.
13008 * fr30/fr30.c: Ditto.
13009 * h8300/h8300.c: Ditto.
13010 * i370/i370.c: Ditto.
13011 * i386/i386.c: Ditto.
13012 * i860/i860.c: Ditto.
13013 * i960/i960.c: Ditto.
13014 * ia64/ia64.c: Ditto.
13015 * m32r/m32r.c: Ditto.
13016 * m68hc11/m68hc11.c: Ditto.
13017 * m68k/m68k.c: Ditto.
13018 * m88k/m88k.c: Ditto.
13019 * mips/mips.c: Ditto.
13020 * ns32k/ns32k.c: Ditto.
13022 * pdp11/pdp11.c: Ditto.
13023 * romp/romp.c: Ditto.
13024 * rs6000/rs6000.c: Ditto.
13026 * sparc/sparc.c: Ditto.
13027 * vax/vax.c: Ditto.
13028 * we32k/we32k.c: Ditto.
13029 * doc/tm.texi: Update the manual to match.
13031 2001-07-06 Richard Henderson <rth@redhat.com>
13033 * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
13034 DWARF2_UNWIND_INFO not just whether it is defined.
13036 2001-07-06 Diego Novillo <dnovillo@redhat.com>
13038 * combine.c (combine_simplify_rtx): Also recompute 'mode' if the
13039 call to simplify_binary_operation returns a new pattern.
13041 2001-07-06 Roman Lechtchinsky <rl@cs.tu-berlin.de>
13043 * glimits.h (__SHRT_MAX__): New.
13044 (SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX.
13045 (SHRT_MAX): Define in terms of __SHRT_MAX__.
13047 2001-07-06 Jan van Male <jan.vanmale@fenk.wau.nl>
13049 * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
13052 2001-07-06 Richard Henderson <rth@redhat.com>
13054 * bitmap.c (bitmap_release_memory): Move adjacent to the
13055 allocation functions.
13056 (bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing
13057 the implementation. Binary search for the set bit.
13058 (bitmap_union_of_diff): Allocate the temporary on the stack
13059 instead of using xmalloc.
13061 2001-07-06 Richard Henderson <rth@redhat.com>
13063 * genrecog.c (validate_pattern): Warn for constraints in
13064 define_{expand,split,peephole2}. Remove strict_low_part
13065 before looking up match_dup.
13067 2001-07-06 DJ Delorie <dj@redhat.com>
13069 * doc/gcc.texi (Makefile): Rename to be a more general purpose
13070 chapter about various build hints and history. Add section
13071 talking about the various types of native and cross builds.
13073 2001-07-06 Neil Booth <neil@daikokuya.demon.co.uk>
13075 * Makefile.in (final.o): Depend on target.h.
13076 * final.c: Include target.h.
13077 (default_function_pro_epilogue): New.
13078 (final_start_function): Use target structure for function prologues.
13079 (final_end_function): Use target structure for function epilogues.
13080 * fold-const.c (real_hex_to_f): Constify s and p.
13081 * output.h (default_function_pro_epilogue): New.
13082 * real.h (real_hex_to_f): Update prototype.
13083 * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
13084 TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
13085 (TARGET_INITIALIZER): Update.
13086 * target.h (gcc_target): Add struct asm_out.
13087 * doc/tm.texi: Update.
13090 Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
13091 TARGET_ASM_FUNCTION_EPILOGUE. Move macro code to functions
13092 in cpu/cpu.c, or rename old functions consistently. Take
13093 a HOST_WIDE INT not an int as the SIZE parameter. Remove now
13094 redundant macros and prototypes. Make new functions static.
13096 * 1750a/1750a.c: Similarly.
13097 * 1750a/1750a.h: Similarly.
13098 * a29k/a29k-protos.h: Similarly.
13099 * a29k/a29k.c: Similarly.
13100 * a29k/a29k.h: Similarly.
13101 * arc/arc-protos.h: Similarly.
13102 * arc/arc.c: Similarly.
13103 * arc/arc.h: Similarly.
13104 * arm/arm-protos.h: Similarly.
13105 * arm/arm.c: Similarly.
13106 * arm/arm.h: Similarly.
13107 * avr/avr-protos.h: Similarly.
13108 * avr/avr.c: Similarly.
13109 * avr/avr.h: Similarly.
13110 * clipper/clipper-protos.h: Similarly.
13111 * clipper/clipper.c: Similarly.
13112 * clipper/clipper.h: Similarly.
13113 * convex/convex.c: Similarly.
13114 * convex/convex.h: Similarly.
13115 * d30v/d30v-protos.h: Similarly.
13116 * d30v/d30v.c: Similarly.
13117 * d30v/d30v.h: Similarly.
13118 * d30v/d30v.md: Similarly.
13119 * dsp16xx/dsp16xx-protos.h: Similarly.
13120 * dsp16xx/dsp16xx.c: Similarly.
13121 * dsp16xx/dsp16xx.h: Similarly.
13122 * elxsi/elxsi.c: Similarly.
13123 * elxsi/elxsi.h: Similarly.
13124 * fr30/fr30.c: Similarly.
13125 * fr30/fr30.md: Similarly.
13126 * h8300/h8300-protos.h: Similarly.
13127 * h8300/h8300.c: Similarly.
13128 * h8300/h8300.h: Similarly.
13129 * i370/i370-protos.h: Similarly.
13130 * i370/i370.c: Similarly.
13131 * i370/i370.h: Similarly.
13132 * i386/i386.c: Similarly.
13133 * i386/osf1elf.h: Similarly.
13134 * i386/osfrose.h: Similarly.
13135 * i860/i860-protos.h: Similarly.
13136 * i860/i860.c: Similarly.
13137 * i860/i860.h: Similarly.
13138 * i960/i960-protos.h: Similarly.
13139 * i960/i960.c: Similarly.
13140 * i960/i960.h: Similarly.
13141 * ia64/ia64-protos.h: Similarly.
13142 * ia64/ia64.c: Similarly.
13143 * ia64/ia64.h: Similarly.
13144 * m32r/m32r-protos.h: Similarly.
13145 * m32r/m32r.c: Similarly.
13146 * m32r/m32r.h: Similarly.
13147 * m68hc11/m68hc11-protos.h: Similarly.
13148 * m68hc11/m68hc11.c: Similarly.
13149 * m68hc11/m68hc11.h: Similarly.
13150 * m68k/crds.h: Similarly.
13151 * m68k/dpx2.h: Similarly.
13152 * m68k/m68k-protos.h: Similarly.
13153 * m68k/m68k.c: Similarly.
13154 * m68k/m68k.h: Similarly.
13155 * m68k/news.h: Similarly.
13156 * m88k/m88k-protos.h: Similarly.
13157 * m88k/m88k.c: Similarly.
13158 * m88k/m88k.h: Similarly.
13159 * mips/mips-protos.h: Similarly.
13160 * mips/mips.c: Similarly.
13161 * mips/mips.h: Similarly.
13162 * ns32k/merlin.h: Similarly.
13163 * ns32k/ns32k.c: Similarly.
13164 * ns32k/ns32k.h: Similarly.
13165 * ns32k/tek6000.h: Similarly.
13166 * pa/pa-protos.h: Similarly.
13167 * pa/pa.c: Similarly.
13168 * pa/pa.h: Similarly.
13169 * pdp11/2bsd.h: Similarly.
13170 * pdp11/pdp11-protos.h: Similarly.
13171 * pdp11/pdp11.c: Similarly.
13172 * pdp11/pdp11.h: Similarly.
13173 * romp/romp-protos.h: Similarly.
13174 * romp/romp.c: Similarly.
13175 * romp/romp.h: Similarly.
13176 * rs6000/rs6000-protos.h: Similarly.
13177 * rs6000/rs6000.c: Similarly.
13178 * rs6000/rs6000.h: Similarly.
13179 * rs6000/sysv4.h: Similarly.
13180 * sh/sh-protos.h: Similarly.
13181 * sh/sh.c: Similarly.
13182 * sh/sh.h: Similarly.
13183 * sparc/sparc-protos.h: Similarly.
13184 * sparc/sparc.c: Similarly.
13185 * sparc/sparc.h: Similarly.
13186 * vax/vax.c: Similarly.
13187 * vax/vax.h: Similarly.
13188 * vax/vms.h: Similarly.
13189 * we32k/we32k.c: Similarly.
13190 * we32k/we32k.h: Similarly.
13192 Fri Jul 6 11:47:59 2001 Jeffrey A Law (law@cygnus.com)
13194 * basic-block.h (first_insn_after_basic_block_note): Declare.
13195 * flow.c (first_insn_after_basic_block_note): Define. Moved
13197 * ssa.c (first_insn_after_basic_block_note): Remove.
13198 * ssa-dce.c (find_inherently_necessary): Consider BARRIERs
13200 (ssa_eliminate_dead_code): Properly update the CFG and PHI
13201 nodes when we find a dead conditional branch. Insert BARRIERs
13202 after any blocks with no successors, but which do not have
13205 2001-07-06 Zack Weinberg <zackw@stanford.edu>
13207 * varray.c (varray_check_failed): Use internal_error.
13209 2001-07-05 Andrew Haley <aph@redhat.com>
13211 * Makefile.in (LIB2_DIVMOD_FUNCS): New.
13212 (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
13213 * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.
13215 2001-07-02 Jason Merrill <jason_merrill@redhat.com>
13217 * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
13218 reference if the target constant is also a SYMBOL_REF.
13220 2001-07-05 Eric Christopher <echristo@redhat.com>
13222 * config/mips/mips.h (MASK_MIPS3900): Remove.
13223 (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV,
13224 MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal.
13225 (TARGET_MIPS3900): Change to use mips_arch.
13226 (TARGET_MIPS4000): New.
13227 (TARGET_MIPS4100): New.
13228 (TARGET_MIPS4300): New.
13229 (TARGET_SWITCHES): Change 3900 and 4650 options to NULL.
13230 (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text
13232 (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900.
13233 (ISA_HAS_BRANCHLIKELY): To here.
13234 (CC1_CPU_SPEC): New.
13235 (CC1_SPEC): Use here. Remove 4650 and 3900 options.
13236 (mips_arch_string): Declare.
13237 (mips_arch): Declare.
13238 (TARGET_OPTIONS): Add -march and -mtune.
13240 * config/mips/mips.c (mips_arch_string): New.
13242 (override_options): Handle -march for codegen and -mtune
13243 for scheduling. Use mips_arch. Move tx39 target default here.
13244 (mips_parse_cpu): Move error message to override_options.
13246 * config/mips/r3900.h (TARGET_DEFAULT): Remove.
13248 * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300.
13250 * doc/invoke.texi (Option Summary): Add -march and -mtune entries.
13251 (MIPS Options): Ditto. Change mcpu entry to historical text.
13253 2001-07-05 H.J. Lu (hjl@gnu.org)
13255 * config/mips/mips.c (mips_parse_cpu): New function to parse
13258 2001-07-05 Jim Wilson <wilson@redhat.com>
13260 * config/ia64/lib1funcs.asm: Revert 2001-07-02 change.
13261 * config/ia64/t-ia64: Likewise.
13262 (LIB1ASMFUNCS): Update comment.
13264 2001-07-05 David Edelsohn <edelsohn@gnu.org>
13266 * doc/install.texi (Install GCC: Binaries): Fix typo.
13268 2001-07-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
13270 * config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory
13271 reference using the stack pointer, adjust it since we push Y
13273 ("*ashrsi3"): Likewise.
13274 ("*lshrsi3"): Likewise.
13276 2001-07-05 Stephane Carrez <Stephane.Carrez@worldnet.fr>
13278 * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address
13279 when -fomit-frame-pointer is used.
13281 2001-07-05 Jeffrey Oldham <oldham@codesourcery.com>
13283 * flow.c: Reverse Jan Hubicka's patch of 02July2001.
13284 (try_redirect_by_replacing_jump): Reverse updating properly the
13285 count and frequency information. Reverse removing cc0 setter.
13286 (forwarder_block_p): Reverse fixing for fallthru blocks.
13288 2001-07-05 DJ Delorie <dj@redhat.com>
13290 * gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
13291 (translate_options): If the above is defined, use it to map
13292 given options to new options.
13293 * doc/tm.texi: Document it.
13295 2001-07-05 Brad Lucier <lucier@math.purdue.edu>
13296 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13298 * doc/invoke.texi (Optimize Options): Document that -fgcse may
13299 cause programs using computed gotos to run more slowly.
13301 2001-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13303 * doc/install.texi (Specific): Markup, spelling and typo fixes.
13305 Consistently require binutils 2.11.2, not prereleases.
13306 (Specific, decstation-*): Canonicalize as mips-dec-*.
13307 (Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
13309 (Specific, m68k-altos): Removed reference to README.altos, deleted.
13310 (Specific, mips-*): Reword MIPS C compiler requirements.
13311 (Specific, powerpc*-*-*): New, mention --with-cpu once.
13312 (Specific, sunv5): Removed, obsolete.
13314 2001-07-05 Nathan Sidwell <nathan@codesourcery.com>
13316 * dwarf2out.c (output_loc_list): Use an all ones mask for
13317 .text asm output and don't rely on long long
13318 literals. Reformat some long lines.
13320 2001-07-05 Andreas Jaeger <aj@suse.de>
13322 * doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
13325 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
13327 * dwarf2out.c (dwarf2out_define): Update comment.
13328 (dwarf2out_undef): Ditto.
13329 (dwarf2out_start_source_file): Ditto.
13330 (dwarf2out_end_source_file): Ditto.
13331 (dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
13332 since we never call the start/end debug hook for the primary file.
13334 2001-07-04 Kazu Hirata <kazu@hxi.com>
13336 * config/h8300/h8300.c (get_shift_alg): Remove an extra operand
13339 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
13341 * cppinit.c (remove_dup_dirs): Inform if a system include
13342 directory is being reordered.
13343 * doc/invoke.texi (Directory Options): GCC warns if you hide a
13345 * doc/cpp.texi (Search Paths): Likewise.
13346 * doc/gcc.texi (Interoperation): Remove information about
13349 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
13351 * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
13352 (VARRAY_TOP_CHAR_PTR): Likewise.
13354 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13356 * gcc.c (process_command): Don't assign elements of a const char*.
13358 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13360 * emit-rtl.c (change_address): Don't abort if invalid address while
13361 reload is in progress.
13363 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
13365 * c-lex.c (cb_file_change): Pass line number to
13366 debug_start_source_file.
13367 (cb_undefine): Pass correct line number to debug_undef.
13369 * toplev.c (debug_start_source_file): Add line number to
13370 parameters. Pass it along to dwarf2out_start_source_file.
13371 (decode_g_option): Stop resetting debug level back to normal when
13372 we change debug formats, unless the current level is
13373 none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
13376 * toplev.h (debug_start_source_file): Add line number to
13379 * dwarf2out.h (dwarf2out_start_source_file): Add line number to
13382 * dwarf2out.c (dwarf2out_start_source_file): Add line number to
13384 Output debug_macinfo data for starting file if requested.
13385 (dwarf2out_end_source_file): Output debug_macinfo data for ending
13387 (dwarf2out_define): Output debug_macinfo data for defining a macro
13389 (dwarf2out_undef): Output debug_macinfo data for undefining a
13390 macro if requested.
13391 (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
13392 (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
13393 (macinfo_section_label): New. DWARF2 macro info section label.
13394 (dwarf2out_init): If we want macro info, output the start label
13396 (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
13397 attribute to the compilation unit die pointing to the macro info.
13399 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
13401 * dwarf2out.c (new_loc_list): Move to inside #ifdef
13402 DWARF2_DEBUGGING_INFO.
13403 (add_loc_descr_to_loc_list): Ditto.
13404 (output_loc_list): Ditto.
13405 Also, fix thinko in curr not being initialized.
13406 (gen_internal_sym): Ditto.
13408 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13410 * emit-rtl.c (replace_equiv_address): New function.
13411 * expr.h (replace_equiv_address): New declaration.
13412 * explow.c (validize_mem): Call it instead of change_address and
13413 also call if -fforce-addr and address is constant.
13414 * expr.c: Replace more calls to change_address with adjust_address
13415 and/or replace_equiv_address or to validize_mem.
13416 * function.c, regmove.c, config/alpha/alpha.c: Likewise.
13417 * config/arm/arm.md, config/clipper/clipper.md: Likewise.
13418 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
13419 * config/i370/i370.md, config/i860/i860.md: Likewise.
13420 * config/i960/i960.md, config/mips/mips.c: Likewise.
13421 * config/mips/mips.md, config/pa/pa.md: Likewise.
13422 * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
13423 * config/rs6000/rs6000.md, config/sh/sh.md: Likewise.
13425 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13427 * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
13429 * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
13432 2001-07-04 Joseph S. Myers <jsm28@cam.ac.uk>
13434 * doc/include: New directory.
13435 * doc/fdl.texi: Move to doc/include/fdl.texi.
13436 * doc/texinfo.tex: Move to doc/include/texinfo.tex.
13437 * doc/include/funding.texi, doc/include/gpl.texi: New files.
13438 * doc/gcc.texi: Use funding.texi and gpl.texi.
13439 * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
13440 $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
13441 Update dependencies and use -I $(docdir)/include.
13443 2001-07-04 Anthony Green <green@redhat.com>
13445 * config/v850/t-v850 (v850-c.o): Add missing dependencies.
13447 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13449 * doc/install.texi (sparc64-*-*): Remove garbage.
13451 Wed Jul 4 09:07:44 2001 Jan van Male <jan.vanmale@fenk.wau.nl>
13453 * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
13454 Fix typo in last change to use adjust_address.
13456 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13458 * doc/install.texi (Specific): Update information for *-*-solaris*.
13460 Tue Jul 3 22:33:15 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13462 * explow.c (plus_constant_wide): Reinitialize Y for restart.
13464 2001-07-03 Stan Shebs <shebs@apple.com>
13466 * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
13467 case for flag_no_mach_text_sections.
13468 (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
13469 * config/darwin.c (flag_no_mach_text_sections): Remove.
13470 * config/darwin-protos.h (darwin_init_pragma): Remove decl.
13472 Tue Jul 3 15:35:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13474 * explow.c (plus_constant_wide, case PLUS): Call find_constant_term
13475 and avoid checking for constant as first operand.
13476 * recog.c (find_constant_term_loc): No longer static.
13477 (adj_offettable_operand): Delete.
13478 * rtl.h (adj_offsettable_operand): Delete declaration.
13479 (find_constant_term): Add declaration.
13480 * caller-save.c: Replace calls to adj_offsettable_operand with calls
13482 * config/arm/arm.c, config/c4x/c4x.c: Likewise.
13483 * config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
13484 * config/i386/i386.c, config/i386/i386.md: Likewise.
13485 * config/i860/i860.c, config/i960/i960.c: Likewise.
13486 * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
13487 * config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
13488 * config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
13489 * config/mips/mips.c, config/mips/mips.md: Likewise.
13490 * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
13491 * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
13492 * config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
13493 * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
13494 * config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
13495 * config/ns32k/ns32k.md: Likewise.
13497 2001-07-03 Zack Weinberg <zackw@stanford.edu>
13499 * rtl.c (copy_rtx): Handle 'T' format letter.
13500 * gensupport.c (collect_insn_data): Likewise.
13501 * print-rtl.c (print_rtx): Print 'T' slots like 's'.
13503 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
13505 * doc/invoke.texi (Directory Options): Specifiy range for <N> in
13506 -B option. Use 'dir' not 'foo' as example directory name.
13508 2001-07-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13510 * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
13511 Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
13513 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
13515 * doc/cppinternals.texi: Improve formatting and logical markup.
13517 2001-07-03 Andreas Jaeger <aj@suse.de>
13519 * Makefile.in (insn-recog.o): Add dependency on reload.h.
13521 * genrecog.c (write_header): Include reload.h for prototypes in
13524 2001-07-03 Neil Booth <neil@daikokuya.demon.co.uk>
13527 * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
13528 VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
13529 * i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
13530 i386_pe_valid_type_attribute_p): Add.
13531 * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
13532 * i386/winnt.c (i386_valid_decl_attribute_p): Return directly.
13534 Mon Jul 2 21:52:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13536 * explow.c (plus_constant_wide, case LO_SUM): New case.
13537 (plus_constant_for_output_wide): Delete.
13538 * rtl.h (plus_constant_for_output): Delete.
13539 * alias.c (canon_rtx, init_alias_analysis): Call plus_constant
13540 instead of plus_constant_for_output.
13541 * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
13542 * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
13543 * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
13544 * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
13545 * config/sparc/sparc.md: Likewise.
13546 Convert some change_address calls to adjust_address.
13548 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
13550 * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
13551 doc/rtl.texi, doc/tm.texi: Improve formatting. Improve
13552 documentation of -std and -Wwrite-strings.
13554 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
13556 * cse.c (canon_hash): Don't register registers in very small
13557 register classes, as extending their lifetime might cause
13560 Mon Jul 2 23:14:00 CEST 2001 Jan Hubicka <jh@suse.cz>
13562 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
13564 * flow.c (forwarder_block_p): Fix for fallthru blocks.
13565 (try_redirect_by_replacing_jump): Update properly the count
13566 and frequency information.
13568 Mon Jul 2 14:20:13 2001 Jeffrey A Law (law@cygnus.com)
13570 * toplev.c (dump_file_index): Move SSA dumps just after first
13572 (dump_file): Corresponding changes.
13573 (rest_of_compilation): Move SSA path to just after the first
13575 * doc/gcc.texi (Passes): Update due to movement of SSA path.
13576 * doc/invoke.texi: Update dump file #s as they were completely
13577 out of date with reality.
13579 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
13581 * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.
13583 * expr.c (emit_move_insn_1): Deal with non-default
13586 * expr.c (emit_single_push_insn): Fix warning.
13588 2001-07-02 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
13590 * expr.c (emit_move_insn_1): Avoid modifying
13591 cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.
13593 Mon Jul 2 15:33:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13595 * emit-rtl.c (adjust_address): New function.
13596 * expr.h (adjust_address): Add declaration.
13597 * builtins.c: Replace some calls to change_address with calls to it
13598 or to validize_mem.
13599 * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
13600 * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
13601 * config/arm/arm.c, config/convex/convex.c: Likewise.
13602 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
13603 * config/i386/i386.c, config/i386/i386.md: Likewise.
13604 * config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
13605 * config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
13606 * config/m88k/m88k.c, config/mips/mips.md: Likewise.
13607 * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
13608 * config/sh/sh.c, config/sparc/sparc.md: Likewise.
13610 2001-07-02 Jim Wilson <wilson@redhat.com>
13612 * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
13614 2001-07-02 Steve Ellcey <sje@cup.hp.com>
13616 * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
13617 * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.
13619 2001-07-02 Zack Weinberg <zackw@stanford.edu>
13621 * cppinit.c (lang_defaults): New table.
13622 (set_lang): Just read from lang_defaults into the live options
13625 2001-07-02 Zack Weinberg <zackw@stanford.edu>
13627 * Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
13628 * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
13629 * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
13631 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13633 * doc/install.texi: Various spelling and markup fixes.
13634 (Installing GCC): Component specific installation instructions are
13637 Warn about removing old install dir in the presence of shared libs.
13638 (Configuration): Invoke with options target to match configure
13640 Consistently refer to gas, gld pathnames.
13641 Invert --enable-multilib documentation.
13642 Remove references to old compiler versions.
13644 Mon Jul 2 12:50:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13646 * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
13648 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13650 * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
13652 (Specific, mips*-sgi-irix5): Note IDO download.
13653 Reworded MIPS C hints.
13654 Use GNU as instead of GAS.
13656 Removed SGI Freeware reference, IRIX 6 only.
13657 (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
13658 Note N64 library requirement/workaround.
13660 Complete list of structure passing bug victims.
13662 2001-07-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13664 * doc/install.texi: Remove CVS Id.
13666 2001-07-02 Andreas Jaeger <aj@suse.de>
13668 * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
13669 (find_inherently_necessary): Remove unused variable.
13671 2001-07-02 Nathan Sidwell <nathan@codesourcery.com>
13673 * c-common.h (TDI_inlined): New ast dump phase.
13674 (dump_flag_name): New function.
13675 * c-dump.c (dump_files): Add inlined phase.
13676 (dump_flag_name): Define.
13677 * doc/invoke.texi (-fdump-ast-inlined): Document.
13679 Mon Jul 2 06:29:36 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13681 * stor-layout.c (layout_decl): Revert change to handling of alignment
13684 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13686 * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
13689 2001-07-01 Geoffrey Keating <geoffk@redhat.com>
13691 * doc/tm.texi (FUNCTION_ARG): Document that the last call
13694 2001-07-01 Nathan Sidwell <nathan@codesourcery.com>
13696 * tlink.c (recompile_files): Remove COMPILER_PATH and
13697 LIBRARY_PATH from the environment.
13699 2001-07-01 Zack Weinberg <zackw@stanford.edu>
13701 * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
13702 RID_LAST_PQ. Move RID_FIRST_PQ down with the other FIRST/LAST
13704 (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
13706 * c-parse.in (OBJC_STRING): Kill.
13707 (objc_string): Decompose to [objc_string] '@' STRING.
13708 (reswords): Take the leading '@' off all the Objective C keywords.
13709 (objc_rid_sans_at): Kill.
13710 (init_reswords): Don't initialize it.
13711 (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
13712 (_yylex): Kill reconsider label. Look ahead one token after
13713 an '@'; if we get an identifier, check whether it's an
13714 Objective C @-keyword. If so, return the keyword. Otherwise,
13715 put back the token and return the '@' as a terminal.
13717 * cpplib.c (lex_macro_node): Remove unnecessary check for
13718 leading '@' on identifier. Clarify control flow and commentary.
13720 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13722 * cse.c (new_label_ref): Variable deleted.
13723 (insert): Remove set of new_label_ref.
13724 (check_for_label_ref): New function.
13725 (cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
13727 See ChangeLog.5 for earlier changes.