* varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
[official-gcc.git] / gcc / ChangeLog
blob838565d6da97851e5fcbbe72d98bcf70ef59b9e1
1 2001-07-04  Nathan Sidwell  <nathan@codesourcery.com>
3         * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
4         (VARRAY_TOP_CHAR_PTR): Likewise.
6 2001-07-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8         * gcc.c (process_command): Don't assign elements of a const char*.
10 Wed Jul  4 13:40:02 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12         * emit-rtl.c (change_address): Don't abort if invalid address while
13         reload is in progress.
15 2001-07-04  Daniel Berlin  <dan@cgsoftware.com>
17         * c-lex.c (cb_file_change): Pass line number to
18         debug_start_source_file. 
19         (cb_undefine): Pass correct line number to debug_undef.
21         * toplev.c (debug_start_source_file): Add line number to
22         parameters. Pass it along to dwarf2out_start_source_file.
23         (decode_g_option): Stop resetting debug level back to normal when
24         we change debug formats, unless the current level is
25         none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
26         3).
27         
28         * toplev.h (debug_start_source_file): Add line number to
29         parameters.
30         
31         * dwarf2out.h (dwarf2out_start_source_file): Add line number to
32         parameters.
34         * dwarf2out.c (dwarf2out_start_source_file): Add line number to
35         parameters.
36         Output debug_macinfo data for starting file if requested. 
37         (dwarf2out_end_source_file): Output debug_macinfo data for ending
38         file if requested.
39         (dwarf2out_define): Output debug_macinfo data for defining a macro
40         if requested.
41         (dwarf2out_undef): Output debug_macinfo data for undefining a
42         macro if requested.
43         (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
44         (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
45         (macinfo_section_label): New. DWARF2 macro info section label.
46         (dwarf2out_init): If we want macro info, output the start label
47         for the section.
48         (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
49         attribute to the compilation unit die pointing to the macro info.
51 2001-07-04  Daniel Berlin  <dan@cgsoftware.com>
53         * dwarf2out.c (new_loc_list): Move to inside #ifdef
54         DWARF2_DEBUGGING_INFO.
55         (add_loc_descr_to_loc_list): Ditto.
56         (output_loc_list): Ditto.
57         Also, fix thinko in curr not being initialized.
58         (gen_internal_sym): Ditto.
59      
60 Wed Jul  4 13:40:02 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
62         * emit-rtl.c (replace_equiv_address): New function.
63         * expr.h (replace_equiv_address): New declaration.
64         * explow.c (validize_mem): Call it instead of change_address and
65         also call if -fforce-addr and address is constant.
66         * expr.c: Replace more calls to change_address with adjust_address
67         and/or replace_equiv_address or to validize_mem.
68         * function.c, regmove.c, config/alpha/alpha.c: Likewise.
69         * config/arm/arm.md, config/clipper/clipper.md: Likewise.
70         * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
71         * config/i370/i370.md, config/i860/i860.md: Likewise.
72         * config/i960/i960.md, config/mips/mips.c: Likewise.
73         * config/mips/mips.md, config/pa/pa.md: Likewise.
74         * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
75         * config/rs6000/rs6000.md, config/sh/sh.md: Likewise.
77 2001-07-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
79         * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
81         * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
82         function.
84 2001-07-04  Joseph S. Myers  <jsm28@cam.ac.uk>
86         * doc/include: New directory.
87         * doc/fdl.texi: Move to doc/include/fdl.texi.
88         * doc/texinfo.tex: Move to doc/include/texinfo.tex.
89         * doc/include/funding.texi, doc/include/gpl.texi: New files.
90         * doc/gcc.texi: Use funding.texi and gpl.texi.
91         * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
92         $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
93         Update dependencies and use -I $(docdir)/include.
95 2001-07-04  Anthony Green  <green@redhat.com>
97         * config/v850/t-v850 (v850-c.o): Add missing dependencies.
99 2001-07-04  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
101         * doc/install.texi (sparc64-*-*): Remove garbage.
103 Wed Jul  4 09:07:44 2001  Jan van Male  <jan.vanmale@fenk.wau.nl>
105         * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
106         Fix typo in last change to use adjust_address.
108 2001-07-04  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
110         * doc/install.texi (Specific): Update information for *-*-solaris*.
112 Tue Jul  3 22:33:15 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
114         * explow.c (plus_constant_wide): Reinitialize Y for restart.
116 2001-07-03  Stan Shebs  <shebs@apple.com>
118         * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
119         case for flag_no_mach_text_sections.
120         (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
121         * config/darwin.c (flag_no_mach_text_sections): Remove.
122         * config/darwin-protos.h (darwin_init_pragma): Remove decl.
124 Tue Jul  3 15:35:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
126         * explow.c (plus_constant_wide, case PLUS): Call find_constant_term
127         and avoid checking for constant as first operand.
128         * recog.c (find_constant_term_loc): No longer static.
129         (adj_offettable_operand): Delete.
130         * rtl.h (adj_offsettable_operand): Delete declaration.
131         (find_constant_term): Add declaration.
132         * caller-save.c: Replace calls to adj_offsettable_operand with calls
133         to adjust_address.
134         * config/arm/arm.c, config/c4x/c4x.c: Likewise.
135         * config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
136         * config/i386/i386.c, config/i386/i386.md: Likewise.
137         * config/i860/i860.c, config/i960/i960.c: Likewise.
138         * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
139         * config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
140         * config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
141         * config/mips/mips.c, config/mips/mips.md: Likewise.
142         * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
143         * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
144         * config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
145         * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
146         * config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
147         * config/ns32k/ns32k.md: Likewise.
149 2001-07-03  Zack Weinberg  <zackw@stanford.edu>
151         * rtl.c (copy_rtx): Handle 'T' format letter.
152         * gensupport.c (collect_insn_data): Likewise.
153         * print-rtl.c (print_rtx): Print 'T' slots like 's'.
155 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
157         * doc/invoke.texi (Directory Options): Specifiy range for <N> in
158         -B option.  Use 'dir' not 'foo' as example directory name.
160 2001-07-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
162         * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
163         Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
165 2001-07-03  Joseph S. Myers  <jsm28@cam.ac.uk>
167         * doc/cppinternals.texi: Improve formatting and logical markup.
169 2001-07-03  Andreas Jaeger  <aj@suse.de>
171         * Makefile.in (insn-recog.o): Add dependency on reload.h.
173         * genrecog.c (write_header): Include reload.h for prototypes in
174         insn-recog.c.
176 2001-07-03  Neil Booth  <neil@daikokuya.demon.co.uk>
178 config:
179         * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
180         VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
181         * i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
182         i386_pe_valid_type_attribute_p): Add.
183         * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
184         * i386/winnt.c (i386_valid_decl_attribute_p): Return directly.
186 Mon Jul  2 21:52:19 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
188         * explow.c (plus_constant_wide, case LO_SUM): New case.
189         (plus_constant_for_output_wide): Delete.
190         * rtl.h (plus_constant_for_output): Delete.
191         * alias.c (canon_rtx, init_alias_analysis): Call plus_constant
192         instead of plus_constant_for_output.
193         * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
194         * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
195         * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
196         * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
197         * config/sparc/sparc.md: Likewise.
198         Convert some change_address calls to adjust_address.
200 2001-07-03  Joseph S. Myers  <jsm28@cam.ac.uk>
202         * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
203         doc/rtl.texi, doc/tm.texi: Improve formatting.  Improve
204         documentation of -std and -Wwrite-strings.
206 2001-07-02  Geoffrey Keating  <geoffk@redhat.com>
208         * cse.c (canon_hash): Don't register registers in very small
209         register classes, as extending their lifetime might cause
210         reload to fail.
212 Mon Jul  2 23:14:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
214         * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
216         * flow.c (forwarder_block_p): Fix for fallthru blocks.
217         (try_redirect_by_replacing_jump): Update properly the count
218         and frequency information.
220 Mon Jul  2 14:20:13 2001  Jeffrey A Law  (law@cygnus.com)
222         * toplev.c (dump_file_index): Move SSA dumps just after first
223         jump dump.
224         (dump_file): Corresponding changes.
225         (rest_of_compilation): Move SSA path to just after the first
226         jump pass.
227         * doc/gcc.texi (Passes): Update due to movement of SSA path.
228         * doc/invoke.texi: Update dump file #s as they were completely
229         out of date with reality.
231 2001-07-02  Geoffrey Keating  <geoffk@redhat.com>
233         * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.
235         * expr.c (emit_move_insn_1): Deal with non-default
236         STACK_PUSH_CODE.
238         * expr.c (emit_single_push_insn): Fix warning.
240 2001-07-02  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
242         * expr.c (emit_move_insn_1): Avoid modifying
243         cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.
245 Mon Jul  2 15:33:31 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
247         * emit-rtl.c (adjust_address): New function.
248         * expr.h (adjust_address): Add declaration.
249         * builtins.c: Replace some calls to change_address with calls to it
250         or to validize_mem.
251         * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
252         * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
253         * config/arm/arm.c, config/convex/convex.c: Likewise.
254         * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
255         * config/i386/i386.c, config/i386/i386.md: Likewise.
256         * config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
257         * config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
258         * config/m88k/m88k.c, config/mips/mips.md: Likewise.
259         * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
260         * config/sh/sh.c, config/sparc/sparc.md: Likewise.
262 2001-07-02  Jim Wilson  <wilson@redhat.com>
264         * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
266 2001-07-02  Steve Ellcey  <sje@cup.hp.com>
268         * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
269         * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.
271 2001-07-02  Zack Weinberg  <zackw@stanford.edu>
273         * cppinit.c (lang_defaults): New table.
274         (set_lang): Just read from lang_defaults into the live options
275         structure.
277 2001-07-02  Zack Weinberg  <zackw@stanford.edu>
279         * Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
280         * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
281         * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
283 2001-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
285         * doc/install.texi: Various spelling and markup fixes.
286         (Installing GCC): Component specific installation instructions are
287         gone.
288         Fix reference.
289         Warn about removing old install dir in the presence of shared libs.
290         (Configuration): Invoke with options target to match configure
291         --help.
292         Consistently refer to gas, gld pathnames.
293         Invert --enable-multilib documentation.
294         Remove references to old compiler versions.
296 Mon Jul  2 12:50:51 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
298         * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
300 2001-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
302         * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
303         section.
304         (Specific, mips*-sgi-irix5): Note IDO download.
305         Reworded MIPS C hints.
306         Use GNU as instead of GAS.
307         Markup fixes.
308         Removed SGI Freeware reference, IRIX 6 only.
309         (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
310         Note N64 library requirement/workaround.
311         Update O32 hints.
312         Complete list of structure passing bug victims.
314 2001-07-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
316         * doc/install.texi: Remove CVS Id.
318 2001-07-02  Andreas Jaeger  <aj@suse.de>
320         * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
321         (find_inherently_necessary): Remove unused variable.
323 2001-07-02  Nathan Sidwell  <nathan@codesourcery.com>
325         * c-common.h (TDI_inlined): New ast dump phase.
326         (dump_flag_name): New function.
327         * c-dump.c (dump_files): Add inlined phase.
328         (dump_flag_name): Define.
329         * doc/invoke.texi (-fdump-ast-inlined): Document.
331 Mon Jul  2 06:29:36 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
333         * stor-layout.c (layout_decl): Revert change to handling of alignment
334         in packed types.
336 Sun Jul  1 11:53:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
338         * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
339         for FIELD_DECL.
341 2001-07-01  Geoffrey Keating  <geoffk@redhat.com>
343         * doc/tm.texi (FUNCTION_ARG): Document that the last call
344         is special.
346 2001-07-01  Nathan Sidwell  <nathan@codesourcery.com>
348         * tlink.c (recompile_files): Remove COMPILER_PATH and
349         LIBRARY_PATH from the environment.
351 2001-07-01  Zack Weinberg  <zackw@stanford.edu>
353         * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
354         RID_LAST_PQ.  Move RID_FIRST_PQ down with the other FIRST/LAST
355         enumerators.
356         (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
358         * c-parse.in (OBJC_STRING): Kill.
359         (objc_string): Decompose to [objc_string] '@' STRING.
360         (reswords): Take the leading '@' off all the Objective C keywords.
361         (objc_rid_sans_at): Kill.
362         (init_reswords): Don't initialize it.
363         (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
364         (_yylex): Kill reconsider label.  Look ahead one token after
365         an '@'; if we get an identifier, check whether it's an
366         Objective C @-keyword.  If so, return the keyword.  Otherwise,
367         put back the token and return the '@' as a terminal.
369         * cpplib.c (lex_macro_node): Remove unnecessary check for
370         leading '@' on identifier.  Clarify control flow and commentary.
372 Sun Jul  1 11:53:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
374         * cse.c (new_label_ref): Variable deleted.
375         (insert): Remove set of new_label_ref.
376         (check_for_label_ref): New function.
377         (cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
379 See ChangeLog.5 for earlier changes.