OSDN Git Service

fa0d22d80a770aeb85d88fdddfe437ee6984a233
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-09-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2         * doloop.c (doloop_modify): Prevent delete_insn() from
3         deleting too much.  Prefer loop->top over loop->start as
4         target for the new JUMP insn.
5         (doloop_valid_p): Ignore loop with exit_count != 0.
6
7 2000-09-28  Philipp Thomas  <pthomas@suse.de>
8
9         * invoke.texi (i386 Options): Add athlon to table of possible
10         choices for -mcpu=.
11
12 2000-09-28  Gabriel Dos Reis  <gdr@codesourcery.com>
13
14         * diagnostic.h (output_clear_message_text): New function.
15         (output_message_text): New macro.
16
17         * diagnostic.c (clear_text_info): Rename to
18         output_clear_message_text. 
19         (output_clear): Adjust.
20         (output_finish): Rename to output_finalize_message.  Tweek.
21         (output_to_stream): Adjust. 
22
23 2000-09-28  Neil Booth  <neilb@earthling.net>
24
25         * cpperror.c (_cpp_begin_message):  Do the test for suppression
26         of warnings and pedantic warnings before the "is a warning an
27         error" tests.
28         * cppinit.c (cpp_handle_option): Remove surplus \n.
29         * cpplex.c (ON_REST_ARG): Delete.
30         (skip_block_comment): Initialise prevc.
31         (parse_args): Improve error messages.
32         (maybe_paste_with_next): Use CONTEXT_VARARGS rather
33         than ON_REST_ARG.
34         * cpplib.c (cpp_push_buffer): Fix grammar in message.
35         * cppmain.c (main): Set callbacks for #ident and #pragma
36         only if no_output option is false.
37         (do_pragma_implementation): Only call the #pragma handler
38         if it is set in the cpp_reader structure.
39
40 Wed Sep 27 14:00:07 2000  Donald Lindsay  <dlindsay@cygnus.com>
41
42         * integrate.c (copy_insn_list): if an ignored return value
43         is being clobbered, skip cloning that into the inline copy.
44
45 2000-09-27  Joseph S. Myers  <jsm28@cam.ac.uk>
46
47         * extend.texi, invoke.texi, gcc.texi, install.texi: Consistently
48         use @uref for formatting URLs.
49
50 2000-09-27  Mark Elbrecht  <snowball3@bigfoot.com>
51
52         * config/i386/djgpp.h (UNIQUE_SECTION): Constify the variables
53         name and prefix.
54
55 Tue 26-Sep-2000 18:25:38 BST  Neil Booth  <neilb@earthling.net>
56
57         * gcc.c (cpp_options): Add spec for -ftabstop=.
58         (invoke_as): New spec that handles invoking as.
59         Update specs to handle -save-temps and -traditional.
60         * ch/lang-specs.h, f/lang-specs.h, java/lang-specs.h:
61         Use invoke_as.
62         * cp/lang-specs.h, objc/lang-specs.h: Update to use
63         invoke_as, and handle -save-temps and -traditional (if
64         appropriate).
65
66 2000-09-26  Jakub Jelinek  <jakub@redhat.com>
67
68         * config/sparc/sparc.c (sparc_emit_set_const64): Don't abort when
69         op0 is a SUBREG.
70         (function_arg_slotno): Accept TImode/CTImode.
71         * config/sparc/sparc.h (MIN_UNITS_PER_WORD): If IN_LIBGCC2 define
72         to UNITS_PER_WORD.
73
74 2000-09-26  Michael Hayes  <mhayes@cygnus.com>
75
76         * flow.c (flow_loop_pre_header_scan): Punt if loop enters
77         from entry block.
78
79 2000-09-25  Jim Wilson  <wilson@cygnus.com>
80
81         * config/ia64/ia64.h (INDEX_REG_CLASS): Define to GENERAL_REGS.
82         (REGNO_OK_FOR_INDEX_P): Define to REGNO_OK_FOR_BASE_P.
83         (LEGITIMATE_ADDRESS_DISP): Use LEGITIMATE_ADDRESS_REG.
84         (REG_OK_FOR_INDEX): Define to REG_OK_FOR_BASE_P.
85
86 Tue 26-Sep-2000 00:16:22 BST  Neil Booth  <neilb@earthling.net>
87
88         * cpplex.c (parse_args): Don't set VOID_REST flag.
89         (CONTEXT_VARARGS): New flag.
90         (maybe_paste_with_next): Set context earlier in loop.  Use
91         it.  Do varargs test with CONTEXT_VARARGS flag.
92         (push_arg_context): Set CONTEXT_VARARGS flag if we're
93         pushing an argument context for a varargs argument.
94         * cpplib.h (VOID_REST): Delete.
95         * gcc.dg/cpp/vararg1.c: Add test case.   
96
97 2000-09-25  Branko Cibej  <branko.cibej@hermes.si>
98
99         * flags.h:  Declare warning flag warn_system_headers.
100         * toplev.c:  Define it.
101         (W_options): Add option -Wsystem-headers.
102         * diagnostic.c (count_error): Test warn_system_headers.
103         * invoke.texi:  Add description for -Wsystem-headers.
104         * cpplib.h (cpp_options): New member warn_system_headers.
105         * cpphash.h (CPP_PEDANTIC, CPP_WTRADITIONAL): Don't test
106         CPP_IN_SYSTEM_HEADER.
107         * cpplib.c (do_import, do_pragma_once): Likewise.
108         * cpperror.c (_cpp_begin_message): Test warn_system_headers
109         and CPP_IN_SYSTEM_HEADER.
110         * cppinit.c (handle_option): Recognize -Wsystem_headers.
111         (print_help): Describe -Wsystem_headers.
112         * cpplex.c (lex_line): Reorganize condition so that warnings
113         about C++ comments in system headers can be enabled. Remove
114         label do_line_comment.
115
116 Mon 25-Sep-2000 23:38:27 BST  Neil Booth  <neilb@earthling.net>
117
118         * cpplex.c (save_comment): Only store the initial '/'
119         now.
120         (lex_token): Combine handling of the two comment types.
121         Pass everything but the initial '/' to save_comment.    
122
123 Mon 25-Sep-2000 23:31:45 BST  Neil Booth  <neilb@earthling.net>
124
125         * cpphash.h (_cpp_digraph_spellings, _cpp_process_directive,
126         _cpp_can_paste): New library-internal prototypes.
127         * cpplex.c (dump_param_spelling, output_line_command,
128         output_token, cpp_scan_buffer, cpp_scan_buffer_nooutput,
129         cpp_printf, cpp_output_list): Move to cppoutput.c.
130         (process_directive, can_paste, digraph_spellings): Add _cpp_ prefix.
131         * cppmacro.c (dump_macro_args, cpp_dump_definition) Move to
132         cppoutput.c.
133         * cppoutput.c (dump_macro_args, cpp_dump_definition, output_token,
134         dump_param_spelling, output_line_command, cpp_scan_buffer,
135         cpp_scan_buffer_nooutput, cpp_printf, cpp_output_list): Moved
136         from elsewhere.
137         * Makefile.in: Add cppoutput.c.
138         * po/POTFILES.in: Add cppoutput.c.
139
140 2000-09-25  Richard Henderson  <rth@cygnus.com>
141
142         * config/ia64/ia64.c (ia64_print_operand): Define 'e' as 64-n.
143         * config/ia64/ia64.md (rotrsi3): Allow variable rotates; don't
144         split until after reload.
145         (rotlsi3, rotldi3): New.
146
147 2000-09-25  Gabriel Dos Reis  <gdr@codesourcery.com>
148
149         * diagnostic.c (output_last_position): Define.
150         (set_real_maximum_length): Tweek.
151         * diagnostic.h (output_last_position): Declare.
152
153 2000-09-25  Kazu Hirata  <kazu@hxi.com>
154
155         * config/i386/i386.c: Fix formatting.
156
157 2000-09-24  Alan Lehotsky  <alehotsky@cygnus.com>
158
159         * emit-rtl-c (gen_lowpart_common): Accept non-paradoxical SUBREG when
160         UNITS_PER_WORD is small.
161
162 2000-09-25  Joseph S. Myers  <jsm28@cam.ac.uk>
163
164         * c-common.c (format_char_info): Add flags2; update comments.
165         (print_char_table, scan_char_table, time_char_table): Split some
166         flags out into flags2.
167         (check_format_info): Use flags2 for those flags, for identifying
168         the initial character of a scanf scanset, and for identifying
169         printf formats where the '0' flag is ignored with precision.
170
171 2000-09-25  Hans-Peter Nilsson  <hp@axis.com>
172
173         Changes below marked "here" add TABs on either or both sides,
174         covering start of line, up to any operand for all noted .*ASM.*_OP
175         definitions.  All callers changed.
176         * tm.texi: Make documented *_ASM.*_OP:s include spacing
177         (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, SHARED_SECTION_ASM_OP,
178         BSS_SECTION_ASM_OP, SHARED_BSS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
179         ASM_BYTE_OP, FINI_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP,
180         ASM_STABS_OP, ASM_STABD_OP, ASM_STABN_OP).
181         Fix typos in description for LONG_LONG_TYPE_SIZE and
182         FINI_SECTION_ASM_OP.
183         * crtstuff.c (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Explain
184         why these defaults don't have leading spacing.
185         * dbxout.c (ASM_STABS_OP, ASM_STABN_OP): Here.
186         * dwarf2out.c (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
187         UNALIGNED_DOUBLE_INT_ASM_OP, SECTION_ASM_OP, ASM_BYTE_OP): Here.
188         * dwarfout.c (FILE_ASM_OP, VERSION_ASM_OP,
189         UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, ASM_BYTE_OP,
190         PUSHSECTION_ASM_OP, POPSECTION_ASM_OP): Here.
191         * defaults.h (ASM_STABD_OP, EH_FRAME_SECTION_ASM_OP): Here.
192         * varasm.c (ASM_STABS_OP): Here.
193         * xcoffout.h (ASM_STABS_OP): Here.
194         * config/elfos.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP,
195         SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP,
196         INT_ASM_OP, ASCII_DATA_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP,
197         STRING_ASM_OP): Here.
198         * config/freebsd.h (IDENT_ASM_OP): Here.
199         * config/linux-aout.h (SET_ASM_OP): Here.
200         * config/linux.h (SET_ASM_OP): Here.
201         * config/lynx.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
202         INT_ASM_OP): Here.
203         * config/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here.
204         * config/nextstep.h (EH_FRAME_SECTION_ASM_OP, ALIGN_ASM_OP): Here.
205         * config/openbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here.
206         * config/psos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
207         INT_ASM_OP): Here.
208         * config/ptx4.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP,
209         SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP,
210         INT_ASM_OP, ASCII_DATA_ASM_OP, CONST_SECTION_ASM_OP,
211         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
212         FINI_SECTION_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP STRING_ASM_OP): Here.
213         * config/svr3.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
214         CONST_SECTION_ASM_OP, ASM_BYTE_OP): Here.
215         * config/a29k/udi.h (INT_ASM_OP): Here.
216         * config/alpha/alpha-interix.h (CONST_SECTION_ASM_OP,
217         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP,
218         SET_ASM_OP): Here.
219         * config/alpha/alpha.h (TEXT_SECTION_ASM_OP,
220         READONLY_DATA_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
221         UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
222         UNALIGNED_DOUBLE_INT_ASM_OP, ASM_STABS_OP, ASM_STABN_OP,
223         ASM_STABD_OP): Here.
224         * config/alpha/elf.h (IDENT_ASM_OP, SKIP_ASM_OP, ALIGN_ASM_OP,
225         COMMON_ASM_OP, INT_ASM_OP, ASCII_DATA_ASM_OP,
226         CONST_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
227         BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP,
228         INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, TYPE_ASM_OP,
229         SIZE_ASM_OP, STRING_ASM_OP): Here.
230         * config/alpha/vms.h (LINK_SECTION_ASM_OP,
231         READONLY_SECTION_ASM_OP, LITERALS_SECTION_ASM_OP,
232         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, COMMON_ASM_OP): Here.
233         * config/arc/arc.h (ASM_BYTE_OP, SET_ASM_OP): Here.
234         (PUSHSECTION_ASM_OP): Define this, not PUSHSECTION_FORMAT.
235         * config/arm/aof.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP):
236         Here.
237         * config/arm/aout.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
238         BSS_SECTION_ASM_OP, SET_ASM_OP): Here.
239         * config/arm/coff.h (INT_ASM_OP): Here.
240         * config/arm/conix-elf.h (UNALIGNED_WORD_ASM_OP): Here.
241         * config/arm/elf.h (TYPE_ASM_OP, SIZE_ASM_OP, INT_ASM_OP): Here.
242         * config/arm/linux-elf.h (IDENT_ASM_OP, CONST_SECTION_ASM_OP,
243         INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): Here.
244         * config/arm/unknown-elf.h (UNALIGNED_WORD_ASM_OP): Here.
245         * config/avr/avr.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
246         ASM_BYTE_OP, TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP,
247         STRING_ASM_OP): Here.  Update documentation copy in comments.
248         * config/c4x/c4x.h (ASM_STABS_OP, BSS_SECTION_ASM_OP): Here.
249         * config/clipper/clipper.h (TEXT_SECTION_ASM_OP,
250         DATA_SECTION_ASM_OP): Here.
251         * config/clipper/clix.h (BSS_SECTION_ASM_OP, INIT_SECTION_ASM_OP):
252         Here.
253         * config/convex/convex.h (TEXT_SECTION_ASM_OP,
254         DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here.
255         * config/d30v/d30v.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
256         BSS_SECTION_ASM_OP): Here.
257         * config/fr30/fr30.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
258         BSS_SECTION_ASM_OP): Here.
259         * config/fx80/fx80.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
260         Here.
261         * config/gmicro/gmicro.h (TEXT_SECTION_ASM_OP,
262         DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here.
263         * config/h8300/h8300.h (ASM_WORD_OP): Here.
264         * config/i370/i370.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
265         BSS_SECTION_ASM_OP): Here.
266         * config/i386/aix386.h (INIT_SECTION_ASM_OP): Here.
267         * config/i386/bsd.h (ASM_BYTE_OP): Here.
268         * config/i386/cygwin.h (SET_ASM_OP, INT_ASM_OP): Here.
269         * config/i386/dgux.h (CONST_SECTION_ASM_OP): Here.
270         * config/i386/djgpp.h (IDENT_ASM_OP, INT_ASM_OP, SET_ASM_OP):
271         Here.
272         * config/i386/freebsd-elf.h (SET_ASM_OP): Here.
273         * config/i386/freebsd.h (TYPE_ASM_OP, SIZE_ASM_OP, INT_ASM_OP):
274         Here.
275         * config/i386/i386-coff.h (CTORS_SECTION_ASM_OP,
276         DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
277         * config/i386/i386-interix.h (STRING_ASM_OP, CONST_SECTION_ASM_OP,
278         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP,
279         SET_ASM_OP): Here.
280         * config/i386/i386elf.h (BSS_SECTION_ASM_OP): Here.
281         * config/i386/netbsd.h (INT_ASM_OP): Here.
282         * config/i386/openbsd.h (INT_ASM_OP): Here.
283         * config/i386/osfrose.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP,
284         IDENT_ASM_OP): Here.
285         * config/i386/sco5.h (ALIGN_ASM_OP, ASCII_DATA_ASM_OP,
286         ASM_BYTE_OP, IDENT_ASM_OP, COMMON_ASM_OP, SET_ASM_OP,
287         LOCAL_ASM_OP, INT_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, STRING_ASM_OP,
288         SKIP_ASM_OP, GLOBAL_ASM_OP): Here.
289         * config/i386/seq-sysv3.h (SHARED_SECTION_ASM_OP,
290         SHARED_BSS_SECTION_ASM_OP): Here.
291         * config/i386/sequent.h (SHARED_SECTION_ASM_OP): Here.
292         * config/i386/sun386.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
293         DATA_SECTION_ASM_OP): Here.
294         * config/i386/svr3gas.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
295         CONST_SECTION_ASM_OP): Here.
296         * config/i386/sysv3.h (INIT_SECTION_ASM_OP): Here.
297         * config/i386/unix.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
298         BSS_SECTION_ASM_OP): Here.
299         * config/i860/bsd-gas.h (ASCII_DATA_ASM_OP): Here.
300         * config/i860/bsd.h (ASCII_DATA_ASM_OP): Here.
301         * config/i860/fx2800.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP,
302         BSS_ASM_OP): Here, but use trailing spaces.
303         * config/i860/i860.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
304         DATA_SECTION_ASM_OP): Here.
305         * config/i860/paragon.h (ASCII_DATA_ASM_OP, BSS_SECTION_ASM_OP):
306         Here.
307         * config/i860/sysv3.h (ASCII_DATA_ASM_OP, CTORS_SECTION_ASM_OP,
308         DTORS_SECTION_ASM_OP, TDESC_SECTION_ASM_OP): Here.
309         * config/i860/sysv4.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
310         TDESC_SECTION_ASM_OP): Here.
311         * config/i960/i960-coff.h (CTORS_SECTION_ASM_OP,
312         DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
313         * config/i960/i960.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
314         Here.
315         * config/ia64/ia64.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
316         BSS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP,
317         UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
318         UNALIGNED_DOUBLE_INT_ASM_OP): Here.
319         * config/ia64/sysv4.h (ASM_BYTE_OP, STRING_ASM_OP, SKIP_ASM_OP,
320         COMMON_ASM_OP, ASCII_DATA_ASM_OP, INIT_SECTION_ASM_OP,
321         FINI_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
322         SDATA_SECTION_ASM_OP, SBSS_SECTION_ASM_OP): Here.
323         * config/m32r/m32r.h (SCOMMON_ASM_OP): Here.
324         * config/m68hc11/m68hc11.h (GLOBAL_ASM_OP): Here.
325         * config/m68k/auxas.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP,
326         SPACE_ASM_OP, ALIGN_ASM_OP, GLOBAL_ASM_OP, SWBEG_ASM_OP,
327         SET_ASM_OP): Here.
328         * config/m68k/coff.h (BSS_SECTION_ASM_OP, CTORS_SECTION_ASM_OP,
329         DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
330         * config/m68k/crds.h (BSS_SECTION_ASM_OP): Here.
331         * config/m68k/dpx2.h (ASM_BYTE_OP, GLOBAL_ASM_OP): Here.
332         * config/m68k/hp320.h (ASCII_DATA_ASM_OP, GLOBAL_ASM_OP): Here.
333         * config/m68k/linux.h (BSS_SECTION_ASM_OP): Here.
334         * config/m68k/lynx.h (BSS_SECTION_ASM_OP): Here.
335         * config/m68k/m68k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
336         GLOBAL_ASM_OP): Here.
337         * config/m68k/m68kelf.h (SWBEG_ASM_OP, BSS_ASM_OP,
338         BSS_SECTION_ASM_OP): Here.
339         * config/m68k/m68kv4.h (BSS_ASM_OP): Here.
340         * config/m68k/mot3300.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
341         ASCII_DATA_ASM_OP, SET_ASM_OP, CTORS_SECTION_ASM_OP,
342         DTORS_SECTION_ASM_OP, GLOBAL_ASM_OP, ASM_BYTE_OP, ALIGN_ASM_OP,
343         SKIP_ASM_OP): Here.
344         * config/m68k/newsgas.h (SET_ASM_OP): Here.
345         * config/m68k/rtemself.h (INIT_SECTION_ASM_OP,
346         FINI_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP): Here.
347         * config/m68k/sgs.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP,
348         SPACE_ASM_OP, ALIGN_ASM_OP, GLOBAL_ASM_OP, SWBEG_ASM_OP,
349         SET_ASM_OP, UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Here,
350         but use trailing spaces.
351         * config/m68k/tower-as.h (TEXT_SECTION_ASM_OP,
352         DATA_SECTION_ASM_OP, GLOBAL_ASM_OP, INIT_SECTION_ASM_OP,
353         FINI_SECTION_ASM_OP, CONST_SECTION_ASM_OP, BSS_SECTION_ASM_OP):
354         Here.
355         * config/m88k/dgux.h (FINI_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
356         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Here.
357         * config/m88k/m88k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
358         CONST_SECTION_ASM_OP, TDESC_SECTION_ASM_OP, CTORS_SECTION_ASM_OP,
359         DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
360         IDENT_ASM_OP, FILE_ASM_OP, SECTION_ASM_OP, SET_ASM_OP,
361         GLOBAL_ASM_OP, ALIGN_ASM_OP, SKIP_ASM_OP, COMMON_ASM_OP,
362         BSS_ASM_OP, FLOAT_ASM_OP, DOUBLE_ASM_OP, INT_ASM_OP, SHORT_ASM_OP,
363         CHAR_ASM_OP, ASCII_DATA_ASM_OP, SBSS_ASM_OP, SCOMM_ASM_OP,
364         SDATA_SECTION_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, INTERNAL_ASM_OP,
365         VERSION_ASM_OP, UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
366         PUSHSECTION_ASM_OP, POPSECTION_ASM_OP, REQUIRES_88110_ASM_OP,
367         ASM_BYTE_OP): Here.
368         * config/m88k/openbsd.h (SET_ASM_OP): Here.
369         * config/m88k/sysv4.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
370         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Here.
371         * config/mcore/mcore-elf.h (UNALIGNED_INT_ASM_OP,
372         UNALIGNED_SHORT_ASM_OP, CTORS_SECTION_ASM_OP,
373         DTORS_SECTION_ASM_OP): Here.
374         * config/mcore/mcore-pe.h (CTORS_SECTION_ASM_OP,
375         DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
376         * config/mips/elf.h (TYPE_ASM_OP, SIZE_ASM_OP,
377         BSS_SECTION_ASM_OP): Here.
378         * config/mips/elf64.h (TYPE_ASM_OP, SIZE_ASM_OP): Here.
379         * config/mips/iris5.h (ABICALLS_ASM_OP): Here.
380         * config/mips/iris6.h (TYPE_ASM_OP, SIZE_ASM_OP,
381         POPSECTION_ASM_OP, BSS_SECTION_ASM_OP, CONST_SECTION_ASM_OP_32,
382         CONST_SECTION_ASM_OP_64, CTORS_SECTION_ASM_OP,
383         DTORS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP): Here.
384         * config/mips/mips.c (ABICALLS_ASM_OP): Here.
385         * config/mips/mips.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP):
386         Here.
387         * config/mips/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP):
388         Here.
389         * config/mips/osfrose.h (SET_ASM_OP): Here.
390         * config/mips/sni-svr4.h (ABICALLS_ASM_OP): Here.
391         * config/ns32k/encore.h (SHARED_SECTION_ASM_OP): Here.
392         * config/ns32k/merlin.h (SHARED_SECTION_ASM_OP): Here.
393         * config/ns32k/ns32k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
394         Here.
395         * config/ns32k/sequent.h (SHARED_SECTION_ASM_OP): Here.
396         * config/ns32k/tek6000.h (SHARED_SECTION_ASM_OP): Here.
397         * config/pa/pa-64.h (INT_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP): Here.
398         * config/pa/pa.h (ASM_STABS_OP, ASM_STABN_OP): Here.
399         * config/pj/pj.h (SET_ASM_OP, BSS_SECTION_ASM_OP): Here.
400         * config/pyr/pyr.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
401         Here.
402         * config/romp/romp.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
403         Here.
404         * config/rs6000/rs6000.h (SET_ASM_OP): Here.
405         * config/rs6000/sol2.h (ASM_STABN_OP): Here.
406         * config/rs6000/sysv4.h (SKIP_ASM_OP, LOCAL_ASM_OP, LCOMM_ASM_OP):
407         Here.
408         * config/sh/sh.h (SET_ASM_OP, BSS_SECTION_ASM_OP,
409         UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Here.
410         * config/sparc/linux.h (COMMON_ASM_OP): Here.
411         * config/sparc/linux64.h (COMMON_ASM_OP,
412         UNALIGNED_DOUBLE_INT_ASM_OP): Here.
413         * config/sparc/litecoff.h (BSS_SECTION_ASM_OP,
414         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
415         * config/sparc/lynx.h (BSS_SECTION_ASM_OP): Here.
416         * config/sparc/pbd.h (ASM_INT_OP): Here.
417         * config/sparc/sp64-elf.h (UNALIGNED_LONGLONG_ASM_OP): Here.
418         * config/sparc/sparc.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
419         DATA_SECTION_ASM_OP, IDENT_ASM_OP): Here.
420         * config/sparc/sun4gas.h (UNALIGNED_DOUBLE_INT_ASM_OP,
421         UNALIGNED_INT_ASM_OP, UNALIGNED_SHORT_ASM_OP): Here.
422         * config/sparc/sysv4.h (STRING_ASM_OP, COMMON_ASM_OP, SKIP_ASM_OP,
423         UNALIGNED_DOUBLE_INT_ASM_OP, UNALIGNED_INT_ASM_OP,
424         UNALIGNED_SHORT_ASM_OP, PUSHSECTION_ASM_OP, POPSECTION_ASM_OP,
425         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP,
426         CONST_SECTION_ASM_OP, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
427         CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
428         EH_FRAME_SECTION_ASM_OP): Here.
429         * config/sparc/vxsim.h (COMMON_ASM_OP): Here.
430         * config/spur/spur.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
431         Here.
432         * config/tahoe/tahoe.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
433         Here.
434         * config/v850/v850.h (SCOMMON_ASM_OP, ZCOMMON_ASM_OP,
435         TCOMMON_ASM_OP): Here.
436         * config/vax/vax.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
437         Here.
438         * config/we32k/we32k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
439         ASM_BYTE_OP): Here.
440
441 2000-09-25  Richard Henderson  <rth@cygnus.com>
442
443         * expmed.c (store_bit_field): Adjust last change to not consider
444         any word-sized field naturally aligned.
445
446 2000-09-24  Richard Henderson  <rth@cygnus.com>
447
448         * config/alpha/alpha.c (alpha_emit_conditional_branch): Handle
449         TFmode unordered compares properly.  Revalidate integer compare
450         operands.
451         (alpha_emit_setcc): New.
452         (alpha_emit_conditional_move): Revalidate integer compare operands.
453         * config/alpha/alpha-protos.h: Update.
454         * config/alpha/alpha.md (cmpdi): Allow general operands.
455         (sne): Use alpha_emit_setcc.
456         (seq, slt, sle, sgt, sge, sltu, sleu, sgtu, sgeu): Likewise.
457         (sunordered, sordered): New.
458
459 2000-09-24  Richard Henderson  <rth@cygnus.com>
460
461         * config/ia64/ia64-protos.h: Update.
462         * config/ia64/ia64.c (call_multiple_values_operation): Remove.
463         (ia64_expand_call): New.
464         (ia64_expand_prologue): Emit an alloc if we need extra input
465         registers.
466         (ia64_expand_epilogue): New arg sibcall_p; don't emit the return
467         instruction if true.
468         (struct reg_flags): Add is_sibcall.
469         (rtx_needs_barrier): A sibcall does not use CFM et al.  Ignore USEs.
470         (emit_insn_group_barriers): Set flags.is_sibcall.  Remove hacks
471         for CODE_FOR_gr_spill_internal/CODE_FOR_gr_restore_internal.
472         * config/ia64/ia64.h (PREDICATE_CODES): Update.
473         * config/ia64/ia64.md (call): Use ia64_expand_call.
474         (call_value): Likewise.
475         (sibcall, sibcall_value): New.
476         (call patterns): Remove extra expanders; tidy.
477         (sibcall_epilogue): New.
478         (set_bsp): Remove the extra USE.  Put the operand inside the UNSPEC.
479
480 2000-09-24  Richard Henderson  <rth@cygnus.com>
481
482         * emit-rtl.c (gen_lowpart_common): Use trunc_int_for_mode.
483
484         * sibcall.c (skip_pic_restore): New.
485         (identify_call_return_value): Use it.
486
487 2000-09-24  Mark Mitchell  <mark@codesourcery.com>
488
489         * c-tree.texi: Moved here from cp/ir.texi.  Documented nested
490         functions.  Generalize to handle both C and C++.
491         * Makefile.in (c-tree.info): New target.
492         (info): Add c-tree.info.
493         
494 Sun Sep 24 09:15:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
495
496         * expr.c (store_field): If BITSIZE is negative, use size of type.
497         (expand_expr, case COMPONENT_EXPR): Likewise.
498
499 Sun 24-Sep-2000 11:40:23 BST  Neil Booth  <NeilB@earthling.net>
500
501         * cpplex.c: Update TODO comment.
502         * cpplib.c (do_error, do_warning): Merge common code of
503         do_error and do_warning into do_diagnostic.  Use it.
504         (do_diagnostic): New function.
505         * cpplib.h: Fix comment typo.
506
507 2000-09-24  Joseph S. Myers  <jsm28@cam.ac.uk>
508
509         * c-common.c (check_format_info): Warn for a wide character string
510         used as a non-wide format argument.
511
512 2000-09-24  Joseph S. Myers  <jsm28@cam.ac.uk>
513
514         * builtins.def (BUILT_IN_LLABS): Add.
515         * builtins.c (expand_builtin): Also abort on BUILT_IN_LLABS.
516         * c-common.c (c_common_nodes_builtins): Create builtin functions
517         __builtin_llabs, and plain llabs unless no_nonansi_builtins
518         outside of C99 mode.
519         (expand_tree_builtin): Handle BUILT_IN_LLABS.
520
521 Sat 23-Sep-2000 22:39:18 BST  Neil Booth  <NeilB@earthling.net>
522
523         * cpphash.h (CPP_RESERVE, CPP_PUTS_Q, CPP_PUTS, CPP_PUTC_Q,
524         CPP_PUTC, DUMMY_TOKEN, NO_DUMMY_TOKEN): Delete.
525         * cpplex.c (_cpp_expand_token_space, _cpp_init_toklist,
526         _cpp_free_toklist): No need to worry about extra dummy token
527         at the start of token lists any more.
528         (trigraph_ok): Only warn outside comments.
529         (skip_block_comment): Set and clear lexing_comment.
530         (skip_line_comment): Take a cpp_reader not cpp_buffer.
531         Set and clear lexing_comment.
532         (parse_number): Handle leading '.' indicated by pfile->seen_dot.
533         (check_long_token): Delete.
534         (lex_percent, lex_dot): New subroutines of lex_token to
535         handle lexing of '.' and '%' without lookback.
536         (lex_token): Use lex_dot and lex_percent.
537         (lex_line): Don't check for LIST_OFFSET.
538         (_cpp_init_input_buffer): Update for new _cpp_init_toklist.
539         * cpplib.c (_cpp_parse_assertion): Similarly.
540         (cpp_push_buffer): Initialize extra_char.
541         * cpplib.h (LIST_OFFSET): Delete.
542         (struct cpp_buffer): New member extra_char.
543         (struct lexer_state): New members lexing_comment and seen_dot.
544
545 2000-09-23  Jason Merrill  <jason@redhat.com>
546
547         * config/rs6000/x-aix41 (CLIB): Define here.
548         * config/rs6000/t-aix43: Not here.
549         * config/rs6000/t-aix41: Or here.  Remove.
550         * configure.in: Don't use it.
551
552 2000-09-22  Jason Merrill  <jason@redhat.com>
553
554         * configure.in: Add test for HAVE_LD_DWARF_LINKONCE.
555         * toplev.c: Use it to initialize flag_eliminate_dwarf2dups.
556         * config.in: Regenerate.
557
558         * configure.in: Fix checks for assembler features when using a
559         one-tree assembler that has not yet been built.
560         Fix --disable-threads.
561
562 2000-09-19  Geoff Keating  <geoffk@cygnus.com>
563
564         * stmt.c (expand_asm_operands): Allow # in constraints.
565
566 2000-09-22  Jason Merrill  <jason@redhat.com>
567
568         * c-lex.c (skip_white_space): Just treat CRs as horizontal whitespace.
569
570         * dbxout.c (dbxout_symbol_name): Just use DECL_NAME for
571         function-local names.
572
573 2000-09-22  Brad Lucier <lucier@math.purdue.edu>
574             Mark Mitchell  <mark@codesourcery.com>
575
576         * toplev.c (warn_disabled_optimization): Declare new warning flag.
577         * flags.h (warn_disabled_optimization): Add it here.
578         * gcse.c (gcse_main): Add warning when disabled.
579         * invoke.texi: Document -Wdisabled-optimization.
580
581 2000-09-21  Jason Merrill  <jason@redhat.com>
582
583         * dwarf2out.c (add_const_value_attribute): Multiply by length, not 4.
584
585         * dwarf2out.c (tree_add_const_value_attribute): New fn.
586         (gen_variable_die): Call it for non-definitions.
587
588         * dwarf2out.c (die_struct): Add die_mark field.
589         (mark_dies, unmark_dies): New fns.
590         (clear_die_sizes): Remove.
591         (print_die): Check die_symbol rather than die_offset.
592         (build_abbrev_table, output_pubnames, output_aranges): Check
593         die_mark rather than die_offset.
594         (output_comp_unit): Move calc_die_sizes after build_abbrev_table.
595         Call mark_dies.
596
597 Thu 21-Sep-2000 18:19:05 BST  Neil Booth  <NeilB@earthling.net>
598
599         * cppfiles.c (lookup_include_file): Rename to open_file.
600         Always create a splay tree value, even on syscall failures.
601         Negative entries indicated by fd == -2.
602         Re-open files closed in the meantime.
603         (_cpp_fake_include): Create a negative splay tree entry.
604         (find_include_file, cpp_read_file): Update for function name
605         change.
606         * gcc.gd/cpp/mi4.c: Testcase.
607
608 2000-09-21  Nick Clifton  <nickc@redhat.com>
609
610         * config/arm/t-arm-elf (MULTILIB_DIRNAMES): Enable multilibs for
611         ARM and THUMB modes.
612
613         * config/mcore/mcore.c: Fix compile time warnings.
614         * config/mcore/mcore-protos.h: Fix compile time warnings. 
615
616 2000-09-20  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
617
618         * configure.in: Correct test of gcc_cv_glibc.
619         * configure: Rebuilt.
620         * config.in: Rebuilt.
621
622 2000-09-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
623
624         * builtins.c (expand_builtin_fputs): Also expand when length!=1.
625         (expand_builtin): Handle BUILT_IN_FWRITE.
626
627         * builtins.def (BUILT_IN_FWRITE): New entry.
628
629         * c-common.c (c_common_nodes_and_builtins): Declare __builtin_fwrite.
630
631 Wed Sep 20 15:39:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
632
633         * gcc.c (modify_target): New variable and struct.
634         (process_command): Handle MODIFY_TARGET_NAME.
635         * tm.texi (MODIFY_TARGET_NAME): Add documentation for new macro.
636         * config/pa/pa.h (MODIFY_TARGET_NAME): New macro.
637
638         * c-decl.c (finish_decl): Add else's to avoid referencing
639         TYPE_DOMAIN of an ERROR_MARK.
640
641 Wed Sep 20 21:44:31 2000  Denis Chertykov  <denisc@overta.ru>
642
643         * config/avr/avr.c (adjust_insn_length): Adjust lengths of
644         `reload_in*' insns.
645
646 2000-09-19  Marek Michalkiewicz  <marekm@linux.org.pl>
647
648         * config/avr/avr.md (neghi2): Add alternative for input and output
649         operands in different registers, as in negsi2.
650         (*negsi2): Remove '*' from the name.  Use "movw" if available.
651
652 2000-09-19  Jim Wilson  <wilson@cygnus.com>
653
654         * config/ia64/crtbegin.asm (__dso_handle): Delete use of
655         HAVE_GAS_HIDDEN macro.
656
657 Tue 19-Sep-2000 22:38:57 BST  Neil Booth  <NeilB@earthling.net>
658
659         * cpplex.c (lex_line): Drop the EOF token for unknown
660         directives in assembler.
661
662 2000-09-19  David Edelsohn  <edelsohn@gnu.org>
663
664         * configure.in: Allow enable_threads_flag value of "aix".  Define
665         thread_file as "aix" for AIX 4.3 and above.
666         * configure: Regenerated.
667
668         * gthr-aix.h: New file.
669
670         * rs6000/t-aix43: Replace soft-float multilib with pthread.
671         Remove 403 processor multilib match.  Fix rios2 processor multilib
672         match.
673
674         * rs6000/aix.h (ASM_DECLARE_FUNCTION_NAME): Use function_section
675         to return to appropriate csect.
676
677 2000-09-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
678
679         * builtins.c (is_valid_printf_arglist, expand_builtin_printf): New
680         functions.
681         (expand_builtin_fputs): Set `target' parameter for `expand_expr'.
682         (expand_builtin): Handle BUILT_IN_PUTCHAR, BUILT_IN_PUTS and
683         BUILT_IN_PRINTF.
684
685         * builtins.def (BUILT_IN_PUTCHAR, BUILT_IN_PUTS, BUILT_IN_PRINTF):
686         New entries.
687
688         * c-common.c (init_function_format_info): Handle __builtin_printf.
689         Set `check_function_format_ptr'.
690         (c_common_nodes_and_builtins): Set `puts_ftype' and
691         `printf_ftype'.  Declare __builtin_putchar, __builtin_puts,
692         __builtin_printf and printf.
693
694         * tree.c, tree.h (check_function_format_ptr): Declare.
695
696 Tue 19-Sep-2000 18:26:57 BST  Neil Booth  <NeilB@earthling.net>
697
698         * cppfiles.c (read_include_file): Take no special action for
699         zero-length files.
700
701 2000-09-19  Bernd Schmidt  <bernds@redhat.co.uk>
702
703         * final.c (insn_current_reference_address): Use INSN_SHUID of seq
704         rather than that of branch.
705         (shorten_branches): Don't increment insn_current_address twice.
706
707         Undo most of the Wed Jan 27 23:39:53 1999 patch:
708         * loop.h (struct induction): Delete members derived, ix and last_use.
709         (struct loop_ivs): Delete members first_increment_giv and
710         last_increment_giv.
711         * loop.c (verify_dominator, find_life_end, cmp_recombine_givs_stats,
712         recombine_givs): Delete functions.
713         (find_and_verify_loops): Don't initialize cont_dominator.
714         (strength_reduce): Lose code to try to find bivs that can be
715         expressed as givs of another biv, and to convert biv increments
716         into givs.
717         Lose loop_scan_start variable, always use loop->scan_start.
718         Don't call recombine_givs.  Don't handle derived givs.
719         (record_giv): Don't initialize derived and last_use fields.
720         (biv_eliminiation_giv_has_0_offset): Lose code to handle derived
721         givs.
722         * unroll.c (derived_regs): Delete static variable.
723         (unroll_loop): Don't initialize it.
724         (copy_loop_body): Lose code to handle derived givs.
725         (find_splittable_givs): Don't check for givs made from biv
726         increments.
727         Don't set derived_regs.
728
729         Fix misapplied earlier patch:
730         * config/sh/sh.md (floatsisf_ie): Reenable.  Remove explicit reference
731         to fpul.
732         (floatsisf2): Generate floatsisf_ie by default.
733         (floatsisf_i4): Conditional on TARGET_SH4.
734
735         (floatsisf2, floatsidf2, extendsfdf2): Also use reg_no_subreg_operand
736         predicate for the expanders.
737
738 2000-09-19  Richard Henderson  <rth@cygnus.com>
739
740         * config/i386/i386.h (CPP_CPU_SPEC): Define i586 and i686 symbols
741         in addition to pentium and pentiumpro symbols.
742         (CPP_CPU_DEFAULT_SPEC): Likewise.
743
744         * c-typeck.c (c_expand_asm_operands): Restore the output tree
745         after expanding.
746
747         * stmt.c (expand_expr_stmt): Only call warn_if_unused_value
748         if the tree has side effects.
749         (warn_if_unused_value): Do not warn about void constructs.
750
751         * c-decl.c (poplevel): Invoke warn_about_unused_variables.
752
753         * unroll.c (copy_loop_body): Update LABEL_NUSES before
754         calling invert_jump.
755
756 2000-09-18  Geoff Keating  <geoffk@cygnus.com>
757
758         * combine.c (can_combine_p): Don't substitute an ASM_OPERANDS
759         into anything.
760
761 2000-09-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
762
763         * Makefile.in (c-common.o): Depend on diagnostic.h.
764
765         * c-common.c: Include diagnostic.h.
766         (tfaff): Delete.
767         (status_warning): New function.
768         (check_format_info, maybe_read_dollar_number, check_format_types,
769         finish_dollar_format_checking, check_function_format): Accept a
770         `status' parameter.  All callers changed.
771
772         * c-common.h (check_function_format): Accept a `status' parameter.
773
774         * c-typeck.c: Update call to `check_function_format'.
775
776 2000-09-18  Richard Henderson  <rth@cygnus.com>
777
778         * c-decl.c (c_expand_body): Call mark_varargs before
779         expand_function_start.
780
781 2000-09-18  Geoff Keating  <geoffk@cygnus.com>
782
783         * config/rs6000/eabi-cn.asm: Use /**/ to delimit comments, not #.
784         * config/rs6000/eabi-ci.asm: Likewise.
785
786 2000-09-18  Richard Henderson  <rth@cygnus.com>
787
788         * emit-rtl.c (init_emit_once): Initialize const_tiny_rtx
789         for BImode.
790
791 2000-09-18  Jim Wilson  <wilson@cygnus.com>
792
793         * unroll.c (loop_iterations): Pass increment to extend_for_giv_value
794         before passing it to fold_rtx_mult_add.
795
796         * unroll.c (final_giv_value): Pass increment through
797         extend_value_for_giv before passing it to emit_iv_add_mult.
798
799         * function.c (fixup_var_refs_1, case ZERO_EXTRACT): If we have a
800         paradoxical subreg, then directly substitute the replacement and
801         return.
802
803 Mon 18-Sep-2000 22:12:44 BST  Neil Booth  <NeilB@earthling.net>
804
805         * cpp.texi: Update documentation, including some clarifications,
806         the treatment of various newline combinations, and space between
807         backslash and newline.
808
809 Mon Sep 18 21:00:47 2000  J"orn Rennecke <amylaar@redhat.co.uk>
810
811         * sdbout.c (PUT_SDB_DEF, PUT_SDB_TAG, PUT_SDB_EPILOGUE_END):
812         Replace ASM_OUTPUT_LABELREF with assemble_name.
813
814 Mon Sep 18 20:26:50 2000  J"orn Rennecke <amylaar@redhat.co.uk>
815
816         * sh.c (addsubcosts): CONST is not cheap.
817         (find_barrier): For Sh1, take alignment after jumps into account.
818
819 2000-09-15  Andrew Haley  <aph@redhat.com>
820
821         * toplev.c (rest_of_compilation): Call purge_hard_subreg_sets to
822         remove all SETs of SUBREGs of hard registers.
823         * function.c (purge_hard_subreg_sets): New function.
824         (purge_single_hard_subreg_set): New function.
825         * rtl.h: (purge_hard_subreg_sets): New function.
826
827 2000-09-18  Richard Henderson  <rth@cygnus.com>
828
829         * config/ia64/ia64-protos.h: Update.
830         * config/ia64/ia64.c (signed_inequality_operator): New.
831         (ia64_expand_compare): New.
832         (ia64_register_move_cost): Handle PR_REGS moves.
833         (ia64_secondary_reload_class): Require a GR when moving to a PR.
834         (struct reg_write_state): Add written_by_and/or.
835         (struct reg_flags): Add is_and/or.
836         (rws_update): Set them.
837         (rws_access_regno): Test them to allow parallel comparisons.
838         (rtx_needs_barrier): Recognize parallel comparisons.
839         (emit_insn_group_barriers): Set prev_insn after a call stop bit.
840         Call recog_memoized; ignore pred_rel_mutex.
841         (emit_predicate_relation_info): Don't call find_basic_blocks here.
842         (ia64_reorg): Do it here instead.
843         * config/ia64/ia64.h: s/CCmode/BImode/g
844         (MODES_TIEABLE_P): Don't tie BImode.
845         (PREFERRED_RELOAD_CLASS): Do not reload operations into AR regs.
846         (CONST_COSTS): Pick sensible values for CONST_INT based on context.
847         (RTX_COSTS): Make multiply 4 insns.
848         (MEMORY_MOVE_COST): New.
849         (PREDICATE_CODES): Update.
850         * config/ia64/ia64.md: s/CCmode/BImode/g
851         (movcci, movbi): New.
852         (andbi3, andcmbi3, iorbi3, iorcmbi3, one_cmplbi2): New.
853         (cmpsi_and_0, cmpsi_and_1, cmpsi_andnot_0, cmpsi_andnot_1): New.
854         (cmpdi_and_0, cmpdi_and_1, cmpdi_andnot_0, cmpdi_andnot_1): New.
855         (tbit_and_0, tbit_and_1, tbit_and_2, tbit_and_3): New.
856         (cmpsi_or_0, cmpsi_or_1, cmpsi_orcm_0, cmpsi_orcm_1): New.
857         (cmpdi_or_0, cmpdi_or_1, cmpdi_orcm_0, cmpdi_orcm_1): New.
858         (tbit_or_0, tbit_or_1, tbit_or_2, tbit_or_3): New.
859         (mulsi, muldi): Use xmpy not xma.
860         (cmpbi): New.
861         (movcc, movcc_internal): Remove.
862         (branch expanders): Use ia64_expand_compare.
863         (setcc expanders): Likewise.
864         (cmov insns): Use move_operand and ia64_move_ok.
865         (pred_rel_mutex): Use unspec not unspec_volatile.  Prevent the
866         scheduler from moving it past a use.
867         * config/ia64/build.hacks: Remove.
868
869 Mon 18-Sep-2000 19:21:35 BST  Neil Booth  <NeilB@earthling.net>
870
871         * cpphash.h (HASHSTEP): Take character rather than pointer
872         to character.
873         (_cpp_check_directive, _cpp_check_linemarker): Update prototypes.
874
875         * cpphash.c (cpp_loookup): Update for new HASHSTEP.
876
877         * cpplex.c (auto_expand_name_space, trigraph_replace,
878         backslash_start, handle_newline, parse_name, INIT_TOKEN_STR,
879         IMMED_TOKEN, PREV_TOKEN_TYPE, PUSH_TOKEN, REVISE_TOKEN,
880         BACKUP_TOKEN, BACKUP_TRIGRAPH, MIGHT_BE_DIRECTIVE,
881         KNOWN_DIRECTIVE): Delete.
882
883         (handle_newline, check_long_token, skip_escaped_newlines,
884         unterminated): New functions.
885         (ACCEPT_CHAR, SAVE_STATE, RESTORE_STATE): New macros.
886
887         (parse_identifier): Was parse_name, new implementation.
888         (skip_line_comment, skip_block_comment, skip_whitespace,
889         parse_number, parse_string, trigraph_ok, save_comment,
890         adjust_column, _cpp_get_line): New implementations.
891
892         (lex_token): New function.  Lexes a token at a time, looking
893         forwards.  Contains most of the guts of the old lex_line.
894         (lex_line): New implementation, using lex_token to obtain
895         individual tokens.
896         (cpp_scan_buffer): Use the token's line, not the list's line.
897
898         * cpplib.c (_cpp_check_directive, _cpp_check_linemarker):
899          New implementations.
900         (do_assert): Don't bother setting the answer's list's line.
901         (cpp_push_buffer): Initialise new pfile and read_ahead members
902         of struct cpp_buffer.
903
904         * cpplib.h (cppchar_t): New typedef.
905         (struct cpp_buffer): read_ahead, pfile and col_adjust are
906         new members.
907         (struct lexer_state): New structure that determines the state
908         and behaviour of the lexer.
909         (IN_DIRECTIVE, KNOWN_DIRECTIVE): New macros.
910         (struct cpp_reader): New member "state". Rename
911         multiline_string_line and multiline_string_column. Delete
912         col_adjust, in_lex_line members.
913         (CPP_BUF_COLUMN): Update.
914
915 2000-09-18  Richard Henderson  <rth@cygnus.com>
916
917         * combine.c (simplify_comparison): Shift a NOT out of a single
918         bit test.
919
920         * combine.c (if_then_else_cond): Canonicalize BImode true to
921         STORE_FLAG_VALUE.
922         * explow.c (trunc_int_for_mode): Likewise.
923
924         * combine.c (combine_simplify_rtx): Use gen_unary to distribute
925         the NOT for De Morgan's rule.
926         * simplify-rtx.c (simplify_unary_operation): Simplify a BImode NOT
927         of a comparison to the reverse comparison.
928
929         * combine.c (try_combine): Allow split to create a single insn.
930
931         * machmode.def: Add BImode.  Add a column for bitsize.
932         * machmode.h (DEF_MACHMODE): Adjust for extra column.
933         (GET_MODE_BITSIZE): Use it.
934         * rtl.c (DEF_MACHMODE): Adjust for extra column.
935         (mode_bitsize): New.
936         (mode_mask_array): Use bitsize.
937         * combine.c (combine_simplify_rtx): Require inner and outer
938         modes to match on nonzero_bits optimizations.
939
940 2000-09-18  Bernd Schmidt  <bernds@redhat.co.uk>
941
942         * reload1.c (forget_old_reloads_1): If a hard reg is stored, clear
943         its entry in spill_reg_store.
944         * config/sh/lib1funcs.ams (movstr_i4 functions): Always compile in.
945         * sh.c (reg_no_subreg_operand): New function.
946         * sh-protos.h (reg_no_subreg_operand): Declare it.
947         * sh.h (PREDICATE_CODES): Add it.
948         * sh.md (floatsisf2_i4, floatsidf2_i, extendsfdf2_i4): Use it for
949         input operand that needs to be in fpul.
950         (fix_truncsfsi2, fix_truncsfsi2_i4): Use register_operand for output.
951         * sh.c (find_barrier): Take into account that machine_dependent_reorg
952         might add new insns.
953
954 2000-09-18  Alexandre Oliva  <aoliva@redhat.com>
955
956         * config/sh/sh.c (sh_expand_prologue): Mark GOTaddr2picreg as
957         MAYBE_DEAD.
958         (sh_expand_epilogue): Take the PIC register into account when
959         computing the frame size.
960
961         * config/sh/sh.c (nonpic_symbol_mentioned_p): Check LABEL_REFs.
962         * config/sh/sh.md (sym_label2reg, symPLT_label2reg): Protect
963         LABEL_REFs with a PIC-safe unspec.
964
965 2000-09-18  Will Cohen  <wcohen@redhat.com>
966
967         * extend.texi (Zero Length): State that static initializers for
968         zero-length arrays are not allowed.
969
970         * c-typeck.c (process_init_element): Flag initializers for zero
971         length arrays.
972
973         * tree.c (integer_all_onesp): Ignore TREE_INT_CST_HIGH if prec is
974         exactly HOST_BITS_PERWIDE_INT.
975
976 2000-09-18  Joseph S. Myers  <jsm28@cam.ac.uk>
977
978         * c-common.c (check_format_info): Properly save the argument
979         number and parameter for $ operand number formats in case width
980         and precision arguments are also used.  Allow printf width and
981         precision arguments to have operand numbers even if none was
982         specified for the main format, since this is OK for %*.*m.  Only
983         object to missing $ operand number if the format used requires an
984         argument.
985
986 2000-09-18  Joseph S. Myers  <jsm28@cam.ac.uk>
987
988         * c-common.c (format_char_info): Add 'W' flag to comment.
989         (print_char_table, scan_char_table): Use it.
990         (check_format_info): Use the 'W' flag to determine whether a
991         format argument is written into.
992
993 2000-09-18  Joseph S. Myers  <jsm28@cam.ac.uk>
994
995         * c-common.c (check_format_types): Reorganise and clean up,
996         checking earlier for ERROR_MARKs and making cur_type into its
997         TYPE_MAIN_VARIANT where convenient.
998
999 2000-09-18  Joseph S. Myers  <jsm28@cam.ac.uk>
1000
1001         * gcc.c (cpp_options): Add specs for __STDC_HOSTED__.
1002
1003 2000-09-18  Bernd Schmidt  <bernds@redhat.co.uk>
1004
1005         * optabs.c (emit_libcall_block): Set CONST_CALL_P for the call.
1006
1007         * i386-protos.h (ix86_init_builtins, ix86_expand_builtin): Declare.
1008         * i386.c (struct builtin_description): New.
1009         (bdesc_comi, bdesc_2arg, bdesc_1arg): New arrays.
1010         (mmx_reg_operand): Declare MODE arg as unused.
1011         (ix86_expand_sse_comi, ix86_expand_sse_compare, safe_vector_operand,
1012         ix86_expand_unop1_builtin, ix86_expand_unop_builtin,
1013         ix86_expand_binop_builtin, ix86_expand_store_builtin,
1014         ix86_init_builtins, ix86_expand_builtin): New functions.
1015         * i386.h (ix86_builtins): New enumeration.
1016         (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): New macros.
1017         * i386.md (attr length_immediate): 0 for mmx/sse types.
1018         (attr prefix_0f): 1 for mmx/sse types.
1019         (setcc_2): Remove "*" so we get gen_setcc_2.
1020         (emms): Account for changed register numbering.  Set "memory" attr
1021         to unknown.
1022         (sfence): Set "memory" attr to unknown.
1023
1024 2000-09-18  Andreas Jaeger  <aj@suse.de>
1025
1026         * configure.in: Define _GNU_SOURCE only when using the GNU C
1027         Library.
1028         * configure: Regenerated.
1029         * config.in: Regenerated.
1030
1031 2000-09-17  Mark Mitchell  <mark@codesourcery.com>
1032
1033         * cppinit.c (cpp_init): Don't use ANSI prototypes.
1034         * flow.c (flow_dump_loop): Likewise.
1035         (flow_loops_dump): Likewise.
1036
1037         * c-typeck.c (c_start_case): Fix typo.
1038
1039 2000-09-17  Joseph S. Myers  <jsm28@cam.ac.uk>
1040
1041         * c-decl.c (grokdeclarator): Don't give a warning about defaulting
1042         to int for plain complex which defaults to complex double.  Do
1043         warn about defaulting to complex double if pedantic.  Warn about
1044         complex integer types if pedantic.  Warn about complex types if
1045         pedantic and not in C99 mode.
1046         * c-typeck.c (build_unary_op): If pedantic, warn about use of ~
1047         for complex conjugation.
1048
1049 2000-09-17  Joseph S. Myers  <jsm28@cam.ac.uk>
1050
1051         * contrib.texi: Update my entry.
1052
1053 Sun Sep 17 18:48:32 2000  Denis Chertykov  <denisc@overta.ru>
1054
1055         * config/avr/avr.md (mcu_enhanced): New attribute.
1056         (mcu_mega): Likewise.
1057         (extendhisi2): Use mcu_enhanced.
1058         (zero_extendhisi2): Likewise.
1059         (call_insn): Use mcu_enhanced and mcu_mega.
1060         (call_value_insn): Likewise.
1061         (*sbrx_branch): Use mcu_mega.
1062         (*sbrx_and_branchsi): Likewise.
1063         (*sbrx_and_branchhi): Likewise.
1064         (*tablejump_lib): Likewise.
1065
1066 Sun Sep 17 10:46:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1067
1068         * alias.c (true_dependence): Allow non-unchanging read to conflict
1069         with unchanging write.
1070
1071         * expr.c (store_constructor_field): Accept ALIAS_SET arg.
1072         (store_constructor): Pass alias_set to it.
1073
1074         * c-decl.c (grokdeclarator): Reorder tests to avoid looking at
1075         TYPE_MAIN_VARIANT of ERROR_MARK.
1076         * c-lex.c (readescape): Avoid using printf syntax we don't recognize.
1077
1078         * simplify-rtx.c (simplify_unary_operation): Add cases
1079         FLOAT_EXTEND and FLOAT_TRUNCATE to ones that return 0.
1080
1081 2000-09-17  Bernd Schmidt  <bernds@redhat.co.uk>
1082
1083         * expr.h (emit_library_call, emit_library_call_value): Delete
1084         declarations.
1085         * rtl.h (enum libcall_type): New.
1086         (emit_library_call, emit_library_call_value): Change fn_type arg to
1087         be of type enum libcall_type.
1088         * calls.c: Likewise for the function definitions.  Several callers
1089         throughout changed to use the new enumeration appropriately.
1090         (emit_library_call_value_1): Likewise.  Put back code to make libcall
1091         blocks of equal form, but only use it for the two new higher
1092         enumeration values.
1093
1094 2000-09-16  Mark Mitchell  <mark@codesourcery.com>
1095
1096         Convert the C front-end to use function-at-a-time mode.
1097         * c-common.h: Include splay-tree.h.
1098         (C_DECLARED_LABEL_FLAG): New macro.
1099         (struct language_function): Add x_scope_stmt_stack and
1100         x_function_name_declared_p.
1101         (RECHAIN_STMTS): Move definition.
1102         (lang_statment_code_p): Likewise.
1103         (lang_expand_stmt): Likewise.
1104         (lang_expand_decl_stmt): New variable.
1105         (lang_expand_function_end): Likewise.
1106         (current_scope_stmt_stack): New function.
1107         (add_decl_stmt): Likewise.
1108         (add_scope_stmt): Likewise.
1109         (mark_stmt_tree): Likewise.
1110         (struct c_lang_decl): New structure.
1111         (DECL_SAVED_TREE): Define.
1112         (c_mark_lang_decl): New function.
1113         (c_expand_start_cond): Change prototype.
1114         (c_finish_then): New function.
1115         (c_finish_else): Likewise.
1116         (current_function_name_declared): Remove.
1117         (set_current_function_name_declared): Likewise.
1118         (mark_c_language_function): Declare.
1119         (case_compare): Likewise.
1120         (c_add_case_label): Likewise.
1121         (c_expand_expr): Likewise.
1122         (c_safe_from_p): Likewise.
1123         * c-common.c (lang_expand_function_end): New variable.
1124         (struct if_elt): Add if_stmt.
1125         (c_expand_start_cond): Add the if-statement to the statement-tree,
1126         rather than generating RTL.
1127         (c_finish_then): New function.
1128         (c_expand_start_else): Don't generate RTL.
1129         (c_finish_else): New function.
1130         (c_expand_expr_stmt): Don't generate RTL.
1131         (statement_code_p): Add SCOPE_STMT.
1132         (case_compare): New function.
1133         (c_add_case_label): Likewise.
1134         (mark_stmt_tree): Likewise.
1135         (c_mark_lang_decl): Likewise.
1136         (mark_c_language_function): Likewise.
1137         (c_expand_expr): Likewise.
1138         (c_safe_from_p): Likewise.
1139         * c-decl.c (c_stmt_tree): New variable
1140         (c_scope_stmt_stack): Likewise.
1141         (c_function_name_declared_p): Likewise.
1142         (lang_expand_expr_stmt): Remove.
1143         (poplevel): Don't call output_inline_function for nested
1144         functions.
1145         (pushdecl): Don't set DECL_CONTEXT for a local declaration of an
1146         `extern' function.
1147         (redeclaration_error_message): Change means of computing whether
1148         or not a function is nested.
1149         (lookup_label): Don't call label_rtx.
1150         (init_decl_processing): Add more GC roots.
1151         (start_decl): Add DECL_STMTs to the statement-tree, rather than
1152         calling rest_of_decl_compilation.
1153         (finish_decl): Don't call expand_decl.
1154         (store_parm_decls): Begin the statement-tree, but don't generate
1155         RTL.
1156         (finish_function): Tie off the statement-tree.  Call c_expand_body
1157         if appropriate.
1158         (c_expand_body): New function.
1159         (push_c_function_context): Save more information.
1160         (pop_c_function_contxt): Likewise.
1161         (copy_lang_decl): Now that we use DECL_LANG_SPECIFIC, copy it.
1162         (lang_mark_tree): Mark it.
1163         (current_stmt_tree): Adjust.
1164         (current_scope_stmt_stack): New function.
1165         (do_case): Remove.
1166         (set_current_name_declared): Likewise.
1167         (c_begin_compound_stmt): Define.
1168         (c_expand_decl_stmt): Likewise.
1169         * c-lang.c: Include rtl.h and expr.h.
1170         (lang_init): Set more language-specific hooks.
1171         * c-lex.c: Include expr.h.
1172         * c-parse.in: Changes throughout to add statements to the
1173         statement-tree, rather than generating RTL after every statement.
1174         * c-semantics.c (lang_expand_decl_stmt): Define.
1175         (add_decl_stmt): New function.
1176         (add_scope_stmt): Likewise.
1177         (finish_stmt_tree): Tweak.
1178         (genrtl_expr_stmt): Likewise.
1179         (genrtl_decl_stmt): Handle local labels, and call
1180         lang_expand_decl_stmt if required.
1181         (genrtl_for_stmt): Fix line-number handling.
1182         (genrtl_case_label): Handle cleanups.
1183         (genrtl_asm_stmt): Don't call combine_strings.
1184         (genrtl_compound_stmt): Simplify.
1185         (expand_stmt): Handle SCOPE_STMTs.
1186         * c-tree.h (struct lang_decl): New structure.
1187         (C_DECLARED_LABEL_FLAG): Remove.
1188         (c_begin_compound_stmt): Declare.
1189         (c_expand_decl_stmt): Likewise.
1190         (c_expand_start_case): Rename to c_start_case.
1191         (c_finish_case): New function.
1192         * c-typeck.c (start_init): Tweak setting of
1193         constructor_incremental.
1194         (c_expand_asm_operands): Tweak error-handling.  Add to the
1195         statement-tree.
1196         (c_expand_return): Add to the statement-tree.
1197         (c_expand_start_case): Rename to ...
1198         (c_start_case): ... this.
1199         (struct c_switch): New type.
1200         (switch_stack): New variable.
1201         (do_case): Simplify.
1202         (c_finish_case): New function.
1203         * dependence.c: Include expr.h.
1204         (enum dependence_type): Change spelling of enumerals.
1205         (check_node_dependence): Adjust.
1206         * expr.h (lang_safe_from_p): Declare.
1207         (safe_from_p): Likewise.
1208         * expr.c (lang_safe_from_p): New variable.
1209         (safe_from_p): Give it external linkage.  Use lang_safe_from_p.
1210         * stmt.c (expand_expr_stmt): Avoid clobberring of last_expr_type.
1211         * toplev.c (rest_of_decl_compilation): Robustify.
1212         * tree.c (contains_placeholder_p): Likewise.
1213         * Makefile.in: Update dependencies.
1214         * objc/objc-act.h: Adjust calculation of value for dummy_tree_code.
1215         * objc/objc-act.c: Include rtl.h, expr.h, and c-common.h.
1216         (objc_expand_function_end): New function.
1217         (finish_method_def): Use it.
1218         (init_objc): Initialize more language-specific hooks.
1219         * objc/Make-lang.in: Update dependencies.
1220
1221 2000-09-16  Geoffrey Keating  <geoffk@cygnus.com>
1222
1223         * configure.in: Define macros that affect features before
1224         testing for features.  Don't define _XOPEN_SOURCE.
1225         * configure: Regenerated.
1226         * config.in: Regenerated.
1227
1228 Sat Sep 16 19:42:50 EDT 2000  John Wehle  (john@feith.com)
1229
1230         * rtlanal.c (rtx_varies_p): Volatile asms vary.
1231         (rtx_unstable_p): Restructure code.  Volatile asms
1232         are unstable.
1233
1234 Sat Sep 16 14:35:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1235
1236         * function.h (no_debugging_symbols): New field.
1237         * integrate.c (save_for_inline): Renamed from save_for_inline_nocopy.
1238         Initialize no_debugging_symbols.
1239         (output_inline_function): Save and restore write_symbols and set from
1240         no_debugging_symbols.
1241         * toplev.c (rest_of_compilation): Call save_for_inline.
1242         * tree.h: Update comment.
1243
1244         * stor-layout.c (place_field): Don't do anything if field or
1245         its type are ERROR_MARK.
1246
1247 Sat Sep 16 19:14:00 2000  Laurynas Biveinis <lauras@softhome.net>
1248
1249         * cppfiles.c (purge_cache): Use munmap only if MMAP_THRESHOLD defined.
1250         (read_include_file): Ensure inc->mmaped is initialized.
1251
1252 2000-09-16  Richard Henderson  <rth@cygnus.com>
1253
1254         * cppiles.c (purge_cache): Use PTR not caddr_t.
1255
1256 2000-09-16  Hans-Peter Nilsson  <hp@axis.com>
1257
1258         * gcc.c: In description for %{<S}, say the option removed is -S.
1259         * invoke.texi (Spec Files): Ditto.
1260
1261 2000-09-16  Andreas Jaeger  <aj@suse.de>
1262
1263         * configure.in: Always define _GNU_SOURCE to make interfaces
1264         visible that were hidden by only defining _GNU_SOURCE.
1265         * configure: Regenerated.
1266
1267 Sat 16-Sep-2000 08:13:45 BST  Neil Booth  <NeilB@earthling.net>
1268
1269         * cpplex.c (push_macro_context): Set an argument's level after
1270         calling parse_args.  We could loop infinitely otherwise.
1271
1272 2000-09-15  Tom Tromey  <tromey@cygnus.com>
1273
1274         * configure, config.in: Rebuilt.
1275         * configure.in: Check for iconv.h.  Define _XOPEN_SOURCE.
1276
1277 2000-09-15  Greg McGary  <greg@mcgary.org>
1278
1279         * cppmacro.c (check_trad_stringification): Check token
1280         text pointers against limit before dereferencing.
1281
1282 2000-09-15  Joseph S. Myers  <jsm28@cam.ac.uk>
1283
1284         * c-common.c (format_wanted_type): New structure.
1285         (check_format_types): New function.
1286         (check_format_info): Pass all checking of types of format
1287         arguments, including width and precision arguments, to this new
1288         function.
1289
1290 2000-09-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1291
1292         * BUGS: Remove file.
1293
1294 2000-09-15  Jakub Jelinek  <jakub@redhat.com>
1295
1296         * config/alpha/alpha.c (override_options): ev6 cache latencies
1297         from Richard Henderson.  Don't allow -mmemory-latency=L0.
1298
1299         * config/alpha/alpha.h (TARGET_CPU_EV5, TARGET_CPU_EV6): Define.
1300         (TARGET_OPTIONS): Add tune=.
1301         (alpha_tune_string): Declare.
1302         * config/alpha/alpha.c (override_options): Add cpu_table.
1303         Use alpha_cpu_string first to set both alpha_cpu and target_flags
1304         and then alpha_tune_string to set alpha_cpu only.
1305         Replace tests for PROCESSOR_EV* with TARGET_CPU_EV* tests.
1306         * config/alpha/elf.h (ASM_FILE_START): Likewise.
1307         * config/alpha/osf.h (ASM_FILE_START): Likewise.
1308         * config/alpha/openbsd.h (ASM_FILE_START): Likewise.
1309
1310 Fri Sep 15 19:45:55 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1311
1312         * i386-protos.h (no_comparison_operator, uno_comparison_operator):
1313         Remove.
1314         (ix86_comparison_operator, ix86_cc_mode): Declare
1315         * i386.h (CCGC, CCGCO): New modes.
1316         (SELECT_CC_MODE): Move offline to ....
1317         * i386.c (ix86_cc_mode): .... here; use new modes.
1318         (ix86_comparison_operator): New.
1319         (fcmov_comparison_operator): Ensure proper mode.
1320         (put_condition_mode): More sanity checking.
1321         (ix86_match_ccmode): Handle new modes.
1322         (ix86_expand_fp_compare): GEU requires CCmode.
1323         (ix86_expand_strlensi_unroll_1): Use emit_cmp_and_jump_insn instead of
1324         doing it by hand.
1325         * i386.md (cmp?i_ccz_1): Remove
1326         (cmp?i_ccno_1): Use ix86_match_ccmode.
1327         (cmp?i_minus_1): New.
1328         (cmpsi_1): New expander.
1329         (cmpqi_ext_1): Use match_ccmode
1330         (cmpqi_ext_3): New expander.
1331         (cmpqi_ext_3_insn): Rename from cmpqi_ext_3.
1332         (cmpqi_ext_4): Use match_ccmode.
1333         (add?i_?): Use match_ccmode.
1334         (add?i_6): New.
1335         (test?i_ccz_1): Remove
1336         (test?i_1): New.
1337         (testsi_ccno_1, testqi_ccz_1, testqi_ext_ccno_0): New expander.
1338         (testqi_ext_0): Use ix86_match_ccmode.
1339         (*xorqi_cc_ext_1): Use ix86_match_ccmode.
1340         (xorqi_cc_ext_1): New expander.
1341         (shift patterns): Use CCGOCmode for all shifts except for sar.
1342         (setcc_?, jcc_?, miv?icc_nic): Use ix86_comparison_operator.
1343         (setcc_3, jcc_3, miv?icc_c): Remove.
1344
1345 2000-09-15  Will Cohen  <wcohen@redhat.com>
1346
1347         * dwarf2out.c (add_const_value_attribute): Changed array into a
1348         xmalloced object, so it exists after function exit.
1349         (free_AT): Added case for dw_val_class_float to free allocated
1350         memory.
1351
1352 2000-09-15  Kazu Hirata  <kazu@hxi.com>
1353
1354         * config/i386/i386.md: Fix a comment typo.
1355         * gcc.c: Fix formatting.
1356
1357 2000-09-15  Bernd Schmidt  <bernds@redhat.co.uk>
1358
1359         * optabs.c (emit_libcall_block): If target is a user variable,
1360         copy to a temporary first.
1361         * expr.c (convert_move): When generating a libcall, make a libcall
1362         block.
1363         * calls.c (emit_library_call_value_1): Don't create a libcall
1364         sequence here; our caller will in most cases do it.
1365
1366         * sh.h (SECONDARY_INPUT_RELOAD_CLASS): Handle moving T, MACL or
1367         MACH into FPUL.
1368         (SECONDARY_OUTPUT_RELOAD_CLASS): Similar case.
1369         * sh.md (reload_outsf): Generate recognizable patterns for
1370         TARGET_SH3E.
1371         (floatsisf2, floatsisf2_ie, floatsisf2_i4, fix_truncsfsi2,
1372         fix_truncsfsi2_i4, fixsfsi, floatsidf2, floatsidf2_i, fix_truncdfsi2,
1373         fix_truncdfsi2_i, extendsfdf2, extendsfdf2_i4, truncdfsf2,
1374         truncdfsf2_i4): Change not to use explicit references to fpul.
1375         (floatsisf2_ie): Remove USE of fpscr.
1376         (floatsisf2): Change default expansion to match this.
1377         (fix_truncsfsi2_i4_2, fix_truncdfsi2_i4 & splitters): Comment out
1378         unused patterns.
1379
1380 2000-09-15  Richard Henderson  <rth@cygnus.com>
1381
1382         * expmed.c (store_bit_field): Consider naturally aligned
1383         memory for direct reference.
1384
1385 2000-09-15  Richard Henderson  <rth@cygnus.com>
1386
1387         * config/alpha/alpha.c (alpha_expand_unaligned_load): Force all
1388         AND addresses into alias set 0.
1389         (alpha_expand_unaligned_store): Likewise.
1390         (alpha_expand_unaligned_load_words): Likewise.
1391         (alpha_expand_unaligned_store_words): Likewise.
1392
1393 2000-09-15  Bernd Schmidt  <bernds@redhat.co.uk>
1394
1395         * config/sh/sh.h (CPP_SPEC): For -m4-nofpu, define __SH4_NOFPU__.
1396         * config/sh/lib1funcs.asm (movstr_i4): Also compile if __SH4_NOFPU__
1397         is defined.
1398         * config/mips/mips.c (mips_va_arg): Args passed by reference have a
1399         rsize of UNITS_PER_WORD.
1400
1401 Fri 15-Sep-2000 06:49:07 BST  Neil Booth  <NeilB@earthling.net>
1402
1403         * cpplex.c (ON_REST_ARG): Correct the test.
1404         (maybe_paste_with_next): Duplicate a token that fail pasting,
1405         and clear its PASTE_LEFT flag, so that nested pasting attempts
1406         do not occur.
1407
1408 2000-09-14  Richard Henderson  <rth@cygnus.com>
1409
1410         * calls.c (precompute_register_parameters): Use COSTS_N_INSNS, not 2.
1411         * cse.c (rtx_cost): Likewise.
1412         * optabls.c (expand_binop): Likewise.
1413         (expand_twoval_binop, prepare_cmp_insn): Likewise.
1414         * regclass.c (copy_cost): Likewise.
1415         * reload1.c (reload_cse_move2add): Likewise.
1416
1417 2000-09-14  Joseph S. Myers  <jsm28@cam.ac.uk>
1418
1419         * c-parse.in (reswords): Add _Complex.
1420
1421 2000-09-14  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
1422
1423         * gcc.1: Delete documentation for -undef preprocessor option.
1424
1425 2000-09-14  Alexandre Oliva  <aoliva@redhat.com>
1426
1427         * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
1428         STARTFILE_SPEC, ENDFILE_SPEC): Remove define.
1429         * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
1430         Remove undefine before config/elfos.h.
1431         * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Comment out.
1432
1433 2000-09-14  Kazu Hirata  <kazu@hxi.com>
1434
1435         * invoke.texi (H8/300 Options): Add -ms2600.
1436         * config/h8300.c (h8300_init_once): Output an error when -ms2600
1437         is used without -ms.
1438         * config/h8300.h (TARGET_MAC): New.
1439         (TARGET_SWITCHES): Add -ms2600 and -mno-s2600.
1440         (CONDITIONA_REGISTER_USAGE): Disable the mac register on any
1441         machine other than H8/S2600.
1442         * config/h8300.md: Accept mac instructions on the H8/S2600 instead
1443         of the H8/S2000.
1444
1445 2000-09-14  Alexandre Oliva  <aoliva@redhat.com>, Bernd Schmidt  <bernds@redhat.co.uk>
1446
1447         * reload.c (find_reloads_address_1): Generate reloads for auto_inc
1448         pseudos that refer to the original pseudos, not only to their
1449         equivalent memory locations.
1450
1451 Thu Sep 14 12:10:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1452
1453         * expr.c (expand_expr, case COMPONENT_EXPR): Copy memory attributes
1454         when making new MEM.
1455
1456         * Makefile.in (LN): Remove duplicate definition.
1457
1458 2000-09-12  Bernd Schmidt  <bernds@redhat.co.uk>
1459
1460         From Joern Rennecke:
1461         * local-alloc.c (update_equiv_regs): If there is no REG_EQUAL note
1462         on an insn and function_invariant_p returns nonzero for the source,
1463         add a REG_EQUAL note.
1464
1465 Thu Sep 14 00:51:57 EDT 2000  John Wehle  (john@feith.com)
1466
1467         * alias.c (memrefs_conflict_p): An ADDRESSOF doesn't
1468         conflict with frame_pointer_rtx.
1469
1470 2000-09-13  Kazu Hirata  <kazu@hxi.com>
1471
1472         * loop.c: Fix formatting.
1473         * loop.h: Likewise.
1474
1475 2000-09-13  Richard Henderson  <rth@cygnus.com>
1476
1477         * config/ia64/ia64.md (divsf3): New.
1478         (divsf3_internal_lat, divsf3_internal_thr): New.
1479         (divdf3, divdf3_internal_lat, divdf3_internal_thr): New.
1480         (divtf3, divtf3_internal_lat, divtf3_internal_thr): New.
1481         (adddf3_trunc, subdf3_trunc, muldf3_trunc): New.
1482         (madddf4_trunc, msubdf4_trunc, nmuldf3_trunc): New.
1483         (nmadddf4_alts, nmadddf4_trunc): New.
1484         (addtf3_truncsf, addtf3_truncdf, subtf3_truncsf): New.
1485         (subtf3_truncdf, multf3_truncsf, multf3_truncdf): New.
1486         (multf3_truncsf_alts, multf3_truncdf_alts): New.
1487         (maddtf4_truncsf, maddtf4_truncdf, maddtf4_alts_truncdf): New.
1488         (msubtf4_truncsf, msubtf4_truncdf, nmultf3_truncsf): New.
1489         (nmultf3_truncdf, nmaddtf4_truncsf, nmaddtf4_truncdf): New.
1490         (nmaddtf4_truncdf_alts): New.
1491         (recip_approx): Don't predicate.
1492
1493 2000-09-13  Richard Henderson  <rth@cygnus.com>
1494
1495         * config/ia64/lib1funcs.asm (__divsf3): Protect fnorm.s with p6.
1496
1497 2000-09-13  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1498
1499         * flags.h (flag_dump_rtl_in_asm): Declare.
1500         * toplev.c (flag_dump_rtl_in_asm): Define.
1501         (decode_d_option): Set flag_dump_rtl_in_asm and flag_print_asm_name
1502         if -dP is specified.
1503         * rtl.h (print_rtx_head): Declare.
1504         * print-rtl.c (print_rtx_head): Define.
1505         (print_rtx): Print the string pointed to by print_rtx_head
1506         at beginning of each dump line.
1507         (print_rtl): Likewise.
1508         (print_rtl_single): Likewise.
1509         * final.c (final_scan_insn): Dump the insn in the assembly
1510         file for debugging.
1511         * gcc.1: Document -dP option.
1512         * invoke.texi (Debugging Options): Likewise.
1513
1514 2000-09-13  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1515
1516         * md.texi (Machine Constraints): Document the 68HC11 constraints.
1517         * install.texi (Configurations): Document the 68HC11&68HC12 port.
1518         * invoke.texi (Option Summary, M68hc1x Options): Document the options.
1519
1520 Tue Sep 12 13:51:13 2000  Denis Chertykov  <denisc@overta.ru>
1521
1522         * config/avr/avr.h (ASSEMBLER_DIALECT): New macro declared.
1523         * config/avr/avr.md (*movstrqi_insn): Cleanup output template.
1524         (*clrstrqi): Likewise.
1525         (xorhi3,xorsi3,absqi2): Likewise.
1526         (one_cmplhi2,one_cmplsi2): Likewise.
1527         (addsi3): Two stupid constraint alternatives removed.
1528         (extendhisi2): Use `movw' for enhanced avr cores.
1529         (zero_extendhisi2): Likewise.
1530
1531 Wed Sep 13 02:31:23 EDT 2000  John Wehle  (john@feith.com)
1532
1533         * alias.c (find_base_term): Use frame_pointer_rtx
1534         when handling an ADDRESSOF.
1535
1536         * cse.c (canon_hash): Handle USE of BLKmode memory.
1537         (cse_insn): Outgoing arguments for a libcall don't
1538         affect any recorded expressions.
1539
1540 2000-09-12  Tom Tromey  <tromey@cygnus.com>
1541
1542         * configure, config.in: Rebuilt.
1543         * configure.in: Check for iconv, nl_langinfo, langinfo.h.
1544
1545 2000-09-12  Jakub Jelinek  <jakub@redhat.com>
1546
1547         * c-lex.c (lex_string): Use charwidth to compute bytemask.
1548         * expr.c (expand_expr): Don't optimize constant array references
1549         initialized with wide string constants.
1550
1551 2000-09-13  Michael Hayes  <mhayes@cygnus.com>
1552
1553         * loop.c (note_set_pseudo_multiple_uses): Correct.
1554
1555 2000-09-12  Jim Wilson  <wilson@cygnus.com>
1556
1557         * ifcvt.c (noce_process_if_block): If A and B are the same, and no
1558         else block, and X has side-effects, then fail.
1559
1560 2000-09-12  Greg McGary  <greg@mcgary.org>
1561
1562         * config/mips/mips-protos.h
1563         (trap_cmp_op, mips_gen_conditional_trap): New func decls.
1564         * config/mips/mips.h (ISA_HAS_COND_TRAP): New macro.
1565         (PREDICATE_CODES): Add "trap_cmp_op".
1566         * config/mips/mips.c
1567         (trap_cmp_op, mips_gen_conditional_trap): New functions.
1568         * config/mips/mips.md (trap, conditional_trap): New patterns.
1569
1570 2000-09-12  Bernd Schmidt  <bernds@redhat.co.uk>
1571
1572         * flow.c (try_pre_increment_1): Don't do anything to sets of the stack
1573         pointer.
1574
1575 2000-09-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1576
1577         * builtins.c (built_in_decls): New array.
1578         (expand_builtin_fputs): New function.
1579         (expand_builtin): Handle BUILT_IN_FPUTC and BUILT_IN_FPUTS.
1580
1581         * builtins.def (BUILT_IN_FPUTC, BUILT_IN_FPUTS): New members.
1582
1583         * c-common.c (c_common_nodes_and_builtins): Handle fputc/fputs.
1584
1585         * tree.h (built_in_decls): New array.
1586
1587 Tue Sep 12 08:53:57 2000  Jeffrey A Law  (law@cygnus.com)
1588
1589         * convex.md: Use "+" instead of "=" for outputs wrapped in a
1590         STRICT_LOW_PART.
1591         * i370.md, i386.md, ns32k.md, sh.md, vax.md: Likewise.
1592
1593 2000-09-12  Kazu Hirata  <kazu@hxi.com>
1594
1595         * haifa-sched.c: Fix formatting.
1596
1597         * genattrtab.c: Fix formatting.
1598
1599         * unroll.c: Fix formatting.
1600
1601 2000-09-12  Bruce Korb  <bkorb@gnu.org>
1602
1603         * fixinc/fixfixes.c: make a type for the fix procedure & use it,
1604         remove obsolete code
1605         * fixinc/fixincl.c: Use PARAMS, not _P_.  Add no-op default to switch.
1606         * fixinc/fixincl.tpl: make non-exported arrays static scope
1607         * fixinc/fixincl.x: regenerate
1608         * fixinc/fixlib.h: Use PARAMS, not _P_
1609         * fixinc/fixtests.c: make a type for the test proc & use it
1610         * fixinc/server.h: Use PARAMS, not _P_
1611
1612 2000-09-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1613
1614         * c-typeck.c (process_init_element): Avoid union init warnings on
1615         floating point zero.  Don't crash on unions containing structs.
1616
1617 2000-09-12  Alexandre Oliva  <aoliva@redhat.com>
1618
1619         * config/sh/sh.h (PREDICATE_CODES): Add CONST_DOUBLE to
1620         general_movsrc_operand, and remove CONST_INT from
1621         general_movdst_operand.
1622
1623 2000-09-12  Bernd Schmidt  <bernds@redhat.co.uk>
1624
1625         * cse.c (approx_reg_cost): If SMALL_REGISTER_CLASSES, return INT_MAX
1626         if a reference to non-fixed hardreg is seen.  Otherwise, count hard
1627         regs with a higher cost.
1628         (preferrable): Deal with cases where either cost or regcost is
1629         MAX_COST.
1630         (cse_insn): Use MAX_COST rather than 10000.  Always initialize
1631         regcost values.
1632         (COSTS_N_INSNS): Move definition...
1633         * rtl.h: ...here.
1634         (MAX_COST): New macro.
1635         * loop.c (init_loop): Use COSTS_N_INSNS macro instead of hardcoded
1636         constant.
1637
1638 2000-09-11  Mark Mitchell  <mark@codesourcery.com>
1639
1640         * c-common.h (genrtl_clear_out_block): Remove.
1641         * c-semantics.c (genrtl_clear_out_block): Remove.
1642         (genrtl_while_stmt): Don't call it.
1643         (genrtl_for_stmt): Likewise.
1644
1645 2000-09-11  Zack Weinberg  <zack@wolery.cumb.org>
1646
1647         * cppfiles.c: Move all default-#defines to top of file.
1648         (open_include_file): Replace by lookup_include_file.
1649         (read_with_read, read_file): Merged into read_include_file.
1650         (stack_include_file, purge_cache): New functions.
1651         (close_cached_fd): Delete.
1652         (lookup_include_file, read_include_file, _cpp_pop_file_buffer):
1653         Cache the in-memory buffer, not the file descriptor.
1654
1655         * cpphash.h (struct include_file): Add buffer, st, refcnt,
1656         mapped fields.
1657         (xcnew): New utility macro.
1658         (DO_NOT_REREAD, NEVER_REREAD): Move up by struct include_file.
1659         * cpplib.h (struct cpp_buffer): Remove mapped field.
1660
1661 2000-09-11  Zack Weinberg  <zack@wolery.cumb.org>
1662
1663         * cpplex.c (parse_string): Accept backslash space newline as a
1664         line continuation.
1665         (lex_line): Likewise.
1666         (_cpp_get_token): Remove hard limit on macro nesting.
1667
1668 2000-09-12  Philipp Thomas  <pthomas@suse.de>
1669
1670         * aclocal.m4 (AM_WITH_NLS): Don't force use of included gettext.
1671         * configure: Rebuilt.
1672
1673 2000-09-13  Michael Hayes  <mhayes@cygnus.com>
1674
1675         * flow.c (split_block): Fix update of registers live at
1676         end of split block.
1677
1678 Tue Sep 12 01:51:38 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1679
1680         * i386.md (add?i_3, add?i_5): New.
1681         (add?i_4): Rename from add?i_3;  Fix compare pattern.
1682         (sub?i_3, xor?i_3, ior?i_3): New.
1683
1684         * genrecog.c (write_tree): Output code to clear insn_extract cache.
1685         * genattrtab.c (write_attr_case): Gen call to extract_insn_cache
1686         instead of extract_insn and extract_constrain_insn_cache instead of
1687         extract_insn and constrain_operands.
1688         * recog.c (extract_insn_cached, extract_constrain_insn_cached):
1689         New functions.
1690         (extract_insn): Clear which_alternative.
1691         (constrain_operands): Set which_alternative to -1 when failed.
1692         * recog.h (extract_constrain_insn_cached, extract_insn_cached):
1693         Declare.
1694
1695 2000-09-11  Matthew Hiller  <hiller@redhat.com>
1696
1697         * config/h8300/h8300.md (movstrictqi): Changed constraint modifier
1698         on operand 0 to '+'.
1699         (movstricthi): Likewise.
1700
1701 2000-09-12  Michael Hayes  <mhayes@cygnus.com>
1702
1703         * loop.h (LOOP_IVS): New macro.
1704         (REG_IV_TYPE, REG_IV_INFO): Add ivs argument.
1705         (struct loop_ivs): New.
1706         (struct loop_info): Add ivs field.
1707         (reg_iv_type, reg_iv_info): Delete prototype.
1708         (reg_biv_class, loop_iv_list): Likewise.
1709         * loop.c (record_biv, find_life_end): Pass loop argument.
1710         (reg_iv_type): Remove global array and use
1711         field in loop_regs structure within loop_ivs structure.
1712         (reg_iv_info, reg_biv_class, loop_iv_list): Likewise.
1713         (first_increment_giv, last_increment_giv): Use entry in
1714         loop_ivs structure.
1715         (record_initial): Pass ivs pointer.
1716         * unroll.c (copy_loop_body, remap_split_bivs): Add loop argument.
1717
1718 2000-09-12  Michael Hayes  <mhayes@cygnus.com>
1719
1720         * loop.h (LOOP_REGS): New macro.
1721         (struct loop_regs): New.
1722         (struct loop_info): Add regs field.
1723         * loop.c (set_in_loop): Remove global array and store
1724         in loop_regs structure as part of loop_info structure.
1725         (n_times_set, may_not_optimize): Likewise.
1726         (reg_single_usage, moved_once): Likewise.
1727         (count_one_set): Add regs argument.
1728         (combine_movables, rtx_equal_for_loop_p, combine_givs): Likewise.
1729         (set_pseudo_multiple_uses): Pass regs pointer.
1730
1731 2000-09-12  Michael Hayes  <mhayes@cygnus.com>
1732
1733         * unroll.c (iteration_info): Subsume into loop_iterations.
1734         * loop.h (loop_info): New field iv.
1735
1736 2000-09-12  Michael Hayes  <mhayes@cygnus.com>
1737
1738         * basic-block.h (LOOP_TREE, LOOP_PRE_HEADER, LOOP_EDGES): New.
1739         (LOOP_EXITS_DOMS, LOOP_ALL): Likewise.
1740         (flow_loops_update): New prototype.
1741         (flow_loops_find): Add flags to prototype.
1742         (struct loop): Add `pre_header_root' and `pre_header_trace' fields.
1743         * flow.c (flow_loop_pre_header_scan): New.
1744         (flow_loop_dump): Dump pre-header root and trace and exit dominators.
1745         (flow_loop_free): Free pre-header root and trace and exit dominators.
1746         (flow_loops_find): New argument flags.
1747         (flow_loops_update): New function.
1748         * toplev.c (rest_of_compilation): Add flag argument to flow_loops_find.
1749
1750 2000-09-12  Michael Hayes  <mhayes@cygnus.com>
1751
1752         * basic-block.h (split_block, update_bb_for_insn): New prototypes.
1753         * flow.c (split_block, update_bb_for_insn): New functions.
1754
1755 2000-09-11  Richard Henderson  <rth@cygnus.com>
1756
1757         * cse.c (fold_rtx): Honor NO_FUNCTION_CSE.
1758
1759 2000-09-11  Richard Henderson  <rth@cygnus.com>
1760
1761         * config/ia64/ia64-protos.h (fr_nonimmediate_operand): Declare.
1762         * config/ia64/ia64.c (fr_nonimmediate_operand): New.
1763         (ia64_override_options): Prevent optimizing division for both
1764         latency and throughput.
1765         (rtx_needs_barrier): Handle frcpa.
1766         * config/ia64/ia64.h (MASK_INLINE_DIV_LAT): New.
1767         (MASK_INLINE_DIV_THR, TARGET_INLINE_DIV_LAT): New.
1768         (TARGET_INLINE_DIV_THR, TARGET_INLINE_DIV): New.
1769         (TARGET_SWITCHES): Add -minline-divide-min-latency and
1770         -minline-divide-max-throughput.
1771         (PREDICATE_CODES): Update.
1772         * config/ia64/ia64.md (extendsidi2): Remove * from f case.
1773         (zero_extendsidi2): Likewise.  Fix typo in f case insn.
1774         (extendsfdf2): Add cases for gr<->fr and fr<->mem.
1775         (extendsftf2): Likewise.
1776         (extenddftf2): Likewise.
1777         (fix_trunctfdi2_alts): New.
1778         (fixuns_trunctfdi2_alts): New.
1779         (madd*4): Rename from madd*3.
1780         (divsi3, modsi3, udivsi3, umodsi3): New.
1781         (divsi3_internal): New.
1782         (divdi3, moddi3, udivdi3, umoddi3): New.
1783         (divdi3_internal_lat, divdi3_internal_thr): New.
1784         (multf3_alts, maddtf4_alts, nmaddtf4_alts): New.
1785         (recip_approx): New.
1786
1787 2000-09-11  Alexandre Oliva  <aoliva@redhat.com>
1788
1789         * print-rtl.c (debug_call_placeholder_verbose): New variable.
1790         (print_rtx) [CALL_PLACEHOLDER]: Dump all call sequences if it is
1791         set.
1792         * integrate.c (copy_rtx_and_substitute): Don't share
1793         LEAF_REG_REMAPpable registers with the inlined function.  Don't
1794         share the function value with calling sequences.
1795
1796 2000-09-11  Jakub Jelinek  <jakub@redhat.com>
1797
1798         * c-decl.c (do_case): Fix a typo.
1799
1800         * combine.c (simplify_if_then_else): Don't convert a == b ? b : a
1801         to a if the comparison is floating mode and not -ffast-math.
1802         * simplify-rtx.c (simplify_ternary_operation): Likewise.
1803
1804 Mon Sep 11 20:07:48 2000  J"orn Rennecke <amylaar@redhat.co.uk>
1805
1806         * sh.h (INITIALIZE_TRAMPOLINE): Remove stray call to
1807         gen_ic_invalidate_line.
1808
1809 2000-09-11  Philip Blundell  <pb@futuretv.com>
1810
1811         * config/arm/elf.h (SUBTARGET_CPP_SPEC): Don't define `arm_elf'.
1812
1813 Mon Sep 11 10:48:41 2000  Ulrich Drepper <drepper@redhat.com>
1814
1815         * install.texi (LANGUAGES): Update to include new languages.
1816         * INSTALL: Rebuilt.
1817
1818 2000-09-11  DJ Delorie  <dj@redhat.com>
1819
1820         * gcc.c (main): Don't warn about unused -B prefixes
1821         (unused_prefix_warnings): remove
1822
1823 2000-09-11  Kazu Hirata  <kazu@hxi.com>
1824
1825         * final.c: Fix formatting.
1826
1827         * integrate.c: Fix formatting.
1828
1829 2000-09-11  Geoff Keating  <geoffk@cygnus.com>
1830
1831         * alias.c (memrefs_conflict_p): An ADDRESSOF does conflict, sorry.
1832
1833 2000-09-11  Bernd Schmidt  <bernds@redhat.co.uk>
1834
1835         * reload.c (regno_clobbered_p): Fix thinko in previous change.
1836
1837 2000-09-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1838
1839         * gcc.1: Document 68hc11 specific options.
1840
1841 2000-09-10  Geoff Keating  <geoffk@cygnus.com>
1842
1843         * config/rs6000/sysv4.h (MASK_LONG_DOUBLE_128): Define.
1844         (TARGET_LONG_DOUBLE_128): Define.
1845         (SUBTARGET_SWITCHES): Add -mlong-double-64 and -mlong-double-128.
1846         (LONG_DOUBLE_TYPE_SIZE): Redefine.
1847         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
1848         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on definition
1849         of __LONG_DOUBLE_128__.
1850         (CPP_SYSV_SPEC): Define __LONG_DOUBLE_128__ if -mlong-double-128
1851         passed.
1852         (CPP_LONGDOUBLE_DEFAULT_SPEC): Define.
1853         (CPP_SYSV_DEFAULT_SPEC): Define.
1854         (SUBTARGET_EXTRA_SPECS): Add cpp_longdouble_default.
1855         (INIT_TARGET_OPTABS): Define.
1856
1857         * config/rs6000/aix.h (RS6000_ITRUNC): Moved from rs6000.h.
1858         (RS6000_UITRUNC): Likewise.
1859         (INIT_TARGET_OPTABS): New macro.
1860         * config/rs6000/rs6000.c (rs6000_trunc_used): Delete.
1861         (trunc_defined): Delete.
1862         (output_prolog): Don't output .extern definitions for fp->int
1863         conversion routines, ASM_OUTPUT_EXTERNAL_LIBCALL will do it.
1864         * config/rs6000/rs6000.h (rs6000_trunc_used): Delete.
1865         (trunc_defined): Delete.
1866         (RS6000_ITRUNC): Moved to aix.h.
1867         (RS6000_UITRUNC): Likewise.
1868         * config/rs6000/rs6000.md (fix_truncdfsi2): Fail if it would
1869         only emit a libcall.
1870         (fixuns_truncdfsi2): Delete.
1871         (trunc_call): Delete.
1872         (trunc_call_rtl): Delete.
1873
1874 2000-09-10  Zack Weinberg  <zack@wolery.cumb.org>
1875
1876         * varasm.c (make_decl_rtl): Restore leading star on
1877         DECL_ASSEMBLER_NAME set for decls with an asmspec.
1878
1879 2000-09-10  Zack Weinberg  <zack@wolery.cumb.org>
1880
1881         * c-pragma.c (handle_pragma_pack): Correct parsing logic so it
1882         won't give a spurious error for '#pragma pack()'.  Simplify
1883         control flow for readability.  'reset' action is not necessary.
1884
1885 2000-09-10  Zack Weinberg  <zack@wolery.cumb.org>
1886
1887         * defaults.h: Provide default definitions for: CHAR_TYPE_SIZE,
1888         SHORT_TYPE_SIZE, INT_TYPE_SIZE, LONG_TYPE_SIZE,
1889         LONG_LONG_TYPE_SIZE, WCHAR_TYPE_SIZE, FLOAT_TYPE_SIZE,
1890         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE, and WCHAR_UNSIGNED.
1891
1892         * cppexp.c, dwarfout.c, dwarf2out.c, emit-rtl.c, final.c, optabs.c,
1893         profile.c, sdbout.c, tradcif.y, tree.c:
1894         Include defaults.h if not already included.
1895         Don't define the above macros.
1896
1897         * Makefile.in: Update dependencies.
1898
1899 2000-09-10  Mark Mitchell  <mark@codesourcery.com>
1900
1901         * c-common.h (add_stmt): Change prototype.
1902         (RECHAIN_STMTS): New macro.
1903         (CASE_LABEL_DECL): Likewise.
1904         (genrtl_case_label): Change prototype.
1905         (c_expand_start_case): Remove prototype.
1906         (build_case_label): Change prototype.
1907         (decl_constant_value): Declare.
1908         * c-common.c (check_case_value): Handle C++'s extensions to C
1909         semantics.
1910         * c-commnon.def (CASE_LABEL): Add room for the CASE_LABEL_DECL
1911         field.
1912         * c-parse.in (stmt): Adjust handling of return statements and case
1913         laels.
1914         * c-semantics.c (add_stmt): Return the new statement.
1915         (genrtl_return_stmt): Take the RETURN_STMT as input, not the
1916         returned expression.  Directly generate RTL, rather than calling
1917         c_expand_return.
1918         (genrtl_switch_stmt): Don't call c_expand_start_case.
1919         (build_case_label): Take the LABEL_DECL as input, too.
1920         (genrtl_case_label): Just call add_case_node.
1921         (expand_stmt): Adjust calls to genrtl_return_stmt and
1922         genrtl_case_label.
1923         * c-tree.h (c_expand_start_case): Declare.
1924         * c-typeck.c (decl_constant_value): Give it external linkage.
1925         (c_expand_return): Don't call expand_return or expand_null_return;
1926         use genrtl_return_stmt instead.
1927         * stmt.c (struct nesting): Remove num_ranges field.
1928         (add_case_node): Give it external linkage.
1929         (expand_start_case): Don't set num_ranges.
1930         (expand_start_case_dummy): Don't clear it.
1931         (pushcase): Rely on add_case_node to handle `default' labels.
1932         (add_case_node): Handle `default' labels.
1933         * tree.c (tree_int_cst_compare): New function.
1934         * tree.h (tree_int_cst_compare): Declare.
1935         (add_case_node): Likewise.
1936
1937 2000-09-10  Richard Henderson  <rth@cygnus.com>
1938
1939         * c-parse.in: Revert last change.
1940         (init_reswords): Do not enter disabled keywords into the ridpointers
1941         table, modulo objc weirdness.
1942         (_yylex): Return the canonical spelling for a keyword.
1943
1944 2000-09-10  Philip Blundell  <philb@gnu.org>
1945
1946         * config/arm/arm.h (CPP_ISA_SPEC): Don't define `arm' or `thumb'.
1947         * config/arm/linux-elf.h (CPP_PREDEFINES): Don't define `__arm__'.
1948
1949 Sun Sep 10 14:30:28 EDT 2000  John Wehle  (john@feith.com)
1950
1951         * alias.c (find_base_term): Handle ADDRESSOF.
1952         (memrefs_conflict_p): An ADDRESSOF doesn't conflict.
1953
1954 2000-09-10  Denis Chertykov  <denisc@overta.ru>
1955
1956         * genoutput.c (output_insn_data): Translate <NEWLINE> to \n\ while
1957         outputting templates with many lines.
1958
1959 2000-09-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1960
1961         * libgcc2.h: Use LONG_LONG_TYPE_SIZE instead of MIN_UNITS_PER_WORD
1962         to decide whether 64-bit support must be generated.
1963
1964 2000-09-10  Richard Henderson  <rth@cygnus.com>
1965
1966         * c-parse.in (asm patterns): Fix volatile check.
1967
1968 2000-09-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1969
1970         * cppmacro.c (check_trad_stringification): New function.
1971         (save_expansion): If -Wtraditional, warn about stringification of
1972         macro arguments.
1973
1974 2000-09-11  Michael Hayes  <mhayes@cygnus.com>
1975
1976         * loop.h (struct loop_mem_info): Move from loop.c
1977         (struct loop_info): Add fields store_mems, mems, mems_idx,
1978         mems_allocated, unknown_address_altered,
1979         unknown_constant_address_altered, num_mem_sets, and
1980         first_loop_store_insn.
1981
1982         * loop.c (loop_store_mems): Replace with field in loop_info struct.
1983         (loop_mems, loop_mems_idx, loop_mems_allocated): Likewise.
1984         (unknown_address_altered, unknown_constant_address_altered): Likewise.
1985         (num_mem_sets): Likewise.
1986         (replace_loop_mems, replace_loop_regs): New.
1987         (struct loop_replace_args): New.
1988         (load_mems): Use replace_loop_mems.
1989         (try_copy_prop): Use replace_loop_regs.
1990         (replace_loop_reg, replace_loop_mem): Use loop_replace_args structure.
1991
1992 2000-09-09  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1993
1994         * configure.in: Recognize m6811-elf and m6812-elf.
1995         * configure: Regenerate.
1996
1997 2000-09-09  Geoff Keating  <geoffk@cygnus.com>
1998
1999         * recog.c (validate_replace_rtx_1): Correct MODE parameter in call
2000         to operand_subword.
2001
2002 2000-09-10  Michael Hayes  <mhayes@cygnus.com>
2003
2004         * loop.c (struct movables): New.
2005         (num_movables): Move into struct movables.
2006         (the_movables): Change type to struct movables.
2007         (ignore_some_movables): Change struct movable arg to struct movables.
2008         (force_movables, combine_movables, regs_match_p): Likewise.
2009         (rtx_equal_for_loop_p, move_movables): Likewise.
2010         (scan_loop): Change movables to be of type struct movables.
2011         Replace last_movable with field in movables structure.
2012
2013 2000-09-08  Zack Weinberg  <zack@wolery.cumb.org>
2014
2015         * c-pragma.c: Don't elide entire file if !HANDLE_GENERIC_PRAGMAS.
2016         (init_pragma): Avoid warning if pfile happens to be unused.
2017         * c-pragma.h: Never define HANDLE_GENERIC_PRAGMAS.  Never
2018         define init_pragma to nothing.  Always prototype
2019         init_pragma.  Prototype dispatch_pragma if !USE_CPPLIB.
2020
2021         * c-lex.c (process_directive): Always call dispatch_pragma.
2022         Initialize entering_c_header to 0.
2023
2024 2000-09-08  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2025
2026         * config/m68hc11/m68hc11.md: New file, machine description for
2027         68HC11 & 68HC12.
2028         * config/m68hc11/m68hc11.h: New file, definitions for 68HC11 & 68HC12.
2029         * config/m68hc11/m68hc11.c: New file, functions for 68HC11 & 68HC12.
2030         * config/m68hc11/m68hc12.h: New file, definitions for 68HC12.
2031         * config/m68hc11/m68hc11-protos.h: New file.
2032         * config/m68hc11/m68hc11-crt0.S: New file, startup code.
2033         * config/m68hc11/t-m68hc11-gas: New file, makefile fragment.
2034         * config/m68hc11/xm-m68hc11.h: New file, target defs.
2035         * config/m68hc11/larith.asm: New file, libgcc routines.
2036
2037 2000-09-08  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2038
2039         * Makefile.in (DPBIT_FUNCS): Add _usi_to_df.
2040         (FPBIT_FUNCS): Add _usi_to_sf.
2041         * config/fp-bit.c (usi_to_float): New function.
2042         * config/fp-bit.h (L_usi_to_sf, L_usi_to_df): Define.
2043         (usi_to_float): Add appropriate #define.
2044
2045 2000-09-08  Bernd Schmidt  <bernds@redhat.co.uk>
2046
2047         * i386-protos.h (sse_comparison_operator, mmx_reg_operand): Declare
2048         new functions.
2049         * i386.c (sse_comparison_operator, mmx_reg_operand): New functions.
2050         * i386.md (attr "type"): Add sse and mmx types.
2051         (attr "memory"): Handle them without a crash.
2052         (movsi_1, movdi_2): Allow MMX regs.
2053         (movdi splits): Don't split moves involving MMX regs.
2054         (setcc_4): Remove '*' from pattern name so we get a gen_setcc4.
2055         (movv4sf_internal, movv4si_internal, movv8qi_internal,
2056         movv4hi_internal, movv2si_internal, movv8qi, movv4hi, movv2si,
2057         movv4sf, movv4si, pushv4sf, pushv4si, pushv8qi, pushv4hi, pushv2si,
2058         sse_movaps, sse_movups, sse_movmskps, mmx_pmovmskb, mmx_maskmovq,
2059         sse_movntv4sf, sse_movntdi, sse_movhlps, sse_movlhps, sse_movhps,
2060         sse_movlps, sse_loadss, sse_movss, sse_storess, sse_shufps,
2061         addv4sf3, vmaddv4sf3, subv4sf3, vmsubv4sf3, mulv4sf3, vmmulv4sf3,
2062         divv4sf3, vmdivv4sf3, rcpv4sf2, vmrcpv4sf2, rsqrtv4sf2, vmrsqrtv4sf2,
2063         sqrtv4sf2, vmsqrtv4sf2, sse_andti3, sse_nandti3, sse_iorti3,
2064         sse_xorti3, maskcmpv4sf3, maskncmpv4sf3, vmmaskcmpv4sf3,
2065         vmmaskncmpv4sf3, sse_comi, sse_ucomi, sse_unpckhps, sse_unpcklps,
2066         smaxv4sf3, vmsmaxv4sf3, sminv4sf3, vmsminv4sf3, cvtpi2ps, cvtps2pi,
2067         cvttps2pi, cvtsi2ss, cvtss2si, cvttss2si, addv8qi3, addv4hi3,
2068         addv2si3, ssaddv8qi3, ssaddv4hi3, usaddv8qi3, usaddv4hi3, subv8qi3,
2069         subv4hi3, subv2si3, sssubv8qi3, sssubv4hi3, ussubv8qi3, ussubv4hi3,
2070         mulv4hi3, smulv4hi3_highpart, umulv4hi3_highpart, mmx_pmaddwd,
2071         mmx_iordi3, mmx_xordi3, mmx_anddi3, mmx_nanddi3, mmx_uavgv8qi3,
2072         mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw, mmx_pshufw,
2073         eqv8qi3, eqv4hi3, eqv2si3, gtv8qi3, gtv4hi3, gtv2si3, umaxv8qi3,
2074         smaxv4hi3, uminv8qi3, sminv4hi3, ashrv4hi3, ashrv2si3, lshrv4hi3,
2075         lshrv2si3, mmx_lshrdi3, ashlv4hi3, ashlv2si3, mmx_ashldi3,
2076         mmx_packsswb, mmx_packssdw, mmx_packuswb, mmx_punpckhbw,
2077         mmx_punpckhwd, mmx_punpckhdq, mmx_punpcklbw, mmx_punpcklwd,
2078         mmx_punpckldq, emms, sfence, ldmxcsr, prefetch, stmxcsr, sse_clrti,
2079         mmx_clrdi): New patterns.
2080
2081 2000-09-08  Richard Earnshaw  <rearnsha@arm.com>
2082
2083         * arm.c: Don't include tm.h directly.
2084
2085 Fri Sep  8 14:34:56 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2086
2087         * recog.c (validate_replace_rtx_1): Fix confusion about equality
2088         testing; simplify subregs of constants and nested subregs.
2089
2090 2000-09-08  Alexandre Oliva  <aoliva@redhat.com>
2091
2092         * config/sh/sh.md (symPLT_label2reg): Use operand3 for PIC reg.
2093
2094 2000-09-08  Bernd Schmidt  <bernds@redhat.co.uk>
2095
2096         * combine.c (combine_simplify_rtx): Try to simplify VEC_SELECT of a
2097         VEC_CONCAT.
2098         * rtl.texi (description of USE): Add note about possible pitfalls
2099         with this rtx.
2100         From Richard Henderson:
2101         * reload1.c (choose_reload_regs): Compute need_mode properly.
2102
2103 2000-09-07  Richard Henderson  <rth@cygnus.com>
2104
2105         * config/ia64/lib1funcs.asm (__divsi3): Use .s1 for frcpa.
2106         (__modsi3, __umodsi3): Likewise.
2107         (__udivsi3): Likewise.  Normalize the TFmode values.
2108
2109 2000-09-07  Geoff Keating  <geoffk@cygnus.com>
2110
2111         * config/rs6000/sol-c0.c (_start): Declare `termfunc' parameter
2112         with a prototype.
2113         * config/rs6000/rs6000.h (RS6000_ARG_SIZE): Use cast to suppress
2114         warning.
2115
2116 Fri Sep  8 03:26:38 2000  J"orn Rennecke <amylaar@redhat.co.uk>
2117
2118         * sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): Remove.
2119         (cmpeqdi_t): Add output pattern.
2120         (cmpeqdi_t+1): Don't split when not optimizing.
2121         Restore proper splitting operation.
2122
2123 2000-09-07  Richard Henderson  <rth@cygnus.com>
2124
2125         * c-lex.c (process_directive): If not HANDLE_GENERIC_PRAGMAS,
2126         do not call dispatch_pragma.
2127
2128 2000-09-07  Jim Wilson  <wilson@cygnus.com>
2129
2130         * reload.c (push_reload): Use CLASS_CANNOT_CHANGE_MODE_P in addition
2131         to CLASS_CANNOT_CHANGE_MODE.
2132         * config/ia64/ia64.h (CLASS_CANNOT_CHANGE_MODE_P): True only if the
2133         mode classes are different.
2134
2135 2000-09-07  Zack Weinberg  <zack@wolery.cumb.org>
2136
2137         * cpplib.h (struct cpp_options): Add user_label_prefix member,
2138         left out of commit which removed cppulp.c.
2139
2140 2000-09-07  Richard Henderson  <rth@cygnus.com>
2141
2142         * bb-reorder.c (fixup_reorder_chain): Add jump in new block
2143         after switch for CASE_DROPS_THROUGH.
2144
2145 2000-09-07  Richard Henderson  <rth@cygnus.com>
2146
2147         * loop.c (strength_reduce): Call check_ext_dependant_givs.
2148         Properly extend the biv initial value for the giv.
2149         (record_biv): Zero ext_dependant.
2150         (record_giv): New argument ext_val.  Update all callers.
2151         (general_induction_var): Likewise.
2152         (consec_sets_giv): Likewise.
2153         (simplify_giv_expr): Likewise.  Fill in ext_val if we find
2154         a sign-extend, zero-extend, or truncate.
2155         (combine_givs_p): Make sure modes are compatible.
2156         (check_ext_dependant_givs): New.
2157         (extend_value_for_giv): New.
2158         * loop.h (struct induction): Add ext_dependant.
2159         * unroll.c (iteration_info): Extend the biv initial value for the giv.
2160         (find_splittable_givs): Likewise.
2161         (final_giv_value): Likewise.
2162
2163 2000-09-07  Zack Weinberg  <zack@wolery.cumb.org>
2164
2165         * c-pragma.h: Define HANDLE_GENERIC_PRAGMAS if
2166         REGISTER_TARGET_PRAGMAS is defined.  Duplicate some
2167         definitions from cpplib.h.
2168         * cpplib.h: Don't typedef struct cpp_reader if c-pragma.h has
2169         already done it.
2170         * tm.texi: Document HANDLE_PRAGMA as no longer supported.  Add
2171         documentation for REGISTER_TARGET_PRAGMAS.
2172
2173         * c-lex.c: Include cpplib.h before c-pragma.h.  Define a
2174         default-pragma callback to implement -Wunknown-pragmas if
2175         USE_CPPLIB.
2176         * c-parse.in: Move all includes to top of file.
2177         * c-pragma.c: Include cpplib.h before c-pragma.h.  Include
2178         tm_p.h.
2179         (dispatch_pragma): Put the namespace in the -Wunknown-pragmas
2180         warning.
2181         (init_pragma): If REGISTER_TARGET_PRAGMAS is defined, call it.
2182
2183         * arm.h, arm-protos.h, arm.c,
2184           c4x.h, c4x-protos.h, c4x.c,
2185           h8300.h, h8300-protos.h, h8300.c,
2186           i370.h, i370-protos.h, i370.c,
2187           i960.h, i960-protos.h, i960.c,
2188           sh.h, sh-protos.h, sh.c,
2189           v850.h, v850-protos.h, v850.c: Convert HANDLE_PRAGMA-based
2190         pragmata scheme to use REGISTER_TARGET_PRAGMAS instead.
2191
2192         * d30v.h: Don't mention HANDLE_PRAGMA in comment.  Add
2193         multiple include guard.
2194         * i370.md (untyped_call): Use GEN_CALL.
2195         (umodsi3): Remove unused variable.
2196         * sh/elf.h: Don't undef HANDLE_SYSV_PRAGMA.
2197         * v850.c (output_move_single, output_move_double): Constify
2198         return value.
2199         (print_operand): Constify a char *.
2200         * v850.h (struct small_memory_info): Constify name member.
2201
2202 2000-09-07  Kazu Hirata  <kazu@hxi.com>
2203
2204         * config/h8300.h: Fix comment typos.
2205         * config/h8300/h8300.md: Likewise.
2206         * config/h8300/lib1funcs.asm: Likewise.
2207
2208 Thu 07-Sep-2000 21:29:00 BST  Neil Booth  <NeilB@earthling.net>
2209
2210         * Makefile.in: Remove references to cppulp.{c,o}.
2211         * cppinit.c (initialize_builtins, cpp_start_read,
2212         cpp_handle_option): Update to use cpp_options structure.
2213         * cppulp.c: Remove.
2214
2215 2000-09-07  Joseph S. Myers  <jsm28@cam.ac.uk>
2216
2217         * c-common.c (time_char_table): Allow %#b and %#h.
2218
2219 2000-09-07 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2220
2221         * reorg.c (find_end_label): If the basic block reorder pass moves the
2222         return insn to some other place try to locate it again and put our
2223         end_of_function_label there.
2224         * reorg.c (relax_delay_slots): Check if find_end_label created a
2225         new label that invalidates the current optimazation.
2226
2227 2000-09-07  Catherine Moore  <clm@redhat.com>
2228
2229         * unroll.c (unroll_loop): Check for unconditional jumps
2230         to loop continuation.  Delete if n_iterations is 1.
2231         (ujump_to_loop_cont): New routine.
2232
2233 2000-09-07  Bernd Schmidt  <bernds@redhat.co.uk>
2234
2235         * rtl.c (class_narrowest_mode): Add entries for MODE_VECTOR_INT and
2236         MODE_VECTOR_FLOAT.
2237         * reload.c (regno_clobbered_p): Accept new arg, MODE, and use it
2238         to handle multiword modes correctly.  All callers and the declaration
2239         changed.
2240
2241 2000-09-06  Mark Mitchell  <mark@codesourcery.com>
2242
2243         * c-common.h (prep_stmt): Declare.
2244         (lang_expand_stmt): Likewise.
2245         * c-decl.c (lang_expand_stmt): Remove.
2246         * c-semantics.c (lang_expand_stmt): Define.
2247         (prep_stmt): New function.
2248         (expand_stmt): Handle common statement types here.
2249
2250 2000-09-07  Niibe Yutaka  <gniibe@m17n.org>, Kaz Kojima  <kkojima@rr.iij4u.or.jp>, Alexandre Oliva  <aoliva@redhat.com>
2251
2252         * configure.in (sh-*-linux*): Added.
2253         * configure: Rebuilt.
2254         * config/sh/t-linux: New file.
2255         * config/sh/sh.h (USERMODE_BIT): Define.
2256         (TARGET_USERMODE): Likewise.
2257         (TARGET_SWITCHES): New switches for the bits above.
2258         (INITIALIZE_TRAMPOLINE): Call __ic_invalidate in USERMODE.
2259         * config/sh/linux.h: New file.
2260         * config/sh/lib1funcs.asm (GLOBAL): Don't prefix symbols with
2261         underscore on linux.
2262         (L_sdivsi3, L_udivsi3): Define for linux.
2263         (L_ic_invalidate): Define.
2264         * invoke.texi (SH Options): Document -musermode.
2265
2266 2000-09-07  Alexandre Oliva  <aoliva@redhat.com>
2267
2268         * config/sh/sh.h (OVERRIDE_OPTIONS): Don't disable function
2269         CSE unless generating PIC.
2270
2271         * config/sh/sh.md (symPLT_label2reg): Force the initialization of
2272         the PIC register.
2273
2274 2000-09-06  H.J. Lu  (hjl@gnu.org)
2275
2276         * Makefile.in (clean_s1): Depend on stage_b.
2277         (clean_s2): Depend on stage_d. Don't remove $(VOL_FILES) in
2278         stage2. They are used for "make compare".
2279
2280 2000-09-06  Mark Mitchell  <mark@codesourcery.com>
2281
2282         Move statement-tree facilities from C++ to C front-end.
2283         * c-common.h (c_tree_index): Add CTI_VOID_ZERO.
2284         (void_zero_node): New macro.
2285         (struct stmt_tree_s): New type.
2286         (stmt_tree): New typedef.
2287         (struct language_function): New type.
2288         (last_tree): New macro.
2289         (last_expr_type): Likewise.
2290         (walk_tree_fn): New typedef.
2291         (current_stmt_tree): New function.
2292         (begin_stmt_tree): Likewise.
2293         (add_stmt): Likewise.
2294         (finish_stmt_tree): Likewise.
2295         (statement_code_p): Likewise.
2296         (lang_statement_code_p): New variable.
2297         (walk_stmt_tree): New function.
2298         (STMT_IS_FULL_EXPR_P): New macro.
2299         * c-common.c (lang_statement_code_p): New variable.
2300         (c_common_nodes_and_builtins): Initialize void_zero_node.
2301         (statement_code_p): New function.
2302         (walk_stmt_tree): Likewise.
2303         * c-decl.c (language_function): Rename to ...
2304         (c_language_function): ... this.  Include language_function.
2305         (push_c_function_context): Adjust accordingly.
2306         (pop_c_function_context): Likewise.
2307         (mark_c_function_context): Likewise.
2308         (current_stmt_tree): Define.
2309         * c-semantics.c (begin_stmt_tree): New function.
2310         (add_stmt): Likewise.
2311         (prune_unused_decls): Likewise.
2312         (finish_stmt_tree): Likewise.
2313
2314 2000-09-06 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2315
2316         * flow.c (insn_dead_p): Detect dead memory stores with auto increments.
2317
2318 2000-09-06  Kazu Hirata  <kazu@hxi.com>
2319
2320         * calls.c: Fix formatting.
2321
2322 2000-09-06  Graham Stott  <grahams@cygnus.co.uk>
2323
2324         * config/i386/i386.h (ADDRESS_COST): Fix typo.
2325
2326 2000-09-06  Zack Weinberg  <zack@wolery.cumb.org>
2327
2328         Integrated preprocessor.
2329
2330         * Makefile.in: Remove all references to c-parse.gperf,
2331         c-gperf.h, and c-parse.h.  Remove -d from yacc command line
2332         generating c-parse.c.  Update dependencies.
2333         * c-parse.gperf, c-gperf.h: Delete.
2334
2335         * c-common.c: Don't define parse_options, cpp_token, yy_cur,
2336         yy_lim, or yy_get_token.  Don't define get_directive_line if
2337         USE_CPPLIB.
2338         * c-common.h: Add multiple include guard.  Define RID values
2339         for every keyword in C, C++, and Objective C.  Put all the
2340         modifiers first.
2341         (struct c_fileinfo, get_fileinfo, dump_time_statistics): New.
2342         * c-decl.c (c_decode_option): Handle -lang-objc here.
2343         (print_lang_identifier): Handle C_IS_RESERVED_WORD case.
2344         (grokdeclarator): Adjust for new RID scheme.
2345         (extract_interface_info): New stub.
2346         * c-lang.c: Don't declare yy_cur or parse_options.
2347         (lang_init_options): Call cpp_init.  Don't call
2348         cpp_options_init.
2349         (lang_init): Don't call check_newline if USE_CPPLIB.
2350
2351         * c-lex.c: Don't include c-parse.h.  Do include timevar.h.
2352         Elide lots of unnecessary code if USE_CPPLIB.  Delete code
2353         rendered unnecessary by new architecture.  Move routines not
2354         shared with C++ to c-parse.in.  Maintain a local idea of the
2355         line number.    Handle C++ as well as C.
2356         [USE_CPPLIB]: Declare and register callbacks for #ident and
2357         for entering/leaving files.
2358         (init_c_lex, c_lex): Are now the entry points to this file.
2359         (check_newline): Break out directive handling to
2360         process_directive.
2361         (read_ucs, is_extended_char, utf8_extend_token): Moved here
2362         from C++ front end.
2363         (readescape, parse_float): Overhaul.
2364         (lex_number, lex_string, lex_charconst): Break out of c_lex
2365         (n'ee yylex).
2366         (get_fileinfo, update_header_times, dump_one_header,
2367         dump_time_statistics): New and/or moved here from C++.
2368         Support per-file data needed by C++ and per-header timing
2369         statistics (C++ only, at the moment).
2370         * c-lex.h: Update prototypes.  Add multiple include guard.
2371         * c-tree.h (struct lang_identifier): Add rid_code field.
2372         (C_IS_RESERVED_WORD, C_RID_CODE): New.
2373
2374         * c-parse.in: Include c-pragma.h. Remove unnecesary calls to
2375         reinit_parse_for_function and/or position_after_white_space.
2376         (save_filename, save_lineno): Look ahead before saving.
2377         (label -> identifier ':'): Save file and line before shifting ':'.
2378         (reservedwords): No need to call get_identifier.
2379         (init_parse, finish_parse, yyerror, yylex, yyprint,
2380         make_pointer_declarator): Are now here for C/ObjC.
2381         (rid_to_yy): Conversion table from RID constants to Yacc codes.
2382
2383         * c-pragma.c: Rewrite parsing logic to fit with cpplib's
2384         #pragma registry.  Provide dummy implementation of that
2385         interface if !USE_CPPLIB.
2386         * c-pragma.h: Update to match.
2387
2388         * flags.h: Add multiple include guard.
2389         (flag_detailed_statistics): Moved here from C++.
2390         * toplev.c: Define flag_detailed_statistics.
2391
2392         * gcc.c (C specs): Use %(trad_capable_cpp) for -E|-M|-MM case
2393         #if USE_CPPLIB.
2394         * timevar.def (TV_CPP, TV_LEX): New.
2395         * timevar.h: Add multiple include guard.
2396
2397         * objc/lang-specs.h: Use %(trad_capable_cpp) for -E|-M|-MM case
2398         #if USE_CPPLIB.
2399         * objc/objc-act.c: Don't mention yy_cur or parse_options.
2400         Initialize cpplib properly.  Force lineno to 0 after first
2401         call to check_newline.  Don't handle -lang-objc here.
2402         Move forget_protocol_qualifiers and remember_protocol_qualifiers here.
2403
2404 2000-09-06  David Edelsohn  <edelsohn@gnu.org>
2405
2406         * rs6000.md: Correct function unit definitions for cr_logical and
2407         mtjmpr.
2408         (sCOND): Additionally fail for sgt, slt, sge, sle if !TARGET_POWER
2409         and use portable method for >=0 and floating point >=.  Remove
2410         associated matchers.
2411
2412 2000-09-06  Mark Mitchell  <mark@codesourcery.com>
2413
2414         * extend.texi: Mark named return value extension as deprecated.
2415
2416 2000-09-06  Geoff Keating  <geoffk@cygnus.com>
2417
2418         * config/rs6000/rs6000.c (rs6000_reverse_condition): Return
2419         the result.
2420
2421 2000-09-06  Gabriel Dos Reis  <gdr@codesourcery.com>
2422
2423         * toplev.c (display_help): Fix thinko in documentation.
2424
2425         * diagnostic.h (output_buffer::indent_skip): New fields.
2426         (output_indentation): New macro.
2427
2428         * diagnostic.c (output_indent): New function.
2429         (output_set_prefix, clear_diagnostic_info): Use.
2430         (output_emit_prefix): Predict future indentation.
2431
2432 2000-09-06  DJ Delorie  <dj@redhat.com>
2433
2434         * Makefile.in (stage_*): add more dependencies to ensure parallel
2435         builds build correctly
2436
2437 2000-09-06  Manfred Hollstein  <manfredh@redhat.com>
2438
2439         * Makefile.in (bootstrap-lean): Depend on bootstrap-lean_g,
2440         not bootstrap-lean_f.
2441
2442 2000-09-06  Andreas Schwab  <schwab@suse.de>
2443
2444         * mklibgcc.in: Emit rule for libgcc-stage-start.
2445         * Makefile.in (stage1-start, stage2-start, stage3-start,
2446         stage4-start): Don't handle libgcc here, use libgcc.mk instead.
2447
2448 2000-09-06  Bernd Schmidt  <bernds@redhat.co.uk>
2449
2450         * local-alloc.c (local_alloc): Ignore CLASS_LIKELY_SPILLED.
2451         (update_equiv_regs): Likewise, except for the mn10200 kludge.
2452         (combine_regs): Likewise.
2453
2454         * Makefile.in (cse.o): Depend on $(BASIC_BLOCK_H).
2455         * cse.c: Include "basic-block.h".
2456         (struct table_elt): New field REGCOST.
2457         (CHEAP_REG): Delete macro.
2458         (COST): Return 0 for REGs.
2459         (approx_reg_cost_1, approx_reg_cost, preferrable): New functions.
2460         (notreg_cost): Return 0 for appropriate SUBREGs.
2461         (COSTS_N_INSNS): Return N * 2.
2462         (rtx_cost): Return 0 for REGs, and use cost of nested rtx for cheap
2463         SUBREGs.
2464         (CHEAPER): Use new function preferrable.
2465         (insert): Initialize REGCOST member.
2466         (find_best_addr): Use approx_reg_cost for estimation of register
2467         usage.
2468         (cse_insn): Likewise.
2469         * loop.c (iv_add_mult_cost): New function.
2470         (add_cost, shift_cost, mult_cost): Delete variables.
2471         (init_loop): Don't initialize add_cost; reduce copy_cost by half.
2472         (strength_reduce): Use iv_add_mult_cost instead of fixed add_cost.
2473         Make code that detects autoinc opportunities slightly less optimistic.
2474         (simplify_giv_expr): If expression contains other reg that is also a
2475         giv, only increment benefit if this is the only use of that reg.
2476         (consec_sets_giv): Take that change into account.
2477         (combine_givs): Slightly more verbose output.
2478
2479         * i386.h (RTX_COSTS): For MULT, return true cost of multiplication,
2480         not the cost of an equivalent shift.
2481         * sh-protos.h (addsubcosts): Declare.
2482         * sh.c (addsubcosts): New function.
2483         * sh.h (CONST_COSTS): If CONST_OK_FOR_I, then return 0.
2484         (RTX_COSTS): Tweak.  Use addsubcosts.
2485         (ADDRESS_COST): Return higher cost for reg+reg addressing.
2486
2487 2000-09-06  Geoff Keating  <geoffk@cygnus.com>
2488
2489         * config/rs6000/rs6000.c (validate_condition_mode): New function.
2490         (branch_comparison_operator): Call validate_condition_mode to
2491         abort rather than returning 0.
2492         (branch_positive_comparison_operator): New function.
2493         (scc_comparison_operator): Call validate_condition_mode to abort
2494         rather than returning 0.
2495         (ccr_bit): Call validate_condition_mode.  Update for
2496         new branch scheme.
2497         (print_operand): Delete %C modifier.  Update %E case
2498         to use EQ bit not SO bit.
2499         (rs6000_reverse_condition): New function.
2500         (rs6000_generate_compare): New function.
2501         (rs6000_emit_sCOND): New function.
2502         (rs6000_emit_cbranch): New function.
2503         (output_cbranch): The length of a long branch insn is
2504         now only 8 bytes.  Add validate_condition_mode.  Use
2505         rs6000_reverse_condition.  Remove cror generation.
2506
2507         * config/rs6000/rs6000.h: Update comments.
2508         (PREDICATE_CODES): Add new predicate.  Update codes used
2509         by branch_comparison_operator and scc_comparison_operator.
2510         * config/rs6000/rs6000-protos.h: Add prototypes for
2511         new external functions.
2512         * config/rs6000/rs6000.md: Add new scheduling parameters
2513         for cr_logical instructions.  Change length of branch
2514         instructions.
2515         (bCOND patterns): Call rs6000_emit_cbranch.
2516         (sCOND patterns): Call rs6000_emit_sCOND.
2517         (branch patterns): Change lengths to 4.
2518         (cr logical patterns): New.
2519
2520 2000-09-06  Richard Henderson  <rth@cygnus.com>
2521
2522         * config/i386/i386.md (call_pop): Fix test for setting
2523         current_function_uses_pic_offset_table.
2524         (call, call_value_pop, call_value): Likewise.
2525
2526 2000-09-06  Zack Weinberg  <zack@wolery.cumb.org>
2527
2528         * timevar.c (timevar_add): Delete.
2529         (timevar_get): Also count time since the selected timer was
2530         last updated.  Do not examine the timevar stack if the
2531         selected timer is standalone.
2532
2533 2000-09-05  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
2534
2535         * gthr-dce.h (__gthread_objc_mutex_deallocate): Free mutex->backend.
2536
2537 2000-09-05  Jason Merrill  <jason@redhat.com>
2538
2539         * c-decl.c (finish_incomplete_decl): Don't call complete_array_type
2540         for 'extern' arrays.
2541
2542 2000-09-05  Richard Henderson  <rth@cygnus.com>
2543
2544         * config/ia64/lib1func.asm (__divtf3): Rebundle for Itanium.
2545         Eliminate final copy from non-trapping case.
2546         (__divdf3, __divsf3): Likewise.
2547
2548 2000-09-05  Richard Henderson  <rth@cygnus.com>
2549
2550         * config/ia64/ia64.md (mulhi3): Fix typo last change.
2551         * config/ia64/lib1func.asm (__divdi3, __udivdi3, __umodsi3): Likewise.
2552
2553 2000-09-03  Donn Terry  <donn@interix.com>,  Laurynas Biveinis  <lauras@softhome.net>
2554
2555         * Makefile.in: Restructure bootstrap stages to allow clean
2556         restart after failure.
2557
2558 2000-09-05  Richard Henderson  <rth@cygnus.com>
2559
2560         * config/ia64.md (movsi and movdi patterns): Allow moves from
2561         8-bit constants to AR registers.
2562
2563 2000-09-05  Richard Henderson  <rth@cygnus.com>
2564
2565         * config/ia64/ia64.md (mulhi3): New.
2566
2567 2000-09-05  Richard Henderson  <rth@cygnus.com>
2568
2569         * config/ia64/ia64.h (INIT_TARGET_OPTABS): Remove.
2570         * config/ia64/lib1funcs.asm (__divdi3): Update from Intel IA-64
2571         Optimization Guide, minimum latency alternative.
2572         (__moddi3, __udivdi3, __umoddi3): Likewise.
2573         (__divsi3, __modsi3, __udivsi3, __umodsi3): Likewise.
2574
2575 2000-09-05  Bruce Korb  <bkorb@gnu.org>
2576
2577         * fixinc/fixincl.c (load_file): always read header files
2578         with sizes that are a multiple of the page size.
2579         & use libiberty's getpagesize for determining that.
2580
2581 2000-09-05  Alexandre Oliva  <aoliva@redhat.com>
2582
2583         * gcse.c (hash_string_1): Add prototype.
2584         * cse.c (canon_hash_string): Likewise.
2585
2586 2000-09-04  Craig Newell  <CraigN@ieee.org>
2587
2588         * gcc.c: Undefine "__WCHAR_TYPE__" before redefining it.
2589
2590 2000-09-04  Andreas Schwab  <schwab@suse.de>
2591
2592         * Makefile.in (STAGESTUFF): Remove libgcc.
2593         (stage1-start, stage2-start, stage3-start): Copy the contents of
2594         the libgcc directory explicitly.
2595         (mostlyclean): Clean libgcc.
2596
2597 2000-09-04  Andrew Haley  <aph@redhat.com>
2598
2599         * dwarf2out.c: (stack_adjust_offset): New prototype.
2600
2601 Wed Jan  1 00:23:59 MET 1997  Jan Hubicka  <jh@suse.cz>
2602
2603         * combine.c (make_extraction): Fix rtx_cost comparison to
2604         match the comment.
2605
2606 Wed Jan  1 00:17:32 MET 1997  Jan Hubicka  <jh@suse.cz>
2607
2608         * i386.md (pushsi2, pushhi2, pophi2, swapsf, swapdf,
2609         umulsi3_highpart, smulsi3_highpart, testqi_ccno_1, xorqi_ext_1):
2610         Add '*' to insn pattern name.
2611
2612 2000-09-04  Jakub Jelinek  <jakub@redhat.com>
2613
2614         * cpplex.c (ON_REST_ARG): Check VAR_ARGS flag of current context,
2615         use posn - 1 to index into tokens array.
2616         (maybe_paste_with_next): Adjust caller.
2617
2618 2000-09-03  Geoff Keating  <geoffk@cygnus.com>
2619
2620         * invoke.texi: Document the -mvxworks option for rs6000 ELF.
2621
2622         * config/rs6000/rs6000.h: Update various comments about XER_REGNO.
2623         (REGNO_REG_CLASS): Use symbolic register
2624         names.
2625
2626 2000-09-03  Richard Earnshaw  <rearnsha@arm.com>
2627
2628         * arm.c (final_prescan_insn): If the form of a jump insn isn't
2629         recognized, don't try to conditionally execute it.
2630
2631 Sun Sep  3 13:10:56 2000  Denis Chertykov  <denisc@overta.ru>
2632
2633         * config/avr/avr.md ("*tablejump_lib"): New pattern.
2634         (call_value_insn): Right length claculation.
2635         (call_insn): Likewise.
2636
2637 2000-09-02  Marek Michalkiewicz  <marekm@linux.org.pl>
2638
2639         * config/avr/avr-protos.h, config/avr/avr.c (unique_section,
2640         gas_output_limited_string, gas_output_ascii, output_movqi,
2641         output_movhi, out_movqi_r_mr, out_movqi_mr_r, out_movhi_r_mr,
2642         out_movhi_mr_r, out_movsi_r_mr, out_movsi_mr_r, output_movsisf,
2643         out_tstsi, out_tsthi, ret_cond_branch, ashlqi3_out, ashlhi3_out,
2644         ashlsi3_out, ashrqi3_out, ashrhi3_out, ashrsi3_out, lshrqi3_out,
2645         lshrhi3_out, lshrsi3_out, output_reload_inhi, output_reload_insisf,
2646         out_shift_with_cnt, ptrreg_to_str, cond_string, encode_section_info):
2647         Add "const" as needed to remove warnings.
2648
2649         * config/avr/avr.c (avr_override_options, avr_init_once,
2650         function_prologue, function_epilogue, frame_pointer_required_p,
2651         class_likely_spilled_p, order_regs_for_local_alloc,
2652         avr_address_cost, avr_ret_register): Use K&R style arguments.
2653         (initial_elimination_offset, gas_output_limited_string):
2654         Remove ATTRIBUTE_UNUSED from the used arguments.
2655         (output_mov*, out_mov*_r_mr, out_mov*_mr_r, output_reload_insisf):
2656         Use local variables src, dest, base to access operands[].
2657         Rename reg_dest to reg_src if that's what it is.
2658         (output_movhi, output_movsisf): Optimize loading 8-bit immediate
2659         constants to LD_REGS if reg_was_0.
2660         (output_reload_insisf): Change arg 3 to insn length and set it.
2661         (out_movhi_r_mr, out_movhi_mr_r): Use in/out for more efficient
2662         access to 16-bit I/O register pairs.
2663         (avr_address_cost): Lower cost for the above case.
2664         (out_tsthi): Use "or" (faster) instead of "sbiw" if the operand
2665         may be clobbered, also for LD_REGS.
2666         (adjust_insn_length): Correct insn length for iorhi3 and iorsi3
2667         with a CONST_INT.
2668
2669         * config/avr/avr.h (PTRDIFF_TYPE): Make signed.
2670
2671         * config/avr/avr.md: Change all uses of the TEST_HARD_REG_CLASS
2672         macro to test_hard_reg_class function.
2673         (*movsi, *movsf): Change "cc" attribute from "clobber" to "none"
2674         for loading immediate constants to LD_REGS.
2675         (andsi3, cmphi, cmpsi): Add return statements to avoid warnings.
2676
2677
2678 Sat Sep  2 13:58:23 2000  Marek Michalkiewicz <marekm@linux.org.pl>
2679
2680         * config/avr/avr.md ("*negsi2"): substitute %@ to __zero_reg__
2681         * config/avr/libgcc.S: Lost part of the previous patch.
2682
2683 2000-08-31  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2684
2685         * rs6000/rs6000.h (NO_DOLLAR_IN_LABEL, DOLLARS_IN_IDENTIFIERS,
2686         ENCODE_SECTION_INFO, ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Move from
2687         here...
2688         * rs6000/aix.h: ...to here.
2689         * rs6000/linux.h (ASM_APP_ON, ASM_APP_OFF): Define to Linux-style.
2690         * rs6000/rs6000.c (rs6000_select_section): Handle CONSTRUCTOR.
2691         (rs6000_unique_section): Likewise.
2692
2693 2000-08-31  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
2694
2695         * gthr-dce.h (__gthread_objc_mutex_allocate): Create a pthread_mutex_t
2696         object before calling pthread_mutex_init.
2697
2698 2000-09-02  Alexandre Oliva  <aoliva@redhat.com>
2699
2700         * config/sh/t-elf, config/sh/crt1.asm, config/sh/crti.asm,
2701         config/sh/crtn.asm: New files.
2702         * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Set.
2703         (crt1.o, crti.o, crtn.o): New targets.
2704         * configure.in [sh-*-elf*, sh-*-rtemself*] (tmake_file): Added
2705         sh/t-elf.
2706         * configure: Rebuilt.
2707         * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
2708         STARTFILE_SPEC, ENDFILE_SPEC, CRT_CALL_STATIC_FUNCTION): Define.
2709         * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
2710         Undefine for config/elfos.h to redefine.
2711         (STARTFILE_SPEC, ENDFILE_SPEC): Redefine after config/elfos.h.
2712
2713 2000-09-02  Alexandre Oliva  <aoliva@redhat.com>, Niibe Yutaka  <gniibe@m17n.org>, Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2714
2715         * config/sh/sh-protos.h (nonpic_symbol_mentioned_p,
2716         legitimize_pic_address, output_pic_addr_const): Declare.
2717         * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Fix PIC register.
2718         (PREFERGOT_BIT, TARGET_PREFERGOT): Likewise.
2719         (TARGET_SWITCHES): New switch -mprefergot.
2720         (OVERRIDE_OPTIONS): Set flag_no_function_cse unless -mprefergot.
2721         (PIC_OFFSET_TABLE_REGNUM): Define.
2722         (GOT_SYMBOL_TABLE): Likewise.
2723         (LEGITIMIZE_ADDRESS): Use legitimize_pic_address.
2724         (ENCODE_SECTION_INFO): Define.
2725         (FINALIZE_PIC): New macros.
2726         (LEGITIMATE_PIC_OPERAND_P, SYMBOLIC_CONST_P): New macro.
2727         (ASM_OUTPUT_INT, ASM_OUTPUT_SHORT): Use output_pic_addr_const.
2728         * config/sh/sh.c (print_operand_address): Use output_pic_addr_const.
2729         (prepare_move_operands): Call emit_pic_move or
2730         emit_pic_const_move if appropriate.
2731         (output_far_jump): For PIC, use braf and output long offset.
2732         (machine_dependent_reorg):
2733         (sh_expand_prologue): Save and initialize the PIC register.
2734         (sh_expand_epilogue): Restore it.
2735         (initial_elimination_offset): Account for it.
2736         (nonpic_symbol_mentioned_p): New function.
2737         (legitimize_pic_address): Likewise.
2738         (output_pic_addr_const): Likewise.
2739         * config/sh/sh.md (calli_pcrel, call_valuei_pcrel): New insns.
2740         (call, call_value): Use them.
2741         (GOTaddr2picreg, sym_label2reg, symGOT2reg, symGOTOFF2reg,
2742         symPLT_label2reg): New expands.
2743         * invoke.texi (SH Options): Document -mprefergot.
2744
2745 2000-09-01  Alexandre Oliva  <aoliva@redhat.com>
2746
2747         * rtl.h (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): New macro.
2748         * gcse.c (hash_string_1): New function.
2749         (hash_expr_1) <ASM_OPERANDS>: Disregard filename and line number.
2750         (expr_equiv_p) <ASM_OPERANDS>: Likewise.
2751         * cse.c (rtx_cost): Don't increase the cost of ASM_OPERANDS.
2752         (canon_hash_string): New function.
2753         (canon_hash) <ASM_OPERANDS>: Disregard filename and line number.
2754         (exp_equiv_p) <ASM_OPERANDS>: Likewise.
2755         (fold_rtx): Use ASM_OPERANDS accessor macros.
2756         * emit-rtl.c (copy_insn_1): Likewise.
2757         * integrate.c (copy_rtx_and_substitute): Likewise.
2758         * stmt.c (expand_asm_operands): Likewise.  Give an
2759         ASM_OPERANDS rtx the mode of the output reg being set from it.
2760
2761 2000-09-01  Fred Fish  <fnf@be.com>
2762
2763         * fix-header.c (write_rbrac): Add putc and getc to list of
2764         functions to protect against prior definition as a macro.
2765
2766 2000-09-01  Joseph S. Myers  <jsm28@cam.ac.uk>
2767
2768         * c-common.h (enum c_tree_index): Add CTI_C_SIZE_TYPE.
2769         (c_size_type_node): Define.
2770         * c-decl.c (init_decl_processing): Initialize c_size_type_node.
2771         * c-common.c (enum format_lengths, enum format_std_version,
2772         format_length_info, format_type_detail, BADLEN, NOLENGTHS,
2773         format_kind_info, printf_length_specs, scanf_length_specs, T89_I,
2774         T99_I, T89_L, T99_LL, TEX_LL, T89_S, T89_UI, T99_UI, T89_UL,
2775         T99_ULL, TEX_ULL, T89_US, T89_F, T99_F, T89_D, T99_D, T89_LD,
2776         T99_LD, T89_C, T99_SC, T99_UC, T89_V, T94_W, TEX_W, T94_WI,
2777         TEX_WI, T99_ST, T99_SST, T99_PD, T99_UPD, T99_IM, T99_UIM,
2778         format_types): Define.
2779         (format_char_info, print_char_table, scan_char_table,
2780         time_char_table): Rearrange for new organization of information
2781         about format length modifiers and standard versions.
2782         (T_ST): Redefine to use c_size_type_node.
2783         (check_format_info): Obtain information about length modifiers and
2784         standard versions from tables.  Adjust warning message wordings.
2785         Use the name from the user's program for `ll' and `hh' length
2786         modifiers in warning messages.  Use more informative names for
2787         wanted types where available (for wchar_t, wint_t, size_t, signed
2788         size_t, ptrdiff_t, unsigned ptrdiff_t, intmax_t and uintmax_t).
2789
2790 2000-09-01  Jim Wilson  <wilson@cygnus.com>
2791
2792         * calls.c (emit_call_1): Add REG_NORETURN note to call if ECF_NORETURN.
2793         * combine.c (distribute_notes): Handle REG_NORETURN.
2794         * rtl.c (reg_note_name): Add REG_NORETURN.
2795         * rtl.h (enum reg_note): Likewise.
2796
2797         * config/ia64/ia64-protos.h (emit_safe_across_calls): Renamed from
2798         ia64_file_start.
2799         * config/ia64/ia64.c (emit_safe_across_calls): Likewise.
2800         (rtx_needs_barrier): Handle unspec_volatile 8 and 9.
2801         (emit_predicate_relation_info): Handle conditional calls with
2802         REG_NORETURN.
2803         * config/ia64/ia64.h (ASM_FILE_START): Call emit_safe_across_calls
2804         instead of ia64_file_start.
2805         * config/ia64/sysv4.h (ASM_FILE_START): Likewise.
2806         * config/ia64/ia64.md (safe_across_calls_all,
2807         save_across_calls_normal): New patterns.
2808
2809         * loop.c (check_final_value): Check for biv use before checking for
2810         giv use.  Check for both biv and giv uses.  Always set last_giv_use
2811         if there is a giv use.
2812
2813 2000-09-01  Richard Henderson  <rth@cygnus.com>
2814
2815         * config/ia64/ia64.md (mulsi3): Use grfr_register_operand.
2816         (madddi3): Likewise.
2817         (maddsi3): New.
2818
2819 Fri Sep  1 10:59:47 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2820
2821         * expr.c (clear_storage): Don't use emit_move_insn unless
2822         either BLKmode or proper size.
2823         (store_constructor): Don't call clear_storage if REG of wrong size.
2824
2825         * flow.c (init_propagate_block_info): Don't mark frame dead at end
2826         of function if returns wiht stack pointer depressed.
2827
2828 2000-09-01  Andrew Haley  <aph@redhat.com>
2829
2830         * dwarf2out.c (stack_adjust_offset): New function.
2831         (dwarf2out_stack_adjust): Break out stack adjust logic into
2832         new stack_adjust_offset function.  Look inside parallels and
2833         sequences for stack adjustments.
2834
2835 2000-08-31  Jeff Law <law@cygnus.com>
2836
2837         * arm.md: Use no_new_pseudos to determine when it is safe
2838         to create new pseudo registers.
2839
2840         * arm.c (legitimize_pic_address): Use no_new_pseudos to determine
2841         when we can safely allocate new registers.
2842
2843 2000-08-31  Geoffrey Keating  <geoffk@cygnus.com>
2844
2845         * stmt.c (expand_asm_operands): Twiddle generating_concat_p
2846         so that CONCATs are not generated for ASMs.
2847         * emit-rtl.c (gen_reg_rtx): Don't generate CONCATs when
2848         not generating_concat_p.
2849         * function.c (pop_function_context_from): Reset
2850         generating_concat_p.
2851         (prepare_function_start): Likewise.
2852         * rtl.c (generating_concat_p): Define.
2853         * rtl.h (generating_concat_p): Declare.
2854         * toplev.c (rest_of_compilation): No CONCATs after RTL generation.
2855
2856 2000-08-22  Philipp Thomas  <pthomas@suse.de>
2857             Masanobu Yuhara <yuhara@flab.fujitsu.co.jp>
2858
2859         * gmicro.h (TARGET_SWITCHES): Add descriptions and mark them
2860         for translation.
2861
2862 2000-08-30  Greg McGary  <greg@mcgary.org>
2863
2864         * Makefile.in (fixinc.sh): Pass CC, CFLAGS and LDFLAGS to mkfixinc.sh
2865         * fixinc/Makefile.in (fixincl): Pass $(LDFLAGS) to $(CC).
2866         * fixinc/mkfixinc.sh: Pass $CC, $CFLAGS and $LDFLAGS to $MAKE.
2867
2868 2000-08-30  Greg McGary  <greg@mcgary.org>
2869
2870         * tree.h (struct tree_int_cst): Wrap low and high in a sub-struct.
2871         (TREE_INT_CST_LOW, TREE_INT_CST_HIGH): Access through sub-struct.
2872         (TREE_INT_CST): New macro.
2873         * varasm.c (const_hash, compare_constant_1, record_constant_1):
2874         Use new macro TREE_INT_CST.
2875
2876 Wed 30-Aug-2000 23:18:59 BST  Neil Booth  <NeilB@earthling.net>
2877
2878         * contrib.texi: Add self.
2879
2880 2000-08-30  Alexandre Oliva  <aoliva@redhat.com>
2881
2882         * config/sh/sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): New insns.
2883         (cmpeqdi_t splitter): Use cmpeqsi_and_t instead of emitting jumps
2884         and labels.
2885
2886 2000-08-30  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
2887
2888         * fixinc/gnu-regex.c: Don't define `const'.
2889
2890 Tue Aug 29 22:09:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2891
2892         * expr.c (store_constructor): Allow variable bounds of array type.
2893         (expand_expr): Don't blow up if type is ERROR_MARK.
2894         * varasm.c (output_constructor): Don't access lower bound of array
2895         type unless need it if index is supplied (so it can be a variable
2896         if no index is supplied).
2897         Use tree_low_cst; use HOST_WIDE_INT for sizes; change BITPOS to POS.
2898         Other minor cleanups.
2899
2900 2000-08-29  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
2901
2902         * Makefile.in: Revamp handling of cflags to allow different WARN_CFLAGS
2903         for compilations in stage 1 and subsequent stages, respectively.
2904         * configure.in (vax): Add compiler-dependent CFLAGS for stage 1.
2905         * configure: Rebuilt.
2906         * x-vax, x-vax-gcc: Deleted.
2907
2908 2000-08-29  Zack Weinberg  <zack@wolery.cumb.org>
2909
2910         * c-common.c (declare_function_name): Use func_id_node,
2911         function_id_node, and pretty_function_id_node.  Do not make
2912         __func__ visible at file scope.
2913         * c-common.h (c_tree_index): Add CTI_FUNCTION_ID,
2914         CTI_PRETTY_FUNCTION_ID, and CTI_FUNC_ID.
2915         (function_id_node, pretty_function_id_node, func_id_node): New
2916         macros.
2917         * c-decl.c (init_decl_processing): Initialize function_id_node,
2918         pretty_function_id_node, and func_id_node.
2919         (c_make_fname_decl): Correct comment.
2920
2921         * tree.h (struct tree_identifier): Constify pointer member.
2922
2923         * c-decl.c (pushdecl, implicit_decl_warning): Constify a char *.
2924         * c-pragma.h (struct weak_syms): Constify name and value members.
2925         (add_weak): Constify arguments.
2926
2927         * calls.c (special_function_p): Constify a char *.
2928         (expand_call): Remove variable which is initialized and then
2929         never used.
2930         * dependence.c (struct def_use, struct induction, struct subscript):
2931         Constify 'variable' member.
2932         (get_low_bound, have_induction_variable): Constify char * argument.
2933         (find_induction_variable): Add braces to avoid dangling else.
2934         (classify_dependence): Constify char * arrays.
2935         * profile.c (output_func_start_profiler): Constify a char *.
2936         * stor-layout.c (finalize_record_size): Constify a char *.
2937         * tree.c (is_attribute_p): Constify a char *.
2938         * varasm.c (add_weak, remove_from_pending_weak_list): Constify argument.
2939
2940         * varasm.c (make_function_rtl, make_decl_rtl): Rearrange code
2941         for comprehensibility.  Do not call get_identifier if we did
2942         not change the DECL_ASSEMBLER_NAME of the decl.  Use alloca to
2943         create temporary string constants, not ggc_alloc_string.  No
2944         need to copy result of ASM_FORMAT_PRIVATE_NAME.  Use const
2945         char * to hold IDENTIFIER_POINTERs.
2946
2947 2000-08-29  Richard Henderson  <rth@cygnus.com>
2948
2949         * config/ia64/ia64.md (muldi3): Use grfr_register_operand
2950         for the inputs.
2951
2952 2000-08-29  Richard Henderson  <rth@cygnus.com>
2953
2954         * reload.c (push_secondary_reload): Allow class == reload_class
2955         if we're using a reload_in/out pattern.
2956
2957         * config/ia64/ia64.md (reload_inti): Use a TImode scratch.  Use
2958         the half that does not conflict with the reload register.
2959         (reload_outti): Likewise.
2960
2961 2000-08-29  Kazu Hirata  <kazu@hxi.com>
2962
2963         * reload.c: Fix formatting.
2964
2965         * stmt.c: Fix formatting.
2966
2967         * gcc.c: Fix formatting.
2968
2969 2000-08-29  Zack Weinberg  <zack@wolery.cumb.org>
2970
2971         * flags.h (time_report, mem_report): New global flags.
2972         * toplev.c: Define time_report and mem_report.
2973         (f_options): Add -ftime-report and -fmem-report.
2974         (compile_file): Turn on time_report if quiet_flag is off.
2975         Call ggc_print_statistics at very end if mem_report is on.
2976         * timevar.c (TIMEVAR_ENABLE): Examine time_report, not quiet_flag.
2977
2978         * ggc-common.c (ggc_print_statistics): Rename to
2979         ggc_print_common_statistics; all callers changed.  Scale
2980         quantities above 10K to kilobytes and above 10M to megabytes.
2981         * ggc-page.c (ggc_page_print_statistics): Rename to
2982         ggc_print_statistics.  Report memory consumed by internal data
2983         structures for each allocation bucket.  Scale quantities above
2984         10K to kilobytes and above 10M to megabytes.
2985         * ggc-simple.c: Prototype debug_ggc_tree to avoid warning.
2986         Cast PTR_KEY(p) to unsigned long in fprintf call to avoid warning.
2987         Define tally_leaves always.
2988         (ggc_print_statistics): New function.
2989         * ggc.h: Adjust for renamed functions.
2990
2991 Wed Aug 30 00:11:42 2000  Denis Chertykov  <denisc@overta.ru>
2992
2993         * config/avr/avr.md ("*movsf","*movsi"): Pass NULL to
2994         output_movsisf instead of which_alternative.
2995
2996         * config/avr/avr.c (output_reload_inhi): Check for NULL ponter.
2997
2998 Tue Aug 29 22:29:58 2000  Denis Chertykov  <denisc@overta.ru> & Marek Michalkiewicz <marekm@linux.org.pl>
2999
3000         * config/avr/avr-protos.h: (avr_output_ascii) Removed.
3001         (avr_progmem_p): New prototype.
3002         (output_movsisf): Prototype declaration changed.
3003         (output_movqi): New prototype.
3004         (output_movhi): New prototype.
3005         (call_insn_operand): Likewise.
3006         (final_prescan_insn): Likewise.
3007         (avr_simplify_comparision_p): Likewise.
3008         (avr_normalize_condition): Likewise.
3009         (compare_eq_p): Likewise.
3010         (out_shift_with_cnt): Likewise.
3011         (const_int_pow2_p): Likewise.
3012         (output_reload_inhi): Prototype declaration changed.
3013
3014         * config/avr/avr.c: (debug_hard_reg_set): Prototype declared.
3015         (ldi_reg_rtx): New. rtx for r31.
3016         (avr_init_stack): Initialize as "__stack".
3017         (function_prologue): Use it.
3018         Replace all TARGET_ENHANCED with AVR_ENHANCED.
3019         (avr_mcu_name): Initialize as "avr2".
3020         (avr_enhanced_p, avr_mega_p): New variables.
3021         (mcu_types, avr_override_options): Handle all known MCU types.
3022         Also handle avr1 (only preprocess, assemble and link).
3023         (print_operand): Using of `%K' in output template removed.
3024         (out_movqi_r_mr): Optimized.
3025         (out_movhi_r_mr): Likewise.
3026         (output_movqi): New function.
3027         (output_movhi): Likewise.
3028         (out_movsi_r_mr): Optimized.
3029         (output_movsisf): Compute insn length for `adjust_insn_length'
3030         (out_movqi_mr_r): Optimized.
3031         (out_movhi_mr_r): Optimized.
3032         (adjust_insn_length): Use output_movsisf, output_movqi,
3033         output_movhi for insn length adjusting.
3034         (reg_unused_after): Use dead_or_set_p.
3035         (preferred_reload_class): Now havn't any restriction.
3036         (reg_was_0): New function.
3037         (io_address_p): Likewise.
3038         (const_int_pow2_p): Likewise.
3039         (output_reload_inhi): Likewise.
3040         (output_reload_insisf): Likewise.
3041
3042         * config/avr/avr.h (MULTILIB_DEFAULTS): Define.
3043         (LIB_SPEC): Use -lc for all supported devices.
3044         (LIBGCC_SPEC): Use -lgcc for all supported devices.
3045         (AVR_MEGA): Define as avr_mega_p.
3046         (AVR_ENHANCED): New, define as avr_enhanced_p.
3047         (TARGET_SWITCHES): Remove -menhanced, now handled by -mmcu=...
3048         (CPP_SPEC, LINK_SPEC): Handle all known MCU types.
3049         (CRT_BINUTILS_SPECS): Handle all known MCU types.
3050         Rename gcrt1-*.o to make file names unique on 8.3 filesystems.
3051         (EXTRA_SPECS): Add CPP_AVR[1-5]_SPEC.
3052         (ASM_SPEC): Pass -mmcu=... to the assembler.
3053         Change all -DAVR_* to -D__AVR_*__.
3054         (INIT_TARGET_OPTABS), config/avr/libgcc.S:
3055         Rename library functions to start with two underscores.
3056         (ASM_OUTPUT_COMMON): Outputs `.comm VAR,VAR-SIZE,1' to avoid
3057         alignment.
3058         (ASM_WEAKEN_LABEL): Declared for __attribute__((weak)).
3059         (SUPPORTS_WEAK): Likewise.
3060         (LDI_REG_REGNO): New. Register r31 will be used as temporary
3061         register for loading constants to r0-r14.
3062
3063         * config/avr/avr.md: Replace all TARGET_ENHANCED with
3064         AVR_ENHANCED.
3065         (*mov_r_sp): Removed. Handled by output_movhi.
3066         (*mov_sp_r): Likewise.
3067         (*mov_sp_r_no_interrupts): Likewise
3068         (*mov_sp_r_tiny): Likewise.
3069         (*movqi): Use output_movqi.
3070         (*reload_inqi): New.
3071         (*movhi): Use output_movhi.
3072         (*reload_inhi): New.
3073         (*negsi2): Optimized.
3074         (*negsf2): Likewise.
3075         Added peepholes (define_peephole2) for loading constants to r0-r14
3076         and for using `cpse' command.
3077
3078         * config/avr/libgcc.S: Rename library functions to start with two
3079         underscores.
3080         Add support for enhanced core.
3081         (_moqhi3): Fix typo, now _modqi3.
3082         (__divsi_raw): Use __zero_reg__ as loop counter, smaller by 1 word.
3083         (__prologue_saves__): Remove test for stack adjust by 0.
3084         (__tablejump__): New.
3085
3086         * config/avr/t-avr: Build libgcc2 with -mcall-prologues.
3087         Add multilib support.
3088
3089 Tue Aug 29 15:17:54 EDT 2000  John Wehle  (john@feith.com)
3090
3091         * loop.c (prescan_loop): Don't check unknown_address_altered
3092         when deciding if insert_loop_mem is safe.  Add BLKmode MEMs
3093         to loop_store_mems as necessary.
3094         (loop_invariant_p): Don't check unknown_address_altered
3095         or unknown_constant_address_altered.
3096
3097 2000-08-29  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
3098
3099         * vax.md (sltu, sgeu): Delete sltu and sgeu insn patterns.
3100
3101 2000-08-29  Zack Weinberg  <zack@wolery.cumb.org>
3102
3103         * cpperror.c (print_file_and_line): If line is (unsigned int)-1,
3104         print just the filename.
3105         * cpplex.c (_cpp_run_directive): Add additional argument, the
3106         name to give the synthetic buffer.  This defaults to
3107         translated "<command line>".
3108         * cpplib.c (cpp_define, cpp_undef, cpp_assert, cpp_unassert):
3109         Adjust to match.
3110         (_cpp_define_builtin): New function.
3111         * cppinit.c (initialize_builtins): Use _cpp_define_builtin.
3112         * cpphash.h: Update prototypes.
3113
3114         * tradcpp.c (main): Process -D and -U simultaneously, in the
3115         order they appeared on the command line.
3116
3117 2000-08-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3118
3119         * c-decl.c (define_label): Call warning_with_file_and_line and
3120         error_with_file_and_line instead of plain warning or error.
3121
3122         * c-parse.in (label): Use save_filename/save_lineno to ensure
3123         correct values for calls to define_label.
3124
3125 2000-08-29  Mark Mitchell  <mark@codesourcery.com>
3126
3127         * calls.c (expand_call): Don't create a VAR_DECL just to throw it
3128         away.
3129         * expr.c (expand_expr, case TARGET_EXPR): Don't call
3130         mark_addressable.
3131         * tree.h (get_file_function_name): Remove two duplicate
3132         declarations.
3133
3134 2000-08-28  Kazu Hirata  <kazu@hxi.com>
3135
3136         * tree.c: Fix formatting.
3137
3138         * xcoffout.c: Fix formatting.
3139
3140 2000-08-28  Jason Merrill  <jason@redhat.com>
3141
3142         * dwarf2out.c (attr_checksum): Also ignore DW_AT_producer.
3143
3144 2000-08-28  Daniel Berlin  <dberlin@redhat.com>
3145
3146         * dwarf2out.c (dwarf2out_finish): Don't bother calling
3147         break_out_includes if it won't do anything.
3148
3149 2000-08-28  Richard Henderson  <rth@cygnus.com>
3150
3151         * reload.c (push_secondary_reload): Revert 2000-08-16 change.
3152         (find_reloads): Likewise.
3153         * config/alpha/alpha.md (reload_inqi): Revert 2000-08-11 change.
3154         (reload_inhi): Likewise.
3155
3156 2000-08-28  Richard Henderson  <rth@cygnus.com>
3157
3158         * config/i386/i386.c: Don't error on EXTRA_CONSTRAINT defined.
3159         (call_insn_operand): Don't expect a surrounding mem.
3160         (constant_call_address_operand): Likewise.
3161         * config/i386/i386.h (PREDICATE_CODES): Update.
3162         * config/i386/i386.md (call patterns): Move the match_operand
3163         for the call destination inside the mem.
3164
3165 2000-08-28  Richard Henderson  <rth@cygnus.com>
3166
3167         * local-alloc.c (requires_inout): Don't use reserved range for
3168         EXTRA_CONSTRAINTS; use anything not matched by REG_CLASS_FROM_LETTER.
3169         * recog.c (asm_operand_ok): Likewise.
3170         (preprocess_constraints, constrain_operands): Likewise.
3171         * regclass.c (record_reg_classes): Likewise.
3172         * reload.c (find_reloads): Likewise.
3173         * reload1.c (maybe_fix_stack_asms): Likewise.
3174         (reload_cse_simplify_operands): Likewise.
3175         * stmt.c (expand_asm_operands): Likewise.
3176
3177         * md.texi: Update constraints documentation.
3178         * tm.texi (EXTRA_CONSTRAINT): Update.
3179
3180 2000-08-28  Daniel Berlin  <dberlin@redhat.com>
3181
3182         * dwarf2out.c (DIE_LABEL_PREFIX): Remove leading "__".
3183         (print_die): If we don't know the offset of the
3184         target die, try the symbol.  Add a trailing newline.
3185         (reverse_all_dies): New fn.
3186         (dwarf2out_finish): Call it.
3187         (break_out_includes): Reorganize for clarity.
3188         (add_sibling_attributes): Don't call reverse_die_lists.
3189         (output_comp_unit): Rename from output_comdat_comp_unit.  Use for
3190         primary CU, too.
3191         * flags.h: Add flag_eliminate_dwarf2_dups.
3192         * toplev.c (f_options): Support -feliminate-dwarf2-dups.
3193
3194 2000-08-28  Jason Merrill  <jason@redhat.com>
3195
3196         * dwarf2.h (DW_TAG_GNU_BINCL, DW_TAG_GNU_EINCL): New tags.
3197         * dwarf2out.c: #include "md5.h".
3198         (DIE_LABEL_PREFIX): New macro.
3199         (dw_val_struct): Add 'external' flag to val_die_ref.
3200         (add_AT_die_ref, AT_ref): Adjust.
3201         (AT_ref_external, set_AT_ref_external): New fns.
3202         (build_abbrev_table): Call set_AT_ref_external.
3203         (value_format): Call AT_ref_external.
3204         (die_struct): Add die_symbol field.
3205         (new_die): Clear it.
3206         (dwarf_tag_name): Handle BINCL/EINCL.
3207         (dwarf2out_start_source_file): Add BINCL DIE.
3208         (dwarf2out_end_source_file): Add EINCL DIE.
3209         (push_new_compile_unit, pop_compile_unit, clear_die_sizes): New fns.
3210         (loc_checksum, attr_checksum, die_checksum): New fns.
3211         (is_type_die, is_comdat_die, is_symbol_die): New fns.
3212         (compute_section_prefix, assign_symbol_names): New fns.
3213         (gen_internal_sym, output_die_symbol, output_symbolic_ref): New fns.
3214         (output_die): Call output_die_symbol and AT_ref_external.
3215         (output_comdat_comp_unit): New fn, split out from...
3216         (dwarf2out_finish): ...here.  Also call add_sibling_attributes for
3217         secondary CUs.
3218         (output_pubnames, output_aranges): Abort if we see entries from
3219         secondary CUs.
3220         * toplev.h: Declare file_name_nondirectory.
3221         * toplev.c (file_name_nondirectory): New fn, moved from C++ frontend.
3222         (rest_of_type_compilation): Call dwarf2out_decl if at toplevel.
3223         (debug_start_source_file): Call dwarf2out_start_source_file
3224         regardless of debug verbosity.
3225         (debug_end_source_file): Similarly.
3226         * tree.h: Declare clean_symbol_name.
3227         * tree.c (clean_symbol_name): Split out from...
3228         (get_file_function_name_long): ...here.
3229
3230         * dwarf2out.c (new_loc_descr): Use calloc.
3231         (splice_child_die): Remove the die from the right parent.
3232         (gen_struct_or_union_die): Don't add AT_name to a specification DIE.
3233
3234 Mon Aug 28 19:02:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3235
3236         * toplev.c (decode_g_option): Don't give warning for unknown -g
3237         option; return 0 instead.
3238         (main): If -g option is not recognized by front end or
3239         language-independent code, give warning.
3240
3241 2000-08-28  Greg McGary  <greg@mcgary.org>
3242
3243         * config/i386/i386-protos.h (ix86_expand_compare): Add extern decl.
3244         * config/i386/i386.c (ix86_expand_compare): Remove `static'.
3245         * config/i386/i386.md (trap, conditional_trap): New insn & expand.
3246
3247 2000-08-27  Greg McGary  <greg@mcgary.org>
3248
3249         * cpplex.c (parse_string): Don't look for backslash
3250         before first char in `namebuf'.
3251         * loop.c (strength_reduce): Skip NOTEs.
3252
3253 2000-08-27  Jason Merrill  <jason@redhat.com>
3254
3255         * c-decl.c (duplicate_decls): Don't set TREE_STATIC or clear
3256         DECL_EXTERNAL on a local extern.  Don't set DECL_IGNORED_P or
3257         TREE_ASM_WRITTEN, either.
3258         (finish_decl): Adjust.
3259
3260 2000-08-28  Philipp Thomas  <pthomas@suse.de>
3261
3262         * ABOUT-GCC-NLS: Remove gettext patches from Paul Eggert as
3263         they have been incorporated into the gettext CVS. Change the text to
3264         reflect the current status of NLS. Add instructions for accessing
3265         the gettext CVS and add the patch from Martin v. Loewis.
3266
3267 2000-08-27  Geoff Keating  <geoffk@cygnus.com>
3268
3269         * config/rs6000/rs6000.md (movdi_internal64+5): Make SUBREG-safe
3270         by using gen_lowpart_common.
3271         (movdi_internal64+6): Likewise.
3272
3273 2000-08-26  Alexandre Oliva  <aoliva@redhat.com>
3274
3275         * tm.texi (FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION):
3276         Document.
3277
3278         * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Remap register
3279         numbers to the ranges used by GDB.
3280
3281 2000-08-25  Richard Henderson  <rth@cygnus.com>
3282
3283         * config/ia64/ia64.h (struct machine_function): Add n_varargs.
3284         * config/ia64/ia64.c (ia64_compute_frame_size): Use it.
3285         (ia64_expand_prologue): Likewise.
3286         (ia64_setup_incoming_varargs): Set it.  Properly skip the current
3287         argument for stdargs.
3288
3289 2000-08-25  Jason Merrill  <jason@redhat.com>
3290
3291         * integrate.c (expand_inline_function): Pull out the original decl.
3292
3293 2000-08-25  Jim Wilson  <wilson@cygnus.com>
3294
3295         * cse.c (cse_insn): Don't pass label subtraction to force_const_mem.
3296
3297         * function.c (gen_mem_addressof): Clear MEM_ALIAS_SET if no decl.
3298
3299 2000-08-25  Greg McGary  <greg@mcgary.org>
3300
3301         * flow.c (dump_edge_info): Use ARRAY_SIZE.
3302         * config/alpha/alpha.c (alpha_expand_block_move): Likewise.
3303
3304 2000-08-25  Richard Earnshaw  <rearnsha@arm.com>
3305
3306         * arm.h (STRUCT_VALUE): Define to 0, not NULL.
3307
3308 Fri Aug 25 12:52:49 EDT 2000  John Wehle  (john@feith.com)
3309
3310         * i386.c (ix86_find_base_term): New.
3311         * i386-protos.h (ix86_find_base_term): Prototype.
3312         * i386.h (FIND_BASE_TERM): Define.
3313         * alias.c (find_base_term): Use it.
3314         * tm.texi (FIND_BASE_TERM): Document it.
3315
3316         * alias.c (true_dependence, write_dependence_p): Unchanging
3317         memory can't conflict with non-unchanging memory.
3318
3319         * alias.c (memrefs_conflict_p): A BLKmode reference
3320         to a symbol (or CONST_INT address) always conflicts
3321         with a reference to another symbol.
3322
3323 2000-08-25  Joseph S. Myers  <jsm28@cam.ac.uk>
3324
3325         * c-common.c (time_char_table): Don't allow width and flags with
3326         "z" format.
3327
3328 2000-08-25  Jakub Jelinek  <jakub@redhat.com>
3329
3330         * config/i386/i386.c (ix86_expand_branch): Treat GE and GEU the same
3331         way as LT and LTU when the second operand has 0 in low word.
3332
3333 2000-08-26  Michael Hayes  <mhayes@cygnus.com>
3334
3335         * basic-block.h (struct loop): Rename `exits' field to
3336         `exit_edges'.  Add `entry_edges' and `num_entries' fields.
3337
3338         * flow.c (flow_loop_exit_edges_find): Rename from flow_loop_exits_find.
3339         (flow_loop_entry_edges_find): Add.
3340         (flow_edge_list_print): Rename from flow_exits_print.
3341         (flow_loops_find): Call flow_loop_entry_edges_find.
3342         (flow_loop_dump): Dump entry_edges list.
3343         (flow_loops_free): Free entry_edges.
3344
3345 2000-08-26  Michael Hayes  <mhayes@cygnus.com>
3346
3347         * loop.c (loop_dump_aux, debug_loop): New functions.
3348         (LOOP_BLOCK_NUM_1, LOOP_BLOCK_NUM, LOOP_INSN_UID): New macros.
3349
3350         * flow.c (flow_loops_dump): Add callback parameter.
3351         (flow_loop_dump): Add callback parameter and call it.  Move
3352         loop note debugging code to loop_dump_aux.
3353
3354         * basic-block.h (flow_loop_dump): Add callback parameter
3355         (flow_loops_dump): Likewise.
3356
3357         * toplev.c (rest_of_compilation): Add NULL callback function pointer
3358         to call to flow_loops_dump.
3359
3360 2000-08-26  Michael Hayes  <mhayes@cygnus.com>
3361
3362         * loop.c (count_loop_regs_set): Replace start and end arguments
3363         with loop argument.  All callers udated.
3364
3365 2000-08-26  Michael Hayes  <mhayes@cygnus.com>
3366
3367         * loop.c (constant_high_bytes): Delete.
3368
3369 2000-08-26  Michael Hayes  <mhayes@cygnus.com>
3370
3371         * loop.c (prescan_loop): Move checks for NOTE_INSN_LOOP_CONT
3372         and NOTE_INSN_LOOP_VTOP to...
3373         (find_and_verify_loops) ...here.
3374
3375 Fri Aug 25 04:21:13 2000  Alexandre Oliva  <aoliva@redhat.com>
3376
3377         * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Define default.
3378         (fini_dummy, init_dummy): Use it.
3379
3380 Fri 25-Aug-2000 08:03:27 BST  Neil Booth  <NeilB@earthling.net>
3381
3382         * cpplex.c (is_macro_disabled): Caller has already checked
3383         that we're not a preprocessed file.
3384
3385 2000-08-24  Mark Mitchell  <mark@codesourcery.com>
3386
3387         * Makefile.in (C_AND_OBJC_OBJS): Remove c-iterate.o.
3388         (c-iterate.o): Remove target.
3389         * gcc/c-common.h (enum rid): Remove RID_ITERATOR.
3390         * gcc/c-decl.c (init_decl_processing): Remove call to init_iterators.
3391         (finish_decl): Don't handle iterators.
3392         (grokdeclarator): Likewise.
3393         * gcc/c-parse.gperf: Remove __iterator and __iterator__ keywords.
3394         * gcc/c-gperf.h: Regenerated.
3395         * gcc/c-iterate.c: Removed.
3396         * gcc/c-lex.c (init_lex): Don't handle iterators.
3397         * gcc/c-parse.in (primary): Remove pop_iterator_stack call.
3398         (compstmt_primary_start): Remove push_iterator_stack call.
3399         (stmt): Don't allow iterator statements.  Replace iterator_expand
3400         with expand_expr_stmt.
3401         (all_iter_stmt): Remove.
3402         (all_iter_stmt_simple): Likewise.
3403         (all_iter_stmt_with_decl): Likewise.
3404         * gcc/c-tree.h (ITERATOR_P): Remove.
3405         (ITERATOR_BOUND_P): Likewise.
3406         (init_iterators): Remove declaration.
3407         (iterator_expand): Likewise.
3408         (iterator_for_loop_start): Likewise.
3409         (iterator_for_loop_end): Likewise.
3410         (iterator_for_loop_record): Likewise.
3411         (push_iterator_stack): Likewise.
3412         (pop_iterator_stack): Likewise.
3413         * gcc/c-typeck.c (decl_constant_value): Don't check ITERATOR_P.
3414         (readonly_warning): Likewise.
3415         * gcc/tree.h (ITERATOR_BOUND_P): Don't mention it.
3416
3417 2000-08-24  Jim Wilson  <wilson@cygnus.com>
3418
3419         * c-common.c (decl_attributes, case A_ALIGN): Revert last change.
3420         Copy type in a TYPE_DECL, just like pushdecl does.
3421
3422 2000-08-24  Richard Henderson  <rth@cygnus.com>
3423
3424         * toplev.c (main): Enable flag_reorder_blocks at -O2.
3425
3426 2000-08-24  Zack Weinberg  <zack@wolery.cumb.org>
3427
3428         * ggc-page.c (alloc_page): If HAVE_MMAP_ANYWHERE and we're
3429         asked for one page, allocate GGC_QUIRE_SIZE of them and put
3430         the extras on the free list.
3431         (release_pages): Clean up.
3432         (ggc_set_mark): Don't adjust G.allocated here...
3433         (sweep_pages): ... do it here.
3434
3435 2000-08-24  Zack Weinberg  <zack@wolery.cumb.org>
3436
3437         * cppfiles.c (read_include_file): Rearrange initializations.
3438
3439 2000-08-24  Richard Henderson  <rth@cygnus.com>
3440
3441         * stmt.c (expand_asm_operands): Treat EXTRA_CONSTRAINT like g or X.
3442
3443         * config/ia64/ia64-protos.h: Update.
3444         * config/ia64/ia64.c (gr_register_operand): New.
3445         (fr_register_operand, grfr_register_operand): New.
3446         (gr_nonimmediate_operand, grfr_nonimmediate_operand): New.
3447         (grfr_reg_or_8bit_operand): New.
3448         (gr_reg_or_0_operand): Rename from reg_or_0_operand and
3449         use gr_register_operand.
3450         (gr_reg_or_5bit_operand, gr_reg_or_6bit_operand): Likewise.
3451         (gr_reg_or_8bit_operand, gr_reg_or_8bit_adjusted_operand): Likewise.
3452         (gr_reg_or_8bit_and_adjusted_operand): Likewise.
3453         (gr_reg_or_14bit_operand, gr_reg_or_22bit_operand): Likewise.
3454         (fr_reg_or_fp01_operand): Likewise.
3455         (not_postinc_memory_operand): New.
3456         (ia64_split_timode): Remove unused variables.
3457         (rtx_needs_barrier): Check arguments to cmpxchg.
3458         (builtin_description): Remove.
3459         (bdesc_2argsi, bdesc_2argdi): Remove.
3460         (ia64_init_builtins): Declare all builtins directly.
3461         (ia64_expand_fetch_and_op): Rewrite to be called from
3462         ia64_expand_builtin directly.  Use expand_binop and co.
3463         (ia64_expand_op_and_fetch): Likewise.
3464         (ia64_expand_compare_and_swap): Likewise.
3465         (ia64_expand_binop_builtin): Remove.
3466         (ia64_expand_lock_test_and_set): New.
3467         (ia64_expand_lock_release): New.
3468         (ia64_expand_builtin): Use them.
3469         * config/ia64/ia64.h (CONSTRAINT_OK_FOR_S): New.
3470         (EXTRA_CONSTRAINT): Use it.
3471         (PREDICATE_CODES): Update.
3472         * config/ia64/ia64.md (*): Use gr_register_operand and co.
3473         (mf): Indicate that we set memory as well as use it.
3474         (fetchadd_acq_si): Show memory being modified as well.
3475         (fetchadd_acq_di, cmpxchg_acq_si, cmpxchg_acq_di): Likewise.
3476         (val_compare_and_swap_si, val_compare_and_swap_di): Remove.
3477         (lock_test_and_set_si, lock_test_and_set_di): Remove.
3478         (fetch_and_add_si, fetch_and_sub_si, fetch_and_or_si): Remove.
3479         (fetch_and_and_si, fetch_and_xor_si, fetch_and_nand_si): Remove.
3480         (fetch_and_add_di, fetch_and_sub_di, fetch_and_or_di): Remove.
3481         (fetch_and_and_di, fetch_and_xor_di, fetch_and_nand_di): Remove.
3482         (add_and_fetch_di, sub_and_fetch_di, or_and_fetch_di): Remove.
3483         (and_and_fetch_di, xor_and_fetch_di, nand_and_fetch_di): Remove.
3484         (add_and_fetch_si, sub_and_fetch_si, or_and_fetch_si): Remove.
3485         (and_and_fetch_si, xor_and_fetch_si, nand_and_fetch_si): Remove.
3486         * config/ia64/ia64intrin.h (*): Cast result to the appropriate
3487         return type.  Pretty print definitions.
3488
3489 2000-08-24  Jim Wilson  <wilson@cygnus.com>
3490
3491         * config/ia64/ia64.md (movdi): Don't call gen_movdi_symbolic if
3492         we have a SYMBOL_REF with SYMBOL_REF_FLAG set.
3493
3494 2000-08-24  Jason Merrill  <jason@redhat.com>
3495
3496         * dwarf2out.c (AT_flag, AT_int, AT_unsigned, AT_string, AT_ref,
3497         AT_loc, AT_addr, AT_lbl): Abort on unsuitable input.
3498         (get_AT_low_pc, get_AT_hi_pc, get_AT_string, get_AT_flag,
3499         get_AT_unsigned, get_AT_ref): Don't call them if get_AT fails.
3500
3501 2000-08-24  Greg McGary  <greg@mcgary.org>
3502
3503         * optabs.c (init_optabs): Initialize fixtab, fixtrunctab, floattab,
3504         and extendtab within their proper array boundaries.
3505         * emit-rtl.c (init_emit_once): Pass `const_tiny_rtx' with bounds
3506         for the entire array.
3507
3508         * config/arm/arm.c (arm_override_options): Use ARRAY_SIZE.
3509         * config/alpha/alpha.c (alpha_lookup_xfloating_lib_func): Likewise.
3510         * config/avr/avr.c (order_regs_for_local_alloc): Likewise.
3511         * config/fr30/fr30.c (fr30_print_operand): Likewise.
3512         * config/i386/dgux.c (output_options): Likewise.
3513         * config/i386/dgux.h (ASM_FILE_START): Likewise.
3514         * config/m88k/m88k.c (output_options): Likewise.
3515         * config/m88k/m88k.h (ASM_FILE_START): Likewise.
3516         * config/mcore/mcore.c (mcore_output_inline_const_forced,
3517         layout_mcore_frame, handle_structs_in_regs): Likewise.
3518         * config/mips/mips.c (output_block_move): Likewise.
3519         * config/rs6000/rs6000.c (rs6000_override_options,
3520         rs6000_file_start): Likewise.
3521         * config/sparc/sparc.c (sparc_add_gc_roots): Likewise.
3522         * fixinc/fixfixes.c (FIX_TABLE_CT): Likewise.
3523         * fixinc/fixtests.c (TEST_TABLE_CT): Likewise.
3524         * builtins.c (expand_builtin_setjmp): Likewise.
3525         * expr.c (safe_from_p): Likewise.
3526         * flow.c (life_analysis): Likewise.
3527         * fold-const.c (size_int_type_wide): Likewise.
3528         * gcc.c (translate_options, init_spec, set_spec, main): Likewise.
3529         * genattrtab.c (make_length_attrs): Likewise.
3530         * genopinit.c (gen_insn): Likewise.
3531         * genrecog.c (NUM_KNOWN_PREDS, NUM_SPECIAL_MODE_PREDS): Likewise.
3532         * global.c (global_alloc): Likewise.
3533         * local-alloc.c (find_free_reg): Likewise.
3534         * mips-tdump.c (print_symbol): Likewise.
3535         * mips-tfile.c (parse_def, parse_input): Likewise.
3536         * reload1.c (NUM_ELIMINABLE_REGS): Likewise.
3537         * stmt.c (expand_nl_goto_receiver): Likewise.
3538         * stor-layout.c (set_sizetype): Likewise.
3539         * varasm.c (decode_reg_name): Likewise.
3540         * toplev.c (decode_f_option, decode_W_option,
3541         set_target_switch, print_switch_values): Likewise.
3542         (NUM_ELEM): Remove macro.
3543         (display_help, main): s/NUM_ELEM/ARRAY_SIZE/
3544
3545 2000-08-24  Greg McGary  <greg@mcgary.org>
3546
3547         * tree.h (enum tree_index): New member `TI_MAIN_IDENTIFIER'.
3548         (MAIN_NAME_P, main_identifier_node): New macros.
3549         * c-common.c (c_common_nodes_and_builtins): Init main_identifier_node.
3550         * c-decl.c (start_decl, grokdeclarator, start_function,
3551         store_parm_decls, finish_function): Use MAIN_NAME_P.
3552         * config/avr/avr.c (function_prologue, function_epilogue): Likewise.
3553         * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
3554         * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
3555         * config/pdp11/pdp11.c (output_function_prologue): Likewise.
3556
3557 2000-08-24  Greg McGary  <greg@mcgary.org>
3558
3559         * cppfiles.c (actual_directory): Don't write beyond `dir'
3560         when it contains "".
3561         * real.c (asctoeg): Stay within bounds of etens[][].
3562
3563 2000-08-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3564
3565         * dependence.c (dependence_string, direction_string,
3566         dump_one_node, dump_node_dependence): Hide unused identifiers.
3567         (get_low_bound, normalize_coefficients): Match definition to
3568         static prototype.
3569         (get_one_coefficient): Initialize variables `value0_is_idx' and
3570         `value1_is_idx'.
3571         (ziv_test, gcd_test): Mark parameters with ATTRIBUTE_UNUSED.
3572         (ziv_test): Delete variable `idx', use parameter `sub' instead.
3573         (direction_merge): Avoid automatic aggregate initialization.
3574         (have_dependence_p): Use `src' not `dest' to set `src_idx'.
3575         Initialize variables `dest_idx' and `src_idx'.
3576         (end_dependence_analysis): Avoid C89 style function definition.
3577
3578 2000-08-24  Joseph S. Myers  <jsm28@cam.ac.uk>
3579
3580         * c-common.c (time_char_table): Don't allow width with %F.
3581         (check_format_info): Don't allow "Z" length with scanf.
3582
3583 2000-08-24  Gabriel Dos Reis  <gdr@codesourcery.com>
3584
3585         * diagnostic.c (finish_diagnostic): Define.
3586         (output_do_printf): Use wrap_text instead of output_add_string.
3587         (default_print_error_function): Avoid embedded '\n'.
3588
3589         * diagnostic.h (flush_diagnostic_buffer): Declare.
3590
3591 2000-08-23  Alexandre Oliva  <aoliva@redhat.com>
3592
3593         * dependence.c: Replace `[][]' with `[][MAX_SUBSCRIPTS]'.
3594
3595 2000-08-23  Hans-Peter Nilsson  <hp@axis.com>
3596
3597         * Makefile.in (GCC_PASSES): Add specs.
3598
3599 2000-08-23  Jim Wilson  <wilson@cygnus.com>
3600
3601         * frame.h (IA64_UNW_EHANDLER, IA64_UNW_UHANDLER): New.
3602         * config/ia64/frame-ia64.c (__get_personality): Return zero if neither
3603         EHANDLER nor UHANDLER bit is set.
3604         (__get_except_table): Likewise.
3605
3606 2000-08-23  Nick Clifton  <nickc@redhat.com>
3607
3608         * config/arm/lib1funcs.asm: Replace upper case condition codes
3609         with lower case versions.
3610
3611         * config/arm/arm.h (STRUCT_VALUE): Define.
3612         (STRUCT_VALUE_REGNUM): Delete.
3613
3614 2000-08-23  Zack Weinberg  <zack@wolery.cumb.org>
3615
3616         * cpphash.h (IN_I): New flag for directive table.
3617         * cpplib.c (DIRECTIVE_TABLE): Mark #define, #undef, #ident, and
3618         #pragma with IN_I.
3619         (_cpp_check_directive): If -fpreprocessed, execute directives
3620         marked with IN_I.  Issue no warnings in this case.
3621         * cpplex.c (_cpp_get_token): Expand no macros if -fpreprocessed.
3622
3623 2000-08-23  Joseph S. Myers  <jsm28@cam.ac.uk>
3624
3625         * c-common.c (print_char_table): Allow 'I' flag with %d, %i and
3626         %u.
3627         (check_format_info): Support printf 'I' flag; warn about it with
3628         -pedantic.
3629
3630 2000-08-23  Richard Earnshaw  (rearnsha@arm.com)
3631
3632         * arm.c (arm_expand_prologue): Ensure that the stack-adjustment
3633         barrier can't be ignored by the alias analysis code.
3634
3635 2000-08-12  Eli Zaretskii  <eliz@is.elta.co.il>
3636
3637         * fixinc/inclhack.def (sysv68_string): Fix the Sed script so it
3638         works inside fixincl.
3639
3640 Wed Aug 23 04:55:48 2000  Alexandre Oliva  <aoliva@redhat.com>
3641
3642         * simplify-rtx.c (simplify_rtx): Don't pass VOIDmode to
3643         simplify_relational_operation() unless both operands are of
3644         VOIDmode.
3645         * cse.c (fold_rtx): Likewise.
3646
3647 Tue Aug 22 23:53:27 EDT 2000  John Wehle  (john@feith.com)
3648
3649         * rtlanal.c (rtx_unstable_p): The pic register is stable
3650         (within one function) and the actual rtx should be used
3651         when checking the registers.
3652         (rtx_addr_can_trap_p): Pic memory addresses can't trap.
3653
3654         * alias.c (true_dependence, write_dependence_p): Fix
3655         bug in previous patch.
3656
3657         * i386.c (ix86_GOT_alias_set): New.
3658         (legitimize_pic_address): Use it.
3659
3660         * rtlanal.c (rtx_unstable_p): An unchanging MEM is
3661         only stable if its address is stable.
3662         (rtx_varies_p): An unchanging MEM can't vary if
3663         its address doesn't vary.
3664
3665 2000-08-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3666
3667         * c-parse.in (unop +): Restrict -Wtraditional warnings to user code.
3668
3669 2000-08-22  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
3670
3671         * vax.h (ASM_SPEC): Pass `-J' to assembler.
3672         * x-vax-gcc: New file for bootstrapping with gcc.
3673         * x-vax: Use X_CFLAGS rather than X_CPPFLAGS to pass `-J'.
3674         * configure.in: Use x-vax-gcc with gcc.
3675         * configure: Rebuilt.
3676
3677 Tue Aug 22 21:21:05 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3678
3679         * toplev.c (rest_of_compilation): Rebuild label notes after
3680         post-reload splitting pass if new labels have been created.
3681
3682 2000-08-22  Gabriel Dos Reis  <gdr@codesourcery.com>
3683
3684         * diagnostic.h (output_buffer_state): New macro.
3685         * diagnostic.c (diagnostic_for_decl, sorry,
3686         default_print_error_function, output_do_verbatim,
3687         report_diagnostic, report_problematic_module): Use it.
3688         (wrap_text): Tweak.
3689         (output_format): Use wrap_text instead of maybe_wrap_text.
3690
3691 2000-08-22  Nick Clifton  <nickc@redhat.com>
3692
3693         * config/arm/lib1funcs.asm (ARM_DIV_MOD_BODY): New macro.
3694         Common code for ARM divide and modulus functions.
3695         (THUMB_DIV_MOD_BODY): New macro. Thumb equivalent of
3696         ARM_DIV_MOD_BODY.
3697         (FUNC_END): New macro: Common code at the end of the division and
3698         modulo functions.
3699         (THUMB_FUNCTION_START): New macro:  Common code at the start of
3700         Thumb functions.
3701         (__divsi3, __udivsi3, __modsi3, __umodsi3): Use new macros.
3702
3703 Tue Aug 22 20:34:52 2000  Kaz Kojima <kkojima@rr.iij4u.or.jp>
3704
3705         * config/sh/sh.md (cmpeqdi_t splitter): Fix a reverse testing.
3706
3707         * config/sh/sh.c (prepare_scc_operands): Apply force_reg to
3708         sh_compare_op1 when the mode is DImode and sh_compare_op1 isn't
3709         const0_rtx.
3710
3711 2000-08-22  Nick Clifton  <nickc@redhat.com>
3712
3713         * config/arm/lib1funcs.asm (__umodsi3): Before performing any
3714         restorative additions, test for bottom bits of IP being set,
3715         rather than relying upon the RORs not matching.
3716         (__modsi3): Ditto.
3717
3718 2000-08-22  David Edelsohn  <edelsohn@gnu.org>
3719
3720         * aix.h (ASM_DECLARE_FUNCTION_NAME): Call named_section() or
3721         text_section() as appropriate instead of emitting text csect
3722         pseudo-op directly.
3723         (TEXT_SECTION_ASM_OP): Only require default 32-bit alignment.
3724         (UNIQUE_SECTION): Define macro.
3725         (ASM_OUTPUT_SECTION_NAME): Define macro.
3726         * rs6000.c (rs6000_override_options): Disable -ffunction-sections
3727         on AIX if debugging and -fdata-sections always.
3728
3729 2000-08-22  Steven King  <sxking@uswest.net>
3730
3731         * config/float-i386.h (LDBL_EPSILON): Remove __convert_long_double
3732         machinery.
3733         (LDBL_MAX): Same here.
3734
3735 2000-08-22  Richard Henderson  <rth@cygnus.com>
3736
3737         * flow.c (tidy_fallthru_edge): Update b->end properly.
3738
3739 2000-08-22  Stan Cox  <scox@redhat.com>
3740
3741         * Makefile.in (OBJS): Add dependence.o.
3742         * dependence.c: New file.
3743
3744 2000-08-22  Alexandre Oliva  <aoliva@redhat.com>, John David Anglin  <dave.anglin@nrc.ca>
3745
3746         * calls.c (check_sibcall_argument_overlap_1): Adjust for
3747         ARGS_GROW_DOWNWARD.
3748         (check_sibcall_argument_overlap): Likewise.
3749
3750 2000-08-22  Alexandre Oliva  <aoliva@redhat.com>
3751
3752         * invoke.texi (SH Options): Document -m4-nofpu,
3753         -m4-single-only, -m4-single, -m4, -mbigtable, -mfmovd,
3754         -mhitachi, -mnomacsave, -misize, -mpadstruct, -mspace.
3755
3756 2000-08-22  Joseph S. Myers  <jsm28@cam.ac.uk>
3757
3758         * c-common.c (check_format_info): Give the 'some locales' warning
3759         for strftime %Ey rather than the unconditional 'only last 2 digits
3760         of year' one.
3761
3762 2000-08-22  Richard Henderson  <rth@cygnus.com>
3763
3764         * alias.c (init_alias_analysis): Do not register
3765         struct_value_incoming_rtx or static_chain_rtx as pointing
3766         to stack memory.
3767
3768 Tue Aug 22 01:44:43 2000  Jeffrey A Law  (law@cygnus.com)
3769
3770         * protoize.c (munge_compile_params): Fix typo and formatting buglets.
3771
3772 2000-08-22  Gabriel Dos Reis  <gdr@codesourcery.com>
3773
3774         * diagnostic.h (report_problematic_module): Declare.
3775         * diagnostic.c (report_problematic_module): New function.
3776         (report_error_function): Tweak.
3777
3778 Tue Aug 22 02:31:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3779
3780         * stmt.c (expand_goto_internal, fixup_gotos): Only check
3781         TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.
3782
3783 2000-08-21  Richard Henderson  <rth@cygnus.com>
3784
3785         * flow.c (calculate_global_regs_live): Mark frame pointer live
3786         everywhere before reload.
3787
3788 2000-08-21  Jim Wilson  <wilson@cygnus.com>
3789
3790         * real.c (ereal_from_int, ereal_from_uint, significand_size): Handle
3791         INTEL_EXTENDED_IEEE_FORMAT.
3792         (toe64): Delete INTEL_EXTENDED_IEEE_FORMAT support.  Unconditionally
3793         clear last two bytes of output FP value.
3794
3795 2000-08-21  Graham Stott  <grahams@cygnus.co.uk>
3796
3797         * config/ia64/ia64.h (REDO_SECTION_INFO_P): Change decl to DECL.
3798
3799 2000-08-21  Jakub Jelinek  <jakub@redhat.com>
3800
3801         * unroll.c (loop_find_equiv_value): If ret is modified between
3802         insn and loop_start, ret might not be equivalent to reg.
3803
3804 2000-08-21  Joseph S. Myers  <jsm28@cam.ac.uk>
3805
3806         * c-common.c (init_dollar_format_checking,
3807         maybe_read_dollar_number, finish_dollar_format_checking): New
3808         functions.
3809         (dollar_arguments_used, dollar_arguments_count,
3810         dollar_first_arg_num, dollar_max_arg_used, dollar_format_warned):
3811         New variables.
3812         (check_format_info): Support $ formats for scanf and printf width
3813         and precision.  Always increment format_chars to advance past the
3814         '*' of precision, not just when the format parameters are
3815         available to check.
3816
3817 2000-08-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3818
3819         * mips.c (block_move_loop, expand_block_move,
3820         function_arg_partial_nregs, save_restore_insns, function_prologue,
3821         mips_expand_prologue, RA_MASK): Avoid using the `U' integer
3822         constant suffix.
3823         (function_arg_advance, function_arg): Match argument to format
3824         specifier `%p'.
3825
3826 2000-08-21  Nix  <nix@esperi.demon.co.uk>
3827
3828         * gcc.c (do_spec_1): Implement %j spec flag.
3829         Remove dead comment.
3830
3831         * gcc.texi (The Configuration File): Document HOST_BIT_BUCKET.
3832         * system.h (HOST_BIT_BUCKET): Default to "/dev/null".
3833         * config/i386/xm-dos.h (HOST_BIT_BUCKET): Define as "NUL".
3834         * config/i386/xm-os2.h, config/winnt/winnt.h: Likewise.
3835
3836         * protoize.c (munge_compile_params): Use HOST_BIT_BUCKET (if
3837         writable) instead of hardcoded value.
3838
3839         * toplev.c (compile_file): Output to a file even if -fsyntax-only.
3840
3841         * gcc.c, config/i386/xm-dos.h, config/i386/xm-os2.h: Kill
3842         MKTEMP_EACH_FILE.
3843
3844         * gcc.c (cc1_options): Do not process -o or run the assembler if
3845         -fsyntax-only.
3846         * objc/lang-spec.h: Likewise.
3847
3848 2000-08-21  Eli Zaretskii  <eliz@is.elta.co.il>
3849
3850         * fixinc/fixincl.c (fix_with_system): Pipe the output of
3851         "external" fixes through `cat', to avoid truncating the input
3852         file by redirection.
3853
3854 2000-08-21  Jakub Jelinek  <jakub@redhat.com>
3855
3856         * config/i386/i386.md (lea_general_1): Copy insn condition to split
3857         condition.
3858         (lea_general_2, lea_general_3): Likewise.
3859
3860 2000-08-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3861
3862         * c-decl.c (duplicate_decls, define_label): Restrict -Wtraditional
3863         warnings to user code.
3864
3865         * c-lex.c (readescape, yylex): Likewise.
3866
3867         * c-typeck.c (store_init_value, process_init_element): Likewise
3868         (c_expand_start_case): Format.
3869
3870 2000-08-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
3871
3872         * mips/linux.h (LINK_SPEC): Use %(endian_spec).
3873
3874         * mips/mips.h: Change LINKER_ENDIAN_SPEC to ENDIAN_SPEC
3875         and linker_endian_spec to endian_spec.
3876         (ENDIAN_SPEC): Add %{EB} and %{EL}.
3877         (LINK_SPEC): Remove %{EB} and %{EL}.
3878         (ASM_SPEC): Likewise.  Use %(endian_spec).
3879
3880 2000-08-21  Joseph S. Myers  <jsm28@cam.ac.uk>
3881
3882         * c-tree.h (flag_hosted): Move declaration from here...
3883         * c-common.h (flag_hosted): ... to here.
3884         (flag_noniso_default_format_attributes): New declaration.
3885         * c-decl.c (flag_noniso_default_format_attributes): New variable.
3886         (c_decode_option): Set it appropriately for options choosing
3887         language standard variant.
3888         * c-common.c (init_function_format_info): Only provide default
3889         format attributes if flag_hosted.  Only provide the gettext
3890         formats if flag_noniso_default_format_attributes.  Update
3891         comments.
3892         (check_format_info): Disable treatment of %a as a scanf flag in
3893         C99 mode.
3894
3895 2000-08-21  Joseph S. Myers  <jsm28@cam.ac.uk>
3896
3897         * c-common.c (scan_char_table): Add 'w' to flags for all formats
3898         except 'n'.
3899         (check_format_info): Set 'wide' for scanf format widths.  Warn for
3900         a zero scanf width.  Make the check for writing into a constant
3901         object at the first level of indirection; at later levels, warn if
3902         any type qualifiers are encountered.
3903
3904 Mon Aug 21 07:41:12 2000  Jeffrey A Law  (law@cygnus.com)
3905
3906         * reload.c (reload_inner_reg_of_subreg): New function broken out of
3907         push_reload.
3908         (push_reload): Use reload_inner_reg_of_subreg.
3909         (combine_reloads): Do not combine reloads if the input reload
3910         is a SUBREG in which the inner part will need reloading.
3911
3912         * global.c (global_alloc): Avoid passing dumpfile argument to
3913         reload routines.
3914         * toplev.c (rest_of_compilation): Likewise.
3915         * reload.h (reload): Remove dumpfile argument.  Callers changed.
3916         (debug_reload, debug_reload_to_stream): Move prototypes here.
3917         * rtl.h  (reload): Remove dumpfile argument.
3918         * reload.c (debug_reload): Remove prototype.
3919         (debug_reload_to_stream): Likewise.
3920         * reload1.c: Avoid passing dumpfile around, rely on rtl_dump_file
3921         instead.
3922
3923 2000-08-21  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3924
3925         * diagnostic.c (context_as_prefix): Export.
3926         (need_error_newline): Remove.
3927         (lang_diagnostic_starter, lang_diagnostic_finalizer): New objects.
3928         (error_module_changed, record_last_error_module,
3929         error_function_changed, record_last_error_function): New functions.
3930         (initialize_diagnostics): Default intialize
3931         lang_diagnostic_starter, lang_diagnostic_finalizer.
3932         (init_output_buffer): Tweak.
3933         (file_name_as_prefix): New function.
3934         (announce_function, default_print_error_function,
3935         report_error_function, set_diagnostic_context): Tweak.
3936
3937 2000-08-21  Richard Earnshaw  <rearnsha@arm.com>
3938
3939         * flow.c (init_propagate_block_info): Handle SUBREG in a jump
3940         condition expression.
3941
3942 2000-08-20  Richard Henderson  <rth@cygnus.com>
3943
3944         * flow.c (merge_blocks_nomove): Don't seek back past the bb note.
3945
3946 2000-08-20  Zack Weinberg  <zack@wolery.cumb.org>
3947
3948         * cppinit.c (cpp_init): Set global flag when called.
3949         (cpp_reader_init): Bomb out if cpp_init hasn't been called.
3950
3951 Sun Aug 20 01:41:35 2000  Dennis Chernoivanov  <cdi@sparc.spb.su>
3952
3953         * cpplex.c (cpp_scan_buffer): Move `output_line_command' just
3954         before `process_directive' so that newlines won't be missed
3955         for directives.
3956         (cpp_printf): Increment `print->lineno' when newline is emitted.
3957
3958         * cppmain.c (cb_ident): Likewise.
3959         (cb_define): Likewise.
3960         (cb_undef): Likewise.
3961         (cb_include): Likewise.
3962         (cb_def_pragma): Likewise.
3963         (dump_macros_helper): Likewise.
3964
3965 2000-08-20  Richard Henderson  <rth@cygnus.com>
3966
3967         * config/ia64/ia64.c (emit_insn_group_barriers): Stop if ar.lc
3968         assigned before a loop.
3969
3970         * config/ia64/ia64.md (ashlsi3): Zero extend the shift count.
3971         (ashrsi3, lshrsi3): Likewise.
3972
3973 2000-08-20  Gabriel Dos Reis  <gdr@codesourcery.com>
3974
3975         * c-lang.c: #include diagnostic.h
3976         (c_tree_printer): New function.
3977         (lang_init): Initialize lang_printer.
3978
3979         * Makefile.in (c-lang.o): Depends on diagnostic.h
3980
3981 2000-08-20  Gabriel Dos Reis  <gdr@codesourcery.com>
3982
3983         * c-errors.c (pedwarn_c99): Adjust call to report_diagnostic.
3984
3985         * diagnostic.c (default_diagnostic_starter,
3986         default_diagnostic_finalizer): New functions.
3987         (diagnostic_for_asm, diagnostic_for_decl): Tweak.
3988         (pedwarn, pedwarn_with_file_and_line, error,
3989         error_with_file_and_line, fatal, warning,
3990         warning_with_file_and_line): Adjust call to report_diagnostic.
3991         (report_diagnostic): Rework.
3992         (set_diagnostic_context): New function.
3993
3994         * diagnostic.h (struct diagnostic_context): New data structure.
3995         (diagnostic_message, diagnostic_argument_list,
3996         diagnostic_file_location, diagnostic_line_location,
3997         diagnostic_is_warning, diagnostic_starter, diagnostic_finalizer,
3998         diagnostic_finalizer, diagnostic_auxiliary_data): New macros.
3999         (set_diagnostic_context): Declare.
4000         (report_diagnostic): Change prototype.
4001
4002 Sun 20-Aug-2000 09:25:45 BST  Neil Booth  <NeilB@earthling.net>
4003
4004         * fix-header.c (main): Initialize cpplib.
4005
4006 2000-08-19  Michael Meissner  <meissner@redhat.com>
4007
4008         * ifcvt.c (find_if_block): Do not assume that a THEN block has any
4009         instructions in it before checking for indirect jumps.
4010
4011         * ifcvt.c (find_if_block): Do not consider a THEN block that ends
4012         in a indirect jump as a potential for conditional execution.
4013
4014         * d30v.h (d30v_init_expanders): Don't declare here.
4015         * d30v-protos.h (d30v_init_expanders): Declare here with a valid
4016         prototype.
4017
4018 Sat 19-Aug-2000 21:11:45 BST  Neil Booth  <NeilB@earthling.net>
4019
4020         * cpp.texi: Add @section for assertions.
4021
4022 Sat Aug 19 12:37:08 EDT 2000  John Wehle  (john@feith.com)
4023
4024         * loop.c (scan_loop): Use CONST_CALL_P instead of
4025         checking for REG_LIBCALL / REG_RETVAL.
4026
4027 Sat Aug 19 09:18:47 2000  Jeffrey A Law  (law@cygnus.com)
4028
4029         * reload1.c (reload_as_needed): Accept dumpfile argument,
4030         pass it to emit_reload_insns.
4031         (emit_reload_insns): Add new dumpfile argument.  If non-null
4032         then dump the reloads for each insn into the dumpfile.
4033         (reload): Pass dumpfile to reload_as_needed.
4034
4035         * invoke.texi: Clean up linux-gnu vs linux comments.
4036
4037 2000-08-19  Richard Henderson  <rth@cygnus.com>
4038
4039         * config/ia64/ia64.c (reg_or_5bit_operand): New.
4040         (ia64_depz_field_mask): New.
4041         * config/ia64/ia64.h (CONSTRAINT_OK_FOR_R): New.
4042         (PREDICATE_CODES): Update.
4043         * config/ia64/ia64.md: Update commentary.
4044         (depz_internal): New.
4045         (ashlsi3): Implement directly.
4046         (ashrsi3, lshrsi3): Simplify; rely on extv and extzv for constants.
4047         (ashldi3): Use shladd.
4048         * config/ia64/ia64-protos.h: Update.
4049
4050 2000-08-18  Zack Weinberg  <zack@wolery.cumb.org>
4051
4052         * toplev.c (independent_decode_option): Always process -g.
4053         Remove third argument, now unused.  Adjust caller to match.
4054
4055 2000-08-18  Richard Henderson  <rth@cygnus.com>
4056
4057         * combine.c (make_compound_operation): Break after creating
4058         the extraction.
4059
4060 2000-08-18  Zack Weinberg  <zack@wolery.cumb.org>
4061
4062         * cpplib.c (cpp_register_pragma_space): Just return if the
4063         namespace is already registered.
4064
4065 2000-08-18  Ray Essick <essick@ddna.labs.mot.com> & Nick Clifton  <nickc@redhat.com>
4066
4067         * config/mcore/mcore.md (rotlsi3): Allow allow rotations by a
4068         constant amount.  Do not generate ROTL instruction.
4069
4070 Fri Aug 18 16:22:20 2000  Alexandre Oliva  <aoliva@redhat.com>
4071
4072         * config/sh/elf.h: Do not include sh/sh.h.
4073         * config/sh/rtems.h: Likewise.
4074         * config/sh/rtemself.h: Do not include sh/elf.h.
4075         * configure.in: Get them included with `tm_file's.
4076         * configure: Rebuilt.
4077
4078         * config/sh/sh.md (fpu_switch0, fpu_switch1): Simplify.
4079         * config/sh/sh.c (fpscr_set_from_mem): Use them.
4080
4081 Fri Aug 18 14:23:18 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4082
4083         * stor-layout.c (compute_record_type): Don't use mode of single
4084         field as mode of record if not integer mode of same type.
4085
4086         * regmove.c (perhaps_ends_bb_p): New function.
4087         (optimize_reg_copy_1, optimize_reg_copy_2): Call it.
4088         (optimize_reg_copy_3, fixup_match_2, regmove_optimize): Likewise.
4089         (fixup_match_1): Likewise.
4090         (fixup_match_1, combine_stack_adjustments_for_block): Add casts to
4091         avoid signed/unsigned warnings.
4092
4093         * function.c (fixup_var_refs_1, case MEM): Update CODE after
4094         updating X.
4095
4096 Fri 18-Aug-2000 18:33:45 BST  Neil Booth  <NeilB@earthling.net>
4097
4098         * cpphash.h: Use HAVE_DESIGNATED_INITIALIZERS.
4099         (_cpp_trigraph_map): Declaration moved from cpplex.c
4100
4101         * cppinit.c: Define _cpp_trigraph_map.  Use UCHAR_MAX + 1
4102         instead of 256.  Use consistent test for designated initializers.
4103         (cpp_init): Initialize trigraph_map.
4104         (initialize_standard_includes, parse_option):  Use memcmp
4105         instead of strncmp.
4106
4107         * cpplex.c (init_trigraph_map): Remove.
4108         (trigraph_ok, trigraph_replace, lex_line): Refer to
4109         _cpp_trigraph_map.
4110
4111         * cpplib.c (str_match, WARNING, ERROR, ICE): Delete.
4112         (do_unassert): Remove unused "next" local.
4113
4114         * system.h (HAVE_DESIGNATED_INITIALIZERS): New prototype.
4115
4116 2000-08-18  Emmanuel Marty  <emarty@suntech.fr>
4117
4118         * arm/lib1funcs.asm (_umodsi3 THUMB VARIANT): Restore deleted return
4119         insn.
4120
4121 2000-08-17  Richard Henderson  <rth@cygnus.com>
4122
4123         * config/ia64/ia64.c (spill_restore_mem): Handle emitting
4124         the first insn in a sequence.
4125
4126 Thu Aug 17 22:40:05 EDT 2000  John Wehle  (john@feith.com)
4127
4128         * alias.c (true_dependence, write_dependence_p): A read
4129         involving a label_ref or the constant pool doesn't create
4130         a dependency.
4131
4132         * rtl.h (unchanging): Improve documentation.
4133
4134 2000-08-17  Rodney Brown  <RodneyBrown@mynd.com>
4135
4136         * cse.c (insert_regs): Remove unused `regno'.
4137
4138 2000-08-17  Neil Booth  <NeilB@earthling.net>
4139
4140         * (cppinit.c) merge_include_chains: Use remove_dup_dir,
4141         remove_dup_dirs.  If qtail == brack, remove brack not
4142         qtail.
4143         (remove_dup_dir, remove_dup_dirs): New functions.
4144
4145 2000-08-17  Neil Booth  <NeilB@earthling.net>
4146
4147         * cppinit.c (cpp_cleanup): Free include dir chains.
4148         * cpplib.c (do_undef): Let _cpp_free_definition make the node void.
4149         (do_unassert): Free the assert with _cpp_free_definition.
4150         * cppmacro.c (_cpp_free_definition): Free memory allocated for
4151         assertions.  Make the node a T_VOID node.
4152
4153 2000-08-17  Neil Booth  <NeilB@earthling.net>
4154
4155         * cppinit.c (path_include, append_include_chain):
4156         Remove 2nd parameter (struct cpp_pending *).
4157         (path_include, initialize_standard_includes, cpp_handle_option):
4158         Update callers appropriately.
4159         (cpp_handle_option): Use pend.
4160
4161 2000-08-17  Neil Booth  <NeilB@earthling.net>
4162
4163         * cppinit.c (sort_options): Remove, put functionality in
4164         cpp_init.
4165         (cpp_init): New.
4166         (initialize_builtins): Free memory.
4167         (cpp_start_read): Move init_IStable to cpp_init.
4168
4169         * cpplib.h (cpp_init): New prototype.
4170         * cppmain.c (main): Call cpp_init.
4171
4172 Thu Aug 17 13:20:32 EDT 2000  John Wehle  (john@feith.com)
4173
4174         * rtlanal.c (rtx_unstable_p): Use CONSTANT_P.
4175         (rtx_unstable_p, rtx_varies_p): Process vectors.
4176
4177 2000-08-16  Niibe Yutaka  <gniibe@m17n.org>, Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4178
4179         * config/sh/lib1funcs.asm (GLOBAL): Define.  Use for all
4180         references to GLOBAL symbols.  Use LOCAL where appropriate.
4181
4182 2000-08-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4183
4184         * configure.in (*-ibm-aix4.[12]*): Delete test for gnu ld.  Always
4185         use t-aix41 when host == target.
4186
4187 2000-08-16  Richard Henderson  <rth@cygnus.com>
4188
4189         * reload.c (push_secondary_reload): Revert last change.
4190         If we use a reload_in/out pattern, make the when the same
4191         as the primary reload.
4192         (find_reloads): Likewise.
4193
4194 2000-08-16  Manfred Hollstein  <manfredh@redhat.com>
4195
4196         * configure.in (libstdcxx-v3): Fix test.
4197         * configure: Regenerate.
4198
4199 Wed Aug 16 08:10:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4200
4201         * calls.c (calls_function_1, expand_call): Only test
4202         TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.
4203         * function.c (thread_prologue_and_epilogue_insns): Likewise.
4204
4205 2000-08-16  Richard Henderson  <rth@cygnus.com>
4206
4207         * combine.c (simplify_shift_const): Revert previous two
4208         changes.  If SHIFT_COUNT_TRUNCATED, crop the shift count
4209         before the main loop.
4210
4211 2000-08-15  Richard Henderson  <rth@cygnus.com>
4212
4213         * combine.c (simplify_shift_const): Bound shift count when
4214         combining shifts.
4215
4216 Tue Aug 15 17:33:05 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4217
4218         * calls.c (ECF_SP_DEPRESSED): New macro.
4219         (calls_function_1): Treat calling sp-depressed function as alloca.
4220         (emit_call_1): Don't adjust SP if calling sp-depressed function.
4221         (expand_call): Set ECF_SP_DEPRESSED if TYPE_RETURNS_STACK_DEPRESSED.
4222         If sp-depressed, ensure block saves and restores SP.
4223         * fold-const.c (extract_muldiv): Only check TYPE_IS_SIZETYPE
4224         for INTEGER_TYPE.
4225         * function.c (keep_stack_depressed): New function.
4226         (thread_prologue_and_epilogue_insns): Call it.
4227         * print-tree.c (print_node): Use HOST_WIDE_INT_PRINT_UNSIGNED
4228         to print DECL_OFFSET_ALIGN.
4229         Print no-force-blk and transparent-union flags properly.
4230         * stmt.c (expand_goto_internal): Don't restore stack if last block
4231         and function returns with sp depressed.
4232         (fixup_gotos): Likewise.
4233         (save_stack_pointer): New function, from code in expand_decl.
4234         (expand_decl): Call new function.
4235         * tree.h (TYPE_IS_SIZETYPE): Call INTEGER_TYPE_CHECK.
4236         (TYPE_RETURNS_STACK_DEPRESSED): New macro.
4237         (save_stack_pointer): New declaration.
4238
4239         * diagnostic.c (fatal_function): New variable.
4240         (set_fatal_function): New function.
4241         (fatal): Call it.
4242         * diagnostic.h (set_fatal_function): New declaration.
4243
4244 2000-08-15  William Cohen  <wcohen@redhat.com>
4245
4246         * config/sh/elf.h (DWARF2_DEBUGGING_INFO): Defined.
4247         (PREFERRED_DEBUGGING_TYPE): Set to dwarf2 info.
4248         (DWARF2_ASM_LINE_DEBUG_INFO): Defined.
4249
4250 2000-08-15  Richard Henderson  <rth@cygnus.com>
4251
4252         * flow.c (mark_used_reg): Set reg_cond_reg appropriately.
4253
4254 2000-08-15  Richard Earnshaw <rearnsha@arm.com>
4255
4256         * arm.c (arm_function_ok_for_sibcall): New function.
4257         * arm.h (FUNCTION_OK_FOR_SIBCALL): Define.
4258         * arm.md (call expanders): Don't check here for calls that can't
4259         be sibling calls.
4260
4261 2000-08-15  Richard Earnshaw <rearnsha@arm.com>
4262
4263         * arm.md (splits generating cond_exec): Disable.
4264
4265 2000-08-15  Richard Earnshaw <rearnsha@arm.com>
4266
4267         * arm/linux-elf.h (text_section): Delete declaration.
4268
4269 2000-08-15  Richard Earnshaw <rearnsha@arm.com>
4270
4271         ARM support for unordered FP operations.
4272         * arm-protos.h (arm_comparison_operator): Declare.
4273         * arm.c (arm_comparison_operator): New function.
4274         (arm_select_cc_mode): Add unordered comparison codes.
4275         (get_arm_condition_code): Likewise.
4276         (arm_final_prescan_insn): Can't handle unordered jumps that can't
4277         be done in one insn.
4278         * arm.h (PREDICATE_CODES): Add arm_comparison_operator.
4279         * arm.md (all uses of comparison_operator): Replace with
4280         arm_comparison_operator.
4281         (bunordered, bordered, bugt, bunlt, bunge, bunle, buneq, bltgt): New
4282         expands.
4283         (arm_buneq, arm_bltgt, arm_buneq_reversed, arm_bltgt_reveresed): New
4284         patterns.
4285
4286 Tue Aug 15 00:36:36 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
4287
4288         * gthr-posix.h: Conditionally include <sched.h>; include
4289         <config.h> from libobjc/.
4290
4291 2000-08-14  Richard Henderson  <rth@cygnus.com>
4292
4293         * config/i386/i386.c (legitimize_pic_address): Use Pmode
4294         for all CONSTs.
4295
4296 2000-08-14  Richard Henderson  <rth@cygnus.com>
4297
4298         * configure.in (ia64-*): Set float_format for i386 long double.
4299
4300         * real.c (GET_REAL): Treat 128-bit INTEL_EXTENDED_IEEE_FORMAT
4301         as we would for i386 XFmode.
4302         (PUT_REAL): Likewise.
4303         (endian, ereal_atof, real_value_truncate): Likewise.
4304         (ereal_isneg, toe64, etens, make_nan): Likewise.
4305         * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Likewise.
4306
4307         * config/ia64/ia64-protos.h: Update.
4308         * config/ia64/ia64.c (general_tfmode_operand): New.
4309         (destination_tfmode_operand): New.
4310         (tfreg_or_fp01_operand): New.
4311         (ia64_split_timode): New.
4312         (spill_tfmode_operand): New.
4313         (ia64_expand_prologue): Use TFmode not XFmode.
4314         (ia64_expand_epilogue): Likewise.
4315         (ia64_function_arg): Likewise.
4316         (ia64_function_arg_advance): Likewise.
4317         (ia64_return_in_memory): Likewise.
4318         (ia64_function_value): Likewise.
4319         (ia64_print_operand): Likewise.
4320         (ia64_register_move_cost): Set GR<->FR to 5.
4321         (ia64_secondary_reload_class): Get GR for TImode memory op.
4322         * config/ia64/ia64.h (ROUND_TYPE_SIZE): Remove.
4323         (ROUND_TYPE_ALIGN): Remove.
4324         (LONG_DOUBLE_TYPE_SIZE): Set to 128.
4325         (INTEL_EXTENDED_IEEE_FORMAT): Define.
4326         (HARD_REGNO_NREGS): Use TFmode, not XFmode.
4327         (HARD_REGNO_MODE_OK): Likewise.  Disallow TImode in FRs.
4328         (MODES_TIEABLE_P): Use TFmode, not XFmode.
4329         (CLASS_MAX_NREGS): Likewise.
4330         (ASM_OUTPUT_LONG_DOUBLE): Output by 4 byte hunks.
4331         (PREDICATE_CODES): Update.
4332         * config/ia64/ia64.md (movti): New.
4333         (movti_internal): Use a clobber for memory alternatives.
4334         (reload_inti, reload_outti): New.
4335         (movsfcc_astep): Predicate properly.
4336         (movdfcc_astep): Likewise.
4337         (movxf): Remove.
4338         (movtf): New.
4339         (extendsftf2, extenddftf2): New.
4340         (trunctfsf2, trunctfdf2): New.
4341         (floatditf2, fix_trunctfdi2): New.
4342         (floatunsditf2, fixuns_trunctfdi2): New.
4343         (addtf3, subtf3, multf3, abstf2): New.
4344         (negtf2, nabstf2, mintf3, maxtf3): New.
4345         (maddtf3, msubtf3, nmultf3, nmaddtf3): New.
4346         (cmptf): New.
4347         (fr_spill): Use TFmode, not XFmode.
4348         (fr_restore): Likewise.
4349         * config/ia64/lib1funcs.asm (__divtf3): New.
4350         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add it.
4351
4352 2000-08-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4353
4354         * cse.c (fold_rtx): Avoid empty body in an if-statement.
4355
4356         * doloop.c (doloop_iterations_max, doloop_modify): Avoid using the
4357         `U' integer constant suffix.
4358
4359         * dwarf2out.c (add_subscript_info): Avoid empty body in an
4360         else-statement.
4361
4362         * sparc/sol2.h (__enable_execute_stack): Prototype.
4363
4364 2000-08-14  David Edelsohn  <edelsohn@gnu.org>
4365
4366         * collect2.c: Remove use of AIX import file.
4367
4368         * longlong.h: Test ARCH_PWR not ARCH_POWER.
4369
4370         * rs6000.c (print_operand, case 'E'): Add else.
4371
4372 2000-08-14  Richard Henderson  <rth@cygnus.com>
4373
4374         * config/ia64/ia64.md (movdi): Delay calling ia64_expand_load_address.
4375         (movdi_symbolic): New.
4376
4377 2000-08-14  Jim Wilson  <wilson@cygnus.com>
4378
4379         * config/ia64/ia64.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
4380         to GNU as.  For Intel as, pass -M const_gp and -M no_plabel.
4381         * config/ia64/linux.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
4382         to GNU as.
4383
4384 2000-08-14  Richard Henderson  <rth@cygnus.com>
4385
4386         * expr.c (emit_group_load): Don't force constants into registers.
4387         Special case source already in the correct mode.
4388
4389 2000-08-14  Zack Weinberg  <zack@wolery.cumb.org>
4390
4391         * configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
4392         * fixinc/inclhack.def: Likewise.
4393         * fixinc/mkfixinc.sh: Likewise.
4394         * configure: Regenerate.
4395         * fixinc/fixincl.x: Regenerate.
4396         * install.texi: Document equivalence of linux and linux-gnu.
4397
4398 Mon Aug 14 18:51:44 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4399
4400         * cse.c (insert_regs): Also in REG case: When finding an invalid
4401         value, and we make a new quantity, make sure that it won't be
4402         mistaken by for a valid one by mention_regs.
4403
4404 2000-08-13  Ralf Gütlein <ralf.guetlein@aranea.de>
4405
4406         * h8300.md: Remove obsolete peepholes.
4407
4408 2000-08-13  Kazu Hirata  <kazu@hxi.com>
4409
4410         * invoke.texi (H8/300 Options): Fix typos.
4411         * config/h8300.c: Fix formatting.
4412         * config/h8300.h: Fix comment typos.
4413         (OVERRIDE_OPTIONS): Fix formatting.
4414
4415         * function.c: Fix formatting.
4416
4417         * cse.c: Fix formatting.
4418
4419 2000-08-13  Geoff Keating  <geoffk@cygnus.com>
4420
4421         * flow.c (attempt_auto_inc): Remove unused variable `bb'.
4422         (attempt_auto_inc): Suppress parentheses warning.
4423         * function.c (put_reg_into_stack): Remove unused variable `unsigned_p'.
4424         * loop.c (load_mems): Remove `u' suffix in two places.
4425         * config/rs6000/rs6000.c: Remove unnecessary `u' suffixes from
4426         hex constants.
4427         * config/rs6000/rs6000.h: Likewise.
4428         * config/rs6000/sol-c0.c: Prototype some functions.  Remove the
4429         __eabi dummy routine.
4430         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Remove unused
4431         variable `buf_ptr'.
4432
4433         * config/rs6000/rs6000.c (rs6000_select_section): Rewrite to
4434         not put stuff in .sdata unnecessarily.
4435         (rs6000_unique_section): New function.
4436         * config/rs6000/rs6000-protos.h: Add rs6000_unique_section.
4437         * config/rs6000/sysv4.h (UNIQUE_SECTION): Define.
4438
4439         * c-typeck.c (build_array_ref): Don't complain about non-lvalue
4440         arrays in C99.  Don't try to look at DECL_REGISTER of a
4441         COMPONENT_REF.  Don't complain twice about the same error.
4442
4443         * fixinc/inclhack.def (aix_pthread): New fix.
4444         (aix_sysmachine): New fix.
4445         * fixinc/fixincl.x: Regenerate.
4446
4447         * expr.c (expand_expr): Call convert_modes when turning a large
4448         multiply into a small one.
4449
4450 2000-08-12  Geoff Keating  <geoffk@cygnus.com>
4451
4452         * tree.h (DECL_OFFSET_ALIGN): Make the off_align field of
4453         the tree structure an exponent rather than an explicit alignment
4454         so it doesn't overflow.
4455         (SET_DECL_OFFSET_ALIGN): New macro.
4456         * stor-layout.c (place_union_field): Use SET_DECL_OFFSET_ALIGN
4457         rather than DECL_OFFSET_ALIGN.
4458         (place_field): Likewise.
4459         * expmed.c (store_bit_field): Abort on align==0 to avoid
4460         antisocial machine behaviour.
4461
4462 2000-08-12  Richard Henderson  <rth@cygnus.com>
4463
4464         * sibcall.c (uses_addressof): Accept both addressof and
4465         current_function_internal_arg_pointer inside a mem.
4466         (optimize_sibling_and_tail_recursive_call): Fail tail recursion
4467         if current_function_uses_addressof.
4468         * stmt.c (expand_return): Kill tail recursion and HAVE_return
4469         optimizations.
4470
4471 2000-08-11  Richard Henderson  <rth@cygnus.com>
4472
4473         * config/ia64/ia64.md (addsi3): Remove expander.
4474         (subsi3, mulsi3, negsi2, one_cmplsi2): Likewise.
4475         (*addsi3_shladd): New.
4476
4477 2000-08-11  Richard Henderson  <rth@cygnus.com>
4478
4479         * config/ia64/ia64.c (do_spill): Pass cfa offset to move expander.
4480         (do_restore): Likewise.
4481         (gen_movdi_x, gen_fr_spill_x, gen_fr_restore_x): New.
4482         (ia64_expand_prologue, ia64_expand_epilogue): Use them.
4483         (rtx_needs_barrier): Track actual bit manipulation for
4484         ar.unat moves, gr_spill, and gr_restore.
4485         (emit_insn_group_barriers): Special case gr_spill/gr_restore.
4486         (process_set): Don't handle varargs spills.
4487         * config/ia64/ia64.md (gr_spill): Accept cfa offset.  Emit
4488         .mem.offset here instead of in process_set.
4489         (gr_restore): Likewise.
4490
4491 2000-08-11  Richard Henderson  <rth@cygnus.com>
4492
4493         * config/ia64/ia64.h (PROMOTE_MODE): Only extend to SImode.
4494
4495 2000-08-11  Mark Elbrecht  <snowball3@bigfoot.com>
4496
4497         * gcc.texi (The Configuration File): Document
4498         COLLECT2_HOST_INITIALIZATION, GCC_DRIVER_HOST_INITIALIZATION, and
4499         UPDATE_PATH_HOST_CANONICALIZATION.
4500
4501 2000-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4502
4503         * c-parse.in (cast_expr): Avoid -Wstrict-prototype warnings for
4504         unprototyped function pointer casts on integer constants.
4505
4506 2000-08-11 Laurynas Biveinis <lauras@softhome.net>
4507
4508         * fixproto: Recognize DOS paths with drive letters as absolute paths.
4509
4510 2000-08-11  Nathan Sidwell  <nathan@codesourcery.com>
4511
4512         * extend.texi (Volatiles): Fix typos.
4513
4514 2000-08-11  Kazu Hirata  <kazu@hxi.com>
4515
4516         * flow.c: Fix formatting.
4517
4518 2000-08-11  Richard Henderson  <rth@cygnus.com>
4519
4520         * reload.c (push_secondary_reload): When invoking a reload_{in,out}
4521         pattern, always allocate a tertiary scratch register.
4522
4523         * config/alpha/alpha.md (reload_inqi): Use a DImode scratch.
4524         (reload_inhi): Likewise.
4525
4526 2000-08-11  Richard Henderson  <rth@cygnus.com>
4527
4528         * function.c (put_reg_into_stack): Allow type to be NULL.
4529         (schedule_fixup_var_refs): Likewise.
4530         (gen_mem_addressof): Allow decl to be NULL.
4531         (put_addressof_into_stack): Likewise.
4532
4533         * flow.c (merge_blocks_nomove): Be more careful about
4534         locating the beginning of block A.
4535
4536         * combine.c (simplify_shift_const): Obey SHIFT_COUNT_TRUNCATED.
4537
4538 Thu Aug 10 22:47:09 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
4539
4540         * configure.in:
4541         * configure:
4542         * gthr-posix.h:
4543         * config.in: Reverted the check for <sched.h>.
4544
4545 2000-08-10  Chris Demetriou  <cgd@sibyte.com>
4546
4547         * mips/elf.h (CTOR_SECTION_NAME, DTOR_SECTION_NAME): New
4548         macros define the name of CTOR and DTOR sections.
4549         (CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN,
4550         DTOR_LIST_END): Change to use attributes to specify
4551         sections.
4552         * mips/elf64.h (CTOR_SECTION_NAME, DTOR_SECTION_NAME,
4553         (CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN,
4554         DTOR_LIST_END): Same as in mips/elf.h.
4555
4556 2000-08-10  Drew Moseley  <dmoseley@redhat.com>
4557
4558         * config/mn10300/mn10300.h: Added no-crt0 option for explicitly
4559         disabling just crt0.o.
4560
4561 2000-08-10  Richard Earnshaw <rearnshaw@arm.com> & Nick Clifton  <nickc@cygnus.com>
4562
4563         * arm.h (CPP_SPEC): Use sub-spec cpp_interwork.
4564         (CPP_INTERWORK_SPEC, CPP_INTERWORK_DEFAULT_SPEC): New sub-specs.
4565         (EXTRA_SPECS): Add them.
4566         * arm/lib1funcs.asm: Support builds for interworking.
4567         Use macros to eliminate duplicated pieces of code.
4568
4569 2000-08-10  Kazu Hirata  <kazu@hxi.com>
4570
4571         * h8300.c (expand_a_rotate): New.
4572         (emit_a_rotate): Likewise.
4573         (h8300_adjust_insn_length): Add support for the rotate insns.
4574         * h8300.md (rotlqi3): New.
4575         (*rotlqi3_1): Likewise.
4576         (rotlhi3): Likewise.
4577         (*rotlhi3_1): Likewise.
4578         (rotlhi3): Likewise.
4579         (*rotlhi3_1): Likewise.
4580         * h8300-proto.h: Add prototypes for expand_a_rotate and
4581         emit_a_rotate.
4582
4583         * h8300.c: Fix comment typos.
4584         (dosize): Declare the variable amount as unsigned.
4585         (get_shift_alg): Fix a comparison between signed and unsigned.
4586         (emit_a_shift): Likewise.
4587         (h8300_adjust_insn_length): Simplify the code.
4588
4589         * c-decl.c: Fix formatting.
4590
4591 2000-08-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4592
4593         * c-lex.c (parse_float, yylex): For -Wtraditional, issue a
4594         warning about non-traditional numeric constant suffixes.
4595
4596         * cppexp.c (parse_number): Likewise.
4597
4598         * invoke.texi: (-Wtraditional): Document new behavior.
4599
4600 Thu Aug 10 00:11:04 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
4601
4602         * gthr-posix.h: Include auto-host.h. Conditionally include
4603         <sched.h>.
4604         * configure.in: Check for the <sched.h> header file.
4605         * config.in: Added define for HAVE_SCHED_H.
4606
4607 2000-08-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4608
4609         * c-typeck.c (process_init_element): For -Wtraditional, warn about
4610         initialization of unions.
4611
4612         * invoke.texi (-Wtraditional): Document new behavior.
4613
4614 2000-08-09  Zack Weinberg  <zack@wolery.cumb.org>
4615
4616         * configure.in (--enable-c-cpplib): Uncomment.  Use AC_DEFINE
4617         instead of extra_c_flags.
4618         (--enable-c-mbchar): Use AC_DEFINE instead of extra_c_flags.
4619         * configure: Regenerate.
4620         * config.in: Regenerate.
4621
4622         * cpperror.c (cpp_type2name): New function.
4623         * cpplex.c (lex_line): If we issued an error for an invalid
4624         preprocessing directive, discard that logical line.
4625         * cpplib.c (do_line): Call a hook function if the current file
4626         is renamed by #line.
4627         (do_ident): Pass the contents of the string, not the entire
4628         token, to the callback function.
4629         * cpplib.h (CPP_LAST_PUNCTUATOR): New #define.
4630         (cb.rename_file): New hook function.
4631         (cb.ident): Adjust prototype.
4632         (cpp_type2name): Prototype.
4633         * cppmacro.c (dump_macro_args): Correct precedence lossage.
4634
4635         * cppmain.c (cb_ident): Update for changed interface.
4636         (cb_rename_file): New function.
4637         (main): Set rename callback.
4638
4639 2000-08-09  Alexandre Oliva  <aoliva@redhat.com>
4640
4641         * caller-save.c (mark_referenced_regs): Mark partially-overwritten
4642         multi-word registers.
4643
4644 2000-08-08  Joseph S. Myers  <jsm28@cam.ac.uk>
4645
4646         * c-common.c (combine_strings, check_format_info): Refer to ISO C
4647         or ISO C89 instead of ANSI C.
4648         * c-decl.c (grokdeclarator, xref_tag, finish_struct,
4649         build_enumerator, do_case): Likewise.
4650         * c-lex.c (parse_float, yylex): Likewise.
4651         * c-parse.in: Likewise.
4652         * c-typeck.c (common_type, build_array_ref, build_binary_op,
4653         build_unary_op, pedantic_lvalue_warning, build_conditional_expr,
4654         build_c_cast, convert_for_assignment, set_init_index,
4655         set_init_label, c_expand_start_case): Likewise.
4656         * toplev.c (documented_lang_options, display_help): Likewise.
4657
4658 2000-08-08  Kazu Hirata  <kazu@hxi.com>
4659
4660         * h8300.c: Fix formatting.
4661         * h8300.h: Likewise.
4662         * h8300.md: Likewise.
4663         (movsi_h8300hs): Fix formatting of the resulting assembly code.
4664
4665         * reload1.c: Fix formatting.
4666
4667 2000-08-08  Rodney Brown  <RodneyBrown@mynd.com>
4668
4669         * alpha/alpha.c (alpha_emit_xfloating_libcall):
4670         Use GEN_CALL_VALUE define.
4671         * alpha/alpha.md (untyped_call): Use GEN_CALL define.
4672         * clipper/clipper.md (untyped_call): Likewise.
4673         * dsp16xx/dsp16xx.md (untyped_call): Likewise.
4674         * fx80/fx80.md (untyped_call): Likewise.
4675         * mips/mips.md (untyped_call): Likewise.
4676         * ns32k/ns32k.md (untyped_call): Likewise.
4677         * pa/pa.md (untyped_call): Likewise.
4678         * romp/romp.md (untyped_call): Likewise.
4679         * sparc/sparc.md (untyped_call): Likewise.
4680
4681 2000-08-08  Jason Eckhardt  <jle@cygnus.com>
4682
4683         * config/i860/i860.c (singlemove_string): Do not generate assembler
4684         pseudo instructions that must be expanded (that is, with signed
4685         constants larger than 16 bits).
4686
4687 2000-08-08  Richard Henderson  <rth@cygnus.com>
4688
4689         * flow.c (life_analysis): Only turn off PROP_LOG_LINKS and
4690         PROP_AUTOINC at -O0.  Don't collect alias info at -O0.
4691         (init_propagate_block_info): Don't kill memory stores at -O0.
4692         (mark_set_1, mark_used_regs): Likewise.
4693
4694 2000-08-08  David Edelsohn  <edelsohn@gnu.org>
4695
4696         * rs6000.c (optimization_options): Decorate 'level' as
4697         ATTRIBUTE_UNUSED.
4698         (mask64_operand): Remove sign-extend thinko.
4699         (rldic_operand): New function.
4700         (load_multiple_operation): regno's are unsigned ints.
4701         (store_multiple_operation): Likewise.
4702         (lmw_operation): Likewise.
4703         (stmw_operation): Likewise.
4704         (includes_lshift_p): shift_mask is unsigned int.
4705         (includes_lshift64_p): New function.
4706         (addrs_ok_for_quad_peep): unsigned int reg1.
4707         (print_operand): Consistently add "else" after
4708         output_operand_lossage().
4709         (print_operand, case 'b'): Fold in case 'W'.
4710         (print_operand, case 'W'): Print rldic MB value.
4711         (output_epilogue): Update Objective-C language string.
4712         (output_toc): unsigned HOST_WIDE_INT low, compare unsigned.
4713         * rs6000.h (PREDICATE_CODES): Add rldic_operand.
4714         * rs6000.md (ashldi3): Add rldic instruction.
4715         (iordi3, xordi3): Remove redundant "else if CONST_DOUBLE".
4716         (cmpsi_internal2, cmpdi_interal2): Use 'b' output template
4717         modifier.
4718
4719 2000-08-08  Richard Henderson  <rth@cygnus.com>
4720
4721         * config/ia64/ia64-protos.h: Remove duplicates.  Update
4722         for massive code rearrangements.
4723         * config/ia64/ia64.c (ia64_arpfs_regno): Remove.
4724         (ia64_rp_regno, ia64_fp_regno, ia64_input_regs): Remove.
4725         (ia64_local_regs, ia64_need_regstk): Remove.
4726         (ar_ccv_reg_operand): New.
4727         (ia64_gp_save_reg): New.
4728         (struct ia64_frame_info): Combine most of the size elements;
4729         add new gr save elements.
4730         (find_gr_spill): New.
4731         (next_scratch_gr_reg): New.
4732         (mark_reg_gr_used_mask): New.
4733         (ia64_compute_frame_size): Rewrite.  Allocate special AR regs
4734         to GR backing store regs when possible.
4735         (ia64_initial_elimination_offset): New.
4736         (ia64_rap_fp_offset): Remove.
4737         (save_restore_insns): Remove.
4738         (setup_spill_pointers): New.
4739         (finish_spill_pointers): New.
4740         (spill_restore_mem): New.
4741         (do_spill, do_restore): New.
4742         (ia64_expand_prologue): Rewrite to use them.
4743         (ia64_expand_epilogue): Likewise.
4744         (ia64_direct_return): Update for current_frame_info changes.
4745         (ia64_function_prologue): Simplify .prologue emission.  Emit
4746         .spill when needed.
4747         (ia64_setup_incoming_varargs): Don't ever emit rtl.
4748         (ia64_dbx_register_number): New.
4749         (ia64_initialize_trampoline): New.
4750         (ia64_secondary_reload_class): Request GR_REGS for integer
4751         arithmetic destined for FR_REGS.
4752         (ia64_init_machine_status): Don't reset return_address_pointer_rtx.
4753         (ia64_mark_machine_status): Mark ia64_gp_save.
4754         (rws_access_regno): Rename from rws_access_reg; don't treat
4755         predicates specially.
4756         (rws_access_reg): New.  Update all callers.
4757         (rtx_needs_barrier): Remove dead unspecs.
4758         (ia64_epilogue_uses): Mark ar.pfs and ar.unat live on exit.
4759         (ia64_encode_section_info): Silence signed/unsigned warnings.
4760         (spill_offset, sp_offset, spill_offset_emitted): Remove.
4761         (tmp_reg, tmp_saved): Remove.
4762         (process_set): Rewrite to expect complicated bits via
4763         REG_FRAME_RELATED_EXPR.
4764         (ia64_expand_fetch_and_op): Use emit_move_insn; be explicit
4765         in the use of ar.ccv; never set RTX_UNCHANGING_P.
4766         (ia64_expand_op_and_fetch): Likewise.
4767         (ia64_expand_compare_and_swap): Likewise.
4768         (ia64_expand_builtin): Likewise.
4769         * config/ia64/ia64.h (AR_UNAT_REGNUM): New.
4770         (FIRST_PSEUDO_REGISTER): Update.
4771         (AR_M_REGNO_P): Update.
4772         (FIXED_REGS): Don't mark three local registers as used.
4773         (EXTRA_CC_MODES): New.
4774         (SELECT_CC_MODE): New.
4775         (HARD_REGNO_NREGS): Allow DImode in p0; handle CCImode.
4776         (HARD_REGNO_MODE_OK): Disallow CCImode from non-predicates.
4777         (FRAME_GROWS_DOWNWARD): Unset.
4778         (STARTING_FRAME_OFFSET): Zero.
4779         (ELIMINABLE_REGS): Eliminate from the soft to hard frame pointer.
4780         (INITIAL_ELIMINATION_OFFSET): Defer to out of line function.
4781         (HARD_FRAME_POINTER_REGNUM): New.
4782         (CAN_DEBUG_WITHOUT_FP): Define.
4783         (TRAMPOLINE_TEMPLATE): Remove.
4784         (TRAMPOLINE_SIZE): Lower to 32.
4785         (TRAMPOLINE_ALIGNMENT): Lower to 64.
4786         (INITIALIZE_TRAMPOLINE): Defer to out of line function.
4787         (PREDICATE_CODES): Update.
4788         (struct machine_function): Add ia64_gp_save.
4789         * config/ia64/ia64.md: Purge unused unspecs.
4790         (movsi patterns): Allow moves to/from AR_M_REGS.
4791         (movdi patterns): Allow moves to/from p0.
4792         (call patterns): Move most setjmp hackery to ia64_gp_save_reg.
4793         (gr_spill, gr_restore): Indicate ar.unat read/written.
4794         (nonlocal_goto): Don't pass old frame_pointer.
4795         (nonlocal_goto_receiver): Remove.
4796         (exception_receiver): New.
4797         (builtin_setjmp_setup): New.
4798         (builtin_setjmp_receiver): New.
4799         * config/ia64/lib1funcs.asm (__ia64_save_stack_nonlocal): Bundle.
4800         (__ia64_nonlocal_goto): Bundle.  Don't kill r7.
4801         (__ia64_restore_stack_nonlocal): Likewise.
4802         (__ia64_trampoline): New.
4803         * config/ia64/sysv4.h (DBX_REGISTER_NUMBER): Defer to out of line
4804         function.
4805         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __trampoline.
4806
4807 2000-08-08  Richard Henderson  <rth@cygnus.com>
4808
4809         * frame.h (ia64_frame_state): Add my_psp.
4810         * libgcc2.c (ia64_throw_helper): Add throw_sp argument.
4811         (__throw): Pass it in.  Don't clobber r7.
4812         * config/ia64/frame-ia64.c (init_ia64_reg_loc): Mark inline.
4813         (execute_one_ia64_descriptor) [mem_stack_v]: Sets psp.when
4814         and nothing to do with sp.
4815         (normalize_reg_loc): Use frame->my_psp.
4816         (frame_translate): Handle frame-pointer-less functions.  Set
4817         spill_base correctly, in absence of being told.
4818         (__build_ia64_frame_state): New sp argument.  Fill in frame->my_sp.
4819         (__ia64_backtrace_helper): New sp argument.  Use
4820         builtin_return_address instead of label addresses.
4821         (print_record) [mem_stack_v]: No size member.
4822
4823 2000-08-08  Richard Henderson  <rth@cygnus.com>
4824
4825         * regclass.c (choose_hard_reg_mode): Iterate over all CC modes.
4826
4827 2000-08-08  Richard Henderson  <rth@cygnus.com>
4828
4829         * tm.texi (LOCAL_REGNO): Document.
4830         * flow.c (LOCAL_REGNO, EPILOGUE_USES): Provide default.
4831         (mark_regs_live_at_end): Don't mark LOCAL_REGNO registers.
4832         * reload1.c (reload): Likewise when considering nonlocal labels.
4833
4834         * config/ia64/ia64.h (LOCAL_REGNO): New.
4835         * config/sparc/sparc.h (LOCAL_REGNO): New.
4836
4837 2000-08-08  Joseph S. Myers  <jsm28@cam.ac.uk>
4838
4839         * c-lex.c (yylex): Don't allow integer suffixes 'LUL', 'Ll', 'lL'.
4840
4841 2000-08-07  Nick Clifton  <nickc@redhat.com>
4842
4843         * config/mips/mips.c: Fix compile time warning messages.
4844         * config/mips/mips-protos.h: Add prototype for equality_op.
4845
4846         * mn10300.h (TARGET_SWITCHES): Document `-mam33'.
4847
4848 2000-08-07  Graham Stott  <grahams@cygnus.co.uk>
4849
4850         * mn10300.md: Use nonimmediate_operand instead of general_operand
4851         on output operands.
4852
4853         * mn10300.h (PREFERRED_RELOAD_CLASS): Limit memory reloads.
4854
4855 2000-08-07  Alexandre Oliva  <aoliva@redhat.com>
4856
4857         * sh.h (EXTRA_CONSTRAINT_Q): Adjust to GNU Coding Standards.
4858         * sh.c (expand_block_move): Break long lines.
4859         (expand_ashiftrt, fpscr_set_from_mem): Likewise.
4860         * sh.md (mulsi3): Likewise.
4861         (movdi): Adjust spacing.
4862
4863 2000-08-07  Richard Henderson  <rth@cygnus.com>
4864
4865         * expmed.c (store_bit_field): Don't require MEM_IN_STRUCT_P.
4866         * expr.c (emit_group_store): Don't set it.
4867
4868 2000-08-07  Kazu Hirata  <kazu@hxi.com>
4869
4870         * invoke.texi (Options for Debugging Your Program or GCC): Remove
4871         duplicate entries for 'w' and 'z'.
4872
4873         * flow.c: Fix a comment typo.
4874
4875 Sun Aug  6 23:47:35 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
4876
4877         * c-parse.in: Changed the language string for Objective-C to "GNU
4878         Objective-C".
4879
4880 Sun Aug  6 11:54:03 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
4881
4882         * gthr-posix.h: Integrated Chris Ball's <cball@fmco.com> changes
4883         to improve the Posix thread support for Objective-C.
4884
4885 2000-08-06  Joseph S. Myers  <jsm28@cam.ac.uk>
4886
4887         * c-common.h (enum c_tree_index): Add CTI_SIGNED_SIZE_TYPE and
4888         CTI_UNSIGNED_PTRDIFF_TYPE.
4889         (signed_size_type_node): Define.
4890         (unsigned_ptrdiff_type_node): Define.
4891         * c-decl.c (init_decl_processing): Create the
4892         signed_size_type_node and unsigned_ptrdiff_type_node types.
4893         * c-common.c (T_SC): Define.
4894         (T_SST): Define.
4895         (T_UPD): Define.
4896         (print_char_table): Use T_SST for %zd, %zi, %zn.  Use T_UPD for
4897         %to, %tu, %tx, %tX.  Allow %hhn (T_SC).  Add "c" to the flags for
4898         %s and %p.
4899         (scan_char_table): Use T_SC for %hhd, %hhi, %hhn.  Use T_SST for
4900         %zd, %zi, %zn.  Use T_UPD for %to, %tu, %tx, %tX.  Add "c" to the
4901         flags for %c, %s and %[.
4902         (check_format_info): Only allow leniency for signedness of targets
4903         of character pointers (when pedantic) for formats flagged with
4904         "c", so for strings but not for %hh formats.  When pedantic, don't
4905         allow character pointers to substitute for void pointers if a
4906         second level of indirection is present.
4907
4908 2000-08-06  Kazu Hirata  <kazu@hxi.com>
4909
4910         * invoke.texi (Options for Debugging Your Program or GCC): Update
4911         the names of dump files.
4912
4913         * h8300.c (dosize): Rearrange code for conciseness.
4914         (split_adds_subs): Likewise.
4915
4916         * loop.c: Fix formatting.
4917
4918         * dwarf2out.c: Fix formatting.
4919
4920         * tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.
4921
4922         * expr.c: Fix formatting.
4923
4924 2000-08-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4925
4926         * rs6000.c (rs6000_maybe_dead): Prototype.
4927
4928 2000-08-06  Richard Henderson  <rth@cygnus.com>
4929
4930         * stmt.c (expand_goto): Do virtual_stack_vars_rtx replacement for
4931         HAVE_nonlocal_goto as well.
4932         * config/i960/i960.md (nonlocal_goto): Don't do it here.
4933         * config/pj/pj.md (nonlocal_goto): Likewise.
4934
4935 2000-08-07  Michael Hayes  <mhayes@cygnus.com>
4936
4937         * loop.c (try_swap_copy_prop): New function.
4938         (load_mems): Rename copies to load_copies and add new regset
4939         store_copies.  Check for sets of shadow registers and mark
4940         in store_copies.   Call try_swap_copy_prop for registers
4941         marked in store_copies.
4942
4943 Sun Aug  6 00:54:42 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
4944
4945         * objc/objc-act.c: New command line option -fconstant-string-class
4946         to allow specifying a user defined constant string class,
4947         different from NXConstantString.
4948
4949         * toplev.c: Moved the Objective-C specific options to
4950         objc/lang-options.h.
4951
4952         * objc/lang-options.h: Moved the Objective-C specific options from
4953         toplev.c. Added -fconstant-string-class.
4954
4955 2000-08-05  Chris Demetriou  <cgd@sibyte.com>
4956
4957         * mips/elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
4958         DTOR_LIST_BEGIN, DTOR_LIST_END): change type of
4959         __CTOR_LIST__ from func_ptr array to just func_ptr, to
4960         avoid extra alignment imposed on arrays.
4961         * mips/elf64.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
4962         DTOR_LIST_BEGIN, DTOR_LIST_END): Likewise.
4963
4964         * mips.h: Clean up comments and spacing near MASKs.
4965         (TARGET_UNIX_ASM): Delete.
4966         (MASK_MIPS16, MASK_NO_CHECK_ZERO_DIV, MASK_CHECK_RANGE_DIV,
4967         MASK_UNINIT_CONST_IN_RODATA): Change values to make mask
4968         values contiguous.
4969
4970 2000-08-05  Joseph S. Myers  <jsm28@cam.ac.uk>
4971
4972         * c-common.c (print_char_table): Add entries for the X/Open '
4973         format flag (print decimals with locale's thousands grouping
4974         character).  Make %C expect wint_t.
4975         (check_format_info): If pedantic, warn when the %n$ operand
4976         number form is used.  Allow for the ' flag; warn about it if
4977         pedantic.
4978
4979 2000-08-05  Zack Weinberg  <zack@wolery.cumb.org>
4980
4981         * i386.h (FUNCTION_OK_FOR_SIBCALL):  Not OK if DECL's return
4982         type is a float mode, cfun->decl's return type is not, and
4983         TARGET_FLOAT_RETURNS_IN_80387.
4984
4985 2000-08-04  Andreas Schwab  <schwab@suse.de>
4986
4987         * cppmain.c (cb_def_pragma): Skip the first two tokens from the
4988         token list, which are always `#' and `pragma'.
4989
4990 2000-08-04  Zack Weinberg  <zack@wolery.cumb.org>
4991
4992         * tree.c (tree_expr_nonnegative_p): Move to...
4993         * fold-const.c: ... here.  Also handle BIND_EXPR and RTL_EXPR.
4994         (rtl_expr_nonnegative_p): New.
4995         * tree.h: Add prototype for rtl_expr_nonnegative_p.
4996
4997         * real.h (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH, CONST_DOUBLE_MEM,
4998         CONST_DOUBLE_CHAIN: Move to...
4999         * rtl.h: ...here.  Use XCINT/XCEXP.
5000
5001         * Makefile.in: Remove toplev.o from OBJS.  Add rule to make
5002         libbackend.a; add libbackend.a to STAGESTUFF.  Add BACKEND
5003         variable.  Use BACKEND when linking cc1, not OBJS.  Add BACKEND
5004         to VOL_FILES.
5005
5006         * objc/Make-lang.in (cc1obj): Link with $(BACKEND).
5007
5008 2000-08-05  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5009
5010         * config/c4x/c4x.md (return_indirect_internal): New.
5011         * config/c4x/c4x.c (c4x_expand_epilogue): Use it.
5012
5013 2000-08-04  Joseph S. Myers  <jsm28@cam.ac.uk>
5014
5015         * c-common.c (time_char_table): Mark up formats added in C99 and
5016         make other corrections.  %D and %g were added in C99.  %Og is an
5017         extension.  %EX is permitted.  %R, %T, %n, %r, %t were added in
5018         C99.  %e was added in C99.  %Oj is an extension.  %G and %z are in
5019         C99 rather than GNU extensions, but %OG and %Oz are extensions.
5020         %h was added in C99.  %C was added in C99.  %OY and %OC are
5021         extensions.  Add the C99 format %F.
5022         (check_format_info): If pedantic and not in C99 mode, warn for C99
5023         formats, %E and %O.
5024
5025 Fri Aug  4 23:01:58 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5026
5027         * function.c (schedule_fixup_var_refs): New function, broken out
5028         of put_reg_into_stack.
5029         (put_reg_into_stack): Use it.
5030         (put_var_into_stack): In CONCAT case, fixup up references for
5031         components only after fixing up references to the whole concat.
5032
5033 2000-08-04  Rodney Brown  <RodneyBrown@pmsc.com>
5034
5035         * alias.c (mark_constant_function): Use INSN_P.
5036         (init_alias_analysis): Likewise.
5037         * combine.c (combine_instructions): Use INSN_P.
5038         (can_combine_p): Likewise.
5039         (try_combine): Likewise.
5040         (distribute_notes): Likewise.
5041         (distribute_links): Likewise.
5042         * cse.c (cse_around_loop): Use INSN_P.
5043         (invalidate_skipped_block): Likewise.
5044         (cse_set_around_loop): Likewise.
5045         (cse_end_of_basic_block): Likewise.
5046         (delete_trivially_dead_insns): Likewise.
5047         * emit-rtl.c (unshare_all_rtl_again): Use INSN_P.
5048         (unshare_all_rtl_1): Likewise.
5049         (next_cc0_user): Likewise.
5050         (try_split make_insn_raw): Likewise.
5051         (remove_unnecessary_notes): Likewise.
5052         * final.c (shorten_branches): Use INSN_P.
5053         (leaf_renumber_regs): Likewise.
5054         (leaf_renumber_regs_insn): Likewise.
5055         * flow.c (find_label_refs): Use INSN_P.
5056         (verify_wide_reg): Likewise.
5057         (notice_stack_pointer_modification): Likewise.
5058         (count_or_remove_death_notes): Likewise.
5059         (verify_flow_info): Likewise.
5060         (clear_log_links): Likewise.
5061         * function.c (fixup_var_refs_insns): Use INSN_P.
5062         (compute_insns_for_mem): Likewise.
5063         * gcse.c (alloc_gcse_mem): Use INSN_P.
5064         (compute_sets): Likewise.
5065         (compute_hash_table): Likewise.
5066         (classic_gcse): Likewise.
5067         (cprop): Likewise.
5068         (insert_insn_end_bb): Likewise.
5069         (delete_null_pointer_checks_1): Likewise.
5070         * global.c (expand_preferences): Use INSN_P.
5071         (build_insn_chain): Likewise.
5072         * graph.c (node_data): Use INSN_P.
5073         * haifa-sched.c (priority): Use INSN_P.
5074         (rm_line_notes): Likewise.
5075         (rm_other_notes): Likewise.
5076         (find_insn_reg_weight): Likewise.
5077         (init_target_units): Likewise.
5078         (schedule_block): Likewise.
5079         (compute_block_forward_dependences): Likewise.
5080         (debug_dependencies): Likewise.
5081         (set_priorities): Likewise.
5082         * integrate.c (function_cannot_inline_p): Use INSN_P.
5083         (save_parm_insns): Likewise.
5084         (copy_insn_list): Likewise.
5085         * jump.c (mark_all_labels): Use INSN_P.
5086         (never_reached_warning): Likewise.
5087         * lcm.c (optimize_mode_switching): Use INSN_P.
5088         * local-alloc.c (validate_equiv_mem): Use INSN_P.
5089         (memref_used_between_p): Likewise.
5090         (update_equiv_regs): Likewise.
5091         (block_alloc): Likewise.
5092         (no_conflict_p): Likewise.
5093         * loop.c (scan_loop): Use INSN_P.
5094         (find_and_verify_loops): Likewise.
5095         (count_loop_regs_set): Likewise.
5096         (loop_reg_used_before_p): Likewise.
5097         (strength_reduce): Likewise.
5098         (recombine_givs): Likewise.
5099         (check_dbra_loop): Likewise.
5100         (load_mems): Likewise.
5101         (try_copy_prop): Likewise.
5102         * print-rtl.c (print_rtx): Use INSN_P.
5103         * recog.c (find_single_use): Use INSN_P.
5104         * reg-stack.c (stack_regs_mentioned): Use INSN_P.
5105         (next_flags_user): Likewise.
5106         (swap_rtx_condition): Likewise.
5107         * regmove.c (mark_flags_life_zones): Use INSN_P.
5108         (optimize_reg_copy_1): Likewise.
5109         (optimize_reg_copy_2): Likewise.
5110         (optimize_reg_copy_3): Likewise.
5111         (reg_is_remote_constant_p): Likewise.
5112         (fixup_match_2): Likewise.
5113         (regmove_optimize): Likewise.
5114         (fixup_match_1): Likewise.
5115         * regrename.c (build_def_use): Use INSN_P.
5116         (replace_reg_in_block): Likewise.
5117         (consider_use): Likewise.
5118         * reload.c (find_equiv_reg): Use INSN_P.
5119         * reload1.c (reload): Use INSN_P.
5120         (maybe_fix_stack_asms): Likewise.
5121         (calculate_needs_all_insns): Likewise.
5122         (reload_as_needed): Likewise.
5123         (emit_output_reload_insns): Likewise.
5124         (delete_address_reloads_1): Likewise.
5125         (reload_cse_regs_1): Likewise.
5126         (reload_combine): Likewise.
5127         (reload_cse_move2add): Likewise.
5128         * reorg.c (redundant_insn): Use INSN_P.
5129         (dbr_schedule): Likewise.
5130         * resource.c (find_dead_or_set_registers): Use INSN_P.
5131         (mark_target_live_regs): Likewise.
5132         * rtlanal.c (reg_used_between_p): Use INSN_P.
5133         (reg_referenced_between_p): Likewise.
5134         (reg_set_between_p): Likewise.
5135         (reg_set_p): Likewise.
5136         (single_set): Likewise.
5137         (multiple_sets): Likewise.
5138         (find_last_value): Likewise.
5139         (reg_set_last): Likewise.
5140         (find_reg_note): Likewise.
5141         (find_regno_note): Likewise.
5142         * sibcall.c (sequence_uses_addressof): Use INSN_P.
5143         * simplify-rtx.c (cselib_process_insn): Use INSN_P.
5144         * ssa.c (find_evaluations): Use INSN_P.
5145         (rename_block): Likewise.
5146         (rename_equivalent_regs): Likewise.
5147         * unroll.c (loop_find_equiv_value): Use INSN_P.
5148         (set_dominates_use): Likewise.
5149         * varasm.c (mark_constant_pool): Use INSN_P.
5150         (mark_constants): Likewise.
5151         * config/alpha/alpha.c (alpha_does_function_need_gp): Use INSN_P.
5152         (alphaev4_next_group): Likewise.
5153         (alphaev5_next_group): Likewise.
5154         * config/c4x/c4x.c (c4x_process_after_reload): Use INSN_P.
5155         (c4x_rptb_rpts_p): Likewise.
5156         * config/mips/mips.c (mips16_optimize_gp): Use INSN_P.
5157         * config/rs6000/rs6000.c (uses_TOC): Use INSN_P.
5158         (rs6000_adjust_priority): Likewise.
5159         * config/sh/sh.c (sh_loop_align): Use INSN_P.
5160         (machine_dependent_reorg): Likewise.
5161         (split_branches): Likewise.
5162         * config/tahoe/tahoe.c (tahoe_cmp_check): Use INSN_P.
5163
5164 Fri Aug  4 11:43:49 2000  John Wehle  (john@feith.com)
5165
5166         * combine.c (recog_for_combine): Remove the old notes
5167         prior to attempting to recognize the new pattern.
5168         (distribute_notes): Ignore REG_NONNEG notes.
5169
5170 2000-08-04  Chandrakala Chavva  <cchavva@redhat.com>
5171
5172         * varasm.c (output_constructor): Add .align 0 for packed vars.
5173
5174 2000-08-04  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
5175
5176         * configure.in: Use default thread_file even when enable_threads is
5177         yes or dce because hpux10.20 pa port uses MULTILIB implementation.
5178         * configure: Rebuilt.
5179
5180         * gthr-dce.h (__gthread_objc_condition_allocate): Fix typo.
5181
5182 2000-08-04  Donn Terry (donnte@microsoft.com)
5183
5184         * prefix.c (translate_name): Don't strip trailing DIR_SEPARATOR.
5185
5186 2000-08-04  Mark Elbrecht  <snowball3@bigfoot.com>
5187
5188         * i386/x-djgpp: Delete code that conditionally modifies target_alias.
5189         Delete code that conditionally modifies 'version'.
5190         Delete X_CPPFLAGS. Add comment for SYSTEM_HEADER_DIR.
5191         * i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): New macro.
5192         * gcc.c (main): Use it.
5193         * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): New macro.
5194         * prefix.c (update_path): Use it.
5195         * i386/djgpp.h (STANDARD_INCLUDE_DIR): Define.
5196         (MD_EXEC_PREFIX): Set to '/dev/env/DJDIR/bin/'.
5197         (ASM_OUTPUT_SECTION_NAME): Add code attribute to sections containing
5198         code.
5199         (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Default to true.
5200         (SUBTARGET_SWITCHES): Adjust.
5201         (WCHAR_UNSIGNED, WCHAR_TYPE_SIZE, WCHAR_TYPE): Undefine before
5202         defining.
5203         (WINT_TYPE, SIZE_TYPE, PTRDIFF_TYPE): Define.
5204
5205 2000-08-04  Joseph S. Myers  <jsm28@cam.ac.uk>
5206
5207         * c-common.h (flag_isoc94): Declare.
5208         * c-decl.c (flag_isoc94): Define.
5209         (c_decode_option): Set flag_isoc94 as appropriate.
5210         * c-common.c (T_PD, T_IM, T_UIM): Define.
5211         (format_char_info): Add tlen and jlen.
5212         (print_char_table): Add entries for %t and %j.  Allow %zn.  Allow
5213         %F.  Allow %lf.
5214         (scan_char_table): Add entries for %t and %j.  Allow %F.  Allow
5215         %l[.
5216         (time_char_table): Add NULL entries for %t and %j.
5217         (check_format_info): Allow for %t and %j.  Warn for %F if pedantic
5218         and not C99.  Warn for %lc, %ls and %l[ if pedantic and not C94.
5219         Warn for printf %lf if pedantic and not C99.  Don't warn for empty
5220         precision.  Allow precision argument to be unsigned int.  If
5221         pedantic, warn for %p passed an argument not a pointer to possibly
5222         qualified void or a possibly qualified character type, and for
5223         pointer targets of the wrong sign, except for character pointers.
5224
5225 2000-08-04  Joseph S. Myers  <jsm28@cam.ac.uk>
5226
5227         * ginclude/stddef.h: Don't declare wint_t unless __need_wint_t.
5228         * c-common.h (enum c_tree_index): Add CTI_WINT_TYPE.
5229         (wint_type_node): Define.
5230         * c-decl.c (WINT_TYPE): Define.
5231         (init_decl_processing): Create the wint_type_node type.
5232         * c-common.c (T_WI): Define.
5233         (print_char_table): Use T_WI for %lc format.
5234
5235 2000-08-04  Bruce Korb  <bkorb@gnu.org>
5236
5237         * fixinc/:  Verified that the MSDOS patch does not break
5238         the UNIX functionality and applied the next three patches
5239         from July:
5240
5241 2000-07-28  Eli Zaretskii  <eliz@is.elta.co.il>
5242
5243         * fixinc/fixfixes.c (main) [__MSDOS__]: Avoid overwriting the
5244         output file with the temporary one by appending ".X" to generate
5245         the temporary fuile's name.  If the output file already has an
5246         extension, replace it with ".X".
5247
5248         * fixinc/fixincl.c (fix_with_system) [__MSDOS__]: Use $ORIGDIR,
5249         not $DESTDIR, to find applyfix.  Use sprintf instead of snprintf;
5250         reallocate the command buffer while copying the command-line
5251         argument.  Redirect the output directly to the temporary file,
5252         instead of going through another temporary file.
5253         (process): Close the temporary file before unlinking it.
5254         (machine_matches) [__MSDOS__]: If the machine doesn't match, set
5255         the FD_SKIP_TEST flag.  Pay attention to the FD_MACH_IFNOT flag.
5256         (run_compiles): Pass p_fixd argument to machine_matches, as it
5257         expects.
5258
5259         * fixinc/fixincl.sh: Export ORIGDIR.  If $DJDIR is set in the
5260         environment, assume there are no symlinks in the include
5261         directory.  When cleaning up the DONE files, look for them
5262         case-insensitively.  Don't try to remove symlinks if they aren't
5263         there.
5264
5265         * fixinc/fixlib.c (make_raw_shell_str): Accept new argument smax;
5266         all callers changed.  Declare pz "const char *", to avoid compiler
5267         warnings.
5268
5269         * fixinc/fixlib.h (ENV_TABLE): Get ORIGDIR from the environment.
5270         Change prototype of make_raw_shell_str.
5271
5272 2000-07-27  Eli Zaretskii  <eliz@is.elta.co.il>
5273
5274         * fixinc/fixincl.c [__MSDOS__]: Don't include "server.h".
5275         (initialize) [__MSDOS__]: Use tempnam.
5276         (initialize): Don't use SIGPIPE if it is not defined.
5277
5278         * fixinc/fixfixes.c (main) [__MSDOS__]: freopen for stdout should
5279         return stdout.
5280
5281 2000-07-25  Bruce Korb  <bkorb@gnu.org>
5282
5283         * fixinc/fix*.[ch]: substantially reworked to make it possible
5284         to run this program without using fork(2) or pipe(2) (i.e. in
5285         a DOS environment).
5286
5287 2000-08-04  Joseph S. Myers  <jsm28@cam.ac.uk>
5288
5289         * cppdefault.h (WINT_TYPE): Define.
5290         * cppinit.c (builtin_array): Define __WINT_TYPE__.
5291         * tradcpp.c (initialize_builtins): Define __WINT_TYPE__.
5292         * tm.texi (NO_BUILTIN_WINT_TYPE, WINT_TYPE): Document.
5293
5294 Fri Aug  4 06:53:46 2000  Clinton Popetz  <cpopetz@cygnus.com>
5295
5296         * (mips_legitimate_address_p): Don't allow register+offset
5297         if the offset is large and negative, and we are compiling
5298         for 64 bit registers.
5299
5300 2000-08-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5301
5302         * gencodes.c (main): Define CODE_FOR_nothing as the last possible
5303         insn_code_number + 1.
5304
5305 2000-08-04  Kazu Hirata  <kazu@hxi.com>
5306
5307         * h8300.c (function_prologue): Rearrange code for conciseness.
5308         (function_epilogue): Likewise.
5309         * h8300.h (OK_FOR_U): Fix formatting.
5310
5311         * cse.c: Fix a comment typo. Fix formatting.
5312
5313 2000-08-03  Richard Henderson  <rth@cygnus.com>
5314
5315         * config/i386/i386.md (return_indirect_internal): New.
5316         * config/i386/i386.c (ix86_expand_epilogue): Use it.
5317
5318 2000-08-03  Zack Weinberg  <zack@wolery.cumb.org>
5319
5320         * cpplex.c (parse_name): Might have to glue a CPP_OTHER token
5321         before the name.
5322         (lex_line): Glue @ onto the beginning of identifiers and
5323         string constants, in Objective-C mode.
5324         (output_token, spell_token): Handle CPP_OSTRING.
5325         (can_paste, maybe_paste_with_next): Handle pasting @ onto the
5326         beginning of a NAME or a STRING, in objc mode.
5327
5328         * cpplib.c (get_define_node): Do not permit identifiers that
5329         begin with @ to be #defined.
5330         * cppmacro.c (CAN_PASTE_AFTER): Add CPP_OTHER.
5331         * cpplib.h (TTYPE_TABLE): Add CPP_OSTRING.
5332
5333         * c-lang.c, objc/objc-act.c (build_objc_string): Delete.
5334         * c-tree.h (build_objc_string): Delete prototype.
5335         * objc/objc-tree.def: Delete OBJC_STRING_CST.
5336         * c-lex.c (yylex): Use build_string for all three kinds of strings.
5337
5338         * c-parse.in, objc/objc-act.c: Update commentary.
5339
5340 2000-08-03  Mark Mitchell  <mark@codesourcery.com>
5341
5342         * extend.texi: Fix typo in last change.
5343
5344         * extend.texi: Add commentary on statement-expressions and their
5345         interactions with C++.
5346
5347 2000-08-03  Nick Clifton  <nickc@cygnus.com>
5348
5349         * dwarf2.h (DW_LANG_Java): Change value to 0x000b.
5350         * dwarf.h (LANG_JAVA): Change value to 0x000b.
5351
5352 2000-08-03  Anthony Green  <green@cygnus.com>
5353
5354         * dwarf2out.c (gen_compile_unit_die): Add java language support.
5355         (add_bound_info): Check for java language.
5356         (is_java): New function.
5357         * dwarfout.c (output_compile_unit_die): Ditto.
5358         * dwarf.h (dwarf_source_language): Add java source language type.
5359         * dwarf2.h (dwarf_source_language): Ditto.
5360
5361 Thu Aug  3 20:32:25 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5362
5363         * reg-stack.c (subst_stack_regs_pat):  Use replace_reg to swap
5364         operands.
5365
5366         * i386.c (ix86_expand_branch): Mode of comparison in
5367         IF_THEN_ELSE is VOIDmode.
5368
5369 Thu Aug  3 10:05:53 2000  Akiko Matsushita <matusita@sra.co.jp>
5370
5371         * gengenrtl.c, rtl.c: Avoid #elif.
5372
5373 2000-08-03  Michael Poole  <poole@troilus.org>
5374
5375         * tm.texi (Register Classes): Clarify order of sub-initializers
5376         in REG_CLASS_CONTENTS.
5377
5378 Thu Aug  3 15:53:03 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5379
5380         From SAITOH Masanobu:
5381         * sh.h (ASM_OUTPUT_REG_PUSH): Fix syntax.
5382
5383 2000-08-03  David Billinghurst  <David.Billinghurst@riotinto.com.au>
5384
5385         * config/i386/cygwin.h: Remove -remap from CPP_SPEC since this option
5386         is not supported by tradcpp and isn't actually needed for cygwin.
5387
5388 2000-08-03  Kazu Hirata  <kazu@hxi.com>
5389
5390         * h8300.c: Fix a comment typo.
5391         * h8300.h (OK_FOR_U): Accept a 32-bit constant address on H8/S.
5392
5393         * jump.c: Fix formatting.
5394
5395         * toplev.c: Fix formatting.
5396
5397 Thu Aug  3 01:05:32 2000  Jeffrey A Law  (law@cygnus.com)
5398
5399         * flow.c (find_auto_inc): Verify that we've got a REG before
5400         peeking at its regno.  Fail, don't abort if we can't find
5401         the increment of the desired register.
5402
5403         * pa.md (shadd height reduction patterns/splitters): Remove.
5404
5405 2000-08-02  Jim Wilson  <wilson@cygnus.com>
5406
5407         * config/ia64/ia64-protos.h (flag_ssa): Declare.
5408         * config/ia64/ia64.md (movti_internal, movti_internal+1): New.
5409
5410 2000-08-02  Mark Mitchell  <mark@codesourcery.com>
5411
5412         * dce.c: Remove all uses of assert.
5413         * dwarf2out.c: Likewise.
5414         * dwarfout.c: Likewise.
5415         * ssa.c: Likewise.
5416
5417 2000-08-02  Zack Weinberg  <zack@wolery.cumb.org>
5418
5419         * gcc.h (lang_specific_driver): Constify second argument.
5420         * gcc.c (translate_options, process_command, main): Likewise.
5421         Constify variables to match.  Cast second argument to
5422         pexecute.
5423
5424         * cppspec.c, gccspec.c: Adjust type of second argument to
5425         lang_specific_driver, and update code as necessary.
5426
5427 2000-08-02  Jakub Jelinek  <jakub@redhat.com>
5428
5429         * loop.c (scan_loop): Ensure update_end label does not
5430         go away until reg_scan_update is run.
5431
5432 2000-08-02  Zack Weinberg  <zack@wolery.cumb.org>
5433
5434         * c-common.h: Prototype min_precision and c_build_qualified_type here...
5435         * c-tree.h: ... not here.
5436         * errors.h: Prototype fancy_abort.
5437
5438         * emit-rtl.c (gen_lowpart_common): Move variable 'c' into
5439         HOST_BITS_PER_WIDE_INT == 64 ifdef block.
5440         * regrename.c (regrename_optimize): Make control flow explicit.
5441         (replace_reg_in_block): Initialize reg_use to 0.
5442
5443         * i386.c (legitimate_address_p): Rename error label to
5444         report_error to avoid namespace clash.
5445
5446 2000-08-02  Kazu Hirata  <kazu@hxi.com>
5447
5448         * fold-const.c: Fix formatting.
5449
5450 Wed Aug  2 16:26:15 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5451
5452         * i386.c (legitimate_address_p): Accept other bases than
5453         pic_offset_table_rtx for GOTOFF constructs.
5454
5455 Wed Aug  2 15:59:34 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5456
5457         * i386.md (shift to lea splitter): Use const_int_operand.
5458
5459 2000-08-02  Zack Weinberg  <zack@wolery.cumb.org>
5460
5461         * cppexp.c, cppinit.c, cpplex.c, cpplib.c, cppmacro.c,
5462         cppspec.c: Do not use 'legal' or 'illegal' in error messages
5463         and comments.
5464
5465         * cppmain.c (cb_define, cb_undef): Don't generate any output
5466         if not done_initializing.
5467         * cpplex.c (maybe_paste_with_next): When the token after a ##
5468         is an omitted rest argument, only delete the token before it
5469         if that token is a comma.  Do not warn about bogus token
5470         pastes for , ## rest_arg.
5471
5472         * cpp.texi: Update.
5473         * cpp.1: Regenerate.
5474
5475 2000-08-02  Fred Fish  <fnf@be.com>
5476
5477         * config/i386/beos-elf.h (STARTFILE_SPEC): Add i386-mcount.o
5478         when user gives -p option.  Add init_term_dyn.o for BeOS 5.0
5479         and later.
5480
5481         * config/i386/beos-elf.h (INCLUDE_DEFAULTS): Add additional
5482         Be directories to search path.
5483
5484         Remove support for __declspec(dllimport) and __declspec(dllexport).
5485         This is leftover cruft from the earlier BeOS gcc port when BeOS
5486         used Microsoft's PE object file format.
5487         * configure.in (i*86-*-beoself): Remove extra_objs=winnt.o.
5488         * config/i386/t-beos (winnt.o): Remove Makefile frag.
5489         * config/i386/beos-elf.h (TARGET_NOP_FUN_DLLIMPORT): Remove.
5490         (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
5491         (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
5492         (MERGE_MACHINE_DECL_ATTRIBUTES): Remove.
5493         (REDO_SECTION_INFO_P): Remove.
5494         (ASM_EXPORT_DECL): Remove.
5495         (ASM_DECLARE_FUNCTION_NAME): Remove.
5496         (ASM_DECLARE_OBJECT_NAME): Remove.
5497         (ASM_OUTPUT_ALIGNED_COMMON): Remove.
5498         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Remove.
5499         (ASM_OUTPUT_ALIGNED_LOCAL): Remove.
5500         (STRIP_NAME_ENCODING): Remove.
5501
5502         Remove support for obsolete version of BeOS that is no longer
5503         supported by Be.
5504         * configure.in (i*86-*-beospe*): Remove.
5505         * config/i386/beos-pe.h: Remove.
5506
5507 2000-08-01  Jeffrey Oldham  <oldham@codesourcery.com>
5508             Mark Mitchell <mark@codesourcery.com>
5509
5510         * Makefile.in (OBJS): Added dce.o.
5511         (ssa.o): Updated target to include ssa.h.
5512         (flow.o): Likewise.
5513         (toplev.o): Likewise.
5514         (dce.o): Created target.
5515         * basic-block.h: Added comments.
5516         (INVALID_BLOCK): Added definition.
5517         (connect_infinite_loops_to_exit): Added declaration.
5518         Moved SSA declarations to ssa.h.
5519         * flow.c: Added inclusion of ssa.h.
5520         (struct depth_first_search_dsS, depth_first_search_ds):
5521         Added definitions.
5522         (compute_immediate_postdominators): Added definition.
5523         (connect_infinite_loops_to_exit): Likewise.
5524         (flow_dfs_compute_reverse_init): Likewise.
5525         (flow_dfs_compute_reverse_add_bb): Likewise.
5526         (flow_dfs_compute_reverse_execute): Likewise.
5527         (flow_dfs_compute_reverse_finish): Likewise.
5528         * rtl.h (rtx/in_struct): Added use to determine insn necessity.
5529         (LABEL_P): Added definition.
5530         (JUMP_P): Likewise.
5531         (NOTE_P): Likewise.
5532         (BARRIER_P): Likewise.
5533         (JUMP_TABLE_DATA_P): Likewise.
5534         (INSN_DEAD_CODE_P): Likewise.
5535         * ssa.c: Replaced inclusions with ssa.h inclusion.
5536         (CONVERT_HARD_REGISTER_TO_SSA_P): Moved to ssa.h.
5537         (rename_registers): Removed unnecessary variables.
5538         * ssa.h: Created by moving declarations from ssa.c and
5539         basic-block.h.
5540         * timevar.def: Defined TV_DEAD_CODE_ELIM.
5541         * toplev.c: Added ssa.h inclusion.
5542         (dump_file_index): Added DFI_dce.
5543         (dump_file): Added "dce" entry.
5544         Defined flag_ssa.
5545         (f_options): Added dce entry.
5546         * invoke.texi: Document -fdce.  Emphasize experimental status of
5547         -fssa.
5548         * dce.c: New file.
5549
5550 2000-08-01  Zack Weinberg  <zack@wolery.cumb.org>
5551
5552         * cpperror.c (v_message): Split into _cpp_begin_message and
5553         v_message macro.  All callers updated.
5554         (_cpp_begin_message): Do inhibit_errors/inhibit_warnings
5555         checks here.
5556
5557         * cppfiles.c (cpp_syshdr_flags): New function.
5558         (read_include_file): Don't call cpp_output_tokens.  Call
5559         enter_file hook.
5560         * cppinit.c (dump_macros_helper): Moved to cppmain.c.
5561         (cpp_reader_init): Don't initialize token_buffer.  Call
5562         _cpp_init_internal_pragmas.
5563         (cpp_cleanup): Don't clear token_buffer.
5564         (cpp_start_read): Don't worry about output from -D processing.
5565         Don't call cpp_output_tokens.
5566         (cpp_finish): Don't dump macros here.  Don't call
5567         cpp_output_tokens.
5568         * cppmacro.c (_cpp_dump_definition): Rename
5569         cpp_dump_definition.  Write directly to a FILE *.
5570         (dump_funlike_macro): Delete.
5571         (dump_macro_args): New.
5572
5573         * cpplex.c (TOKEN_LEN): Convert to inline function.
5574         (_cpp_grow_token_buffer, safe_fwrite, cpp_output_tokens,
5575         cpp_scan_line, _cpp_dump_list): Delete.
5576         (cpp_printf, cpp_output_list): New.
5577         (output_line_command): Don't worry about entering or leaving files.
5578         (cpp_scan_buffer): Just output each token as we hit it.
5579         (process_directive): Don't call cpp_output_tokens.
5580         (_cpp_glue_header_name): Don't use token_buffer.
5581         (output_token, dump_param_spelling): Write directly to a FILE *.
5582
5583         * cpplib.c (pass_thru_directive, dump_macro_name,
5584         pragma_dispatch, do_pragma_gcc): Delete.
5585         (do_define, do_undef, parse_include, do_line, do_ident, do_pragma,
5586         do_pragma_poison, cpp_pop_buffer): Call the appropriate hook
5587         functions.
5588         (do_error, do_warning, pragma_dependency): Call
5589         _cpp_begin_message, then cpp_output_list.
5590         (cpp_register_pragma, cpp_register_pragma_space,
5591         _cpp_init_internal_pragmas): New.
5592         (do_pragma): Walk the pragmas table here.
5593         (do_pragma_once, do_pragma_poison, do_pragma_system_header,
5594         do_pragma_dependency): Return void.
5595         (do_pragma_implementation): Moved to cppmain.c.
5596
5597         * cpplib.h: Update prototypes.
5598          (struct cpp_reader): Remove printer, token_buffer,
5599         token_buffer_size, and limit.  Add struct cb, and pragmas.
5600         (struct cpp_printer): Remove last_id and written.
5601         (CPP_WRITTEN, CPP_PWRITTEN, CPP_SET_WRITTEN,
5602         CPP_ADJUST_WRITTEN): Delete.
5603         * cpphash.h: Update prototypes.
5604         (ufputs): New wrapper.
5605
5606         * cppmain.c (cb_define, cb_undef, cb_include, cb_ident,
5607         cb_enter_file, cb_leave_file, cb_def_pragma): New functions.
5608         (main): Set up callbacks.  Register #pragma implementation.
5609         Dump macros from here.
5610
5611 2000-08-01  Geoff Keating  <geoffk@cygnus.com>
5612
5613         * rtl.h (enum reg_note): Add REG_MAYBE_DEAD.
5614         * rtl.c (reg_note_name): Add REG_MAYBE_DEAD.
5615         * flow.c (propagate_one_insn): Allow deletion of prologue/epilogue
5616         insns if they have a REG_MAYBE_DEAD note attached.
5617         * config/rs6000/rs6000.c (rs6000_maybe_dead): New function.
5618         (rs6000_emit_load_toc_table): TOC loads may go dead.
5619
5620 2000-08-01  Jim Wilson  <wilson@cygnus.com>
5621
5622         * config/ia64/ia64.c (ia64_function_arg): Fix last change.  Verify
5623         type exists before using it.  Use number of words as alignment
5624         otherwise.
5625         (ia64_function_arg_partial_nregs, ia64_function_arg_advance,
5626         ia64_va_arg): Propagate ia64_function_args changes here.
5627
5628 2000-08-01  Richard Henderson  <rth@cygnus.com>
5629
5630         * config/elfos.h (ASM_DECLARE_OBJECT_NAME): Care for null DECL.
5631         * config/ia64/sysv4.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.
5632
5633 2000-08-01  Bernd Schmidt  <bernds@cygnus.co.uk>
5634
5635         From Joern Rennecke:
5636         * sh.h (CPP_SPEC, TARGET_SWITCHES): Add m4-nofpu.
5637         * sh.md (udivsi3, divsi3): Don't use libcalls that use the FPU
5638         unless TARGET_SH3E is set.
5639         * t-sh (MULTILIB_MATCHES): Add m2=m4-nofpu.
5640
5641         * sh.md (ashlsi3_d, ashlsi3_k): Remove, replace with
5642         (ashlsi3_std): New pattern.
5643         (ashlsi3 expander): Use it for TARGET_SH3.
5644         * sh.c (gen_ashift): Use it instead of ashlsi3_k.
5645
5646 Tue Aug  1 12:34:21 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5647
5648         * loop.c (canonicalize_condition):  Use destination, not source to
5649         determine SET's mode.
5650
5651 2000-07-31  Mark Mitchell  <mark@codesourcery.com>
5652
5653         * flow.c (clear_log_links): Fix typo.
5654
5655 Mon Jul 31 22:19:24 2000  Jeffrey A Law  (law@cygnus.com)
5656
5657         * loop.c (check_dbra_loop): Make change from July 17, 2000 work
5658         on targets which need more than one insn for a compare/cbranch
5659         operation.
5660
5661 2000-07-31  Jim Wilson  <wilson@cygnus.com>
5662
5663         * config/ia64/ia64.c (ia64_function_arg): Use alignment not size
5664         when computing offset.
5665
5666 Mon Jul 31 20:35:50 2000  Denis Chertykov  <denisc@overta.ru>
5667
5668         * genpeep.c (main): Handle DEFINE_PEEPHOLE2.
5669
5670 2000-07-31  Geoff Keating  <geoffk@cygnus.com>
5671
5672         * flow.c (clear_log_links): Nuke global_live_at_start and
5673         global_live_at_end data, since if the log_links stuff is invalid
5674         so is global_live_at_*.
5675
5676 2000-07-31  Richard Henderson  <rth@cygnus.com>
5677
5678         * tm.texi (Addressing Modes): Clarify PRE/POST_MODIFY descriptions.
5679
5680 2000-07-31  Jakub Jelinek  <jakub@redhat.com>
5681
5682         * cpplex.c (_cpp_get_line): If index is 0, return line 0 col 0.
5683         (_cpp_get_token): Don't macro expand a just pasted token if it
5684         was pasted at no_expand_level.
5685
5686 2000-07-31  Zack Weinberg  <zack@wolery.cumb.org>
5687
5688         * cppmacro.c (find_param, count_params, save_expansion):
5689         Permit 'defined' as a macro parameter name.
5690
5691 2000-07-31  Zack Weinberg  <zack@wolery.cumb.org>
5692
5693         * Makefile.in: Rename cpp to cpp0, tradcpp to tradcpp0, and
5694         xcpp to cpp throughout.
5695         (native): Remove unnecessary dependency on cpp.
5696
5697         * gcc.c (trad_capable_cpp, C specs): Rename cpp to cpp,
5698         tradcpp to tradcpp0.
5699         (.i spec): Add missing output-file spec to cc1 command line.
5700         * objc/lang-specs.h: Rename cpp to cpp0 and/or tradcpp to tradcpp0.
5701
5702 2000-07-31  Zack Weinberg  <zack@wolery.cumb.org>
5703
5704         * c-decl.c (mesg_implicit_function_declaration): Init to -1.
5705         (implicit_decl_warning): New function.
5706         (implicitly_declare): Use it.
5707         * c-typeck.c (build_external_ref): Use implicit_decl_warning
5708         to complain about implicit decls of builtins.
5709
5710         * c-lang.c (lang_init): Set mesg_implicit_function_declaration
5711         based on pedantic && flag_isoc99, if not already set.
5712         * c-tree.h: Declare mesg_implicit_function_declaration.
5713         Prototype implicit_decl_warning.
5714
5715 2000-07-30  Jeffrey D. Oldham  <oldham@codesourcery.com>
5716
5717         * Makefile.in (ssa.o): Updated header files in dependences.
5718         * basic-block.h: Added compute_immediate_postdominators declaration.
5719         * config/i386/i386.h (CONVERT_HARD_REGISTER_TO_SSA_P): Added
5720         definition.
5721         * flow.c (compute_immediate_dominators): Updated comment.
5722         (compute_immediate_postdominators): Added definition.
5723         * rtl.h (HARD_REGISTER_P): Added definition.
5724         * ssa.c: Include additional header files.
5725         (assert): Added definition.
5726         (ssa_rename_to_lookup): Added to reimplement ssa_rename_to to
5727         include select hard registers.
5728         (ssa_rename_to_insert): Likewise.
5729         (ssa_rename_from_initialize): Likewise.
5730         (ssa_rename_from_lookup): Likewise.
5731         (original_register): Likewise.
5732         (ssa_rename_from_insert): Added to reimplement ssa_rename_from to
5733         include select hard reigsters.
5734         (ssa_rename_from_traverse): Likewise.
5735         (ssa_rename_from_free): Likewise.
5736         (ssa_rename_from_print): Likewise.
5737         (ssa_rename_from_print_1): Likewise.
5738         (ssa_rename_from_hash_function): Likewise.
5739         (ssa_rename_from_equal): Likewise.
5740         (ssa_rename_from_delete): Likewise.
5741         (simplify_to_immediate_dominators): Removed in favor of
5742         flow.c:compute_immediate_dominators.
5743         (find_evaluations_1): Modified to work with hard registers.
5744         (insert_phi_node): Likewise.
5745         (insert_phi_nodes): Likewise.
5746         (struct rename_set_data): Updated prev_reg comment.
5747         (create_delayed_rename): Modified to work with hard registers.
5748         (RENAME_NO_RTX): Updated comment.
5749         (apply_delayed_renames): Modified to work with hard registers.
5750         (rename_insn_1): Likewise and added handling of CLOBBER rtls.
5751         (rename_block): Updated to use revised ssa_rename_to interface.
5752         (rename_registers): Updated to use revised ssa_rename_to and
5753         ssa_rename_from interface.
5754         (convert_to_ssa): Revised to use compute_immediate_dominators and
5755         deal with hard registers.
5756         (make_regs_equivalent_over_bad_edges): Modified to work with hard
5757         registers.  Added check for illegal unification of hard register.
5758         (make_equivalent_phi_alternatives_equivalent): Modified to work
5759         with hard registers.
5760         (compute_conservative_reg_partition): Likewise.
5761         (coalesce_if_unconflicting): Modified to work with hard registers
5762         and check for conflicting hard registers.
5763         (mark_phi_and_copy_regs): Revised loop to work only on pseudo
5764         registers.
5765         (rename_equivalent_regs_in_insn): Modified to work with hard
5766         registers.
5767         (record_canonical_element_1): Added definition.
5768         (check_hard_regs_in_partition): Added definition.
5769         (convert_from_ssa): Added data structure deallocation and check
5770         for illegal hard register unification.
5771         (conflict_hard_regs_p): Added definition.
5772         * toplev.c (rest_of_compilation): Added comment.
5773
5774 2000-07-31  Anthony Green  <green@redhat.com>
5775
5776         * config/ia64/crtbegin.asm (__EH_FRAME_BEGIN__): Align correctly.
5777
5778 2000-07-31  Jason McMullan  <jmcmullan@linuxcare.com>
5779
5780         * builtins.c (expand_builtin_apply): Don't defer pop during
5781         argument setup.
5782
5783 2000-07-31 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5784
5785         * calls.c (combine_pending_stack_adjustment_and_call): Only use
5786         preferred_unit_stack_boundary when it is > 1.
5787
5788 2000-07-31  Joseph S. Myers  <jsm28@cam.ac.uk>
5789
5790         * c-common.c (init_function_format_info): Add C99 format functions
5791         in C99 mode.
5792
5793         * c-decl.c (get_parm_info): Don't treat 'const void', 'volatile
5794         void' or 'register void' as being the special case of 'void' alone
5795         in a parameter list.
5796
5797         * c-typeck.c (build_c_cast): Change -Wcast-qual pedwarn for
5798         discarding qualifiers into a plain warning.
5799
5800 2000-07-31  Kazu Hirata  <kazu@hxi.com>
5801
5802         * combine.c: Fix formatting.
5803
5804         * h8300.md: Fix formatting.
5805
5806         * local-alloc.c: Fix formatting.
5807
5808         * h8300.c (get_shift_alg): Remove the variable alg.
5809         (emit_a_shift): Rearrange code to improve readability.
5810
5811         * h8300.md (movsi_h8300hs): Rearrange code to improve readability.
5812
5813         * h8300.h (MODES_TIEABLE_P): Accept a combination of QImode and
5814         HImode on all architectures and a combination of HImode and SImode
5815         on H8/300H and H8/S.
5816
5817         * h8300.c (split_adds_subs): Rearrange code for conciseness.
5818
5819 Mon Jul 31 12:27:55 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5820
5821         * i386.md (addsi to lea splitter, ashlqi3_1_lea): Fix bugs
5822         in my last checkin.
5823
5824 Mon Jul 31 10:41:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5825
5826         * recog.c (extract_insn): Set operand_mode according to
5827         operand if match_operand is VOIDmode.
5828
5829 Mon Jul 31 10:36:38 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5830
5831         * recog.c (validate_replace_rtx_1): Do not abort for (nil) expression.
5832
5833 2000-07-31  Geoff Keating  <geoffk@cygnus.com>
5834
5835         * c-parse.in (extdefs): Call ggc_collect between external
5836         definitions.
5837
5838 2000-07-30  Michael Hayes  <mhayes@cygnus.com>
5839             Richard Henderson  <rth@cygnus.com>
5840
5841         * Makefile.in (OBJS): Add doloop.o.
5842         * doloop.c: New file.
5843
5844         * final.c (insn_current_reference_address): Return 0 before final.
5845         * flags.h (flag_branch_on_count_reg): Fix typos in commentary.
5846         * jump.c (any_uncondjump_p): Likewise.
5847         * loop.c (indirect_jump_in_function): Make static.
5848         (strength_reduce): Call doloop_optimize.
5849         (insert_bct, instrument_loop_bct): Remove.
5850         * loop.h (doloop_optimize): Prototype.
5851         * recog.c (split_all_insns): Split all INSN_P.
5852         * toplev.c (flag_branch_on_count_reg): Default on.
5853
5854         * config/c4x/c4x.c (c4x_optimization_options): Don't set
5855         flag_branch_on_count_reg.
5856         * config/i386/i386.c (override_options): Likewise.
5857         * config/rs6000/rs6000.c (optimization_options): Likewise.
5858
5859         * config/i386/i386.md (decrement_and_branch_on_count): Remove.
5860         (doloop_end): New.
5861         (dbra_ge): Remove, as well as all it's splitters.
5862
5863         * config/rs6000/rs6000.md (decrement_and_branch_on_count): Remove.
5864         (doloop_end): New.
5865
5866         * config/ia64/ia64-protos.h (ar_lc_reg_operand): Declare.
5867         (ia64_register_move_cost): Declare.
5868         * config/ia64/ia64.c (ar_lc_reg_operand): New.
5869         (struct ia64_frame_info): Add ar_size.
5870         (ia64_compute_frame_size): Set it.
5871         (save_restore_insns): Save and restore ar.lc.
5872         (ia64_register_move_cost): New, moved from header file.  Handle
5873         application registers.
5874         (REG_AR_PFS, REG_AR_EC): Remove.  Replace with AR_*_REGNUM numbers.
5875         (emit_insn_group_barriers): Special case doloop_end_internal.
5876         (ia64_epilogue_uses): Mark ar.lc live at end.
5877         * config/ia64/ia64.h (AR_CCV_REGNUM, AR_LC_REGNUM): New registers.
5878         (AR_EC_REGNUM, AR_PFS_REGNUM): New registers.
5879         (FIRST_PSEUDO_REGISTER): Make room.
5880         (AR_M_REGNO_P, AR_I_REGNO_P, AR_REGNO_P): New.
5881         (FIXED_REGISTERS, CALL_USED_REGISTERS): Update.
5882         (REG_ALLOC_ORDER): Update.
5883         (HARD_REGNO_MODE_OK): Update.
5884         (REGISTER_NAMES): Update.
5885         (enum reg_class): Add AR_M_REGS and AR_I_REGS.
5886         (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
5887         (REGNO_REG_CLASS): Update.
5888         (LEGITIMATE_ADDRESS_DISP): Displacement range is 9 bits, not 10.
5889         (REGISTER_MOVE_COST): Move out of line.
5890         (PREDICATE_CODES): Update.
5891         * config/ia64/ia64.md (movdi patterns): Handle ar register classes.
5892         (addsi3_plus1_alt, adddi3_plus1_alt): New.
5893         (shladd_elim splitter): Allow constants in the predicate.
5894         (doloop_end, doloop_end_internal): New.
5895
5896 2000-07-30  Richard Henderson  <rth@cygnus.com>
5897
5898         * genattrtab.c (struct insn_def): Add lineno member.
5899         (struct insn_ent): Likewise.
5900         (struct attr_desc): Likewise.
5901         (struct delay_desc): Likewise.
5902         (struct function_unit_op): Likewise.
5903         (struct function_unit): Likewise.
5904         (check_attr_value): Use message_with_line.
5905         (check_defs): Likewise.
5906         (expand_units): Likewise.
5907         (check_attr_test): Take a lineno argument.
5908         (gen_attr): Likewise.
5909         (gen_insn): Likewise.
5910         (gen_delay): Likewise.
5911         (gen_unit): Likewise.
5912         (main): Give it to them.
5913         (convert_set_attr_alternative): Take an insn_def argument
5914         instead of num_alt and insn_index.
5915         (convert_set_attr): Likewise.
5916         (write_test_expr): Protect INSN_ADDRESSES load
5917         with INSN_ADDRESSES_SET_P.
5918
5919 2000-07-30  Richard Henderson  <rth@cygnus.com>
5920
5921         * flow.c (init_propagate_block_info): Use pc_set.
5922
5923 Sun Jul 30 20:58:34 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5924
5925         * i386.md (*lea_general_[123]) New insns and splits.
5926         (addsi3 to lea splitter): Handle other modes too.
5927         (shlsi3 to lea splitter): Likewise.
5928         (addhi_1_lea, shlhi_1_lea): New patterns.
5929         (addhi_1, shlhi_1): Conditionize by PARTIAL_REG_STALL.
5930
5931 Sun Jul 30 20:51:25 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5932
5933         * recog.c (general_operand, nonimmediate_operand): Accept
5934         any mode for VOIDmode CONSTANT_P operands.
5935
5936 Sun Jul 30 20:42:21 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5937
5938         * gcse.c (try_replace_reg): Use validate_replace_rtx_subexp
5939         instead of replace_rtx.
5940         * recog.c (validate_replace_rtx_subexp): New function.
5941         * recog.h (validate_replace_rtx_subexp): Declare.
5942
5943 Sun Jul 30 20:38:26 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5944
5945         * combine.c (simplify_set, make_extraction, make_compound_operation
5946         make_field_assignment): Use full mask instead of GET_MODE_MASK (mode)
5947         as force_to_mode argument.
5948
5949 Sun Jul 30 20:30:41 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5950
5951         * combine.c (if_then_else_cond): Be sure that mode fits in
5952         HOST_WIDE_INT.
5953
5954 Sun Jul 30 20:27:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5955
5956         * combine.c (record_promoted_value):  Allow bitsize of mode
5957         to be equivalent to HOST_BITS_PER_WISE_INT.
5958
5959 Sun Jul 30 20:25:21 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5960
5961         * function.c (assign_stack_local_1, assign_stack_temp_for_type):
5962         Do not call gen_mode_alignment when mode is BLKmode.
5963
5964 Sun Jul 30 20:21:54 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5965
5966         * loop.c (express_from_1): Fix call of simplify_gen_binary.
5967
5968 Sun Jul 30 20:08:37 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5969
5970         * simplify-rtx.c (simplify_relational_operation): Verify that mode ==
5971         VOIDmode implies both operands to be VOIDmode.
5972         (simplify_ternary_operation): Compute properly the mode of comparison.
5973         * combine.c (combine_simplify_rtx): Likewise.
5974
5975 2000-07-25  Michael Hayes  <mph@paradise.net.nz>
5976
5977         * basic-block.h (struct loops): New field rc_order.
5978         * flow.c (flow_loops_cfg_dump): Dump rc_order if computed.
5979         (flow_loops_free): Free rc_order.
5980         (flow_depth_first_order_compute): New parameter rc_order.
5981         (flow_loops_find): Allocate rc_order and swap usage with
5982         dfs_order.
5983
5984 2000-07-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5985            Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5986
5987         * config/c4x/c4x.md (set_ldp_prologue): Add for RTL prologue/epilogue.
5988         (push_st, push_dp, pop_st, pop_dp, popqi_unspec): Likewise.
5989         (nodb_call, return_from_epilogue): Likewise.
5990         (return_from_interrupt_epilogue, prologue, epilogue): Likewise.
5991         * config/c4x/c4x.c (c4x_expand_prologue, c4x_expand_eplilogue): Add.
5992         * config/c4x/c4x-protos.h (c4x_interrupt_function_p): Add.
5993         (c4x_expand_prologue, c4x_expand_epilogue): Likewise.
5994         (c4x_valid_type_attribute_p): Likewise.
5995         * config/c4x/c4x.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Delete.
5996         (FUNCTION_BLOCK_PROFILER_EXIT): Convert to emit RTL.
5997
5998 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5999
6000         * config/c4x/c4x.c (c4x_emit_move_sequence): Use loadqi_big_constant
6001         and loadhi_big_constant if applicable.
6002         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant): Tweak
6003         and add new splitter.s
6004
6005 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6006
6007         * config/c4x/c4x.c (c4x_rptb_insert): Make more robust.
6008
6009 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6010
6011         * config/c4x/c4x.h (ASM_FORMAT_PRIVATE_NAME): Output $ in label.
6012
6013 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6014
6015         * config/c4x/c4x.h (IS_XXX_REGNO): Rewrite to avoid unsigned warnings.
6016
6017 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6018
6019         * config/c4x/libgcc.S (divqf3): Improve accuracy.
6020
6021 2000-07-27  Mark Mitchell  <mark@codesourcery.com>
6022
6023         Put phi nodes after NOTE_INSN_BASIC_BLOCK.
6024         * rtl.h (NOTE_INSN_BASIC_BLOCK_P): New macro.
6025         * bb-reorder.c (get_next_bb_note): Use NOTE_INSN_BASIC_BLOCK_P.
6026         (get_prev_bb_note): Likewise.
6027         (remove_scope_notes): Likewise.
6028         * flow.c (commit_one_edge_insertion): Likewise.
6029         (merge_blocks_nomove): Likewise.
6030         (verify_flow_info): Likewise.
6031         * gcse.c (insert_insn_end_bb): Likewise.
6032         * reg-stack.c (emit_swap_insn): Likewise.
6033         * ssa.c (first_insn_after_basic_block_note): New function.
6034         (insert_phi_node): Use it.
6035         (rename_block): Likewise.
6036         (eliminate_phi): Likewise.
6037         (make_regs_equivalent_over_bad_edges): Likewise.
6038         (make_equivalent_phi_alternatives_equivalent): Likewise.
6039         (for_each_successor_phi): Likewise.
6040         (convert_from_ssa): Modify phi-node deletion algorithm.
6041
6042 2000-07-29  Andreas Jaeger  <aj@suse.de>
6043
6044         * configure.in (mips*-*-linux*): Use mips*el to check for little
6045         endian MIPS, add tmake_file.
6046
6047         * config/mips/linux.h (TARGET_VERSION): Use GNU/Linux.
6048         (SUBTARGET_CPP_SPEC): Default MIPS_ISA is 1.
6049         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6050
6051 2000-07-28  Richard Henderson  <rth@cygnus.com>
6052
6053         * config/ia64/ia64.c (ia64_print_operand): Fix typos.
6054         Sign extend mode size before negating.
6055
6056 2000-07-28  Richard Henderson  <rth@cygnus.com>
6057
6058         * emit-rtl.c (gen_lowpart_common): Add missing 'c' variable.
6059
6060 2000-07-28  Bernd Schmidt  <bernds@cygnus.co.uk>
6061
6062         * cse.c (canon_hash): Handle PRE_MODIFY/POST_MODIFY.
6063         (cse_insn): Likewise.
6064         (addr_affects_sp_p): Likewise.
6065         * expr.c (move_by_pieces): Likewise.
6066         (clear_by_pieces): Likewise.
6067         * gcse.c (oprs_unchanged_p): Likewise.
6068         * haifa-sched.c (sched_analyze_2): Likewise.
6069         * recog.c (offsettable_address_p): Likewise.
6070         * regclass.c (record_address_regs): Likewise.
6071         * reload.c (find_reusable_reload): Likewise.
6072         (push_reload): Likewise.
6073         (operands_match_p): Likewise.
6074         (decompose): Likewise.
6075         (find_reloads_address_1): Likewise.
6076         (find_inc_amount): Likewise.
6077         * reload1.c (elimination_effects): Likewise.
6078         * resource.c (mark_set_resources): Likewise.
6079         * flow.c (attempt_auto_inc): New function; mostly broken out
6080         of find_auto_inc.
6081         (find_auto_inc): Split into two functions and enhanced to
6082         generate POST_MODIFY.
6083         * rtl.def (PRE_MODIFY, POST_MODIFY): Adjust comment.
6084         * rtl.h (count_all_occurrences):  Declare.
6085         (HAVE_{PRE,POST}_MODIFY_{DISP,REG}): Provide default of 0 if not
6086         defined.
6087         * rtlanal.c (count_all_occurrences): New function.
6088         * tm.texi (HAVE_POST_MODIFY_DISP, HAVE_PRE_MODIFY_DISP,
6089         HAVE_POST_MODIFY_REG, HAVE_PRE_MODIFY_REG): Document.
6090
6091         * config/ia64/ia64-protos.h (destination_operand): Declare.
6092         * config/ia64/ia64.c (destination_operand): New function.
6093         (ia64_print_operand): Handle POST_MODIFY.
6094         (rtx_needs_barrier): Likewise.
6095         * config/ia64/ia64.h (HAVE_POST_MODIFY_DISP): Define to 1.
6096         (HAVE_POST_MODIFY_REG): Define to 1.
6097         (MAX_REGS_PER_ADDRESS): Change to 2.
6098         (GO_IF_LEGITIMATE_ADDRESS): Accept POST_MODIFY too.
6099         (LEGITIMATE_ADDRESS_REG): New helper macro.
6100         (LEGITIMATE_ADDRESS_DISP): Likewise.
6101         (PREDICATE_CODES): Add entry for destination_operand.
6102         * config/ia64/ia64.md (all mov patterns): Use destination_operand
6103         predicate for operand 0.
6104
6105 2000-07-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6106
6107         * dwarf2out.c: Indent #error directive.
6108
6109         * gbl-ctors.h: Fix typo in comment.
6110         (__do_global_ctors): Prototype.
6111
6112         * gcse.c (record_one_set, pre_delete): Remove unused variables.
6113
6114         * rs6000.c (rs6000_maybe_dead): Delete unused prototype.
6115         (print_operand): Initialize variable `t'.
6116
6117 2000-07-27  Aldy Hernandez  <aldyh@redhat.com>
6118
6119         * config/arm/arm.md ("call_value"): removed constraints.
6120         Constraints are ignored in expanders.
6121         (*call_value_reg): split =rf into various constraints.
6122         (*call_value_mem): same
6123         (*call_value_symbol): same
6124         (*sibcall_value_insn): same
6125
6126 2000-07-28  Philipp Thomas  <pthomas@suse.de>
6127
6128         * install.texi (--enable-nls): Change the description of the NLS
6129         related configure options to match the current state.
6130         (--with-included-gettext): Likewise.
6131         (--enable-maintainer-mode): New description added.
6132         * extend.texi (-fstrict-prototype): Add missing '.'.
6133
6134 2000-07-27  Jim Wilson  <wilson@cygnus.com>
6135
6136         * dwarf2out.c (gen_decl_die): Don't call gen_abstract_function if
6137         DECL_INITIAL (decl) == NULL_TREE.
6138
6139 2000-07-27  Alexandre Oliva  <aoliva@redhat.com>
6140
6141         * Makefile.in (INSN_ATTR_H): New macro.  Replace all dependencies
6142         on insn-attr.h with it.
6143         * genattr.c: Generate `#include "insn-addr.h"' if HAVE_ATTR_length.
6144         * insn-addr.h: New header.
6145         (insn_addresses_): Renamed from insn_addresses.
6146         (INSN_ADDRESSES_DEFN, INSN_ADDRESSES, INSN_ADDRESSES_ALLOC,
6147         INSN_ADDRESSES_FREE, INSN_ADDRESSES_SET_P, INSN_ADDRESSES_SIZE,
6148         INSN_ADDRESSES_NEW): New macros.
6149         * genattrtab.c (write_test_expr): Use new macros.
6150         * final.c (insn_addresses, init_insn_lengths): Likewise.
6151         (align_fuzz, shorten_branches): Likewise.
6152         (final): Likewise.  Do not reject new insns if their addresses
6153         have been added to INSN_ADDRESSES.
6154         * config/arm/arm.c, config/avr/avr.c: Use new macros.
6155         * config/h8300/h8300.c, config/i370/i370.c: Likewise.
6156         * config/m88k/m88k.c, config/pa/pa.c, config/pa/pa.md: Likewise.
6157         * config/sparc/sparc.c, config/sparc/sparc.md: Likewise.
6158         * config/sh/sh.c: Likewise.
6159         (output_branchy_insn): Use INSN_ADDRESSES_NEW.
6160
6161         * Makefile.in (bootstrap): Move -BstageN/ back to the beginning.
6162
6163 2000-07-27  Andrew Cagney  <cagney@b1.cygnus.com>
6164
6165         * gcc.c (struct prefix_list): Add member priority.
6166         (enum path_prefix_priority): Declare.
6167         (add_prefix): Replace ``first'' with ``priority''.  Append new
6168         entry but keep list in priority order.
6169         (process_command): Update.  Pass PREFIX_PRIORITY_B_OPT or
6170         PREFIX_PRIORITY_LAST to add_prefix.
6171         (process_command): Move include kludge - foo/stageN - to before
6172         foo/include.
6173
6174 2000-07-27  Jason Merrill  <jason@redhat.com>
6175
6176         * dwarf2out.c (gen_typedef_die): Abort if we get identical
6177         TREE_TYPE and DECL_ORIGINAL_TYPE on a typedef.
6178
6179 2000-07-27  RodneyBrown  <RodneyBrown@pmsc.com>
6180
6181         * expr.h (get_alias_set, lang_get_alias_set): Delete prototypes.
6182         * tree.h (get_alias_set, lang_get_alias_set): Prototype.
6183
6184 2000-07-27  Joseph S. Myers  <jsm28@cam.ac.uk>
6185
6186         * c-decl.c (finish_function): Don't treat 'main' specially unless
6187         flag_hosted.  In C99 mode, return 0 from 'main' unless
6188         DEFAULT_MAIN_RETURN is otherwise defined.
6189
6190         * c-decl.c (store_parm_decls): In C99 mode, pedwarn for function
6191         parameters defaulting to int in an old-style function definition.
6192
6193 2000-07-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6194
6195         * c-parse.in (string): For -Wtraditional, warn about string
6196         concatenation only once per line.
6197
6198 Thu Jul 27 09:25:17 2000  Akiko Matsushita  <matusita@sra.co.jp>
6199
6200         * pa/x-pa-hpux: Add -D_HIUX_SOURCE to FIXPROTO_DEFINES
6201         for HI-UX/WE2 systems.
6202
6203 2000-07-24  Bruce Korb  <bkorb@gnu.org>
6204
6205         * fixincl/fixfixes.c(emit_gnu_type): rewrote to *rely* on GCC
6206         defining the __xxx_TYPE__ macros.
6207         * fixincl/fixincl.tpl(gnu_type_map): now obsolete
6208         * fixincl/fixlib.h: don't need to include "tm.h" anymore
6209         * fixincl/inclhack.def(type_map): now obsolete
6210
6211 Thu Jul 27 11:54:17 2000  Andrew Cagney  <cagney@b1.cygnus.com>
6212
6213         * cpp.texi: Append a trailing full-stop to xrefs where needed.
6214
6215 2000-07-26  Dave Pitts  <dpitts@cozx.com>
6216
6217         * i370.c: Remove LONGEXTERNAL ifdef from alias_number. Added hash
6218         routine constants.
6219         (mvs_hash_alias): New function.
6220         (mvs_add_alias): Change argument spacing.
6221         (mvs_need_alias): Change aliasing criteria. Added documentation.
6222         (mvs_get_alias): Change to use hashed name. The hashed name prevents
6223         CSECT name collisions.
6224         (mvs_check_alias): Likewise.
6225         (handle_pragma): Change documentation.
6226         * i370.md (mulsi3, divsi3, udivsi3, modsi3, umodsi3): Changed gen_rtx
6227         mode from SImode to DImode.
6228         (iorhi3): Changed LTORG size for insn.
6229
6230 Wed Jul 26 19:44:05 2000   Hans-Peter Nilsson  <hp@axis.com>
6231
6232         * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
6233         mem if the address is a mode_dependent_address_p.
6234
6235 2000-07-26  Kazu Hirata  <kazu@hxi.com>
6236
6237         * h8300.c (print_operand): Print ":8" when the 'R' operand is
6238         suitable for 8-bit absolute.
6239         * h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): New.
6240         (OK_FOR_U): Add a case for the 8-bit constant address on the
6241         H8/300H.
6242
6243 Wed Jul 26 19:26:21 2000  Hans-Peter Nilsson  <hp@axis.com>
6244
6245         * varasm.c (assemble_variable) [! defined(ASM_OUTPUT_ALIGNED_COMMON)
6246         && ! defined (ASM_OUTPUT_ALIGNED_BSS]): Also test
6247         ! defined(ASM_OUTPUT_ALIGNED_DECL_COMMON) before complaining about
6248         lack of implemented alignment.
6249
6250 2000-07-26  Geoffrey Keating  <geoffk@cygnus.com>
6251
6252         * emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETIC]: Handle
6253         cross-compiling between 64-bit and 32-bit machines.
6254
6255 2000-07-27  Richard Henderson  <rth@cygnus.com>
6256
6257         * config/ia64/ia64.md (movqicc_astep, movqi_internal_astep): New.
6258         (movhicc_astep, movhi_internal_astep): New.
6259         (movsicc_astep, movsi_internal_astep): New.
6260         (movdicc_astep, movdi_internal_astep): New.
6261         (movsfcc_astep, movsf_internal_astep): New.
6262         (movdfcc_astep, movdf_internal_astep): New.
6263         (movxfcc_astep, movxf_internal_astep): New.
6264         (cmovdi_internal_astep, cmovsi_internal_astep): New.
6265         Unify the cmov[ds]i splitters.
6266
6267 2000-07-27  Rodney Brown  <RodneyBrown@pmsc.com>
6268
6269         * real.c (asctoeg): Rename `error' label to unexpected_char_error
6270
6271 2000-07-26  Nick Clifton  <nickc@cygnus.com>
6272
6273         * config/arm/vxarm.h (CPP_PREDEFINES): Remove definition of
6274         __arm__.  Allow it to be defined by CPP_ISA_SPEC in arm.h
6275
6276         * dwarf2out.c (dwarf2out_frame_debug_expr): Accept SEQUENCE as
6277         well as PARALLEL blocks in FRAME_RELATED_EXPR notes.
6278
6279 2000-07-26  Alexandre Oliva  <aoliva@redhat.com>
6280
6281         * c-decl.c (finish_enum): Convert enumerations that fit in an
6282         `int' to `int'.
6283         (build_enumerator): In pedantic mode, cast to `int' those that
6284         don't.
6285
6286 2000-07-25  Rodney Brown  <RodneyBrown@pmsc.com>
6287
6288         * config/alpha/osf.h (SIZE_TYPE, PTRDIFF_TYPE): New.
6289
6290 Tue Jul 25 23:08:33 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6291
6292         * sh.md (cmpgtdi_t): Must be split.
6293         (cmpgtdi_t+1): New splitter.
6294
6295 2000-07-25  Zack Weinberg  <zack@wolery.cumb.org>
6296
6297         * cpplib.c (_cpp_check_directive): Issue -Wtraditional
6298         warnings for indented directives even if we are skipping.
6299
6300 2000-07-25  Nathan Sidwell  <nathan@codesourcery.com>
6301
6302         * invoke.texi (strict-prototypes): Remove.
6303         * extend.texi (Deprecated Features): Add strict-prototypes.
6304         (Backwards Compatibility): New node.
6305
6306 2000-07-25  Jakub Jelinek  <jakub@redhat.com>
6307
6308         * config/i386/i386.md (andsi_1+1): Allow HImode.
6309         (andsi_1+2): Require q_regs_operand.
6310
6311 2000-07-25  Jakub Jelinek  <jakub@redhat.com>
6312
6313         * config/i386/i386.md (call_pop): Check operands[0],
6314         not operands[1]. Only check SYMBOL_REF_FLAG for a SYMBOL_REF.
6315         (call): Likewise.
6316         (call_value_pop): Only check SYMBOL_REF_FLAG for a SYMBOL_REF.
6317         (call_value): Likewise.
6318
6319 2000-07-25  Zack Weinberg  <zack@wolery.cumb.org>
6320
6321         * toplev.c (pipe_closed): Delete.
6322         (crash_signal): New.  Generate ICE for a fatal signal.
6323         (float_signal): Call crash_signal outside a float-handler
6324         block, not abort.
6325         (main): Install crash_signal as handler for core-dumping signals.
6326
6327 2000-07-25  David Edelsohn  <edelsohn@gnu.org>
6328
6329         * rs6000.c (print_operand, case 'T'): New case.
6330
6331         * rs6000.md (call_indirect_aix32): Convert to expander of
6332         scheduled instructions.
6333         (call_indirect_aix64): Likewise.
6334         (call_value_indirect_aix{32,64}): Likewise.
6335         (call, call_value): Invoke expanders for AIX.  Fall through to
6336         matchers for SysV.
6337         (call_indirect_nonlocal_aix{32,64}): New patterns (ctr and lr).
6338         (call_value_indirect_nonlocal_aix{32,64}): New patterns.
6339         (call_nonlocal_aix32): Remove CALL_LONG alternative.  Operand 1
6340         only "g" constraint.
6341         (call_nonlocal_aix64): Likewise.
6342         (call_value_nonlocal_aix{32,64}): Likewise.
6343         (call_nonlocal_sysv): New pattern for ctr, lr, and symbolic
6344         operands.
6345         (call_value_nonlocal_sysv): New pattern.
6346         (indirect_jump{si,di}): Use new 'T' modifier.
6347         (tablejump{si,di} matchers): Likewise.
6348         (return_internal_{si,di}): Likewise.
6349         (return_eh_{si,di}): Likewise.
6350
6351 2000-07-24  Richard Henderson  <rth@cygnus.com>
6352
6353         * config/ia64/ia64.c (ia64_print_operand): Handle "%,".
6354         * config/ia64/ia64.h (PRINT_OPERAND_PUNCT_VALID_P): Likewise.
6355         * config/ia64/ia64.md (movdi_internal): Use it.
6356
6357 2000-07-24  Zack Weinberg  <zack@wolery.cumb.org>
6358
6359         * cppexp.c: Warn about unary + if -Wtraditional.
6360         * cpplex.c (lex_line): Always set BOL on the first token of a line.
6361
6362 2000-07-24  Michael Meissner  <meissner@redhat.com>
6363
6364         * d30v.h (FUNCTION_ARG_KEEP_AS_REFERENCE): Delete references to
6365         unsupported macro.
6366
6367 2000-07-24  Nick Clifton  <nickc@cygnus.com>
6368
6369         * config/arm/arm.c (emit_multi_reg_push): Generate a
6370         REG_FRAME_RELEATED_NOTE that is compatable with the code in
6371         dwarf2out_debug_frame_expr.
6372
6373 2000-07-24  Jason Merrill  <jason@redhat.com>
6374
6375         * dwarf2out.c: Complain if DWARF2_DEBUGGING_INFO is defined without
6376         UNALIGNED_INT_ASM_OP.
6377         (def_cfa_1): Don't emit def_cfa_register or def_cfa_offset to adjust
6378         a location expression.
6379         (dwarf2out_frame_debug_expr): Lose cfa_old_reg stuff.  Don't
6380         assume indirect access if we're saving the CFA address exactly.
6381
6382         * Makefile.in (bootstrap): Move -BstageN/ to the end.
6383
6384 2000-07-24  Jakub Jelinek  <jakub@redhat.com>
6385
6386         * tradcpp.c (main): Update max_include_len for cpp_include_defaults
6387         as well.
6388
6389 2000-07-24  Michael Meissner  <meissner@redhat.com>
6390
6391         * invoke.texi (D30V Options): Add d30v options.
6392
6393 Mon Jul 24 02:04:52 2000  Jeffrey A Law  (law@cygnus.com)
6394
6395         * gcse.c (alloc_pre_mem): Do not alloc TRANSPOUT, it is not
6396         needed by our gcse pass anymore.
6397         (free_pre_mem): Corresponding changes.
6398         (compute_pre_data): Do not call compute_transpout anymore.
6399
6400         * gcse.c (alloc_avail_expr_mem): Kill unused 'u_bitmap'.
6401         (free_avail_expr_mem, alloc_pre_mem, free_pre_mem): Corresponding
6402         changes.
6403
6404         * gcse.c (free_pre_mem): Do not free ANTLOC and AE_KILL here.
6405         (compute_pre_data): Do it here instead.
6406
6407         * gcse.c (alloc_pre_mem, free_pre_mem): Delete unused bitmap
6408         'temp_bitmap'.
6409         (pre_delete): Corresponding changes.
6410
6411 2000-07-23  Mark Mitchell  <mark@codesourcery.com>
6412
6413         * c-semantics.c (make_rtl_for_local_static): Use TREE_ASM_WRITTEN
6414         to figure out whether or not a variable has already been emitted.
6415
6416 Sun Jul 23 14:49:12 2000  Jason Eckhardt  <jle@cygnus.com>
6417
6418         * config/i860/i860.md (untyped_call expander): Use GEN_CALL
6419         instead of gen_call.
6420
6421 Sun Jul 23 11:52:03 2000  George Helffrich (george@gly.bris.ac.uk)
6422
6423         * dbxout.c (dbxout_type, case COMPLEX_TYPE): Fix length field in stab.
6424
6425 2000-07-23  Kazu Hirata  <kazu@hxi.com>
6426
6427         * h8300.c: Fix formatting.
6428
6429 2000-07-23  Joseph S. Myers  <jsm28@cam.ac.uk>
6430
6431         * c-typeck.c (c_expand_start_case): Change -Wtraditional pedwarn
6432         for `long' switch expression into a plain warning.
6433
6434         * c-lex.c (init_lex): Keep the "inline" keyword in C99 mode.
6435         (yylex): Don't pedwarn for "inline" in C99 mode.
6436
6437         * bitmap.c (debug_bitmap_file): Cast pointers to PTR for printing
6438         with %p.
6439         * ggc-page.c (debug_print_page_list, alloc_page, free_page,
6440         ggc_alloc): Likewise.
6441         * bb-reorder.c (dump_scope_forest_1): Likewise.
6442
6443 2000-07-22  Aldy Hernandez  <aldyh@redhat.com>
6444
6445         * reload.c (find_reloads_toplev): Add new parameter
6446         "address_reloaded".
6447         (find_reloads): Add new parameter to find_reloads_toplev calls.
6448
6449 2000-07-22  Jeffrey Oldham  <oldham@codesourcery.com>
6450
6451         * collect2.c (main): Typo fixed.
6452         * diagnostic.c: Typo fixed.
6453         * dwarf2out.c (dwarf2out_frame_debug_expr): Typo fixed.
6454         * eh-common.h: Typo fixed.
6455         * emit-rtl.c (start_sequence): Typo fixed.
6456         * flow.c (find_label_refs): Typo fixed.
6457         (calculate_global_regs_live): Typo fixed.
6458         (mark_regno_cond_dead): Typo fixed.
6459         (create_edge_list): Typos fixed.
6460         (verify_edge_list): Typo fixed.
6461         * ggc-common.c (ggc_mark_rtx_children): Typo fixed.
6462         * loop.c (strength_reduce): Typo in function name fixed.
6463         * rtl.h: Added comments.  Typo in function name fixed.
6464         * rtlanal.c: Typo in function name fixed.
6465         (insn_dependant_p): Rename to ...
6466         (insn_dependent_p): ... this.
6467         (computed_jumo_p): Typo fixed.
6468
6469 2000-07-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6470
6471         * system.h (__FUNCTION__): Wrap definition in #ifndef.
6472
6473 2000-07-21  David Edelsohn  <edelsohn@gnu.org>
6474
6475         * rs6000.h (SIZE_TYPE): Define.
6476
6477 2000-07-21  Mark Mitchell  <mark@codesourcery.com>
6478
6479         * ssa.c (rename_insn_1): Don't rename registers that are
6480         CLOBBERed.
6481
6482 2000-07-21  Zack Weinberg  <zack@wolery.cumb.org>
6483
6484         * diagnostic.c (trim_filename, fancy_abort): Moved here from
6485         rtl.c.
6486         (fatal_function, set_fatal_function): Removed.
6487         (fatal): Don't prepare for or call the fatal_function.
6488         (diagnostic_lock, error_recursion): New.
6489         (diagnostic_for_decl, report_diagnostic): Guard against
6490         re-entering the error reporting routines.
6491         (fancy_abort): Assume function is not NULL.
6492
6493         * errors.c (fancy_abort): New.  Assume function is not NULL.
6494         * tradcpp.c (fancy_abort): Assume function is not NULL.
6495
6496         * system.h: Provide default definition of __FUNCTION__.
6497         * rtl.h: Use __FUNCTION__ not __PRETTY_FUNCTION__ throughout.
6498         Always use __FUNCTION__ in definition of abort.
6499         * tree.h: Likewise.
6500         * varray.h: Likewise.
6501         * toplev.h: Likewise.  Don't prototype set_fatal_function.
6502
6503 2000-07-20  Geoff Keating  <geoffk@cygnus.com>
6504
6505         * config/rs6000/aix43.h (CPP_SPEC): Define __LONG_MAX__ correctly
6506         in 64-bit mode.
6507         * glimits.h: Don't do #if defined for ARCH_PPC.
6508
6509         * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): All
6510         constants of size no larger than a pointer should go in the TOC.
6511         Add 'MODE' parameter.
6512         (LEGITIMIZE_RELOAD_ADDRESS): Add MODE parameter to
6513         ASM_OUTPUT_SPECIAL_POOL_ENTRY_P.
6514         (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Likewise.
6515         * config/rs6000/aix.h (SELECT_RTX_SECTION): Likewise.
6516         * config/rs6000/netware.h (SELECT_RTX_SECTION): Likewise.
6517         * config/rs6000/rs6000.c (constant_pool_expr_1): Likewise.
6518         (rs6000_legitimize_address): Likewise.
6519         (rs6000_emit_move): Likewise.
6520         (rs6000_select_rtx_section): Likewise.
6521         (output_toc): Deal properly with outputting small constants like
6522         HImode, and SFmode in 32-bit mode, and DFmode in 64-bit mode.
6523         * config/rs6000/sysv4.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Add
6524         MODE parameter.  Put small constants in the TOC.
6525
6526         * config/rs6000/rs6000.c (easy_fp_constant_p): All constants are
6527         easy in SImode.
6528         (rs6000_emit_move): When reload calls us with an illegitimate
6529         address, exit early.  Move the change_address calls to one place
6530         at the end of the routine.  Merge the SImode and DImode expanders.
6531         When called by reload to put an integer into a FP register, force
6532         it to memory.
6533
6534         * config/rs6000/rs6000.c (struct toc_hash_struct): Add 'key_mode'
6535         field.
6536         (rs6000_hash_constant): Hash mode too.
6537         (toc_hash_function): Allow for key_mode.
6538         (toc_hash_eq): Structures are different if key_mode differs.
6539         (output_toc): Add 'mode' parameter.  Save key_mode.
6540         * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY):
6541         Pass 'mode' parameter.
6542         * config/rs6000/rs6000-protos.h (output_toc): Add 'mode' param.
6543
6544         * config/rs6000/rs6000.c (output_toc): Use RS6000_OUTPUT_BASENAME
6545         for vtable references.
6546
6547         * config/rs6000/rs6000.h (PREFERRED_RELOAD_CLASS): If we have a
6548         choice, don't put integer values in FP regs.
6549
6550 Thu Jul 20 18:13:52 2000  Jeffrey A Law  (law@cygnus.com)
6551
6552         * flow.c (verify_flow_info): Revamp code to verify that the
6553         head and end of each basic block are in the insn chain.
6554
6555 Thu Jul 20 18:02:35 2000  Michael Matz <matzmich@cs.tu-berlin.de>
6556
6557         * gcse.c (record_one_set): Prepend instead of append onto
6558         reg_set_table, making it O(n) instead O(n^2).
6559         * lcm.c (compute_antinout_edge,compute_laterin,compute_available):
6560         Use a queue instead of a stack as worklist.
6561
6562 2000-07-20  Kazu Hirata  <kazu@hxi.com>
6563
6564         * h8300.c (two_insn_adds_subs_operand): Fix a typo.
6565         * h8300.h (OK_FOR_T): New.
6566         (EXTRA_CONSTRAINT): Support OK_FOR_T.
6567         * h8300.md: Use inc/dec.[wl] for increment/decrement
6568         by 1 and 2 in HI and SI modes.
6569
6570 2000-07-20  Jim Wilson  <wilson@cygnus.com>
6571
6572         * config/ia64/ia64.h (ASM_OUTPUT_MI_THUNK): Handle DELTA values
6573         larger than 14 bits.
6574
6575 2000-07-20  Zack Weinberg  <zack@wolery.cumb.org>
6576
6577         * cppmacro.c (CAN_PASTE_AFTER): New macro.
6578         (count_params): Don't set GNU_REST_ARGS on anything.
6579         (save_expansion): Set PASTE_LEFT only on tokens for which
6580         CAN_PASTE_AFTER is true, or which are named operators.
6581
6582         * cpplex.c (parse_args): Distinguish between a rest argument
6583         given one empty argument, and a rest argument given zero arguments.
6584         (maybe_paste_with_next): Look for VOID_REST tag, and trigger
6585         deletion of previous token based on that.
6586         (get_raw_token): Flatten some control structure.
6587
6588         * cpplib.h (CPP_LAST_EQ): Correct.
6589         (VOID_REST): New token flag.
6590         (GNU_REST_ARGS): Delete.
6591
6592         * tradcpp.c (main): Don't munge -D options.
6593         (make_definition): Bring -D handling in line with cpplib.
6594         (do_define): Strip all leading whitespace from macro definitions.
6595
6596 2000-07-20  David Billinghurst <David.Billinghurst@riotinto.com.au>
6597
6598         * Makefile.in (tradcpp): Depend on intl.o and version.o.
6599
6600 2000-07-20  Bruce Korb  <bkorb@gnu.org>
6601
6602         * fixincl/check.tpl: strip the platform specific types before testing
6603         * fixincl/fixfixes.c(gnu_type_fix): use platform specific types
6604         * fixincl/fixincl.tpl: use platform specific types
6605         * fixincl/fixlib.h: include the platform specific types
6606         * fixincl/inclhack.def(gnu_types): don't supply the types
6607         * fixincl/fixincl.x: regen
6608
6609 2000-07-19  Jim Wilson  <wilson@cygnus.com>
6610
6611         * config/ia64/ia64.h (HARD_REGNO_MODE_OK): Don't allow XFmode in
6612         GR_REGS.
6613
6614 2000-07-19  Zack Weinberg  <zack@wolery.cumb.org>
6615
6616         * tradcpp.c (rescan): Do not recognize directives when the #
6617         is indented.
6618
6619 2000-07-19  Zack Weinberg  <zack@wolery.cumb.org>
6620
6621         Implement C++ named operators.
6622
6623         * cpplib.h (TTYPE_TABLE): Move CPP_MIN and CPP_MAX into block
6624         of operators allowed in #if and having an _EQ variant.  Add
6625         CPP_MIN_EQ, CPP_MAX_EQ, and CPP_DEFINED.
6626         (cpp_token flags): Add NAMED_OP.
6627         (enum node_type): Add T_OPERATOR.
6628         (struct cpp_hashnode): Add code slot to value union.
6629         * cpphash.h (spec_nodes): Remove n_defined.
6630
6631         * cpplex.c (lex_line): Convert T_OPERATOR nodes to their proper types.
6632         (spell_token, can_paste, maybe_paste_with_next): Handle named operators.
6633         (is_macro_disabled): Tweak error messages.
6634
6635         * cpplib.c (get_define_node): Disallow all named operators as
6636         macro names.  Tweak error messages.
6637         (_cpp_init_stacks): Don't set up spec_nodes->n_defined.
6638
6639         * cppinit.c (builtin_array): Add entries for the named operators.
6640         * cppexp.c (lex): Check for CPP_DEFINED token.
6641         (priority table): Add entries for CPP_MIN and CPP_MAX.
6642         (_cpp_parse_expr): Handle CPP_MIN and CPP_MAX.
6643
6644 2000-07-19  Bernd Schmidt  <bernds@cygnus.co.uk>
6645
6646         * gcse.c (INSN_CUID): If ENABLE_CHECKING, abort if the uid is
6647         larger than the array of cuids.
6648         (alloc_gcse_mem): Use uid_cuid rather than INSN_CUID when computing
6649         cuids.
6650
6651 2000-07-19  Bruce Korb  <bkorb@gnu.org>
6652
6653         * fixinc/fixincl.c:  Convert to using a table of environment variables
6654         and activate the auto-edit marker on the fixed output files.
6655         * fixinc/fixlib.h:  Define the environment table
6656         * fixinc/fixincl.sh: export the ${INPUT} dir
6657         * fixinc/check.tpl: likewise
6658
6659 2000-07-18  Zack Weinberg  <zack@wolery.cumb.org>
6660
6661         * gcc.c (.h spec): Fix typo.
6662
6663 Wed Jul 19 01:22:15 CEST 2000  Marc Espie  <espie@cvs.openbsd.org>
6664
6665         * Makefile.in: Fix tradcif.c path.
6666
6667 2000-07-18  Zack Weinberg  <zack@wolery.cumb.org>
6668
6669         * cpplib.h (TTYPE_TABLE): Rearrange to use only two per-entry
6670           macros, not five.
6671
6672         * cpphash.h (TOKEN_NAME): New macro.
6673         (_cpp_spell_operator): Deleted.
6674         (token_spellings): Now _cpp_token_spellings.
6675
6676         * cppexp.c: Use TOKEN_NAME or TYPE_NAME, not _cpp_spell_operator.
6677         * cpplex.c: Use OP and TK macros when expanding the
6678         TTYPE_TABLE.  Eliminate token_names.  For non-OPERATOR tokens,
6679         store the stringification of the enumeration name (CPP_CHAR,
6680         etc.) in the name slot of token_spellings.
6681         Use TOKEN_NAME and/or TOKEN_SPELL, do not reference
6682         token_spellings directly.
6683         * cpplib.c: Use TOKEN_SPELL.
6684
6685         * cpplex.c (_cpp_push_token): If the token being pushed back
6686         is the previous token in this context, just subtract one from
6687         context->posn.
6688         * cppmacro.c (save_expansion): Clear aux field when storing a
6689         placemarker.
6690
6691 2000-07-18  Jakub Jelinek  <jakub@redhat.com>
6692
6693         * cpplex.c (cpp_scan_buffer): Output line command even at the stop
6694         buffer, provided it is not NULL.
6695
6696 2000-07-18  Alexandre Oliva  <aoliva@redhat.com>
6697
6698         * c-decl.c (duplicate_decls): Do not call make_var_volatile() in
6699         case of invalid volatile re-declaration.
6700
6701 2000-07-18  Jakub Jelinek  <jakub@redhat.com>
6702
6703         * calls.c (store_arg): Return non-zero if sibcall_failure is desired.
6704         (expand_call): Adjust caller.
6705
6706 2000-07-17  Gabriel Dos Reis  <gdr@codesourcery.com>
6707
6708         * diagnostic.h (report_diagnostic): Change prototype.
6709
6710         * diagnostic.c (output_do_verbatim, diagnostic_for_asm,
6711         diagnostic_for_decl):  Change prototype.
6712         (error_with_decl, warning_with_decl, pedwarn_with_decl, warning,
6713         error, warning, error_with_file_and_line,
6714         warning_with_file_and_line, pedwarn_with_file_and_line, fatal):
6715         Adjust call to report_diagnostic, diagnostic_for_decl.
6716         (error_for_asm, warning_for_asm): Adjust call to diagnostic_for_asm.
6717         (output_verbatim, verbatim): Adjust call to output_do_verbatim.
6718
6719         * c-errors.c (pedwarn_c99): Adjust call to report_diagnostic. End
6720         varaible argument list.
6721
6722 2000-07-17  Zack Weinberg  <zack@wolery.cumb.org>
6723
6724         * cpphash.c: Don't include hashtab.h.  Most macro-handling code
6725         moved to cppmacro.c.
6726         (hash_HASHNODE, eq_HASHNODE, _cpp_dump_macro_hash,
6727         dump_hash_helper): Delete.
6728         (expand_hash, higher_prime_number, _cpp_lookup_with_hash,
6729         cpp_forall_identifiers): New. Implement specialized version of
6730         Vlad's expandable hash table.
6731         (cpp_lookup): Use new functions.
6732         (_cpp_init_macros, _cpp_cleanup_macros): Adjust for new
6733         implementation.
6734         * cppmacro.c: New file.
6735         * cppinit.c (dump_macros_helper): New.
6736         (cpp_finish): Iterate over the identifier table directly.
6737         * cpplex.c (parse_name): Calculate the hash of the identifier
6738         while we scan it.  Use _cpp_lookup_with_hash when we can.
6739
6740         * cpphash.h: Update prototypes.
6741         (xcnewvec, HASHSTEP): New helper macros.
6742         * cpplib.h: Update prototypes.
6743         * Makefile.in (LIBCPP_OBJS): Add cppmacro.o.
6744         (cppmacro.o): New rule.
6745         (cpphash.o): Update deps.
6746
6747         * cppmain.c: Do not set pfile->printer if no_output is on.
6748
6749 2000-07-15  Neil Booth  <neilb@earthling.net>
6750
6751         * cpplib.c: Change all directive-handler functions to return
6752         void, not int.
6753         * cpphash.h: Update typedefs.
6754
6755 2000-07-17  Geoffrey Keating  <geoffk@cygnus.com>
6756
6757         * configure: Regenerate.
6758
6759         * extend.texi (Extended Asm): Mention that a memory clobber
6760         does not count as a side-effect.
6761
6762         * unroll.c (copy_loop_body): Fix one instance of using host
6763         arithmetic on the target; fixes loop-4 on a 32-bit -> 64-bit
6764         cross-compile.
6765
6766         * tlink.c (scan_linker_output): Tweak for output of AIX ld.
6767
6768 2000-07-17  Richard Henderson  <rth@cygnus.com>
6769
6770         * config/ia64/ia64.md (movdi): Split out load address code.
6771         New post-reload splitter for symbolic operands.
6772         (movdi_internal): Abort if we didn't split symbolic operands
6773         when we should have.
6774         * config/ia64/ia64.c (ia64_expand_load_address): New, from movdi bits.
6775         (ia64_reorg): Split insns when not optimizing.
6776         * config/ia64/ia64-protos.h (ia64_expand_load_address): Declare.
6777
6778 Mon Jul 17 23:43:26 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6779
6780         * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Use LONG_DOUBLE_TYPE_SIZE
6781         instead of MAX_LONG_DOUBLE_TYPE_SIZE to decide output format.
6782
6783 2000-07-17  Chandrakala Chavva   <cchavva@cygnus.com>
6784
6785         * loop.c (check_dbra_loop) : Changed loop_continue to loop->cont.
6786
6787 2000-07-17  Jason Merrill  <jason@redhat.com>
6788
6789         * Makefile.in (clean): Remove libgcc directory.
6790
6791         * configure.in (-Wno-long-long check): Use higher-level macros.
6792
6793 2000-07-17  Zack Weinberg  <zack@wolery.cumb.org>
6794
6795         * simplify-rtx.c (simplify_binary_operation): Recognize
6796            (compare (gt[u] (cc) 0) (lt[u] (cc) 0)).
6797         (simplify_ternary_operation):  Do not examine MODE_BITSIZE of
6798            a CONST_INT, it will always be zero.
6799
6800 2000-07-17  Chandrakala Chavva   <cchavva@cygnus.com>
6801
6802         * loop.c (check_dbra_loop) : Return if more than one condition is
6803         present to control the loop.
6804
6805 Mon Jul 17 08:26:35 2000  Clinton Popetz  <cpopetz@cygnus.com>
6806
6807         * mips.c (mips_expand_prologue): Don't calculate the last argument
6808         register unless we need it.  When we are calculating this, make
6809         sure FUNCTION_ARG is giving us a REG.
6810
6811 2000-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
6812
6813         * flow.c (libcall_dead_p): Use single_set to verify the insn
6814         has only one set and get for analysis.
6815         (propagate_one_insn): Don't pass the PATTERN of the insn.
6816
6817 2000-07-17  Mark Klein <mklein@dis.com>
6818
6819          * pa.c (emit_hpdiv_const): Update to match new pattern for udivsi3.
6820
6821 2000-07-17  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
6822
6823         * Makefile.in (TARGET_GETGROUPS_T): New configuration variable.
6824         * configure.in (TARGET_GETGROUPS_T): Evaluate.
6825         * sys-protos.h (getgroups): Use TARGET_GETGROUPS_T for array type
6826         of second argument of getgroups.
6827         * configure, config.in: Rebuilt.
6828
6829 2000-07-17  Geoffrey Keating  <geoffk@cygnus.com>
6830
6831         * simplify-rtx.c (simplify_relational_operation): Two signed
6832         values with equal high words are less/greater than each other if
6833         their low words are less/greater when considered as unsigned.
6834
6835 Mon Jul 17 02:37:06 2000  Marc Espie <espie@openbsd.org>
6836
6837         * configure.in (vax-*-openbsd):  Change to new style configuration,
6838         add collect2/float_format information.
6839         * configure:  Rebuilt.
6840         * config/vax/openbsd1.h:  New.
6841         * config/vax/openbsd.h:  New.
6842         * config/vax/t-openbsd:  New.
6843
6844 2000-07-17  Chip Salzenberg  <chip@valinux.com>
6845
6846         * c-common.c (shorten_compare): Quiet warnings about unsigned
6847         comparisons with zero when they occur in a system header.
6848
6849 2000-07-17  Joseph S. Myers  <jsm28@cam.ac.uk>
6850
6851         * invoke.texi (-pedantic): Refer to ISO C instead of ANSI C, and
6852         update to describe current practice.
6853
6854         * glimits.h (LLONG_MIN, LLONG_MAX, ULLONG_MAX): Define for C99.
6855
6856         * contrib.texi, cpp.texi, extend.texi, invoke.texi: Update
6857         references to C9X.  Change references to -fstd and -flang-isoc9x
6858         to refer to -std.
6859
6860         * c-common.c (scan_char_table): Allow "z" length modifiers on
6861         diouxXn formats.
6862         (check_format_info): Use TYPE_DOMAIN on the type matched against
6863         for "z" formats, to retrieve the language size_t rather than the
6864         internal one.
6865
6866         * c-common.c (check_format_info): Do not make a pedantic objection
6867         to the 'L' length modifier if used with a floating point type
6868         character.
6869
6870         * c-lex.c (yylex): Don't pedwarn for hexadecimal floating point
6871         constants in C99 mode.
6872
6873 2000-07-17  Kazu Hirata  <kazu@hxi.com>
6874
6875         * h8300.md: Fix the format of mac.
6876         (movsi_h8300hs): Output a tab after stmac instead of a space.
6877
6878         * h8300.c (two_insn_adds_subs_operand): Improve code for detecting
6879         profitable adds/subs sequences.
6880
6881         * fold-const.c: Fix comment typos.
6882
6883 2000-07-16  Laurynas Biveinis  <lauras@softhome.net>
6884
6885         * cppfiles.c (read_name_map): Set map_list_ptr->map_list_map to NULL.
6886
6887 2000-07-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6888
6889         * fixinc/fixfixes.c (emit_gnu_type): Avoid string concatenation.
6890
6891 2000-07-16  Neil Booth  <NeilB@earthling.net>
6892
6893         * cpplex.c: Update comments.
6894         * README.Portability: Small update.
6895
6896 2000-07-16  Neil Booth  <NeilB@earthling.net>
6897
6898         * README.Portability:  Small update.
6899
6900 2000-07-15  Richard Henderson  <rth@cygnus.com>
6901
6902         * config/ia64/ia64-protos.h (ia64_move_ok): Prototype.
6903         * config/ia64/ia64.c (ia64_move_ok): New function.
6904         * config/ia64/ia64.md (movqi, movqi_internal): Use it.
6905         (movhi, movsi, movdi, movsf, movdf, movxf): Likewise.
6906
6907 2000-07-15  Zack Weinberg  <zack@wolery.cumb.org>
6908
6909         * cpphash.c (save_expansion): Clear PREV_WHITE on tokens
6910         immediately following a paste operator.
6911         * cppinit.c (sort_options): New function (only for HOST_EBCDIC).
6912         (cpp_reader_init): Call it, if HOST_EBCDIC.
6913         (cpp_handle_options): Do not sort option list here.
6914         (handle_option): Rename to cpp_handle_option and export.
6915         * cpplex.c (cpp_scan_buffer_nooutput, cpp_scan_buffer): Use
6916         _cpp_get_token directly.
6917         (cpp_scan_line): Return 0 at EOF, 1 otherwise.
6918         * cpplib.c (cpp_push_buffer): Don't set new->lineno to 1.
6919         * cpplib.h: Prototype cpp_handle_option.  Update prototype of
6920         cpp_scan_line.
6921
6922 2000-07-15  Richard Henderson  <rth@cygnus.com>
6923
6924         * fold-const.c (extract_muldiv): Don't optimize past an unsigned
6925         cast around an expression.  Tidy other unsigned tests.
6926
6927 2000-07-15  Gabriel Dos Reis  <gdr@codesourcery.com>
6928
6929         * diagnostic.c (doing_line_wrapping, line_wrapper_printf, notice,
6930         v_error_with_decl, v_warning_with_decl, v_pedwarn_with_decl): Remove.
6931         (v_message_with_decl): Rename to ...
6932         (format_with_decl): ... this. Tweak
6933         (diagnostic_for_decl): New function.
6934         (fatal_io_error): Use verbatim in lieu of notice.
6935         (announce_function): Use verbatim.
6936         (default_print_error_function): Likewise.
6937         (error_with_decl, warning_with_decl, pedwarn_with_decl): Use new
6938         infratructure.
6939
6940 2000-07-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6941
6942         * mips.c (function_arg_pass_by_reference): Don't do automatic
6943         aggregate initialization.
6944         (machine_dependent_reorg): Initialize variable `mode'.
6945
6946         * mips.md (absdi2): Change variable `regno1' to unsigned int.
6947         (reload_indi): Rename loword/hiword to lo_word/hi_word to avoid
6948         conflicts with sys/param.h macro of the same name.
6949         (reload_outdi): Likewise.
6950
6951 2000-07-15  Michael Meissner  <meissner@redhat.com>
6952
6953         * fold-const.c (fold): When optimizing FOO++ == CONST into ++FOO
6954         == CONST + INCREMENT, don't overwrite the tree node for FOO++,
6955         create a new node instead.
6956
6957 2000-07-15  Neil Booth  <NeilB@earthling.net>
6958
6959         * README.Portability: Correct example about calling a function
6960         through a pointer to function.  Format wide paragraphs.
6961
6962 2000-07-15  Michael Meissner  <meissner@redhat.com>
6963
6964         * README.Portability: Update integer suffixes and function
6965         prototype sections.
6966
6967 2000-07-15  Neil Booth  <NeilB@earthling.net>
6968
6969         * README.Portability: Small update.
6970
6971 2000-07-15  Neil Booth  <NeilB@earthling.net>
6972
6973         * README.Portability: New file.
6974
6975 Fri Jul 14 18:13:53 2000  Mark P Mitchell  <mark@codesourcery.com>
6976
6977         * INSTALL: Give special instructions for building GCC on Irix 6.
6978         * config/mips/x-iris6 (CC): Don't set it.
6979         (OLDCC): Likewise.
6980
6981 2000-07-14  Jason Merrill  <jason@redhat.com>
6982
6983         * dwarf2out.c (dwarf2out_frame_debug_expr): If we store the CFA
6984         register in the stack and later in another register, use the new
6985         register.
6986
6987 Fri Jul 14 10:25:53 2000  Clinton Popetz  <cpopetz@cygnus.com>
6988
6989         * config/mips/mips.md: (absdi2): Handle sign_extend for
6990         second operand.
6991
6992 2000-07-14  Nathan Sidwell  <nathan@codesourcery.com>
6993
6994         * cpplib.c (do_pragma_dependency): Tidy warning messages.
6995
6996 2000-07-14  Zack Weinberg  <zack@wolery.cumb.org>
6997
6998         * .cvsignore: Correct typo.
6999
7000 2000-07-13  Mark Mitchell  <mark@codesourcery.com>
7001
7002         * .cvsignore: Add generated YACC files.
7003         * objc/.cvsignore: New file.
7004
7005 2000-07-14  Neil Booth  <NeilB@earthling.net>
7006
7007         * cpplex.c (adjust_column): New funcion.
7008         (skip_whitespace): Use it.
7009         (skip_block_comment): Use it, and warn about /*/* with
7010         -Wcomments.
7011
7012 2000-07-14  Neil Booth  <NeilB@earthling.net>
7013
7014         * cpphash.c (struct macro_info): Add new members.
7015         (_cpp_free_definition): Delete the macro directly.
7016         (count_params): Return void, with first token of
7017         expansion in struct macro_info on success.
7018         (parse_define): Return int.  Hoist syntax checking from
7019         save_macro_expansion.  Leave call to save_expansion to
7020         _cpp_create_definition.
7021         (alloc_macro): Needs just 2 arguments.
7022         (free_macro): Delete.
7023         (save_expansion): Don't perform syntax check.
7024         (_cpp_create_definition): Call save_expansion.
7025
7026 2000-07-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7027
7028         * genrecog.c (write_header): Split long string.
7029
7030         * cpphash.c (macro_info): Don't use the `signed' keyword.
7031
7032         * system.h (alloca): Prototype if __GNUC__ && __SIZE_TYPE__.
7033
7034 2000-07-13  Jakub Jelinek  <jakub@redhat.com>
7035
7036         * calls.c (stored_args_map): New variable.
7037         (check_sibcall_argument_overlap_1): New.
7038         (check_sibcall_argument_overlap): New.
7039         (expand_call): Initialize stored_args_map.
7040         Call check_sibcall_argument_overlap.
7041
7042 2000-07-13  Bruce Korb  <bkorb@gnu.org>
7043
7044         * fixinc/fixfixes.c: move EXIT_BROKEN to header, add sub-expr max count
7045         (emit_gnu_type): utility procedure for gnu_type_fix
7046         (gnu_type_fix): implement various pre-processor guards around
7047         standard types so these types can be defined over and over
7048         * fixinc/fixincl.tpl: add a "gnu_type_map" that forces the standard
7049         types alluded to above will have GNU-compliant base types
7050         * fixinc/fixlib.h: add EXIT_BROKEN define and the gnu_type_map struct
7051         * fixinc/inclhack.def: add test_text entries and utilize the new
7052         "gnu_types" fix for the ptrdiff_t, size_t and wchar_t types.
7053         * fixinc/fixincl.x: regenerate
7054
7055 2000-07-12  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
7056
7057         * diagnostic.c (vline_wrapper_message_with_location,
7058         v_message_with_file_and_line, v_error_with_file_and_file,
7059         v_error_for_asm, v_warning_for_asm, vfatal,
7060         v_warning_with_file_and_line, v_pedwarn_with_file_and_line,
7061         vsorry, verror, vwarning, vpedwarn): Remove.
7062         (diagnostic_for_asm): New function.
7063         (pedwarn, error, warning, pedwarn_with_file_and_line,
7064         error_with_file_and_line, warning_with_file_and_line, sorry,
7065         error_for_asm, warning_for_asm, fatal): Reimplement.
7066         (finish_diagnostic): Clear diagnostic info as well.
7067
7068 2000-07-13  Neil Booth  <NeilB@earthling.net>
7069
7070         * c-common.h (flag_digraphs): New.
7071         * c-decl.c (c_decode_option): Set flag_digraphs as appropriate.
7072         * c-lex.c (yylex): Use flag_digraphs to decide whether to
7073         honour digraphs.
7074
7075 2000-07-13  Zack Weinberg  <zack@wolery.cumb.org>
7076
7077         * gcc.c (do_spec_1): Add new %B operator.
7078         (set_input): Prepare for %B.
7079
7080         (link_command_spec): Move up with the other tm.h-
7081         overrideable specs.  Factor out the portion conditional on
7082         LINK_LIBGCC_SPECIAL into a new spec, %(link_libgcc).
7083         (struct compiler): Just have a single spec string.  All users
7084         updated.
7085         (default_compilers): Remove unnecessary braces.
7086         (static_specs): Update.
7087
7088         (trad_capable_cpp, cpp_options, cc1_options, asm_options): New
7089         named specs.
7090         (C and assembly specs): Use the new named specs, as appropriate.
7091
7092         * objc/lang-specs.h: Use the new named specs.
7093         Remove unnecessary braces.
7094
7095 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
7096
7097         * gcc.c (execute): If a subprocess gets a fatal signal, report
7098         strsignal() of the signal number, and ask for a bug report.
7099         Do not do this for SIGPIPE if there's already been an error.
7100
7101         * tradcpp.c: Don't include signal.h.  Don't catch SIGPIPE.
7102         Delete pipe_closed.
7103
7104         * tradcif.c: Remove.
7105
7106 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
7107
7108         * final.c (profile_function): Do not emit profile counters in
7109         the data section, if NO_PROFILE_COUNTERS is defined.
7110         * tm.texi: Document NO_PROFILE_COUNTERS.  Update doc for
7111         FUNCTION_PROFILER.
7112
7113         * config/i386/linux.h (NO_PROFILE_COUNTERS): Define.
7114         (FUNCTION_PROFILER): Just emit a call to mcount.
7115
7116 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
7117
7118         * tradcpp.c (main): Rename 'perror' label to 'sys_error'.
7119
7120         * cppexp.c, cpphash.c, cpphash.h, cppinit.c, cpplex.c,
7121         cpplib.c, cpplib.h: Eradicate all traces of code dependent on
7122         traditional, lang_chill, or lang_fortran.
7123
7124         * cppfiles.c: #undef strcmp to suppress warning about macros
7125         used without arguments.
7126         (_cpp_execute_include): Use f, not fname, in "No include path"
7127         error.
7128         (_cpp_pop_file_buffer): New function.
7129         * cpplib.c: Don't include <sys/mman.h>.
7130         (cpp_push_buffer): Set line_base and lineno in new buffer.
7131         (cpp_pop_buffer): Use _cpp_pop_file_buffer.
7132
7133         * cpplex.c: Move all prototypes and structure declarations to the
7134         top of the file.  Properly parenthesise some macro arguments.
7135         (cpp_scan_line): New function.
7136         (special_symbol [case T_INCLUDE_DEPTH]): Use pfile->include_depth,
7137         don't need to walk up the stack counting.
7138
7139 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7140
7141         * c-common.c (combine_strings): Emit a pedantic warning when a
7142         string length is greater than the minimum ANSI C is required
7143         to support.
7144
7145 Wed Jul 12 13:24:30 2000  Jeffrey A Law  (law@cygnus.com)
7146
7147         * pa/xm-pa64.h (NO_SYS_SIGLIST): Kill.
7148         * d30v/xm-d30v.h (NO_SYS_SIGLIST): Kill.
7149
7150 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7151
7152         * c-decl.c (define_label): Warn about identifier conflicts with
7153         labels in traditional C.
7154
7155         * c-parse.in (unop +): Warn about the unary plus operator for
7156         traditional C.
7157
7158         * c-typeck.c (store_init_value): Warn about automatic aggregate
7159         initialization for traditional C.
7160
7161         * invoke.texi (-Wtraditional): Document new warnings.
7162
7163 2000-07-12  Gabriel Dos Reis  <gdr@codesourcery.com>
7164
7165         * Makefile.in (c-errors.o): Fix thinko in dependency.
7166
7167 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
7168
7169         * gcc.c (C specs [!USE_CPPLIB]): Invoke tradcpp if any of
7170         -traditional, -ftraditional, or -traditional-cpp was given.
7171         Do not pass -traditional to the preprocessor.
7172         (.S spec): Likewise.  Don't bother defining __ASSEMBLER__, the
7173         preprocessor does it automatically.
7174         * objc/lang-specs.h: Likewise.  Don't bother defining __OBJC__.
7175
7176         * ch/lang-specs.h: Always use tradcpp.  Do not pass
7177         -traditional, -trigraphs, or -pedantic to the preprocessor.
7178         * f/lang-specs.h (.F spec): Likewise.  Don't bother defining
7179         _LANGUAGE_FORTRAN.
7180
7181 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
7182
7183         * cppexp.c (LOGICAL): Delete macro.
7184         (_cpp_parse_expr): Do not use UNARY for unary +.  Implement ||
7185         and && directly.
7186
7187         * cpphash.c (HASHSIZE): Increase to 4096.
7188         (struct hashdummy): Add hash field.
7189         (eq_HASHNODE): Compare unreduced hashes, then lengths, then
7190         the string values using memcmp.
7191         (cpp_lookup): Set dummy.hash.
7192
7193 Wed Jul 12 13:15:16 2000  Marc Espie <espie@openbsd.org>
7194
7195         * configure.in (m88k-openbsd): Express configuration using new fragment
7196         style.
7197         * configure: Rebuilt.
7198         * m88k/aout-dbx.h: New.
7199         * m88k/openbsd.h: New.
7200         * m88k/xm-openbsd.h: New.
7201
7202 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7203
7204         * expr.c (expand_expr): Return const0_rtx, not error_mark_node.
7205
7206 2000-07-12  Richard Henderson  <rth@cygnus.com>
7207
7208         * reload.c (push_secondary_reload): Make sure to add the new
7209         reload at the end, after acquiring secondary memory.
7210
7211 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7212
7213         * cpplex.c (is_macro_disabled): Use CPP_WTRADITIONAL.
7214
7215         * c-decl.c (set_current_function_name_declared, anon_aggr_type_p,
7216         lang_expand_stmt): Mark parameters with ATTRIBUTE_UNUSED.
7217
7218         * c-parse.in (stmt): Delete unused variables.
7219
7220         * convert.c (convert_to_vector): Likewise.
7221
7222         * gensupport.c (process_rtx): Declare attr as `rtvec' not `rtx'.
7223
7224         * tree.c (finish_vector_type): Prototype.
7225
7226 2000-07-12  Bruce Korb  <bkorb@gnu.org>
7227
7228         * fixinc/fixfixes.c: use xmalloc
7229         * fixinc/fixincl.c(initialize): set program name for xmalloc
7230         * fixinc/fixlib.c(must_malloc): obsolete
7231         (is_cxx_header): no longer used - disabled
7232         (skip_quote): inserted and disabled for future use
7233         * fixinc/fixlib.h: reflects above
7234         * fixinc/fixtests.c: removed dinkleberries
7235
7236 2000-07-12  Neil Booth  <NeilB@earthling.net>
7237
7238         * cpphash.h: (TOKEN_SPELL) Pulled from cpplex.c.
7239         * cpplex.c (TOKEN_SPELL) Move to cpphash.h.
7240
7241         * cpphash.c: (struct macro_info, alloc_macro, free_macro,
7242         struct toklist_dummy): New.
7243         (cpp_free_definition): Free macros with free_macro.
7244         (count_params): Don't save paramter spellings.  Save macro
7245         information in a struct macro_info.
7246         (parse_define): Don't allocate a token list.
7247         (save_expansion): Allocate the macro's token list, and
7248         save parameter spellings if necessary.  Use TOKEN_SPELL.
7249         (cpp_create_definition): Make list const.
7250
7251 2000-07-12  Gabriel Dos Reis  <gdr@codesourcery.com>
7252
7253         * c-typeck.c (pedwarn_c99): Move to
7254         * c-errors.c: ... Here.
7255         * toplev.h (verror, vwarning, vpedwarn): Remove prototypes.
7256         * diagnostic.c (verror, vwarning, vpedwarn): Make static.
7257         * Makefile.in (C_AND_OBJC_OBJS): Include c-errors.o
7258         (c-errors.o): List dependency.
7259
7260 2000-07-12  Mark Mitchell  <mark@codesourcery.com>
7261
7262         * c-parse.c: Remove.
7263         * c-parse.h: Likewise.
7264         * c-parse.y: Likewise.
7265         * objc/objc-parse.c: Likewise.
7266         * objc/objc-pasre.y: Likewise.
7267
7268 2000-07-11  Rodney Brown  <RodneyBrown@pmsc.com>
7269
7270         * gcc.texi: Fix minor typos
7271         * extend.texi: Fix minor typos
7272
7273 2000-07-11  Marc Espie <espie@openbsd.org>
7274
7275         * collect2.c (main): Recognize .lo as object files.
7276
7277 2000-07-11  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
7278
7279         * pa.c (hppa_encode_label): Store labels in gc memory when ggc_p is
7280         true.
7281
7282         * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Extend test to detect systems
7283         with MAP_ANONYMOUS and MAP_ANON.
7284         * configure, config.in: Rebuilt.
7285
7286 2000-07-12  Gabriel Dos Reis  <gdr@codesourcery.com>
7287
7288         * diagnostic.c (save_output_state): Remove.
7289         (restore_output_state): Likewise.
7290         (clear_text_info): New function.
7291         (clear_diagnostic_info): Likewise.
7292         (output_text_length, is_starting_newline, output_prefix,
7293         line_wrap_cutoff, ideal_line_wrap_cutoff, prefix_was_emitted_for,
7294         prefixing_policy, output_buffer_ptr_to_format_args): New macros
7295         (set_real_maximum_length, output_set_maximum_length,
7296         output_set_prefix, output_get_prefix, output_set_maximum_length,
7297         output_destroy_prefix, init_output_buffer,
7298         reshape_diagnostic_buffer, output_space_left, output_emit_prefix,
7299         output_add_newline, output_add_character, output_add_space,
7300         output_append_r, output_append, wrap_text, output_format,
7301         output_do_printf, output_printf, output_do_verbatim,
7302         output_verbatim, verbatim): Use them.
7303         (output_clear): Split into cleat_text_info and
7304         clear_diagnostic_info.
7305         (struct output_state): Move to...
7306
7307         * diagnostic.h: ...Here
7308         (struct output_buffer): Adjust.
7309
7310 2000-07-11  Zack Weinberg  <zack@wolery.cumb.org>
7311
7312         * cpplex.c (parse_name): No longer inline (premature optimization).
7313         (do_pop_context): Fold into pop_context.
7314         (pop_context): Returns int.
7315         (lex_next): Hoist test for end of directive into pop_context.
7316         (push_macro_context): Returns int; takes just reader and token.
7317         Hoist test for excessive nesting to caller.
7318         (push_arg_context): Returns void; takes just reader and token.
7319         Do not call stringify_arg or get_raw_token.
7320         (get_raw_token): Convert tail recursion through push_arg_context
7321         to a loop at this level.  Call stringify_arg here if appropriate.
7322         (maybe_paste_with_next): Convert tail recursion to a while loop.
7323         Hoist test of paste_level to caller.
7324
7325         (stringify_arg): Push arg context at beginning.
7326         (cpp_get_token): Split out core into _cpp_get_token.  Call
7327         process_directive here.  Throw away CPP_PLACEMARKER tokens.
7328         (_cpp_get_token): Convert tail recursion through
7329         push_macro_context to a loop at this level.
7330         (_cpp_glue_header_name, is_macro_disabled, stringify_arg,
7331         _cpp_get_raw_token): Use _cpp_get_token.
7332         (_cpp_skip_rest_of_line): Drop the context stack directly; do
7333         not call pop_context.
7334         (_cpp_run_directive): Call lex_next directly.
7335
7336         * cpphash.h: Prototype _cpp_get_token.
7337         * cppexp.c (lex): Use it.
7338         * cpphash.c (parse_define): Use it.
7339         * cpplib.c (get_define_node, do_undef, parse_include,
7340         read_line_number, do_line, do_ident, do_pragma, do_pragma_gcc,
7341         do_pragma_implementation, do_pragma_poison, do_pragma_dependency,
7342         parse_ifdef, validate_else): Use it.
7343         (cpp_push_buffer): Tweak error message; abort if anyone tries
7344         to push a buffer while macro expansions are stacked.
7345
7346 2000-07-11  Donn Terry  <donnte@microsoft.com>
7347
7348         * cpplex.c (free_macro_args, save_token): Cast arg of free
7349         and/or xrealloc to PTR.
7350         (_cpp_init_input_buffer): Clear all fields of the base context.
7351
7352 Tue Jul 11 15:28:21 CDT 2000  Clinton Popetz  <cpopetz@cygnus.com>
7353
7354         * gensupport.c (process_rtx): Make rtl checking stop
7355         complaining about the define_insn while it is being
7356         converted from a define_insn_and_split.
7357
7358 Tue Jul 11 16:26:17 2000  Clinton Popetz  <cpopetz@cygnus.com>
7359
7360         * config/mips/mips.c (simple_memory_operand): Access the
7361         INTVAL of the address, not it's containing MEM.
7362
7363 2000-07-11  Bruce Korb  <bkorb@gnu.org>
7364
7365         * fixinc/fixtests.c(double_slash): obsolete
7366         (else_endif_label): likewise
7367         * fixinc/inclhack.def(irix_multiline_cmnt): obsolete
7368         (libc1_ifdefd_memx): correct initial comment
7369         and omit the #if/#endif pair from the memxxx declarations
7370         * fixinc/fixincl.x: regen
7371
7372 2000-07-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7373
7374         * cpplex.c (T, I, S, C, N): Avoid non-constant initializers.
7375
7376 2000-07-11  Neil Booth  <NeilB@earthling.net>
7377
7378         * cpp.texi: Update.
7379
7380 2000-07-11  Neil Booth  <NeilB@earthling.net>
7381
7382         * cppinit.c: (cpp_reader_init): Allow digraphs by default.
7383         (handle_option): Set digraphs according to standard.
7384         Merge OPT_lang_c89 handler with OPT_std_c89.
7385
7386         * cpplex.c: (lex_line, can_paste): Honour digraphs in
7387         accordance with the digraphs flag.
7388
7389         * cpplib.h: (struct cpp_options): New option digraphs.
7390
7391 2000-07-10  Hans-Peter Nilsson  <hp@axis.com>
7392             Bruce Korb  <bkorb@gnu.org>
7393
7394         * fixinc/inclhack.def (libc1_ifdefd_memx): New fix.
7395         * fixinc/fixincl.x: Regenerate.
7396         * fixinc/tests/base/testing.h: Add testcase.
7397
7398 2000-07-10  Richard Henderson  <rth@cygnus.com>
7399
7400         * config/ia64/ia64.c (got_symbolic_operand): New.
7401         (symbolic_operand, move_operand): Revert 0701 change.
7402         * config/ia64/ia64.h (PREDICATE_CODES): Update.
7403         * config/ia64/ia64-protos.h (got_symbolic_operand): Declare.
7404         * config/ia64/ia64.md (movdi): Revert 0701 wrt symbolic_operand;
7405         split the offset into a 14-bit low part instead of a 13-bit low part.
7406         (load_fptr): Mark the mem as unchanging.
7407         (load_symptr): Use got_symbolic_operand.
7408
7409 2000-07-10  Nick Clifton  <nickc@cygnus.com>
7410
7411         * libgcc2.c (next_stack_level): Cast result of computation to
7412         (void **) so that the assignment does not generate a warning.
7413
7414 2000-07-10  Chandrakala Chavva  <cchavva@redhat.com>
7415
7416         * flags.h : Add new variable flag_single_precision_constant.
7417         * toplev.c (display_help) : Add -fsingle-precision-constant option.
7418         (flag_single_precision_constant): New.
7419         * c-lex.c (yylex): Convert floating point constant to single
7420         precision constant.
7421         * invoke.texi : Add documentation for this new option.
7422
7423 2000-07-10  Gabriel Dos Reis  <gdr@codesourcery.com>
7424
7425         * diagnostic.c (output_octal): Second parameter is unsigned.
7426         (output_long_octal): Likewise.
7427         (output_hexadecimal): Likewise.
7428         (output_long_hexadecimal): Likewise.
7429         (output_format): Adjust arguments extraction. Tweak.
7430         (output_verbatim, verbatim): End variable argument list.
7431         (report_diagnostic): Improve documentation.
7432
7433 2000-07-10  Benjamin Chelf  <chelf@codesourcery.com>
7434
7435         * c-common.h (build_stmt): Declare.
7436         (build_continue_stmt): Likewise.
7437         (build_break_stmt): Likewise.
7438         (build_return_stmt): Likewise.
7439
7440         * c-decl.c (do_case): Rewrite to do what previously done in
7441         c-parse.in.
7442
7443         * c-semantics.c (build_stmt): Define.
7444         (build_return_stmt): Likewise.
7445         (build_break_stmt): Likewise.
7446         (build_continue_stmt): Likewise.
7447         (build_case_label): Likewise.
7448
7449         * c-parse.in (BREAK): Change to build tree, then generate RTL.
7450         (CONTINUE): Likewise.
7451         (RETURN): Likewise.
7452         (CASE): Likewise.
7453         (DEFAULT): Likewise.
7454
7455         * c-parse.y: Regenerate.
7456         * c-pasre.c: Likewise.
7457
7458 2000-07-09  Jason Merrill  <jason@redhat.com>
7459
7460         * expr.c (expand_expr): Bail earlier if we get an error_mark_node.
7461
7462         * tree.h (STRIP_NOPS): Check for error_mark_node.
7463         (STRIP_SIGN_NOPS, STRIP_TYPE_NOPS): Likewise.
7464         (dwarf2out_*): Remove duplicate declarations.
7465
7466         * c-decl.c (duplicate_decls): Copy DECL_ABSTRACT_ORIGIN from
7467         DECL_ABSTRACT_ORIGIN, not DECL_ORIGIN.
7468
7469 2000-07-10  Gabriel Dos Reis  <gdr@codesourcery.com>
7470
7471         * diagnostic.c (wrap_text): New function.
7472         (maybe_wrap_text): Likewise.
7473         (output_add_string): Use it.
7474         (output_format): Likewise.
7475         (count_error): Use verbatim instead of notice.
7476         (report_error_function): Likewise. Don't use plain fprintf.
7477         (finish_diagnostic): New function.
7478         (output_do_verbatim): Tweak.  Commonalize functionalities in
7479         output_verbatim and verbatim.
7480         (output_verbatim): Adjust.
7481         (verbatim): Likewise.
7482         (report_diagnostic): Define.
7483
7484         * diagnostic.h (report_diagnostic): Prototype.
7485
7486 2000-07-09  Zack Weinberg  <zack@wolery.cumb.org>
7487
7488         * cppexp.c (_cpp_parse_expr): Don't use unary plus.
7489
7490 2000-07-09  Neil Booth  <NeilB@earthling.net>
7491
7492         * cpphash.h: ISvspace, is_vspace, is_nvspace: New.
7493         IShspace, ISspace: Update.
7494
7495         * cppinit.c: ISTABLE: Update.
7496         V: New.
7497
7498         * cpplex.c (IS_HSPACE, S_NEWLINE): Remove.
7499         (IS_DIRECTIVE): Rename KNOWN_DIRECTIVE.
7500         (skip_block_comment, skip_line_comment, parse_string,
7501         lex_line): Use is_vspace rather than IS_NEWLINE.
7502         (skip_whitespace, lex_line): Clean up to use is_nvspace.
7503         (lex_line): Use KNOWN_DIRECTIVE.  Any kind of directive
7504         gets a BOL flag.
7505         (lex_next): Unconditionally stop if within a directive.
7506         Treat directives within macro invocations as directives
7507         (after parse_args emits error), not as the argument.
7508
7509 2000-07-09  Gabriel Dos Reis  <gdr@codesourcery.com>
7510
7511         * diagnostic.c (diagnostic_args): New macro.
7512         (diagnostic_msg): Likewise.
7513         (output_formatted_integer): Likewise.
7514         (output_state): New data type.
7515         (digit_buffer): Make global.
7516         (output_add_integer): Rename to output_decimal. Squeeze
7517         digit_buffer.
7518         (output_long_decimal, output_unsigned_decimal,
7519         output_long_unsigned_decimal, output_octal, output_long_octal,
7520         output_hexadecimal, output_long_hexadecimal): New functions.
7521         (output_append_r): New function.
7522         (output_append): Tweak.
7523         (output_flush_on): Rename to output_to_stream.
7524         (output_format): Change prototype.  Improve documentation. Handle
7525         more format specifiers.
7526         (build_location_prefix): Rename to context_as_prefix.
7527         (output_notice): Rename to output_do_printf.
7528         (output_printf): Tweak.
7529         (line_wrapper_printf): Likewise.
7530         (vline_wrapper_message_with_location): Adjust call to renamed
7531         functions.
7532         (v_message_with_decl): Likewise.
7533         (default_print_error_function): Likewise.
7534         (save_output_state): New function.
7535         (restore_output_state): Likewise.
7536         (output_do_verbatim): Likewise.
7537         (output_verbatim): Define.
7538         (verbatim): Likewise.
7539
7540         * diagnostic.h (printer_fn): Change return type from void to int.
7541         Improve documentation.
7542         (output_add_integer): Rename to output_decimal.
7543         (output_flush_on, output_format): Don't export.
7544         (output_verbatim, verbatim): Declare.
7545
7546 2000-07-08  Toon Moene  <toon@moene.indiv.nluug.nl>
7547
7548         * fold-const.c (extract_muldiv) case PLUS_EXPR, MINUS_EXPR:
7549         Check whether c divides op1 exactly if operation is not
7550         multiplication.
7551
7552 2000-07-08  Richard Henderson  <rth@cygnus.com>
7553
7554         * final.c (final): Do not abort when reg-stack introduces
7555         a new insn.
7556
7557 2000-07-08  Zack Weinberg  <zack@wolery.cumb.org>
7558
7559         * cpplib.h (struct cpp_name): Now struct cpp_string.
7560         (CPP_INT, CPP_FLOAT, CPP_NUMBER, CPP_COMMENT,
7561         CPP_HEADER_NAME): Change to type S.
7562         (struct cpp_token): Rename 'name' field to 'str'.  Add 'node'
7563         field, a cpp_hashnode *.  All references to val.name updated
7564         to use val.str or val.node as appropriate.
7565         (struct cpp_reader): Add spec_nodes field.
7566         (cpp_idcmp): Now cpp_ideq; takes a token * and a char *.
7567
7568         * cpphash.h (struct spec_nodes): New.
7569         (enum spell_type): Reorder.  Only SPELL_STRING tokens use
7570         val.str.  All references to 'spelling > SPELL_NONE' updated to
7571         match.
7572
7573         (CPP_IN_SYSTEM_HEADER): Check pfile->buffer and
7574         pfile->buffer->inc are not NULL before dereferencing them.
7575
7576         * cpplex.c (parse_name): Take a pointer to the current token,
7577         plus current position and limit as args; return the new
7578         position; don't copy the text of a name into the string
7579         buffer, instead call cpp_lookup and store the node pointer.
7580         If extending a token, copy out the text of the old into a
7581         scratch buffer, append the new, look that up and store the new
7582         node pointer.  Inline.
7583         (maybe_paste_with_next): If the result of paste is a NAME,
7584         then look up the pasted text and store its node pointer.
7585         (lex_line): Adjust for new parse_name interface.
7586         Check for L"str", L'str' using spec_nodes->n_L.
7587         (spell_token): SPELL_IDENT tokens have their spelling in
7588         val.node->name.  Handle SPELL_STRING tokens that don't have
7589         string delimiters.
7590         (_cpp_expand_name_space,
7591         (can_paste): Check for L ## "str" using spec_nodes->n_L.
7592         (cpp_get_token, special_symbol): No need to call cpp_lookup.
7593         (cpp_idcmp): Now cpp_ideq; take a token * and a const char *;
7594         return 1=equal 0=not, not a tristate.
7595
7596         * cpphash.c (var_args_str): Delete.
7597         (find_param): Compare node fields directly.
7598         (is__va_args__): Use CPP_PEDANTIC.  Just compare
7599         token->val.node with spec_nodes->n__VA_ARGS__.
7600         (dump_funlike_macro): Don't use var_args_str.
7601
7602         * cpplib.c (_cpp_check_directive): Just walk through
7603         spec_nodes->dirs comparing pointers.
7604         (get_define_node, do_pragma_poison, detect_if_not_defined,
7605         parse_ifdef): The identifier has already been looked up.
7606         (do_ifdef, do_ifndef): parse_ifdef won't return a poisoned
7607         node.
7608         (do_if): Only call detect_if_not_defined at beginning of file.
7609         (_cpp_parse_assertion): Only copy string pointers for
7610         SPELL_STRING tokens.
7611         (pragma_dispatch): Take a node pointer and examine its name
7612         field.
7613         (_cpp_init_stacks): Also initialize the spec_nodes structure.
7614
7615         * cppinit.c (cpp_reader_init): Call _cpp_init_stacks after
7616         _cpp_init_macros.
7617         (cpp_cleanup): Free pfile->spec_nodes.  Call _cpp_cleanup_* in
7618         reverse order from the corresponding _cpp_init_* routines.
7619
7620         * cppexp.c (parse_number, parse_charconst, parse_defined,
7621         lex): Check val.node->type instead of calling cpp_defined.
7622         Use spec_nodes entries where appropriate.
7623
7624         * fix-header.c, scan-decls.c: Update for interface changes.
7625
7626 2000-07-08  Geoffrey Keating  <geoffk@cygnus.com>
7627
7628         * config/rs6000/rs6000.c (rs6000_emit_move): Fix conditions for
7629         emitting aux_truncdfsf2.
7630
7631 2000-07-03  Donn Terry  (donnte@microsoft.com)
7632
7633         * cppinit.c (print_help): split overlong line into ISO C89
7634         maximum chunks.
7635
7636 2000-07-07  Zack Weinberg  <zack@wolery.cumb.org>
7637
7638         * cppexp.c: Update all code for new lexer interface.
7639         (op_t, operator codes, struct token, tokentab2, op_to_str): Remove.
7640         (struct suffix, vsuf_1, vsuf_2, vsuf_3, op_to_prio): New.
7641         * cpplex.c (token_names): Trim leading CPP_ from names; make
7642         the strings unsigned.
7643         (_cpp_spell_operator): New.
7644         (is_macro_disabled): Disable all macros if rescanning
7645         preprocessed text.
7646         (_cpp_get_directive_token): Remove.
7647
7648         * cppinit.c: Don't set no_macro_expand.
7649         * cpplib.c (read_line_number, do_line): Check only for EOF,
7650         not VSPACE.
7651         * cpphash.h: Update prototypes.
7652         * cpplib.h (CPP_VSPACE): Remove.
7653         (struct cpp_reader): Remove no_macro_expand.
7654
7655 2000-07-08  Neil Booth  <NeilB@earthling.net>
7656
7657         * cpphash.c (is__va_args__): New function.
7658         (count_params): Fix line reported in error messages.  Use
7659         is__va_args__.  Don't return ')' on error.  Flag GNU style
7660         rest args macro definitions.
7661         (parse_define): Check macro name is not __VA_ARGS__.
7662         (save_expansion): Check identifier in non-varargs-macro is
7663         not __VA_ARGS__.  Don't flag GNU_VARARGS.
7664         * cpplex.c (parse_args): Accept no argument iff GNU_REST_ARGS.
7665         (maybe_paste_with_next): Use per-macro GNU_REST_ARGS rather
7666          than per-token GNU_VARARGS.
7667         * cpplib.h (GNU_VARARGS): Remove.
7668         (GNU_REST_ARGS): New.
7669
7670 Sat Jul  8 01:38:25 MET DST 2000  Jan Hubicka  <jh@suse.cz>
7671
7672         * i386.md (call_pop, call, call_value_pop): Do not set
7673         current_function_uses_pic_offset_table for calls to static
7674         functions or indirect calls.
7675
7676 2000-07-07  Jim Wilson  <wilson@cygnus.com>
7677
7678         * config/ia64/ia64.c (rws_access_reg): New local write_count.  If
7679         is_predicate_reg, then take max write_count of register pair.
7680
7681 2000-07-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7682
7683         * tradcpp.c (main): Rename label `include' to `add_include' to
7684         avoid conflicts with variable `include' in traditional C.
7685
7686 2000-07-07  Jakub Jelinek  <jakub@redhat.com>
7687
7688         * integrate.c (copy_insn_list): Remove REG_LABEL notes.
7689
7690 2000-07-07  Jakub Jelinek  <jakub@redhat.com>
7691
7692         * sibcall.c (uses_addressof): Add INMEM argument, check for
7693         current_function_internal_arg_pointer outside of MEM rtxs in addition
7694         to ADDRESSOFs.
7695         (sequence_uses_addressof): Update caller.
7696
7697 2000-07-07  Zack Weinberg  <zack@wolery.cumb.org>
7698
7699         * tradcpp.c (initialize_builtins): Honor NO_BUILTIN_SIZE_TYPE
7700         and friends.
7701
7702 2000-07-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7703
7704         * system.h (UNION_INIT_ZERO): New macro for initializing union
7705         members in structs.
7706
7707         * cpplex.c (placemarker_token, eof_token): Use UNION_INIT_ZERO.
7708
7709 2000-07-07  Neil Booth  <NeilB@earthling.net>
7710
7711         * cpp.texi: Update.
7712
7713 Fri Jul  7 07:47:35 2000  Jeffrey A Law  (law@cygnus.com)
7714
7715         * final.c (final): Detect out of bounds array access to
7716         the insn_lengths array.
7717
7718 2000-07-07  Kazu Hirata  <kazu@hxi.com>
7719
7720         * fold-const.c (fold): Fix a comment typo.
7721
7722 2000-07-07  Neil Booth  <NeilB@earthling.net>
7723
7724         * cpp.texi: Update to new lexer.
7725
7726 2000-07-06  Zack Weinberg  <zack@wolery.cumb.org>
7727
7728         * tradcpp.c: New file.
7729         * tradcif.y: New file.
7730         * tradcif.c: New generated file.
7731
7732         * Makefile.in: Add rules to build tradcpp.o, tradcif.o,
7733         $(srcdir)/tradcif.c.  Add tradcpp to STAGESTUFF and
7734         dependencies of C.  Install tradcpp from install-common, in
7735         $(libsubdir).
7736
7737 2000-07-06  Zack Weinberg  <zack@wolery.cumb.org>
7738
7739         * cppinit.c: Include cppdefault.h.  Refer to
7740         cpp_GCC_INCLUDE_DIR and cpp_GCC_INCLUDE_DIR_len, not directly
7741         to GCC_INCLUDE_DIR and its length.
7742         (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
7743         USER_LABEL_PREFIX, REGISTER_PREFIX, struct default_include,
7744         STANDARD_INCLUDE_DIR, STANDARD_INCLUDE_COMPONENT):  Move to
7745         cppdefault.h.
7746         (include_defaults_array): Move to cppdefault.c.
7747
7748         * cppdefault.h: New file.
7749         * cppdefault.c: New file.
7750
7751         * Makefile.in (LIBCPP_OBJS): Add cppdefault.o.
7752         (cppinit.o): Don't apply $(PREPROCESSOR_DEFINES) to this file.
7753         (cppdefault.o): New rule; apply $(PREPROCESSOR_DEFINES) to
7754         this file.
7755
7756 Thu Jul  6 18:30:36 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7757
7758         * reload.c (push_reload): When seeing if can reuse a register,
7759         check extra registers against widest of INMODE and OUTMODE.
7760
7761 2000-07-06  Neil Booth  <NeilB@earthling.net>
7762
7763         * cpplib.c: (_cpp_parse_assertion):  Perform hash lookups
7764         based on full length of predicate.
7765
7766 2000-07-06  Hans-Peter Nilsson  <hp@axis.com>
7767
7768         * timevar.c: [HAVE_SYS_RESOURCE_H]: Include <sys/resource.h>.
7769         [NEED_DECLARATION_GETRUSAGE]: Declare getrusage.
7770
7771 2000-07-05  Kazu Hirata  <kazu@hxi.com>
7772
7773         * h8300-proto.h: Fix formatting.
7774         * h8300.c: Likewise.
7775         * h8300.h: Likewise.
7776
7777 2000-07-05  Jim Wilson  <wilson@cygnus.com>
7778
7779         * config/ia64/ia64.h (HARD_REGNO_MODE_OK): If FR_REGNO_P, disallow
7780         CCmode.
7781
7782 2000-07-05  Rodney Brown  <RodneyBrown@pmsc.com>
7783
7784         * invoke.texi: Fix minor typos
7785         * md.texi: Fix minor typos
7786
7787 2000-07-05  Zack Weinberg  <zack@wolery.cumb.org>
7788
7789         * cpplib.c (_cpp_parse_assertion): Fix buffer overrun.
7790
7791 2000-07-04  Zack Weinberg  <zack@wolery.cumb.org>
7792
7793         * cpplex.c: Don't include sys/mman.h.
7794         (cpp_push_buffer, cpp_pop_buffer): Moved to cpplib.c.
7795
7796         * cpplib.c: Include sys/mman.h and obstack.h.
7797         (cpp_push_buffer): Moved from cpplex.c; allocate buffers on an
7798         obstack.
7799         (cpp_pop_buffer): Moved from cpplex.c; free buffers from an obstack.
7800         (_cpp_unwind_if_stack): Now static, unwind_if_stack.  Don't
7801         bother freeing if stack entries (they will be freed with their buffer).
7802         (do_endif): Free if stack entries from the buffer obstack.
7803         (push_conditional): Allocate if stack entries from the buffer obstack.
7804
7805         (find_answer): Rename to _cpp_find_answer.
7806         (do_assert, do_unassert): Update.
7807
7808         * cpphash.h: Update prototypes.
7809         (xobnew): New convenience macro.
7810         * cpplib.h (struct cpp_reader): Add hash_ob and buffer_ob fields.
7811         Update comments.
7812         (struct cpp_hashnode): Remove disabled field.
7813
7814         * cppinit.c: Don't include hashtab.h or splay-tree.h.
7815         (report_missing_guard): Moved to cppfiles.c.
7816         (cpp_reader_init): Call cpp_init_stacks, cpp_init_macros,
7817         cpp_init_includes.
7818         (cpp_cleanup): Call cpp_cleanup_stacks, cpp_cleanup_macros,
7819         cpp_cleanup_includes.  Don't destroy hashtab or
7820         all_include_files here.
7821         (cpp_finish): Use _cpp_report_missing_guards.
7822
7823         * cppfiles.c (report_missing_guard): Moved from cppinit.c.
7824         (_cpp_init_include_table): Rename _cpp_init_includes.
7825         (_cpp_cleanup_includes, _cpp_report_missing_guards): New.
7826
7827         * cppexp.c (parse_assertion): Update for new name of
7828         find_answer.
7829
7830         * Makefile.in (cpplib.o, cpphash.o, cppinit.o): Update deps.
7831
7832 2000-07-04  Zack Weinberg  <zack@wolery.cumb.org>
7833
7834         * cpplib.c (do_ident): s/VSPACE/EOF/
7835
7836 2000-07-05  Neil Booth  <NeilB@earthling.net>
7837
7838         * cpplex.c: Fix trigraph replacement within strings.
7839
7840 2000-07-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7841
7842         * rs6000/aix.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier.
7843
7844         * xcoffout.c (assign_type_number): Constify.
7845         (xcoffout_source_file): Add static prototype.  Don't needlessly
7846         cast away const-ness.
7847
7848 2000-07-04  Jason Merrill  <jason@redhat.com>
7849
7850         * frame.h (frame_state): Move base_offset to end.
7851
7852 Mon Jul  3 21:31:43 2000  Clinton Popetz  <cpopetz@cygnus.com>
7853
7854         * calls.c (emit_library_call_value_1): Revert previous change.
7855
7856 2000-07-03  Zack Weinberg  <zack@wolery.cumb.org>
7857
7858         * fix-header.c (struct partial_proto): Remove unnecessary fields.
7859         (recognized_extern, recognized_function, read_scan_file):
7860         Update for new scheme.
7861         (check_protection): It's still a multiple include guard even
7862         if it doesn't always trigger.
7863         * scan-decls.c (skip_to_closing_brace, scan_decls): Update for
7864         new scheme.
7865         * scan.h: Declare struct cpp_token.  Update prototypes.
7866
7867 2000-07-03  Neil Booth  <neilb@earthling.net>
7868             Zack Weinberg  <zack@wolery.cumb.org>
7869
7870         Complete overhaul of the lexer and macro expander.
7871
7872         * cpphash.c (object_defn, funct_defn, push_macro_expansion,
7873         arg, arglist, argdata, reflist, collect_objlike_expansion,
7874         collect_funlike_expansion, collect_params,
7875         warn_trad_stringify, trad_stringify, duplicate_arg_p, add_pat,
7876         unsafe_chars, macarg, compare_defs, special_symbol,
7877         scan_arguments, stringify, funlike_macroexpand,
7878         _cpp_quote_string, monthnames): Delete.
7879         (cpp_lookup, _cpp_free_definition, dump_funlike_macro,
7880         _cpp_create_definition, _cpp_dump_definition,
7881         dump_hash_helper): Adjust.
7882         (find_param, count_params, parse_define, var_args_str,
7883         check_macro_redefinition, save_expansion): New.
7884
7885         * cpplex.c (skip_block_comment, skip_line_comment, parse_name,
7886         parse_string, output_line_command, trigraph_replace,
7887         lex_line, cpp_push_buffer, cpp_pop_buffer, cpp_output_tokens,
7888         cpp_scan_buffer_nooutput, cpp_scan_buffer, cpp_free_toklist,
7889         cpp_idcmp, _cpp_get_directive_token, _cpp_init_input_buffer,
7890         _cpp_skip_rest_of_line): Modify.
7891
7892         (maybe_macroexpand, skip_comment, copy_comment, skip_string,
7893         find_position, null_warning, bump_column, expand_name_space,
7894         pedantic_whitespace, _cpp_output_list, _cpp_slice_toklist,
7895         _cpp_squeeze_toklist, _cpp_scan_until, _cpp_skip_hspace,
7896         _cpp_parse_name, _cpp_lex_token, cpp_get_non_space_token,
7897         _cpp_prescan): Delete.
7898
7899         (dump_param_spelling, process_directive, lex_next,
7900         is_macro_disabled, stringify_arg, expand_context_stack,
7901         output_token, make_string_token, alloc_number_token,
7902         special_symbol, duplicate_token, maybe_paste_with_next,
7903         can_paste, prevent_macro_expansion, restore_macro_expansion,
7904         get_temp_token, release_temp_tokens, quote_string,
7905         token_names, token_spellings, _cpp_expand_name_space,
7906         _cpp_glue_header_name, _cpp_reserve_name_space,
7907         digraph_spellings, trigraph_ok, skip_whitespace, save_comment,
7908         placemarker_token, eof_token, cpp_context, macro_args,
7909         get_raw_token, parse_arg, parse_args, save_token,
7910         push_arg_context, push_macro_context, pop_context,
7911         do_pop_context, free_macro_args, _cpp_get_line,
7912         _cpp_run_directive): New.
7913
7914         * cpplib.c (validate_else, parse_include, push_conditional,
7915         pass_thru_directive, read_line_number, parse_ifdef,
7916         detect_if_not_defined, _cpp_check_directive, do_define,
7917         do_undef, do_include, do_import, do_include_next, do_error,
7918         do_warning, do_ident, do_pragma, pragma_dispatch, gcc_pragmas,
7919         top_pragmas, do_pragma_gcc, do_pragma_implementation,
7920         do_pragma_poison, do_pragma_system_header,
7921         do_pragma_dependency, do_sccs, do_ifdef, do_ifndef, do_else,
7922         dl_elif, do_endif, _cpp_unwind_if_stack, do_assert,
7923         do_unassert, cpp_define, cpp_undef, cpp_assert, cpp_unassert,
7924         cpp_defined): Update for new scheme.
7925         (strtoul_for_line, get_define_node, dump_macro_name,
7926         _cpp_check_linemarker, _cpp_parse_assertion): New.
7927         (_cpp_handle_directive, do_pragma_default): Delete.
7928
7929         * cpphash.h (struct predicate): Now struct answer.
7930         (enum spell_type, struct token_spelling, struct directive,
7931         directive_handler): New.
7932         Update prototypes.  Remove unused macros.
7933         * cpplib.h: Update prototypes.  Remove unused macros,
7934         structure definitions, and fields.
7935
7936         * cpperror.c (print_containing_files, v_message): Adjust.
7937         * cppexp.c (parse_assertion, lex, parse_escape,
7938         _cpp_parse_expr): Adjust.
7939         * cppfiles.c (open_include_file, _cpp_execute_include,
7940         _cpp_compare_file_date, cpp_read_file, read_include_file):
7941         Adjust.
7942         * cppinit.c (dump_special_to_buffer): Delete.
7943         (append_include_chain, merge_include_chains, cpp_reader_init,
7944         cpp_cleanup, initialize_builtins, builtin_array, cpp_start_read,
7945         cpp_finish, handle_option, print_help): Adjust.
7946         * cppmain.c (main): Adjust.
7947
7948 2000-07-03  Zack Weinberg  <zack@wolery.cumb.org>
7949
7950         * cppspec.c (lang_specific_driver): Use double quotes in error
7951         message.
7952
7953 Mon Jul  3 16:53:43 2000  Clinton Popetz  <cpopetz@cygnus.com>
7954
7955         * calls.c (emit_library_call_value_1): Use valreg instead
7956         of hard_libcall_value.
7957
7958 2000-07-03  Geoff Keating  <geoffk@cygnus.com>
7959
7960         * config/rs6000/rs6000.c (rs6000_emit_move): New function.
7961         * config/rs6000/rs6000-proto.h: Prototype rs6000_emit_move.
7962         * config/rs6000/rs6000.md (movsi): Use rs6000_emit_move.
7963         (movhi): Likewise.
7964         (movqi): Likewise.
7965         (movdf): Likewise.
7966         (movsf): Likewise.
7967         (movdi): Likewise.
7968         (movti): Likewise.
7969
7970         * expmed.c (expand_mult_highpart): Use op1 instead of wide_op1 when
7971         mode instead of wider_mode is being used.
7972
7973 2000-07-03  Jakub Jelinek  <jakub@redhat.com>
7974
7975         * config/i386/i386.md (movstrictqi_xor): Use 'q' constraint instead
7976         of 'r'. Use q_regs_operand.
7977         (andsi_1+2): Use q_regs_operand.
7978
7979 2000-07-03  Jakub Jelinek  <jakub@redhat.com>
7980
7981         * builtins.c (get_memory_rtx): Always put into alias set 0.
7982
7983 2000-07-03  Nick Clifton  <nickc@cygnus.com>
7984
7985         * config/arm/arm.md: Fix post increment and pre increment
7986         peepholes so that they do not generate UNPREDICATBLE opcodes.
7987         (ie ones where the increment clobbers the source/destination).
7988
7989 2000-07-01  Marek Michalkiewicz  <marekm@linux.org.pl>
7990
7991         * config/avr/avr.c (out_adj_frame_ptr): Make "frame pointer
7992         change too big for -mtiny-stack" a warning, if larger than 63.
7993         (out_set_stack_ptr): Change the logic so -mno-interrupts is
7994         always safe to use on possible future devices.
7995         (function_prologue): Write SPH before SPL, for consistency.
7996         If interrupt_func_p true, we know we have enabled interrupts.
7997         (avr_num_arg_regs): New function.  Round up to even number of
7998         bytes if no -mpack-args or if calling a libgcc function.
7999         (function_arg, function_arg_advance): Use it.
8000         (output_movsisf, ashlsi3_out, ashrsi3_out, lshrsi3_out):
8001         Output "movw" if available.
8002         (out_tsthi, out_tstsi, ashlqi3_out, lshrqi3_out): Change uses
8003         of TEST_HARD_REG_CLASS macro to test_hard_reg_class function.
8004         (asm_output_section_name): Add blanks for consistent output.
8005         (encode_section_info): Set TREE_READONLY for progmem data to
8006         avoid gas warnings about changed section attributes.
8007         (avr_hard_regno_mode_ok): Force non-QImode data to start in
8008         even numbered registers on devices with "movw".
8009         * config/avr/avr.h (MASK_*): Define bits for target_flags.
8010         (TARGET_SWITCHES): Mark help strings for translation.
8011         Add new -mpack-args and -menhanced switches.
8012         (TARGET_OPTIONS): Mark help strings for translation.
8013         (progmem_section): Add section attributes.
8014         * config/avr/avr.md (*movhi, call_insn, call_value_insn):
8015         Output "movw" if available.
8016         (mulqi3, mulqihi3, umulqihi3, mulhi3, *tablejump_enh):
8017         New patterns.
8018         * config/avr/libgcc.S (_mulqi3, _divqi3): Update to the new
8019         call convention (arguments aligned on even registers).
8020         (_cleanup, _exit): Make weak symbols libc can override.
8021
8022 2000-07-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8023
8024         * fp-bit.h: New file.
8025
8026         * fp-bit.c: Move common code, prototypes, etc into fp-bit.h.
8027         Comment #endif statements.
8028         (__thenan_sf, __thenan_df): Add missing braces around initializer.
8029
8030 Mon Jul  3 00:32:47 2000  Jeffrey A Law  (law@cygnus.com)
8031
8032         * gcse.c (compute_pre_data): Compute ae_kill using other local
8033         properties instead of calling compute_ae_kill.
8034
8035         * alias.c (init_alias_analysis): Do not call
8036         prologue_epilogue_contains until after reload has completed.
8037
8038 2000-07-02  Benjamin Chelf  <chelf@codesourcery.com>
8039
8040         * c-common.h (genrtl_begin_compound_stmt): Remove declaration.
8041         (genrtl_finish_compound_stmt): Likewise.
8042         (genrtl_compound_stmt): Change to return void.
8043
8044         * c-semantics.c (genrtl_begin_compound_stmt): Remove function and
8045         move code from here to ...
8046         (genrtl_compound_stmt): ... here.
8047         (genrtl_finish_compound_stmt): Remove.
8048         (expand_stmt): Add comment.
8049
8050 2000-07-02  Zack Weinberg  <zack@wolery.cumb.org>
8051
8052         * c-typeck.c (build_indirect_ref): Use COMPLETE_OR_VOID_TYPE_P
8053         and VOID_TYPE_P.
8054
8055 2000-07-02  Jakub Jelinek  <jakub@redhat.com>
8056
8057         * cpplib.h (struct cpp_reader): New field include_depth.
8058         (struct cpp_printer): Rename last_bsd to last_id.
8059         * cppfiles.c (read_include_file): Bump include_depth.
8060         * cpplex.c (cpp_pop_buffer): Decrement include_depth.
8061         (output_line_command): Output correct #line if a header
8062         is including itself and is not protected against multiple inclusion.
8063         Use include_depth instead of buffer_stack_depth, last_id instead of
8064         last_bsd.
8065         * cppinit.c (cpp_start_read): Initialize last_id instead of
8066         last_bsd.
8067
8068 2000-07-01  Benjamin Chelf  <chelf@codesourcery.com>
8069
8070         * Makefile.in (C_AND_OBJC_OBJS): Added c-semantics.o.
8071         (c-semantics.o): New target.
8072
8073         * c-common.h (TREE_LANG_FLAG_?): Added documentation.
8074         (genrtl_do_pushlevel): Moved from cp/cp-tree.h.
8075         (genrtl_clear_out_block): Likewise.
8076         (genrtl_goto_stmt): Likewise.
8077         (genrtl_expr_stmt): Likewise.
8078         (genrtl_decl_stmt): Likewise.
8079         (genrtl_if_stmt): Likewise.
8080         (genrtl_while_stmt): Likewise.
8081         (genrtl_do_stmt): Likewise.
8082         (genrtl_return_stmt): Likewise.
8083         (genrtl_for_stmt): Likewise.
8084         (genrtl_break_stmt): Likewise.
8085         (genrtl_continue_stmt): Likewise.
8086         (genrtl_scope_stmt): Likewise.
8087         (genrtl_switch_stmt): Likewise.
8088         (genrtl_case_label): Likewise.
8089         (genrtl_begin_compound_stmt): Likewise.
8090         (gerntl_finish_compound_stmt): Likewise.
8091         (genrtl_compound_stmt): Likewise.
8092         (genrtl_asm_stmt): Likewise.
8093         (genrtl_decl_cleanup): Likewise.
8094         (DECL_ANON_UNION_ELEMS): Likewise.
8095         (emit_local_var): Likewise.
8096         (make_rtl_for_local_static): Likewise.
8097         (expand_cond): Likewise.
8098         (expand_stmt): Likewise.
8099         (c_expand_return): Likewise.
8100         (c_expand_start_case): Likewise.
8101         (do_case): Likewise.
8102         (COMPOUND_STMT_NO_SCOPE): Likewise.
8103         (c_expand_asm_operands): Likewise.
8104         (NEW_FOR_SCOPE_P): New macro.
8105         (expand_expr_stmt_fn): New type.
8106
8107         (set_current_function_name_declared): Likewise.
8108         (current_function_name_declared): Likewise.
8109         (lang_expand_stmt): Likewise.
8110         (stmts_are_full_exprs_p): Likewise.
8111         (anon_aggr_type_p): Likewise.
8112         (lang_expand_expr_stmt): Likewise.
8113         (build_case_label): Likewise.
8114
8115         * c-decl.c (lang_expand_expr_stmt): Initialize.
8116         (stmts_are_full_exprs_p): Define.
8117         (current_function_name_declared): Likewise.
8118         (do_case): Likewise.
8119         (lang_expand_stmt): Likewise.
8120         (set_current_function_name_declared): Likewise.
8121         (anon_aggr_type_p): Likewise.
8122
8123         * c-semantics.c: New file.
8124         (expand_cond): Moved from cp/semantics.c.
8125         (genrtl_do_pushlevel): Likewise.
8126         (genrtl_clear_out_block): Likewise.
8127         (genrtl_goto_stmt): Likewise.
8128         (genrtl_expr_stmt): Likewise.
8129         (genrtl_decl_stmt): Likewise.
8130         (genrtl_if_stmt): Likewise.
8131         (genrtl_while_stmt): Likewise.
8132         (genrtl_do_stmt): Likewise.
8133         (genrtl_return_stmt): Likewise.
8134         (genrtl_for_stmt): Likewise.
8135         (genrtl_break_stmt): Likewise.
8136         (genrtl_continue_stmt): Likewise.
8137         (genrtl_scope_stmt): Likewise.
8138         (genrtl_switch_stmt): Likewise.
8139         (genrtl_case_label): Likewise.
8140         (genrtl_begin_compound_stmt): Likewise.
8141         (genrtl_finish_compound_stmt): Likewise.
8142         (genrtl_compound_stmt): Likewise.
8143         (genrtl_asm_stmt): Likewise.
8144         (genrtl_decl_cleanup): Likewise.
8145         (make_rtl_for_local_static): Moved from cp/decl.c.
8146         (emit_local_var): Likewise.
8147         (expand_stmt): Define.
8148
8149         * c-tree.h: (c_expand_asm_operands): Moved to c-common.h.
8150         (c_expand_return): Likewise.
8151         (c_expand_start_case): Likewise.
8152
8153 2000-07-01  Richard Henderson  <rth@cygnus.com>
8154
8155         * config/ia64/ia64.c (symbolic_operand): Reject CONST expressions
8156         with the low 13 bits set.
8157         (move_operand): Check for CONST|SYMBOL_REF|LABEL_REF directly.
8158         * config/ia64/ia64.md (movdi): Likewise.  Expand a CONST with one
8159         of the low 13 bits into a CONST plus an adddi3.
8160         (load_symptr): Set RTX_UNCHANGING_P.
8161
8162 See ChangeLog.3 for earlier changes.