1 Fri Jul 6 11:47:59 2001 Jeffrey A Law (law@cygnus.com)
3 * basic-block.h (first_insn_after_basic_block_note): Declare.
4 * flow.c (first_insn_after_basic_block_note): Define. Moved
6 * ssa.c (first_insn_after_basic_block_note): Remove.
7 * ssa-dce.c (find_inherently_necessary): Consider BARRIERs
9 (ssa_eliminate_dead_code): Properly update the CFG and PHI
10 nodes when we find a dead conditional branch. Insert BARRIERs
11 after any blocks with no successors, but which do not have
14 2001-07-06 Zack Weinberg <zackw@stanford.edu>
16 * varray.c (varray_check_failed): Use internal_error.
18 2001-07-05 Andrew Haley <aph@redhat.com>
20 * Makefile.in (LIB2_DIVMOD_FUNCS): New.
21 (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
22 * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.
24 2001-07-02 Jason Merrill <jason_merrill@redhat.com>
26 * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
27 reference if the target constant is also a SYMBOL_REF.
29 2001-07-05 Eric Christopher <echristo@redhat.com>
31 * config/mips/mips.h (MASK_MIPS3900): Remove.
32 (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV,
33 MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal.
34 (TARGET_MIPS3900): Change to use mips_arch.
35 (TARGET_MIPS4000): New.
36 (TARGET_MIPS4100): New.
37 (TARGET_MIPS4300): New.
38 (TARGET_SWITCHES): Change 3900 and 4650 options to NULL.
39 (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text
41 (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900.
42 (ISA_HAS_BRANCHLIKELY): To here.
44 (CC1_SPEC): Use here. Remove 4650 and 3900 options.
45 (mips_arch_string): Declare.
47 (TARGET_OPTIONS): Add -march and -mtune.
49 * config/mips/mips.c (mips_arch_string): New.
51 (override_options): Handle -march for codegen and -mtune
52 for scheduling. Use mips_arch. Move tx39 target default here.
53 (mips_parse_cpu): Move error message to override_options.
55 * config/mips/r3900.h (TARGET_DEFAULT): Remove.
57 * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300.
59 * doc/invoke.texi (Option Summary): Add -march and -mtune entries.
60 (MIPS Options): Ditto. Change mcpu entry to historical text.
62 2001-07-05 H.J. Lu (hjl@gnu.org)
64 * config/mips/mips.c (mips_parse_cpu): New function to parse
67 2001-07-05 Jim Wilson <wilson@redhat.com>
69 * config/ia64/lib1funcs.asm: Revert 2001-07-02 change.
70 * config/ia64/t-ia64: Likewise.
71 (LIB1ASMFUNCS): Update comment.
73 2001-07-05 David Edelsohn <edelsohn@gnu.org>
75 * doc/install.texi (Install GCC: Binaries): Fix typo.
77 2001-07-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
79 * config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory
80 reference using the stack pointer, adjust it since we push Y
82 ("*ashrsi3"): Likewise.
83 ("*lshrsi3"): Likewise.
85 2001-07-05 Stephane Carrez <Stephane.Carrez@worldnet.fr>
87 * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address
88 when -fomit-frame-pointer is used.
90 2001-07-05 Jeffrey Oldham <oldham@codesourcery.com>
92 * flow.c: Reverse Jan Hubicka's patch of 02July2001.
93 (try_redirect_by_replacing_jump): Reverse updating properly the
94 count and frequency information. Reverse removing cc0 setter.
95 (forwarder_block_p): Reverse fixing for fallthru blocks.
97 2001-07-05 DJ Delorie <dj@redhat.com>
99 * gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
100 (translate_options): If the above is defined, use it to map
101 given options to new options.
102 * doc/tm.texi: Document it.
104 2001-07-05 Brad Lucier <lucier@math.purdue.edu>
105 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
107 * doc/invoke.texi (Optimize Options): Document that -fgcse may
108 cause programs using computed gotos to run more slowly.
110 2001-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
112 * doc/install.texi (Specific): Markup, spelling and typo fixes.
114 Consistently require binutils 2.11.2, not prereleases.
115 (Specific, decstation-*): Canonicalize as mips-dec-*.
116 (Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
118 (Specific, m68k-altos): Removed reference to README.altos, deleted.
119 (Specific, mips-*): Reword MIPS C compiler requirements.
120 (Specific, powerpc*-*-*): New, mention --with-cpu once.
121 (Specific, sunv5): Removed, obsolete.
123 2001-07-05 Nathan Sidwell <nathan@codesourcery.com>
125 * dwarf2out.c (output_loc_list): Use an all ones mask for
126 .text asm output and don't rely on long long
127 literals. Reformat some long lines.
129 2001-07-05 Andreas Jaeger <aj@suse.de>
131 * doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
134 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
136 * dwarf2out.c (dwarf2out_define): Update comment.
137 (dwarf2out_undef): Ditto.
138 (dwarf2out_start_source_file): Ditto.
139 (dwarf2out_end_source_file): Ditto.
140 (dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
141 since we never call the start/end debug hook for the primary file.
143 2001-07-04 Kazu Hirata <kazu@hxi.com>
145 * config/h8300/h8300.c (get_shift_alg): Remove an extra operand
148 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
150 * cppinit.c (remove_dup_dirs): Inform if a system include
151 directory is being reordered.
152 * doc/invoke.texi (Directory Options): GCC warns if you hide a
154 * doc/cpp.texi (Search Paths): Likewise.
155 * doc/gcc.texi (Interoperation): Remove information about
158 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
160 * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
161 (VARRAY_TOP_CHAR_PTR): Likewise.
163 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
165 * gcc.c (process_command): Don't assign elements of a const char*.
167 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
169 * emit-rtl.c (change_address): Don't abort if invalid address while
170 reload is in progress.
172 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
174 * c-lex.c (cb_file_change): Pass line number to
175 debug_start_source_file.
176 (cb_undefine): Pass correct line number to debug_undef.
178 * toplev.c (debug_start_source_file): Add line number to
179 parameters. Pass it along to dwarf2out_start_source_file.
180 (decode_g_option): Stop resetting debug level back to normal when
181 we change debug formats, unless the current level is
182 none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
185 * toplev.h (debug_start_source_file): Add line number to
188 * dwarf2out.h (dwarf2out_start_source_file): Add line number to
191 * dwarf2out.c (dwarf2out_start_source_file): Add line number to
193 Output debug_macinfo data for starting file if requested.
194 (dwarf2out_end_source_file): Output debug_macinfo data for ending
196 (dwarf2out_define): Output debug_macinfo data for defining a macro
198 (dwarf2out_undef): Output debug_macinfo data for undefining a
200 (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
201 (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
202 (macinfo_section_label): New. DWARF2 macro info section label.
203 (dwarf2out_init): If we want macro info, output the start label
205 (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
206 attribute to the compilation unit die pointing to the macro info.
208 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
210 * dwarf2out.c (new_loc_list): Move to inside #ifdef
211 DWARF2_DEBUGGING_INFO.
212 (add_loc_descr_to_loc_list): Ditto.
213 (output_loc_list): Ditto.
214 Also, fix thinko in curr not being initialized.
215 (gen_internal_sym): Ditto.
217 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
219 * emit-rtl.c (replace_equiv_address): New function.
220 * expr.h (replace_equiv_address): New declaration.
221 * explow.c (validize_mem): Call it instead of change_address and
222 also call if -fforce-addr and address is constant.
223 * expr.c: Replace more calls to change_address with adjust_address
224 and/or replace_equiv_address or to validize_mem.
225 * function.c, regmove.c, config/alpha/alpha.c: Likewise.
226 * config/arm/arm.md, config/clipper/clipper.md: Likewise.
227 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
228 * config/i370/i370.md, config/i860/i860.md: Likewise.
229 * config/i960/i960.md, config/mips/mips.c: Likewise.
230 * config/mips/mips.md, config/pa/pa.md: Likewise.
231 * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
232 * config/rs6000/rs6000.md, config/sh/sh.md: Likewise.
234 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
236 * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
238 * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
241 2001-07-04 Joseph S. Myers <jsm28@cam.ac.uk>
243 * doc/include: New directory.
244 * doc/fdl.texi: Move to doc/include/fdl.texi.
245 * doc/texinfo.tex: Move to doc/include/texinfo.tex.
246 * doc/include/funding.texi, doc/include/gpl.texi: New files.
247 * doc/gcc.texi: Use funding.texi and gpl.texi.
248 * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
249 $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
250 Update dependencies and use -I $(docdir)/include.
252 2001-07-04 Anthony Green <green@redhat.com>
254 * config/v850/t-v850 (v850-c.o): Add missing dependencies.
256 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
258 * doc/install.texi (sparc64-*-*): Remove garbage.
260 Wed Jul 4 09:07:44 2001 Jan van Male <jan.vanmale@fenk.wau.nl>
262 * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
263 Fix typo in last change to use adjust_address.
265 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
267 * doc/install.texi (Specific): Update information for *-*-solaris*.
269 Tue Jul 3 22:33:15 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
271 * explow.c (plus_constant_wide): Reinitialize Y for restart.
273 2001-07-03 Stan Shebs <shebs@apple.com>
275 * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
276 case for flag_no_mach_text_sections.
277 (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
278 * config/darwin.c (flag_no_mach_text_sections): Remove.
279 * config/darwin-protos.h (darwin_init_pragma): Remove decl.
281 Tue Jul 3 15:35:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
283 * explow.c (plus_constant_wide, case PLUS): Call find_constant_term
284 and avoid checking for constant as first operand.
285 * recog.c (find_constant_term_loc): No longer static.
286 (adj_offettable_operand): Delete.
287 * rtl.h (adj_offsettable_operand): Delete declaration.
288 (find_constant_term): Add declaration.
289 * caller-save.c: Replace calls to adj_offsettable_operand with calls
291 * config/arm/arm.c, config/c4x/c4x.c: Likewise.
292 * config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
293 * config/i386/i386.c, config/i386/i386.md: Likewise.
294 * config/i860/i860.c, config/i960/i960.c: Likewise.
295 * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
296 * config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
297 * config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
298 * config/mips/mips.c, config/mips/mips.md: Likewise.
299 * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
300 * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
301 * config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
302 * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
303 * config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
304 * config/ns32k/ns32k.md: Likewise.
306 2001-07-03 Zack Weinberg <zackw@stanford.edu>
308 * rtl.c (copy_rtx): Handle 'T' format letter.
309 * gensupport.c (collect_insn_data): Likewise.
310 * print-rtl.c (print_rtx): Print 'T' slots like 's'.
312 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
314 * doc/invoke.texi (Directory Options): Specifiy range for <N> in
315 -B option. Use 'dir' not 'foo' as example directory name.
317 2001-07-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
319 * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
320 Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
322 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
324 * doc/cppinternals.texi: Improve formatting and logical markup.
326 2001-07-03 Andreas Jaeger <aj@suse.de>
328 * Makefile.in (insn-recog.o): Add dependency on reload.h.
330 * genrecog.c (write_header): Include reload.h for prototypes in
333 2001-07-03 Neil Booth <neil@daikokuya.demon.co.uk>
336 * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
337 VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
338 * i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
339 i386_pe_valid_type_attribute_p): Add.
340 * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
341 * i386/winnt.c (i386_valid_decl_attribute_p): Return directly.
343 Mon Jul 2 21:52:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
345 * explow.c (plus_constant_wide, case LO_SUM): New case.
346 (plus_constant_for_output_wide): Delete.
347 * rtl.h (plus_constant_for_output): Delete.
348 * alias.c (canon_rtx, init_alias_analysis): Call plus_constant
349 instead of plus_constant_for_output.
350 * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
351 * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
352 * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
353 * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
354 * config/sparc/sparc.md: Likewise.
355 Convert some change_address calls to adjust_address.
357 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
359 * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
360 doc/rtl.texi, doc/tm.texi: Improve formatting. Improve
361 documentation of -std and -Wwrite-strings.
363 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
365 * cse.c (canon_hash): Don't register registers in very small
366 register classes, as extending their lifetime might cause
369 Mon Jul 2 23:14:00 CEST 2001 Jan Hubicka <jh@suse.cz>
371 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
373 * flow.c (forwarder_block_p): Fix for fallthru blocks.
374 (try_redirect_by_replacing_jump): Update properly the count
375 and frequency information.
377 Mon Jul 2 14:20:13 2001 Jeffrey A Law (law@cygnus.com)
379 * toplev.c (dump_file_index): Move SSA dumps just after first
381 (dump_file): Corresponding changes.
382 (rest_of_compilation): Move SSA path to just after the first
384 * doc/gcc.texi (Passes): Update due to movement of SSA path.
385 * doc/invoke.texi: Update dump file #s as they were completely
386 out of date with reality.
388 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
390 * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.
392 * expr.c (emit_move_insn_1): Deal with non-default
395 * expr.c (emit_single_push_insn): Fix warning.
397 2001-07-02 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
399 * expr.c (emit_move_insn_1): Avoid modifying
400 cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.
402 Mon Jul 2 15:33:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
404 * emit-rtl.c (adjust_address): New function.
405 * expr.h (adjust_address): Add declaration.
406 * builtins.c: Replace some calls to change_address with calls to it
408 * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
409 * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
410 * config/arm/arm.c, config/convex/convex.c: Likewise.
411 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
412 * config/i386/i386.c, config/i386/i386.md: Likewise.
413 * config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
414 * config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
415 * config/m88k/m88k.c, config/mips/mips.md: Likewise.
416 * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
417 * config/sh/sh.c, config/sparc/sparc.md: Likewise.
419 2001-07-02 Jim Wilson <wilson@redhat.com>
421 * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
423 2001-07-02 Steve Ellcey <sje@cup.hp.com>
425 * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
426 * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.
428 2001-07-02 Zack Weinberg <zackw@stanford.edu>
430 * cppinit.c (lang_defaults): New table.
431 (set_lang): Just read from lang_defaults into the live options
434 2001-07-02 Zack Weinberg <zackw@stanford.edu>
436 * Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
437 * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
438 * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
440 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
442 * doc/install.texi: Various spelling and markup fixes.
443 (Installing GCC): Component specific installation instructions are
446 Warn about removing old install dir in the presence of shared libs.
447 (Configuration): Invoke with options target to match configure
449 Consistently refer to gas, gld pathnames.
450 Invert --enable-multilib documentation.
451 Remove references to old compiler versions.
453 Mon Jul 2 12:50:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
455 * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
457 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
459 * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
461 (Specific, mips*-sgi-irix5): Note IDO download.
462 Reworded MIPS C hints.
463 Use GNU as instead of GAS.
465 Removed SGI Freeware reference, IRIX 6 only.
466 (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
467 Note N64 library requirement/workaround.
469 Complete list of structure passing bug victims.
471 2001-07-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
473 * doc/install.texi: Remove CVS Id.
475 2001-07-02 Andreas Jaeger <aj@suse.de>
477 * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
478 (find_inherently_necessary): Remove unused variable.
480 2001-07-02 Nathan Sidwell <nathan@codesourcery.com>
482 * c-common.h (TDI_inlined): New ast dump phase.
483 (dump_flag_name): New function.
484 * c-dump.c (dump_files): Add inlined phase.
485 (dump_flag_name): Define.
486 * doc/invoke.texi (-fdump-ast-inlined): Document.
488 Mon Jul 2 06:29:36 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
490 * stor-layout.c (layout_decl): Revert change to handling of alignment
493 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
495 * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
498 2001-07-01 Geoffrey Keating <geoffk@redhat.com>
500 * doc/tm.texi (FUNCTION_ARG): Document that the last call
503 2001-07-01 Nathan Sidwell <nathan@codesourcery.com>
505 * tlink.c (recompile_files): Remove COMPILER_PATH and
506 LIBRARY_PATH from the environment.
508 2001-07-01 Zack Weinberg <zackw@stanford.edu>
510 * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
511 RID_LAST_PQ. Move RID_FIRST_PQ down with the other FIRST/LAST
513 (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
515 * c-parse.in (OBJC_STRING): Kill.
516 (objc_string): Decompose to [objc_string] '@' STRING.
517 (reswords): Take the leading '@' off all the Objective C keywords.
518 (objc_rid_sans_at): Kill.
519 (init_reswords): Don't initialize it.
520 (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
521 (_yylex): Kill reconsider label. Look ahead one token after
522 an '@'; if we get an identifier, check whether it's an
523 Objective C @-keyword. If so, return the keyword. Otherwise,
524 put back the token and return the '@' as a terminal.
526 * cpplib.c (lex_macro_node): Remove unnecessary check for
527 leading '@' on identifier. Clarify control flow and commentary.
529 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
531 * cse.c (new_label_ref): Variable deleted.
532 (insert): Remove set of new_label_ref.
533 (check_for_label_ref): New function.
534 (cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
536 See ChangeLog.5 for earlier changes.