OSDN Git Service

* doc/install.texi (*-*-freebsd*): Update with known status.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2003-03-25  Loren James Rittle  <ljrittle@acm.org>
2
3         * doc/install.texi (*-*-freebsd*): Update with known status.
4
5 2003-03-21  Jason Merrill  <jason@redhat.com>
6
7         PR optimization/10171
8         * unroll.c (unroll_loop): Don't delete the jump at the end unless
9         we also delete a jump at the beginning.
10
11 2003-03-25  Stephane Carrez  <stcarrez@nerim.fr>
12
13         * doc/contrib.texi (Contributors): Mention self as 68HC11/68HC12
14         contributor.
15
16 Tue Mar 25 20:35:51 CET 2003  Jan Hubicka  <jh@suse.cz>
17
18         * i386.c (ix86_rtx_costs): For -fpic and x86-64 local symbolic
19         constants are not expensive.
20
21 Mon Mar 24 20:03:03 CET 2003  Jan Hubicka  <jh@suse.cz>
22
23         PR opt/10056
24         * cfglayout.c (fixup_reorder_chain):  Fix dealing with the conditional
25         jump jumping to the next instruction.
26         * cfgrtl.c (force_nonfallthru_and_redirect):  Likewise.
27
28 2003-03-25  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
29
30         * doc/passes.texi (Passes): Properly document that we do not
31         perform jump2 any longer; remove command-line option -dJ.
32
33 2003-03-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
34
35         PR optimization/8746
36         * config/i386/i386.md (and promoting splitters): Disable HImode to
37         SImode promoting when the sign bit matters and is not preserved, or
38         when TARGET_FAST_PREFIX is true. Disable promoting when optimizing
39         for size.
40
41 2003-03-24  Kazu Hirata  <kazu@cs.umass.edu>
42
43         * config/h8300/h8300.md (a peephole2): Extend to support loads
44         in QImode and HImode.
45
46 2003-03-24  Stephane Carrez  <stcarrez@nerim.fr>
47
48         * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Add _call_far and
49         _return_far
50         (MULTILIB_OPTIONS): Don't multilib on -mlong-calls.
51         (MULTILIB_EXCEPTIONS): Likewise.
52         * config/m68hc11/m68hc11.md ("call"): Support far calls for 68HC11
53         by calling some board support routine.
54         ("call_value"): Likewise.
55         ("*return_void"): Likewise for return.
56         ("*return_16bit"): Likewise.
57         ("*return_32bit"): Likewise.
58         * config/m68hc11/m68hc11.h (ASM_DECLARE_FUNCTION_NAME): Generate .far
59         for 68HC11 too.
60         (DWARF2_ADDR_SIZE): Use 4 so that addresses can 
61         * config/m68hc11/m68hc11.c (m68hc11_override_options): Accept
62         -mlong-calls for 68HC11.
63         * config/m68hc11/larith.asm (declare_near): New macro.
64         (__premain, ___negsi2, ___one_cmplsi2, ___ashlsi3): Use it.
65         (___ashrsi3, ___lshrsi3, ___lshrhi3, ___lshlhi3): Likewise.
66         (___rotrhi3, ___rotlhi3, ___ashrhi3, ___ashrqi3): Likewise.
67         (___lshlqi3, __divmodhi4, ___mulqi3, ___mulhi3): Likewise.
68         (__mulhi32): Likewise.
69         (ret): Update macro for 68HC11.
70         (__far_trampoline): Implement for 68HC11.
71         (__call_a16, __call_a32, __return_void, __return_16): New support
72         routines for 68HC11 memory bank switching calling support.
73         (__return_32): Likewise.
74
75 2003-03-24  Neil Booth  <neil@daikokuya.co.uk>
76
77         * toplev.c (independent_decode_option): Don't skip a 'Y' prefix.
78
79 2003-03-24  Janis Johnson  <janis187@us.ibm.com>
80
81         * doc/install.texi (Testing): Mention test result links from build
82         status pages.
83
84 2003-03-24  Mark Mitchell  <mark@codesourcery.com>
85
86         * function.c (put_var_into_stack): Change bool parameter to int.
87         (gen_mem_addressof): Likewise.
88         * rtl.h (gen_mem_addressof): Likewise.
89         * tree.h (put_var_into_stack): Likewise.
90         * config/alpha/alpha.c (alpha_gp_save_rtx): Adjust call to
91         gen_mem_addressof or put_var_into_stack.
92         * config/c4x/c4x.c (c4x_expand_builtin): Likewise.
93         * config/ia64/ia64.c (spill_tfmode_operand): Likewise.
94
95 2003-03-24  Kazu Hirata  <kazu@cs.umass.edu>
96
97         * config/h8300/h8300.md (a peephole2): New.
98
99 2003-03-24  Jakub Jelinek  <jakub@redhat.com>
100
101         * dojump.c (do_jump): Handle UNSAVE_EXPR specially.
102
103 2003-03-24  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
104
105         * doc/contrib.texi (Contributors): Update Janis Johnson.
106
107 2003-03-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
108
109         PR target/10072
110         * combine.c (simplify_if_then_else): Check that the mode
111         has MODE_INT class before applying the (OP Z (mult COND C2))
112         transformation.
113
114 2003-03-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
115
116         PR optimization/9414
117         * config/sparc/sparc.md (widening peepholes): Use
118         widen_memory_access instead of change_address.
119
120 2003-03-23  Mark Mitchell  <mark@codesourcery.com>
121
122         PR c++/7086
123         * c-typeck.c (c_mark_addressable): Adjust calls to
124         put_var_into_stack.
125         * expr.c (expand_expr): Likewise.
126         * function.c (put_var_into_stack): Add rescan parameter.  Do not
127         call fixup_var_refs when rescan is false.
128         (gen_mem_addressof): Likewise.
129         (assign_parms): Adjust calls to put_var_into_stack.
130         (setjmp_protect): Likewise.
131         (setjmp_protect_args): Likewise.
132         * rtl.h (gen_mem_addressof): Change prototype.
133         * stmt.c (expand_decl): Adjust calls to put_var_into_stack.
134         * tree.h (put_var_into_stack): Change prototype.
135
136 2003-03-23  Arpad Beszedes <beszedes@cc.u-szeged.hu>
137
138         PR middle-end/9967
139         * builtins.c (expand_builtin_fputs): When optimizing for size,
140         don't transform fputs into fwrite.
141
142 2003-03-23  Glen Nakamura <glen@imodulo.com>
143
144         PR c/8224
145         * fold-const.c (extract_muldiv_1): Don't pass through type conversions
146         when signedness changes for division or modulus.
147
148 2003-03-24  Alan Modra  <amodra@bigpond.net.au>
149
150         * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Remove unnecessary
151         globalize_label.
152
153 2003-03-23  Roger Sayle  <roger@eyesopen.com>
154
155         PR c/10178
156         * stmt.c (expand_end_case_type): Check for overflow in range when
157         determining whether to use a bit-test implementation.
158
159 2003-03-23  Richard Henderson  <rth@redhat.com>
160
161         * cfgcleanup.c (try_optimize_cfg): Allow merging of tablejumps
162         before flow2.
163         * cfgrtl.c (try_redirect_by_replacing_jump): Similarly.
164
165 2003-03-23  Richard Henderson  <rth@redhat.com>
166
167         PR opt/10116
168         * ifcvt.c (find_if_block): Disallow tablejump insns outgoing
169         from then_bb or else_bb after flow2.
170
171 2003-03-23  Zack Weinberg  <zack@codesourcery.com>
172
173         * configure.in: Check whether it is necessary to link against
174         libm to use ldexp.
175         * configure: Regenerate.
176         * Makefile.in: Add LDEXP_LIB substitution variable.
177
178 2003-03-23  Kazu Hirata  <kazu@cs.umass.edu>
179
180         * config/h8300/h8300.md: Fix comment typos.
181
182 2003-03-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
183
184         * pa.c (output_cbranch): Fix typo in comment.
185
186 2003-03-22  Richard Henderson <rth@redhat.com>
187
188         * cfgcleanup.c (insns_match_p): Do not do EQUIV substitution
189         after reload.
190
191 2003-03-22  DJ Delorie  <dj at redhat dot com>,
192         Bruce Korb  <bkorb at gnu dot org>
193
194         * fixinc/inclhack.def (solaris_mutex_init_1): New; Fix
195         buggy Solaris 2.6 mutex/cond initializers.
196         (solaris_mutex_init): Rename to solaris_mutex_init_2.
197         * fixinc/fixincl.x: Regenerate.
198         * fixinc/tests/base/pthread.h: Update.
199         * fixinc/fixincl.c(initialize): be explicit about the default case
200         and indicate verbose level when being very, very verbose.
201         * fixinc/check.tpl(VERBOSE): provide a means for passing the value in
202
203 2003-03-22  Andreas Jaeger  <aj@suse.de>
204
205         * config/i386/i386.c (ix86_init_machine_status): Return value.
206
207 2003-03-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
208
209         * pa.c (output_cbranch, output_bb, output_bvb): Output nop for
210         conditional branch to the following instruction.  Use next_real_insn
211         instead of next_active_insn.
212         (output_dbra, output_movb, jump_in_call_delay): Use next_real_insn
213         instead of next_active_insn.
214
215 2003-03-22  Ulrich Weigand  <uweigand@de.ibm.com>
216
217         * config/s390/s390.md ("movti", "*movdi_31", "*movdf_31"): Use 'o'
218         instead of 'm' constraint in forced-split alternatives.
219         ("*adddi3_31", "*subdi3_31"): Likewise.  Also, pass 0 instead of 1 as
220         VALIDATE_ADDRESS parameter to operand_subword.
221
222 2003-03-22  Kazu Hirata  <kazu@cs.umass.edu>
223
224         * config/h8300/h8300.c (notice_update_cc): Correctly handle
225         the case where the set destination is STRICT_LOW_PART.
226
227 2003-03-22  Svein E. Seldal  <Svein.Seldal@solidas.com>
228
229         * config/c4x/t-c4x (INSTALL_LIBGCC): Make gcc recognize a c33 as a
230         c30 instead of a c40 processor.
231
232 2003-03-22  Alan Modra  <amodra@bigpond.net.au>
233
234         * combine.c (simplify_comparison <AND>): Use gen_int_mode.  Tidy.
235
236 2003-03-21  Zack Weinberg  <zack@codesourcery.com>
237
238         * c-common.c: Include intl.h.
239         (shadow_warning): Rewrite to allow better diagnostic translations.
240         * c-common.h: Update prototype of shadow_warning.  Declare sw_kind enum.
241         * c-decl.c (warn_if_shadowing): Update calls to shadow_warning;
242         use it throughout.
243         * Makefile.in (c-common.o): Add intl.h.
244
245 2003-03-21  Nathanael Nerode  <neroden@gcc.gnu.org>
246
247         * config.gcc: Remove 'float_format'.
248
249         * fixproto: Define NULL and size_t in generated stdlib.h and
250         unistd.h.  Kill unused required_stdlib_h, required_unistd_h.
251         Rearrange file generation loop for readability.  Generate time.h,
252         string.h if missing.
253         * tsystem.h: Include <string.h>, <time.h> unconditionally.
254         * config.gcc: Blow away POSIX defines.
255
256 2003-03-22  Stephane Carrez  <stcarrez@nerim.fr>
257
258         * config/m68hc11/m68hc11.md ("call_value"): Fix trap check.
259
260 2003-03-22  Stephane Carrez  <stcarrez@nerim.fr>
261
262         * config/m68hc11/m68hc11.h (ASM_DECLARE_FUNCTION_NAME): Fix typo in
263         writing .interrupt command.
264         * config/m68hc11/m68hc11.md ("call"): Look at the symbol to see
265         if it's a far or near function.
266         ("call_value"): Likewise.
267         * config/m68hc11/m68hc11.c (m68hc11_attribute_table): Add far and
268         near attributes.
269         (m68hc11_handle_fntype_attribute): Accept attributes on methods.
270         (m68hc11_override_options): Ignore -mlong-calls for 68HC11.
271         (m68hc11_initial_elimination_offset): Set current_function_far
272         according to attributes.
273         (expand_prologue): Likewise.
274         (trap_handler_symbol): New global to keep track of trap handlers.
275         (m68hc11_encode_section_info): Mark symbol as far if needed; set
276         trap symbol.
277         (m68hc11_is_far_symbol): New function.
278         (m68hc11_is_trap_symbol): New function.
279         * config/m68hc11/m68hc11-protos.h (m68hc11_is_far_symbol): Declare.
280         (m68hc11_is_trap_symbol): Declare.
281
282 2003-03-21  Jan Hubicka  <jh@suse.cz>
283
284         * i386.c (ix86_compute_frame_layout): Recompute fast prologues
285         only when amount of saved regs changed.
286         (ix86_init_machine_status): Initialize use_fast_prologue_epilgoue_nregs.
287         * i386.h (machine_function): New fields use_fast_prologue_epilgoue_nregs.
288
289 2003-03-21  Jan Hubicka  <jh@suse.cz>
290
291         PR inline-asm/7916
292         * function.c (instantiate_virtual_regs_lossage): New function.
293         (instantiate_virtual_regs_1): Use it.
294         (instantiate_virtual_regs): Do not continue in substition when insn has
295         been deleted.
296
297 2003-03-21  Kazu Hirata  <kazu@cs.umass.edu>
298
299         * combine.c (make_field_assignment): Fix a warning.
300
301 2003-03-21  Kazu Hirata  <kazu@cs.umass.edu>
302
303         * config/h8300/h8300.md (*insv_si_1_n_lshiftrt_16): New.
304
305 2003-03-21  Dale Johannesen  <dalej@apple.com>
306
307         * config/rs6000/rs6000.h (REG_ALLOC_ORDER):  Increase
308         priority for R2 on Darwin.
309         (HARD_REGNO_MODE_OK):  Don't accept R31 for DFmode.
310
311 2003-03-21  Kazu Hirata  <kazu@cs.umass.edu>
312
313         * combine.c (make_field_assignment): Remove unnecessary AND
314         when storing into zero_extract.
315
316 2003-03-21  Zack Weinberg  <zack@codesourcery.com>
317
318         * aclocal.m4 (gcc_AC_EXAMINE_OBJECT, gcc_AC_C_FLOAT_FORMAT): Delete.
319         * configure.in: Don't call gcc_AC_C_FLOAT_FORMAT.
320         * defaults.h: Remove reference to HOST_FLOAT_WORDS_BIG_ENDIAN
321         in comment.
322
323 2003-03-21  DJ Delorie  <dj@redhat.com>
324
325         * optabs.c (init_integral_libfuncs): Make sure we init at least up
326         to "long long" size words.
327
328 2003-03-21  Ulrich Weigand  <uweigand@de.ibm.com>
329
330         * config/s390/s390.h: Do not include fixdfdi.h on s390x.
331         (TARGET_64BIT): Define as compile-time constant when IN_LIBGCC2.
332         (MIN_UNITS_PER_WORD): Do not define when IN_LIBGCC2.
333
334 2003-03-21  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
335
336         PR doc-bug/9813
337         * doc/extend.texi: Move misplaced paragraph about underscores in
338         variables in macros.
339
340 2003-03-21  Eric Botcazou  <ebotcazou@libertysurf.fr>
341             Richard Henderson  <rth@redhat.com>
342
343         PR optimization/8366
344         * config/sparc/sparc.h: (SYMBOLIC_CONST): New macro.
345         (GO_IF_LEGITIMATE_ADDRESS): Use it. Reject the form
346         PIC+SYMBOLIC_CONST in other modes than Pmode.
347         (GO_IF_MODE_DEPENDENT_ADDRESS): Use it. Mark
348         the form PIC+SYMBOLIC_CONST as mode dependent.
349
350 2003-03-21  DJ Delorie  <dj@redhat.com>
351
352         * config/stormy16/stormy16.c (xstormy16_expand_arith): Make
353         sure we always emit at least one insn.
354
355 2003-03-21  Christopher Faylor  <cgf@redhat.com>
356
357         * config.gcc (i[34567]86-*-cygwin*): Use new common makefile
358         stub t-cygming. Use common target header cygming.h. Add extra
359         c_target_obj and cxx_target_obj file. Default cygwin to posix
360         threading. Enforce i386 as float format.
361         (i[34567]86-*-mingw*): Use new common makefile stub t-cygming.
362         Remove cygwin.h as target header. Use common target header
363         cygming.h  Enforce i386 as float format. Correct typo.
364         * config/i386/cygming.h: New file, containing definitions
365         common to mingw32 and cygwin.
366         * config/i386/cygwin.h: Remove definitions common to cygwin and
367         mingw.  Simplify special spec logic.  Define "wrappers" around
368         certain include path defines to accommodate -mno-cygwin.
369         Remove some #if 0'ed code.
370         (STANDARD_INCLUDE_DIR) Always define when not cross-compiling.
371         (LINK_SPEC): Don't use cyg search prefix when -mno-cygwin.
372         (GCC_DRIVER_HOST_INITIALIZATION): Define as call to mingw_scan.
373         * config/i386/mingw32.h: Remove definitions common to cygwin and
374         mingw.
375         (EXTRA_OS_CPP_BUILTINS): Adjust.
376         (TARGET_VERSION): Define.
377         * config/i386/crtdll.h (EXTRA_OS_CPP_BUILTINS): Override
378         mingw32.h definitions.
379         (LIBGCC_SPEC): Add libmingwex.a as in mingw32.h.
380         * config/i386/t-cygwin (EXTRA_GCC_OBJS): Define as cygwin1.o.
381         Add compilation rules for cygwin1.o cygwin2.o.
382         * config/i386/cygwin1.c: New file.
383         * config/i386/cygwin2.c: New file.
384         * config/i386/t-cygming: New makefile stub.
385
386 2003-03-20  Richard Henderson  <rth@redhat.com>
387
388         * fold-const.c (extract_muldiv_1): Revert changing order of
389         operands in case MULT_EXPR of 2003-02-16 patch.
390
391 2003-03-20  Daniel Berlin  <dberlin@dberlin.org>
392         Merge changes from new-regalloc-branch
393
394         From Michael Matz  <matz@suse.de>
395         * df.c (df_ref_record_1): Move init of loc to safe point.
396         Only recurse on interesting things in parallels.
397         Handle CLASS_CANNOT_CHANGE_MODE smarter.
398         (df_uses_record): Ditto.
399
400         * df.h (DF_REF_MEM_OK): New enum member, used to mark ref's which
401         it's already okay to use memory operands in (IE doesn't require
402         adding another insn or anything).
403
404 2003-03-20  Richard Henderson  <rth@redhat.com>
405
406         PR middle-end/6348
407         * explow.c (allocate_dynamic_stack_space): Handle STACK_SIZE_MODE
408         different from word_mode.
409
410 2003-03-20  Kazu Hirata  <kazu@cs.umass.edu>
411
412         * config/h8300/h8300.md (*insv_si_1_n_lshiftrt): Restrict the
413         source operand to those that can be extracted with bld.
414
415 2003-03-20  Richard Earnshaw  <rearnsha@arm.com>
416
417         PR 10066
418         * arm.md (UNSPEC_PIC_BASE): New constant.
419         (pic_add_dot_plus_four): Wrap with unspec.
420         (pic_add_dot_plus_eight): Likewise.
421
422 2003-03-20  Kazu Hirata  <kazu@cs.umass.edu>
423
424         * config/h8300/h8300.md (*insv_si_1_n): New.
425         (*insv_si_1_n_lshiftrt): Likewise.
426
427 2003-03-20  Roger Sayle  <roger@eyesopen.com>
428
429         * fold-const.c (fold_mathfn_compare): New function to simplify
430         comparisons against built-in math functions.  Fold comparisons
431         of sqrt against constants.
432         (fold): Call fold_mathfn_compare when appropriate.
433
434 2003-03-20 Richard Earnshaw  <rearnsha@arm.com>
435
436         * ifcvt.c (find_if_case_1): If we add a new bb, update the dominance
437         information.
438
439 2003-03-20  Per Bothner  <pbothner@apple.com>
440
441         Various cleanups to help compile server.
442
443         * cppinit.c (cpp_create_reader):  Take extra hash_table* argument,
444         and pass that to _cpp_init_hashtable.
445         (cpp_read_main_file):  Drop hash_table* argument; don't call
446         _cpp_init_hashtable.
447         * cpplib.h:  Update declarations to match.
448         * c-opts.c (c_common_init_options):  Pass ident_hash to
449         cpp_create_reader.
450         (c_common_post_options):  Don't pass ident_hash to cpp_read_main_file.
451         * fix-header.c (read_scan_file):  Likewise pass NULL table to
452         cpp_create_reader rather than cpp_read_main_file.
453
454         * cppfiles.c (cpp_rename_file):  Generalized and renamed
455         to cpp_change_file.
456         * cpplib.h:  Update declaration to match.
457         * c-opts.c (push_command_line_line, finish_options):  Change
458         cpp_rename_file calls to cpp_change_file.
459
460         * line-map.c (add_line_map):  Allow leaving the outermost file.
461         Allowing entering an outermost-file after the initial time.
462
463         * toplev.c (pop_srcloc):  Allow popping from initial file.
464
465 2003-03-20  Kazu Hirata  <kazu at cs dot umass dot edu>
466
467         * fold-const.c (fold): Fold A - (A & B) into ~B & A.
468
469 2003-03-20  Kazu Hirata  <kazu@cs.umass.edu>
470
471         * config/h8300/h8300.md (a peephole2): New.
472
473 2003-03-20  Kazu Hirata  <kazu@cs.umass.edu>
474
475         * config/h8300/h8300.md (*addsi3_and_r_1): New.
476         (*addsi3_and_not_r_1): Likewise.
477
478 2003-03-19  Loren James Rittle  <ljrittle@acm.org>
479
480         * Makefile.in (STRICT2_WARN): Add @WERROR@.
481         (GCC_WARN_CFLAGS): Remove $(WERROR).
482         (fixinc.sh-warn): New.
483         * ada/Make-lang.in (ada-warn): Add $(WERROR).
484         * cp/Make-lang.in (cp-warn): Add $(WERROR).
485         * f/Make-lang.in (f-warn): Add $(WERROR).
486         * java/Make-lang.in (java-warn): Add $(WERROR).
487         * treelang/Make-lang.in (treelang-warn): Add $(WERROR).
488
489 2003-03-19  Nathanael Nerode  <neroden@gcc.gnu.org>
490
491         * c-common.h (c_dump_tree), c-dump.c (c_dump_tree),
492         langhooks-def.h (lhd_tree_dump_dump_tree),
493         langhooks.c (lhd_tree_dump_dump_tree), langhooks.h (*dump_tree):
494         Change return type from 'int' to 'bool'.  Replace 0 and 1 with
495         true and false in return statements.
496
497 2003-03-19  Kevin Buettner  <kevinb@redhat.com>
498
499         * dwarf2out.c (DWARF_INITIAL_LENGTH_SIZE): Define.
500         (DWARF_COMPILE_UNIT_HEADER_SIZE): Take into account
501         DWARF_INITIAL_LENGTH_SIZE.
502         (output_compilation_unit_header, output_pubnames, output_aranges)
503         (output_line_info): Output 0xffffffff escape value for 64-bit
504         DWARF extension.
505         * config/mips/iris6.h (DWARF_INITIAL_LENGTH_SIZE): Define.
506
507 2003-03-19  Ulrich Weigand  <uweigand@de.ibm.com>
508
509         * config/s390/s390.c (s390_preferred_reload_class): Do not
510         force constants to the pool unless necessary.
511         (s390_decompose_address): Prefer to use pointer as base,
512         not index register.
513         * config/s390/s390.md ("*tsthiCCT_only"): Remove '?' from
514         Q alternative.
515         ("*movdi_64", "*movsi", "movhi", "movqi_64", "movqi",
516         "*movdf_64", "*movsf"): Add '?' to Q->Q alternatives.
517         ("*extractqi", "*extracthi", "*zero_extendhisi2_31",
518         "*zero_extendqisi2_31", "*zero_extendqihi2_31",
519         "*adddi3_31", "*subdi3_31"): Do not set "type" attribute.
520
521 2003-03-19  Jan Hubicka  <jh@suse.cz>
522
523         * i386.h (machine_function): New fields use_fast_prologue_epilogue.
524         * i386.c (use_fast_prologue_epilogue): Remove.
525         (ix86_frame): New field save_regs-using_mov;
526         (ix86_compute_frame_layout):  Decide on fast prologues;
527         allocate saved registers in red zone.
528         (ix86_expand_epilogue, ix86_expand_prolgoues): Obey new parameters.
529
530 2003-03-19  Nick Clifton  <nickc@redhat.com>
531
532         * config/mcore/mcore.h (CPP_SPEC): Remove trailing semi-colon.
533
534 2003-03-18  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
535
536         PR 10062
537         * config/pa/pa-hpux.h (TARGET_HPUX_UNWIND_LIBRARY): Redefine.
538         * pa-protos.h (output_lbranch): New prototype.
539         * pa.c (compute_frame_size): Change size of the frame marker on the
540         64-bit ports to 48 bytes.
541         (pa_output_function_prologue): Document why SAVE_SP is set.
542         (hppa_expand_prologue): Save previous stack pointer into frame marker
543         on targets which use the hpux unwind library.
544         (output_cbranch): Use output_lbranch.
545         (output_lbranch): New function to output long unconditional branches.
546         * pa.h (TARGET_HPUX_UNWIND_LIBRARY): Define.
547         (STACK_POINTER_OFFSET): Update offset for 48-byte frame marker on
548         64-bit ports.
549         * pa.md (jump): Use output_lbranch.
550         (allocate_stack): New expander for dynamic stack allocation.
551
552 2003-03-19  Alan Modra  <amodra@bigpond.net.au>
553
554         * config/rs6000/rs6000.c (rs6000_stack_info): Only require a frame
555         when debugging on XCOFF targets.  Delete "abi" temp.
556
557         PR target/10073
558         * combine.c (force_to_mode <NOT>): Use gen_int_mode.
559
560 2003-03-18  Jakub Jelinek  <jakub@redhat.com>
561
562         * config/s390/s390.c (s390_output_dwarf_dtprel): New.
563         * config/s390/s390-protos.h (s390_output_dwarf_dtprel): New proto.
564         * config/s390/s390.h (ASM_OUTPUT_DWARF_DTPREL): Define.
565
566         * config/ia64/ia64.c (ia64_output_dwarf_dtprel): New.
567         * config/ia64/ia64-protos.h (ia64_output_dwarf_dtprel): New proto.
568         * config/ia64/ia64.h (ASM_OUTPUT_DWARF_DTPREL): Define.
569
570 2003-03-18  Geoffrey Keating  <geoffk@apple.com>
571
572         * config/rs6000/rs6000.c (rs6000_emit_prologue): Don't clone
573         the result of machopic_function_base_name.
574         * config/darwin.c (machopic_function_base_name): Use a gc-allocated
575         string rather than a static array.
576
577         * Makefile.in (emit-rtl.o): Add gt-emit-rtl.h to dependencies.
578
579         * gengtype.c: Include rtl.h.
580         (enum rtx_code): Don't define.
581         (rtx_format): Make declaration match rtl.h.
582         (rtx_next_new): Rename from rtx_next to avoid conflict.  Change all
583         users.
584         (adjust_field_rtx_def): Describe strings in NOTE_LINE_NUMBER notes.
585         * Makefile.in (gengtype.o): Update dependencies.
586
587 2003-03-18  Andreas Schwab  <schwab@suse.de>
588
589         * config/m68k/m68k.md (iordi3): Fix setting low half to -1.  From
590         martin@blom.org.
591
592 2003-03-18  Geoffrey Keating  <geoffk@apple.com>
593
594         * function.c (next_block_index): Mark with GTY.
595
596         * config/rs6000/rs6000.md (macho_correct_pic): Correct pattern.
597
598 2003-03-18  Richard Henderson  <rth@redhat.com>
599
600         * config/ia64/ia64.md (UNSPECV_SETJMP_RECEIVER): New.
601         (builtin_setjmp_receiver): Delay call to ia64_reload_gp
602         until after reload.
603
604 2003-03-18  Richard Henderson  <rth@redhat.com>
605
606         * builtins.c (expand_builtin_unop): New target_mode operand;
607         use it to convert the result to the correct mode.
608         (expand_builtin): Update all callers.
609
610 2003-03-18  Ulrich Weigand  <uweigand@de.ibm.com>
611
612         * config/s390/s390.md ("movti", "movhi", "movqi"): Add "type" attribute.
613
614 2003-03-18  Jan Hubicka  <jh@suse.cz>
615
616         * i386.md:  Fix previous commit that mistakely applied the patch
617         twice.
618
619         * alias.c (rtx_equal_for_memref_p): Assume that X and Y has been
620         canonicalized.
621         (memrefs_conflict_p): Likewise.
622         (addr_side_effect_eval): Canonicalize the constructed address.
623
624 2003-03-18  Jan Hubicka  <jh@suse.cz>
625
626         * i386.md (cvtts?2si peep2): New.
627
628 2003-03-18  Kazu Hirata  <kazu@cs.umass.edu>
629
630         * config/h8300/h8300.md (*iorsi3_two_qi_zext): New.
631
632 2003-03-18  Andreas Schwab  <schwab@suse.de>
633
634         * dwarf2out.c (output_file_names): Cast size_t to unsigned long
635         for format.
636
637 2003-03-17  Jason Merrill  <jason@redhat.com>
638
639         PR c++/10091
640         * expr.c (expand_expr) [ADDR_EXPR]: Disallow taking the address of
641         an unaligned member of TREE_ADDRESSABLE type.
642
643 2003-03-18  Alan Modra  <amodra@bigpond.net.au>
644
645         * config/rs6000/linux64.h (MASK_PROFILE_KERNEL): Define.
646         (TARGET_PROFILE_KERNEL): Define.
647         (SUBTARGET_SWITCHES): Handle -mprofile-kernel.
648         (PROFILE_BEFORE_PROLOGUE): Don't define.
649         (PROFILE_KERNEL): Remove hacks.
650         * config/rs6000/rs6000.c (TARGET_PROFILE_KERNEL): Define default.
651         (rs6000_stack_info): No need to save lr if just for profiling when
652         TARGET_PROFILE_KERNEL.
653         (output_profile_hook): Output nothing when TARGET_PROFILE_KERNEL.
654         (output_function_profiler): Localize label generation.  Emit code
655         for kernel profiling.
656
657 2003-03-17  Kazu Hirata  <kazu@cs.umass.edu>
658
659         * config/h8300/h8300-protos.h: Add a prototype for
660         byte_accesses_mergeable_p.
661         * config/h8300/h8300.c (byte_accesses_mergeable_p): New.
662         * config/h8300/h8300.md (*iorhi3_two_qi_mem): Likewise.
663         (a splitter): Likewise.
664         (*iorsi3_ashift_16_ashift_24): Likewise.
665         (*iorsi3_ashift_16_ashift_24_mem): Likewise.
666
667 2003-03-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
668
669         * dwarf2asm.h: Delete obsolete comment.
670         (dw2_asm_output_data, dw2_asm_output_delta, dw2_asm_output_offset,
671         dw2_asm_output_pcrel, dw2_asm_output_addr,
672         dw2_asm_output_addr_rtx, dw2_asm_output_encoded_addr_rtx,
673         dw2_asm_output_nstring, dw2_asm_output_data_uleb128,
674         dw2_asm_output_data_sleb128, dw2_asm_output_delta_uleb128,
675         dw2_asm_output_delta_sleb128): Add ATTRIBUTE_NULL_PRINTF.
676
677 2003-03-17  Zack Weinberg <zack@codesourcery.com>
678
679         * c-tree.h (struct lang_identifier): Remove error_locus field.
680         (IDENTIFIER_ERROR_LOCUS): Kill.
681         (record_function_scope_shadow): New prototype.
682         * c-typeck.c (build_external_ref): Don't complain if
683         decl is error_mark_node.  When not at file scope, bind the
684         decl's local value to error_mark_node to suppress further
685         warnings, instead of setting IDENTIFIER_ERROR_LOCUS.
686
687         * c-decl.c (get_function_binding_level): New static function.
688         (record_function_scope_shadow): New exported function.
689         (c_make_fname_decl): Use get_function_binding_level.
690
691 2003-03-17  Steve Ellcey  <sje@cup.hp.com>
692
693         * stmt.c (tail_recursion_args): Call promote_mode to set
694         unsignedp flag correctly before calling convert_move.
695
696 2003-03-17  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
697
698         * loop-unroll.c (decide_peel_completely,
699         decide_unroll_constant_iterations, decide_unroll_stupid,
700         decide_unroll_runtime_iterations, decide_peel_simple): Set
701         loop->has_desc.
702
703 2003-03-17  Jan Hubicka  <jh@suse.cz>
704
705         * ggc-common.c (ggc_mark_roots): Use htab_traverse_noresize.
706
707 2003-03-17  Olivier Hainque  <hainque@act-europe.fr>
708
709         * function.c (assign_parms): For a struct value address passed as
710         first argument, delay the function's result RTL setup code until
711         after the emission of parameter conversions.
712
713 2003-03-17  Dave Love  <fx@gnu.org>
714             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
715
716         * config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Define __digital__,
717         __arch64__ to match Compaq cc.
718
719 2003-03-17  Neil Booth  <neil@daikokuya.co.uk>
720
721         * c-opts.c: Default TARGET_EBCDIC to 0 if not defined.
722         (c_common_init): Set EBCDIC in cpp options.
723         * cpplex.c (maybe_read_ucs, cpp_parse_escape): Use EBCDIC option,
724         not conditional compilation.
725         * cpplib.h (struct cpp_options): New entry EBCDIC.
726
727 2003-03-17  Neil Booth  <neil@daikokuya.co.uk>
728
729         * fix-header.c (read_scan_file): Need to malloc arguments to add_path.
730
731 2003-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
732
733         * function.c (thread_prologue_and_epilogue_insns): Set delete_unused
734         argument to 0 for redirect_jump.
735
736 2003-03-16  Mark Mitchell  <mark@codesourcery.com>
737
738         PR c++/8805
739         * except.c (eh_region_u_cleanup): Add prev_try.
740         (expand_eh_region_end_cleanup): Set it.
741         (reachable_handlers): Use it to skip over cleanup blocks.
742
743 2003-03-17  Andreas Jaeger  <aj@suse.de>
744
745         * Makefile.in (TAGS): Remove obsolete handling of =*.[chy].
746
747 2003-03-17  Alan Modra  <amodra@bigpond.net.au>
748
749         * config/rs6000/linux64.h (TARGET_64BIT): Redefine.
750         (TARGET_RELOCATABLE, TARGET_EABI, TARGET_PROTOTYPE): Likewise.
751         (SUBTARGET_SWITCHES, SUBTARGET_OPTIONS): Likewise.
752         (SUBTARGET_OVERRIDE_OPTIONS, CPP_SYSV_SPEC): Likewise.
753
754 2003-03-16  Richard Henderson  <rth@redhat.com>
755
756         * simplify-rtx (simplify_binary_operation): Don't abort for
757         SS_PLUS, US_PLUS, SS_MINUS, US_MINUS.
758
759 2003-03-16  Richard Henderson  <rth@redhat.com>
760
761         * config/i386/i386.md (movstrictqi, movstrictqi_1): Check
762         optimize_size as well.
763
764 2003-03-16  Stephane Carrez  <stcarrez@nerim.fr>
765
766         * config/m68hc11/m68hc11.c (print_operand): Handle 'b' modifier
767         for D register to specify the low part of it, aka B.
768         (m68hc11_gen_movhi): Use REG_WAS_0 note and increment or decrement
769         the register if we are loading 1 or -1 to it; avoid using temp
770         register when moving X/Y to Y/X.
771         (m68hc11_gen_movqi): Likewise.
772         (m68hc11_check_z_replacement): Fix last insn setting for compare case.
773
774 2003-03-14  Mark Mitchell  <mark@codesourcery.com>
775
776         PR optimization/9016
777         * config/i386/i386.c (ix86_expand_move): Force more CONST_DOUBLEs
778         into the constant pool.
779
780 2003-03-16  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
781
782         PR target/9164
783         * tree.c (get_narrower): For extensions with unchanged bit number,
784         return the unsignedness of the outer mode.
785
786 2003-03-16  Roger Sayle  <roger@eyesopen.com>
787
788         * c-typeck.c (build_component_ref):  Turn "for" into "do .. while"
789         to avoid "may be used uninitialized" warning on ia64-hpux.
790         * config/ia64/ia64-c.c: Include "tm_p.h" for function prototypes.
791
792 2003-03-16  Andreas Jaeger  <aj@suse.de>
793
794         * configure.in: Improve check for memcheck.h.
795         * configure: Regenerated.
796
797 2003-03-16  Neil Booth  <neil@daikokuya.co.uk>
798
799         * doc/cppopts.texi: Remove documentation of -A-.
800
801 2003-03-15  Zack Weinberg  <zack@codesourcery.com>
802
803         * doc/libgcc.texi: Remove @tie.
804
805 2003-03-15  Josef Zlomek  <zlomekj@suse.cz>
806
807         * rtl.h (subrtx_p): Renamed to rtx_referenced_p.
808         (rtx_pair): Added new element update_label_nuses, renamed to
809         replace_label_data.
810         * cfgcleanup.c (outgoing_edges_match, try_crossjump_to_edge): Use
811         replace_label_data instead of rtx_pair.
812         * loop.c (load_mems): Likewise.
813         * rtlanal.c (replace_label): Replace label in pool constants and in
814         INSN_LIST (in REG_LABEL note).
815         (subrtx_p): Renamed to rtx_referenced_p.
816         (subrtx_p_1): Renamed to rtx_referenced_p_1, compare the interior of
817         LABEL_REF with CODE_LABEL, traverse constants from pool.
818
819 2003-03-15  Aldy Hernandez <aldyh@redhat.com>
820             Zack Weinberg  <zack@codesourcery.com>
821
822         * Makefile.in (TEXI_GCCINT_FILES): Add libgcc.texi.
823         * doc/libgcc.texi: New file.
824         * doc/interface.texi: Delete paragraph about libgcc interface.
825         * doc/gccint.texi: Add libgcc menu entry and @include libgcc.texi.
826
827 2003-03-15  Jason Merrill  <jason@redhat.com>
828
829         PR debug/9039
830         * dwarf2out.c (gen_decl_die): Ignore frontend tree codes.
831
832         PR debug/6387
833         * dwarf2out.c (dwarf2out_decl): If we're at -g1, just stick nested
834         function DIEs at toplevel.
835         (decls_for_scope): At -g1, don't descend into subblocks.
836
837 2003-03-15  Ulrich Weigand  <uweigand@de.ibm.com>
838
839         * varasm.c (struct rtx_const): Change type of un.addr member
840         to struct holding an additional 'symbol' member.
841         (decode_rtx_const): Re-enable optimization to count SYMBOL_REFs
842         with equal string addresses as equal.
843         (simplify_subtraction): Adapt to struct rtx_const change.
844
845 2003-03-15  Neil Booth  <neil@daikokuya.co.uk>
846
847         * fix-header.c (read_scan_file): Read main file before handling -D.
848
849 2003-03-15  Roger Sayle  <roger@eyesopen.com>
850
851         * c-cppbuiltin.c (builtin_define_with_value_n): Fix whitespace.
852         * c-typeck.c (c_tree_expr_nonnegative_p): Likewise.
853         * cfgbuild.c (find_many_sub_basic_blocks): Likewise.
854         (find_sub_basic_blocks): Likewise.
855         * cgraphunit.c (cgraph_expand_functions): Likewise.
856         * dwarf2out.c (prune_unused_types): Likewise.
857         * expr.c (store_field): Likewise.
858         * genextract.c (print_path): Likewise.
859         * haifa-sched.c (schedule_insn): Likewise.
860         * lcm.c (compute_antinout_edge): Likewise.
861         * loop-unroll.c (decide_peel_once_rolling): Likewise.
862         * ra-colorize.c (ra_colorize_free_all): Likewise.
863         * ra-debug.c (dump_igraph): Likewise.
864         (debug_hard_reg_set): Likewise.
865         * reg-stack.c (reg_to_stack): Likewise.
866         * rtlanal.c (refers_to_regno_p): Likewise.
867         * tracer.c (layout_superblocks): Likewise.
868
869 2003-03-15  Neil Booth  <neil@daikokuya.co.uk>
870
871         * fix-header.c (read_scan_file): Fix thinko.
872
873 2003-03-15  Glen Nakamura  <glen@imodulo.com>
874
875         * reload1.c (choose_reload_regs): Use && instead of ||
876         with REG_CANNOT_CHANGE_MODE_P condition.
877
878 2003-03-15  Neil Booth  <neil@daikokuya.co.uk>
879
880         * Makefile.in: Update.
881         * c-common.h (cb_register_builtins): Rename c_cpp_builtins.
882         * c-lex.c (init_c_lex): Register builtins hook is dead.
883         * c-opts.c (COMMAND_LINE_OPTIONS, missing_arg): Handle -A, -D and -U.
884         (c_common_decode_option): Don't call cpp_handle_option.
885         Handle -A, -D and -U.
886         (handle_deferred_opts): Simplify.
887         (finish_options): Define builtins and command line macros.
888         * c-ppoutput.c (init_pp_output): Register builtins hook is dead.
889         * cppinit.c: Don't include intl.h.
890         (init_builtins): Rename cpp_init_builtins.  No hook to call.
891         (init_library): Don't need to sort options.
892         (cpp_create_reader): Don't set pending.
893         (cpp_destroy): Don't free pending.
894         (struct pending_option, cl_directive_handler, struct cpp_pending,
895         APPEND, free_chain, new_pending_directive, parse_option, opt_comp,
896         cpp_finish_options, COMMAND_LINE_OPTIONS, DEF_OPT, struct cl_option,
897         cl_options, cpp_handle_option): Remove.
898         * cpplib.h (struct cpp_pending, register_builtins, cpp_handle_option,
899         cpp_finish_options): Remove.
900         (cpp_init_builtins): New.
901         * fix-header.c (read_scan_file): Update to handle -D.  Fix
902         handling of -I.  Replace call to cpp_finish_options.
903
904 2003-03-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
905
906         PR optimization/9387
907         * function.c (thread_prologue_and_epilogue_insns): Use redirect_jump
908         for conditional returns.
909
910 2003-03-14  Jason Merrill  <jason@redhat.com>
911
912         PR optimization/6871
913         * varasm.c (assemble_variable): Leave constant zeroes in .rodata.
914
915 2003-03-14  Neil Booth  <neil@daikokuya.co.uk>
916
917         * c-opts.c (finish_options): New.
918         (COMMAND_LINE_OPTIONS, c_common_decode_option): Add -imacros.
919         (missing_arg): Handle OPT_include and OPT_imacros.
920         (c_common_init, c_common_parse_file): Use finish_options.
921         (handle_deferred_opts): Update.
922         * cppinit.c (struct cpp_pending): Remove imacros_head and imacros_tail.
923         (cpp_finish_options): Don't handle -imacros here.
924         (no_fil): Remove.
925         (COMMAND_LINE_OPTIONS, cpp_handle_option): Don't handle -imacros.
926
927 2003-03-14  Jakub Jelinek  <jakub@redhat.com>
928
929         * config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Don't call
930         rs6000_maybe_dead if !fromprolog.
931
932 2003-03-14  Neil Booth  <neil@daikokuya.co.uk>
933
934         * Makefile.in: Update.
935         * c-common.h (fe_file_change, pp_file_change): New.
936         * c-lex.c (init_c_lex): Don't set cb_file_change.
937         (c_common_parse_file): Move to c-opts.c.
938         (cb_file_change): Rename fe_file_change.
939         * c-opts.c: Include debug.h.
940         (warn_unused_macros, include_cursor): New.
941         (push_command_line_include, cb_file_change): New.
942         (COMMAND_LINE_OPTIONS): Handle -include.
943         (c_common_decode_option): Use local warn_unused_macros.
944         Handle OPT_include.
945         (c_common_post_options): Set file change callback.
946         (handle_deferred_opts): Skip -include.  Don't free the array.
947         (c_common_init): Call cpp_finish_options here, and push an
948         initial -include file.
949         * c-ppoutput.c (cb_file_change): Rename pp_file_change.
950         (preprocess_file): Don't call cpp_finish_options.
951         (init_pp_output): Don't set the file change callback.
952         (pp_file_change): Return if no line commands or no output.
953         * cpphash.h (next_include_file, first_unused_line): Remove.
954         * cppinit.c (include_head, include_tail): Remove.
955         (cpp_destroy): Don't free -include chain.
956         (cpp_finish_options): Don't handle -include, or worry about
957         -Wunused-macros.
958         (_cpp_maybe_push_include_file): Remove.
959         (COMMAND_LINE_OPTIONS, cpp_handle_option): Don't handle -include.
960         * cpplib.c (_cpp_pop_buffer): Don't handle -include.
961         * cppmacro.c (_cpp_warn_if_unused_macro, _cpp_create_definition):
962         Used flag is set based upon the state of the warn_unused_macros
963         flag, and so use of first_unused_line is unnecessary.
964
965 2003-03-13  Jan Hubicka  <jh@suse.cz>
966
967         * cselib.c (clear_table): Do not take argument; always clear just
968         used slots.
969         (cselib_process_insn):  Update call of clear_table
970         (cselib_init): Do not call clear_table.
971         (cselib_finish): Clear table.
972
973         * cse.c (count_reg_usage): Do not check side_effects_p.
974         * rtlanal.c (set_noop_p): Check side_effects_p only when set looks
975         like noop.
976         (find_reg_equal_equiv_note): Do not use find_reg_note.
977
978 2003-03-14  Richard Henderson  <rth@redhat.com>
979
980         PR target/9700
981         * config/alpha/alpha.c (alpha_va_start): Account for
982         current_function_pretend_args_size in the AP offset.
983
984         * config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Move out of line.
985         (INITIAL_ELIMINATION_OFFSET): Move out of line.
986         * config/alpha/alpha.c (alpha_setup_incoming_varargs): New.
987         (alpha_initial_elimination_offset) New.
988         * config/alpha/alpha-protos.h: Update.
989
990 2003-03-14  Jakub Jelinek  <jakub@redhat.com>
991
992         * stmt.c (expand_start_case): Call emit_queue ().
993
994 2003-03-14  Chris Demetriou  <cgd@broadcom.com>
995             Alexandre Oliva  <aoliva@redhat.com>
996
997         * config/mips/mips.h (FUNCTION_PROFILER): _mcount() doesn't pop 2
998         words in new abis.
999
1000 2003-03-14  Eric Botcazou  <ebotcazou@libertysurf.fr>
1001
1002         PR optimization/8396
1003         * tree-inline.c (initialize_inlined_parameters): Make sure the value
1004         of read-only constant arguments is passed with the right type.
1005
1006 2003-03-14  Steven Bosscher  <steven@gcc.gnu.org>
1007
1008         * doc/extend.texi (Function Names): Make the example compilable.
1009
1010 2003-03-13  David Edelsohn  <edelsohn@gnu.org>
1011
1012         * config/rs6000/rs6000.c (processor_target_table): Really allow
1013         GP optional instructions on Power4.
1014
1015 2003-03-13  Roger Sayle  <roger@eyesopen.com>
1016
1017         * calls.c (flags_from_decl_or_type): Factor and remove redundant
1018         conditional tests.
1019
1020 2003-03-13  Mike Stump  <mrs@apple.com>
1021
1022         * ggc-page.c (struct page_entry): Remove varray.h header.
1023         Add index_by_depth field.
1024         Remove save_in_use_p field.
1025         (struct globals): Add depth_in_use, depth_max, by_depth_in_use,
1026         by_depth_max, by_depth, and save_in_use fields.
1027         (INITIAL_PTE_COUNT): Add.
1028         (save_in_use_p_i): Add.
1029         (save_in_use_p): Add.
1030         (adjust_depth): Add.
1031         (move_ptes_to_front): Add.
1032         (push_depth): Add.
1033         (push_by_depth): Add.
1034         (prefetch): Add.
1035         (free_page): Add support for and use faster data structures.
1036         (ggc_alloc): Likewise.
1037         (init_ggc): Likewise.
1038         (ggc_recalculate_in_use_p): Likewise.
1039         (ggc_pop_context): Likewise.
1040         (clear_marks): Likewise.
1041         (ggc_pch_read): Likewise.
1042         * Makefile.in (ggc-page.o): Remove varray.h.
1043
1044 2003-03-13  Nathanael Nerode  <neroden@gcc.gnu.org>
1045
1046         * ChangeLog: Rotated last year's entries to...
1047         * ChangeLog.8: New.
1048
1049         * config/ia64/fde-glibc.c, config/ia64/freebsd.h,
1050         config/ia64/hpux.h, config/ia64/hpux_longdouble.h,
1051         config/ia64/ia64-c.c, config/ia64/ia64-modes.def,
1052         config/ia64/ia64-protos.h, config/ia64/ia64.c,
1053         config/ia64/ia64.h, config/ia64/ia64.md,
1054         config/ia64/itanium1.md, config/ia64/itanium2.md,
1055         config/ia64/quadlib.c, config/ia64/unwind-ia64.c,
1056         config/ia64/unwind-ia64.h: It's GCC, not GNU CC.
1057
1058 2003-03-13  Aldy Hernandez  <aldyh@redhat.com>
1059
1060         * config/rs6000/rs6000.c (rs6000_dwarf_register_span):
1061         Differentiate endianness.
1062         (s6000_override_options): Use cpu type instead of TARGET_SPE.
1063
1064 2003-03-13  Nick Clifton  <nickc@redhat.com>
1065
1066         * config/arm/arm.c (print_multi_reg): Do not generate a type 2
1067         LDM instructions with writeback enabled.
1068         (output_return_instruction): Likewise.
1069
1070         * config/arm/pe.h (FIXED_REGISTERS): Remove definition.
1071         (CALL_USED_REGISTERS): Remove definition.
1072         (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Define.
1073
1074 2003-03-13  Alan Modra  <amodra@bigpond.net.au>
1075
1076         * config/rs6000/rs6000.c (rs6000_flag_pic): Delete.
1077         (rs6000_xcoff_encode_section_info): #ifdef TARGET_XCOFF.
1078         (rs6000_binds_local_p, TARGET_BINDS_LOCAL_P): #if TARGET_MACHO.
1079         (rs6000_override_options): Don't clear flag_pic for ABI_AIX.
1080         (rs6000_legitimize_address): Formatting.
1081         (rs6000_emit_move): Likewise.
1082         (rs6000_return_addr): Test ABI_AIX as well as flag_pic.
1083         (rs6000_emit_prologue <save_LR_around_toc_setup>): Likewise.
1084         (rs6000_elf_select_section): Comment reason for shlib being
1085         set for ABI_AIX.
1086         (rs6000_elf_unique_section): Likewise.
1087         (rs6000_elf_encode_section_info): Test !TARGET_AIX as well as ABI_AIX.
1088         * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Test ABI_AIX
1089         as well as flag_pic.
1090         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Likewise.
1091         (MINIMAL_TOC_SECTION_ASM_OP): Likewise.
1092         * config/rs6000/linux64.h (TARGET_ENCODE_SECTION_INFO): Don't define.
1093
1094 2003-03-13  Richard Henderson  <rth@redhat.com>
1095
1096         * emit-rtl.c (try_split): Handle 1-1 splits of call insns properly.
1097
1098         * config/ia64/ia64.c (TARGET_FUNCTION_OK_FOR_SIBCALL): New.
1099         (ia64_gp_save_reg): Remove.
1100         (struct ia64_frame_info): Move to the beginning of the file;
1101         add reg_save_gp.
1102         (ia64_expand_call): Rearrange for new call patterns.
1103         (ia64_reload_gp): New.
1104         (ia64_split_call): New.
1105         (ia64_compute_frame_size): Allocate reg_save_gp.
1106         (ia64_expand_prologue): Save reg_save_gp.
1107         (ia64_expand_epilogue): Don't restore gp.
1108         (ia64_hard_regno_rename_ok): Remove R4 hack.
1109         (ia64_function_ok_for_sibcall): New.
1110         (ia64_output_mi_thunk): Set reload_completed, no_new_pseudos;
1111         call try_split on sibcall pattern.
1112         * config/ia64/ia64-protos.h: Update.
1113         * config/ia64/ia64.md (call_nogp, call_value_nogp, sibcall_nogp):
1114         Rename from nopic versions.  Confiscate 2nd argument to call as
1115         a marker.
1116         (call_pic, call_value_pic, sibcall_pic): Remove.
1117         (call_gp, call_value_gp, sibcall_gp): New.
1118         (builtin_setjmp_setup): Remove.
1119         (builtin_setjmp_receiver): Call ia64_reload_gp.
1120
1121 2003-03-12  Nathanael Nerode  <neroden@gcc.gnu.org>
1122
1123         * config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
1124         config/dsp16xx/dsp16xx.h, config/dsp16xx/dsp16xx.md: Replace
1125         "GNU CC" with "GCC".
1126
1127         * config/c4x/c4x-c.c, config/c4x/c4x-modes.def,
1128         config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
1129         config/c4x/c4x.md, config/c4x/libgcc.S, config/c4x/rtems.h:
1130         GCC, not GNU CC.
1131
1132         * genattrtab.h, hosthooks-def.h, hosthooks.h, langhooks-def.h,
1133         langhooks.h, tree-inline.h: Replace "GNU CC" with "GCC".
1134
1135         * c-pch.c, dummy-conditions.c, genautomata.c, genconditions.c,
1136         langhooks.c, tree-inline.c, unwind-dw2-fde-darwin.c,
1137         unwind-dw2-fde-glibc.c, unwind-libunwind.c, vmsdbgout.c: Replace
1138         "GNU CC" with "GCC".
1139
1140         * config/v850/lib1funcs.asm, config/v850/rtems.h,
1141         config/v850/v850-c.c, config/v850/v850-protos.h,
1142         config/v850/v850.c, config/v850/v850.h, config/v850/v850.md:
1143         GCC, not GNU CC.
1144
1145         * config/vax/bsd.h, config/vax/elf.h, config/vax/netbsd-elf.h,
1146         config/vax/netbsd.h, config/vax/openbsd.h, config/vax/openbsd1.h,
1147         config/vax/ultrix.h, config/vax/vax-protos.h, config/vax/vax.c,
1148         config/vax/vax.h, config/vax/vax.md, config/vax/vaxv.h: GCC, not
1149         GNU CC.
1150
1151 2003-03-12  Benjamin Kosnik  <bkoz@redhat.com>
1152
1153         * cpppch.c (cpp_valid_state): Use DL_WARNING_SYSHDR, not DL_WARNING.
1154
1155 2003-03-12  Nathanael Nerode  <neroden@gcc.gnu.org>
1156
1157         * fixinc/fixinc.interix: Remove dead code (most of it).
1158         * fixinc/fixinc.dgux: Remove.
1159
1160         * ginclude/float.h, ginclude/iso646.h, ginclude/stdarg.h,
1161         ginclude/stdbool.h, ginclude/stddef.h: GCC, not GNU CC.
1162
1163 2003-03-12  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1164
1165         * pa.c (pa_init_builtins): Fix warning.
1166
1167 2003-03-12  Steve Ellcey  <sje@cup.hp.com>
1168
1169         * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR): Remove.
1170         (ASM_OUTPUT_XDATA_SHORT): Remove.
1171         (ASM_OUTPUT_XDATA_INT): Remove.
1172         (ASM_OUTPUT_XDATA_DOUBLE_INT): Remove.
1173         (ASM_OUTPUT_ADDR_DIFF_ELT): Handled 32 bit address diffs.
1174         (ASM_PREFERRED_EH_DATA_FORMAT): Handle 32 bit EH pointers.
1175         (CASE_VECTOR_MODE): Handle 32 bit pointers in case statement.
1176
1177 2003-03-12  Andrew Lewycky  <andrew@mxc.ca>
1178
1179         PR c++/7050
1180         * expr.c (store_expr): Don't attempt to store void-typed trees,
1181         just evaluate them for side effects.
1182
1183 2003-03-12  Neil Booth  <neil@daikokuya.co.uk>
1184
1185         * cppfiles.c (cpp_rename_file, cpp_push_include): New.
1186         * cppinit.c (push_include): Move with changes to cppfiles.c.
1187         (cpp_read_main_file): Mark named operators here...
1188         (cpp_finish_options): ...not here.  Update.
1189         (_cpp_maybe_push_include_file): Update.
1190         * cpplib.h (cpp_push_include, cpp_rename_file): New.
1191
1192 2003-03-12  Nathanael Nerode  <neroden@gcc.gnu.org>
1193
1194         * aclocal.m4: Introduce gcc_GAS_VERSION_GTE_IFELSE,
1195         _gcc_COMPUTE_GAS_VERSION.
1196         * configure.in: Use them.
1197         * configure: Regenerate.
1198
1199 2003-03-12  Bob Wilson  <bob.wilson@acm.org>
1200
1201         * config/xtensa/xtensa.md (adddi3): Don't clobber source operand used
1202         to detect carry.
1203         (subdi3): Reorder emitted instructions.
1204
1205 2003-03-12  Andreas Jaeger  <aj@suse.de>
1206
1207         * config/i386/netbsd64.h (TARGET_OS_CPP_BUILTINS): Remove call to
1208         NETBSD_OS_CPP_BUILTINS_LP64.
1209
1210 2003-03-12  Nathanael Nerode  <neroden@gcc.gnu.org>
1211
1212         * Makefile.in: Eliminate all.indirect.  Update and clean up comments.
1213         Rearrange.  Reorganize.
1214         * configure.in: Rearrange.
1215         * configure: Regenerate.
1216
1217 2003-03-12  Andreas Jaeger  <aj@suse.de>
1218
1219         * c-cppbuiltin.c (cb_register_builtins): Define LP64 builtins for
1220         LP64 targets.
1221
1222         * doc/cpp.texi (Common Predefined Macros): Document __LP64__ and
1223         _LP64.
1224
1225         * config/ia64/ia64.h (TARGET_CPU_CPP_BUILTINS): Do not define
1226         _LP64 macros here.
1227         * config/pa/pa.h (TARGET_CPU_CPP_BUILTINS): Likewise.
1228
1229         * config/alpha/netbsd.h (TARGET_OS_CPP_BUILTINS): Remove call to
1230         NETBSD_OS_CPP_BUILTINS_LP64.
1231         * config/sh/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Likewise.
1232         * config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Likewise.
1233
1234         * config/netbsd.h (NETBSD_OS_CPP_BUILTINS_LP64): Remove.
1235
1236 2003-03-12  Jan Hubicka  <jh@suse.cz>
1237
1238         * i386.c (ix86_setup_incoming_varargs): Set stack_alignment_needed to 128.
1239
1240 2003-03-12  Daniel Jacobowitz  <drow@mvista.com>
1241
1242         Fix PR target/9797 and PR c/9853.
1243         * stmt.c (expand_decl_init): Call push_temp_slots () and
1244         pop_temp_slots ().
1245
1246 2003-03-12  J"orn Rennecke <joern.rennecke@superh.com>
1247
1248         * sh.c: Include basic-block.h.
1249         (sh_output_mi_thunk, emit_load_ptr): New functions.
1250         (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): Redefine.
1251
1252 2003-03-12  Nick Clifton  <nickc@redhat.com>
1253
1254         * config/arm/pe.h (FIXED_REGISTERS): Add Maverick registers.
1255         (CALL_USED_REGISTERS): Likewise.
1256         * config/arm/arm.h (FIRST_PSEUDO_REGISTER): Update comment
1257         describing how this value is calculated.
1258
1259 2003-03-12  Hans-Peter Nilsson  <hp@bitrange.com>
1260
1261         * configure.in (rlim_t): Define to long if no valid definition
1262         found in sys/resource.h.
1263         * config.in, configure: Regenerate.
1264
1265 2003-03-12  Neil Booth  <neil@daikokuya.co.uk>
1266
1267         * config/mcore/mcore-elf.h (CPP_PREDEFINES): Replace with
1268         TARGET_OS_CPP_BUILTINS.
1269         * config/mcore/mcore-pe.h: Similarly.
1270         * config/mcore/mcore.h: Replace CPP_PREDEFINES and part of
1271         CPP_SPEC with TARGET_CPU_CPP_BUILTINS.
1272
1273 2003-03-12  Eric Botcazou  <ebotcazou@libertysurf.fr>
1274
1275         PR c/9928
1276         * c-decl.c (duplicate_decls): Discard the initializer of the new decl
1277         only if it is a VAR_DECL.
1278
1279 2003-03-12  Eric Botcazou  <ebotcazou@libertysurf.fr>
1280
1281         PR optimization/9888
1282         * config/i386/i386.md (jcc_1): Fix range.
1283         (jcc_2): Likewise.
1284         (jump): LIkewise.
1285         (doloop_end_internal): Likewise.
1286
1287 2003-03-12  Danny Smith  <dannysmith@users.sourceforge.net>
1288
1289         * config/i386/winnt.c (DLL_IMPORT_PREFIX): New define.
1290         Use throughout instead of DLL_IMPORT_EXPORT_PREFIX and "e."
1291         (DLL_EXPORT_PREFIX): New define. Use throughout instead of
1292         DLL_IMPORT_EXPORT_PREFIX and "i."
1293         (i386_pe_dllexport_name_p): Here.
1294         (i386_pe_dllimport_name_p): Here.
1295         (i386_pe_mark_dllexport): Here. Remove DLL_IMPORT_PREFIX,
1296         not 9 chars when getting identifier name.
1297         (i386_pe_mark_dllimport): Here.
1298         (i386_pe_encode_section_info): Here. Remove DLL_IMPORT_PREFIX,
1299         not 9 chars when getting identifier name. Correct comment.
1300         (i386_pe_strip_name_encoding): Here. Add comments for different
1301         cases.
1302         (gen_fastcall_suffix): Break down xmalloc() argument to
1303         components.
1304         (gen_stdcall_suffix): Likewise.
1305         Update copyright year.
1306
1307 2003-03-12  Eric Botcazou  <ebotcazou@libertysurf.fr>
1308
1309         PR optimization/9888
1310         * config/i386/i386.md (movsi_1): Remove special alternatives
1311         for %eax register.
1312         (movsi_1_nointernunit): Likewise.
1313         (movhi_1): Likewise.
1314         * config/i386/i386.c (memory_address_length): Do not use
1315         short displacement when there is no base.
1316         (ix86_attr_length_address_default): Handle LEA instructions.
1317
1318 2003-03-12  Neil Booth  <neil@daikokuya.co.uk>
1319
1320         * c-cppbuiltin.c (builtin_define_std): Make non-static.
1321
1322 2003-03-11  Loren James Rittle  <ljrittle@acm.org>
1323
1324         * config/freebsd-spec.h (FBSD_CPP_PREDEFINES): Remove.
1325         (FBSD_TARGET_OS_CPP_BUILTINS): New port-specific macro.
1326         (FBSD_TARGET_CPU_CPP_BUILTINS): New port-specific macro.
1327         * config/freebsd.h (CPP_PREDEFINES): Remove.
1328         (TARGET_OS_CPP_BUILTINS): New.
1329         * config/alpha/freebsd.h: Use overridden FBSD_TARGET_CPU_CPP_BUILTINS
1330         instead of TARGET_OS_CPP_BUILTINS.
1331         * config/sparc/freebsd.h (CPP_PREDEFINES): Remove.
1332
1333 2003-03-11  Geoffrey Keating  <geoffk@apple.com>
1334
1335         * c-cppbuiltin.c (builtin_define_std): Add ATTRIBUTE_UNUSED.
1336
1337 2003-03-11  Aldy Hernandez  <aldyh@redhat.com>
1338
1339         * config/rs6000/rs6000.c (rs6000_stack_info): Remove
1340         insn_chain_scanned.  Use insn_chain_scanned_p in machine_function.
1341
1342         * config/rs6000/rs6000.h (machine_function): Add insn_chain_scanned_p.
1343
1344 2003-03-11  Alexandre Oliva  <aoliva@redhat.com>
1345
1346         * toplev.c (independent_decode_option): Return success for --help,
1347         --target-help and --version.
1348
1349 2003-03-11  Alexandre Oliva  <aoliva@redhat.com>
1350
1351         * config/mips/linux64.h (DRIVER_SELF_SPECS): Add endian_spec.
1352         Default to -mips3 on -mabi=64.  Don't add -mips* flag if -march is
1353         specified.
1354         (SUBTARGET_ASM_SPEC): Remove -mips*-adding code obviated by
1355         DRIVER_SELF_SPECS.
1356         (LINK_SPEC): Let endian options affect the linker emulation name.
1357
1358 2003-03-11  J"orn Rennecke <joern.rennecke@superh.com>
1359
1360         * sh.md (reload_inqi): Fix mode for source in second set.
1361
1362 2003-03-11  Jan Hubicka  <jh@suse.cz>
1363
1364         * cselib.c (cselib_invalidate_mem_1): Move too ...
1365         (cselib_invalidate_mem): ... here; use new list
1366         (dummy_val, first_containing_mem): New static variables.
1367         (clear_table): Initialize first_containing_mem.
1368         (discard_useless_values):  Compact the containing_mem list.
1369         (add_mem_for_addr): Add to the list.
1370         * cselib.h (cselib_val): Add next_containing_mem.
1371
1372 2003-03-11  Aldy Hernandez  <aldyh@redhat.com>
1373
1374         * config/rs6000/rs6000.c (rs6000_override_options): Disable string
1375         instructions for e500.
1376
1377 2003-03-11  Neil Booth  <neil@daikokuya.co.uk>
1378
1379         * Makefile.in: Update.
1380         * c-cppbuiltin.c: Include tm_p.h.
1381
1382 2003-03-11  Aldy Hernandez  <aldyh@redhat.com>
1383
1384         * doc/tm.texi (Frame Registers): Document DWARF_REG_TO_UNWIND_COLUMN.
1385
1386         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Define.
1387         (_Unwind_GetGR): Use DWARF_REG_TO_UNWIND_COLUMN.
1388         (_Unwind_SetGR): Same.
1389         (_Unwind_GetGRPtr): New.
1390         (_Unwind_SetGRPtr): New.
1391         (uw_update_context_1): Use accesor functions instead of accessing
1392         context->reg[] directly.
1393         (uw_install_context_1): Same.
1394         (execute_cfa_program): Same.
1395         (__frame_state_for): Same.
1396
1397         * config/rs6000/rs6000.c (spe_synthesize_frame_save): Use 1200 as
1398         the synthetic register offset.
1399
1400         * config/rs6000/rs6000.h (DWARF_REG_TO_UNWIND_COLUMN): New.
1401
1402 2003-03-11  Hans-Peter Nilsson  <hp@axis.com>
1403
1404         * config/cris/cris.md: Remove lingering EGCS reference.
1405         ("*extopqihi_side_biap"): For HI operation, match
1406         cris_additive_operand_extend_operator, not
1407         cris_operand_extend_operator.  Adjust condition.
1408         ("*extopqihi_side", "*extopqihi"): Ditto.
1409         ("*extopqisi_side_biap"): Correct operand numbers in condition.
1410         ("*extophisi_side_biap", "*extopqisi_swap_side_biap"): Ditto.
1411         ("*extophisi_swap_side_biap", "*extopqisi_swap"): Ditto.
1412         ("*extophisi_swap"): Ditto.
1413         ("*extopqihi_swap_side_biap"): For HI operation, match a simple
1414         PLUS, not cris_operand_extend_operator.  Adjust condition and
1415         output template.
1416         ("*extopqihi_swap_side", "*extopqihi_swap"): Ditto.
1417         * config/cris/cris.h (PREDICATE_CODES): Add
1418         cris_additive_operand_extend_operator.
1419         * config/cris/cris.c (cris_additive_operand_extend_operator):
1420         New predicate.
1421
1422 2003-03-11  Hartmut Penner  <hpenner@de.ibm.com>
1423
1424         * df.c (read_modify_subreg_p): Change from static to global.
1425         * df.h (read_modify_subreg_p): Add prototype.
1426         * sched-deps.c (sched_analyze_1): Generate true dependency for
1427         strict_low_part, certain subregs and zero/sign_extract.
1428
1429 2003-03-11  Neil Booth  <neil@daikokuya.co.uk>
1430
1431         * Makefile.in: Update.
1432         * c-common.c: Don't include real.h or except.h.
1433         (REGISTER_PREFIX): Remove.
1434         (builtin_define_std, builtin_define_with_value,
1435         builtin_define_with_int_value, builtin_define_with_hex_fp_value,
1436         builtin_define_type_max, builtin_define_type_precision,
1437         builtin_define_float_constants): Move to c-cppbuiltin.c.
1438         (c_stddef_cpp_builtins): New.
1439         * c-common.h (builtin_define_with_value, c_stddef_cpp_builtins): New.
1440         * c-cppbuiltin.c: New, extracted from c-common.c.
1441         (define__GNUC__): New.
1442         * cppspec.c (lang_specific_driver): Remove support of -no-gcc.
1443         * gcc.c: Remove support of %v1, %v2 and %v3 specs.
1444         (cpp_unique_options): Don't support no-gcc.
1445         (do_spec_1): Remove support of version specs.
1446         * doc/invoke.texi: Remove documentation of %v1, %v2 and %v3.
1447         * doc/passes.texi: Update.
1448         * doc/tm.texi: Update.
1449
1450 2003-03-10  Aldy Hernandez  <aldyh@redhat.com>
1451
1452         * dwarf2out.c (multiple_reg_loc_descriptor): Fix thinko.
1453
1454 2003-03-10  Andrew Pinski  <apinski@apple.com>
1455
1456         * config/darwin.c (machopic_function_base_name): If dynamic-no-pic
1457         is on should not get here.
1458         (machopic_indirect_data_reference): If dynamic-no-pic is on just
1459         generate high/low parts of the address.
1460         (machopic_legitimize_pic_address): Change MACHOPIC_PURE to
1461         MACHOPIC_INDIRECT. Dynamic-no-pic uses 0 as the pic base. Generate
1462         symbol and labels with a new reg.  Dynamic-no-pic does not have a
1463         pic_offset_table_rtx.
1464         (machopic_select_section): Change references of flag_pic to
1465         MACHOPIC_INDIRECT.
1466         (machopic_asm_out_destructor): Likewise.
1467         * config/darwin.h (ASM_DECLARE_UNRESOLVED_REFERENCE): Change
1468         reference of flag_pic to MACHOPIC_INDIRECT.
1469         (MACHO_DYNAMIC_NO_PIC_P): Define as TARGET_DYNAMIC_NO_PIC.
1470         (MACHOPIC_INDIRECT): Is also true when dynamic-no-pic is on.
1471         (MACHOPIC_JUST_INDIRECT): Is also true when dynamic-no-pic is on.
1472         (MACHOPIC_PURE): Is not pure when dynamic-no-pic is on.
1473         * config/i386/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define as
1474         0 for right now as dynamic-no-pic is not implemented on Darwin/ia32.
1475         * config/rs6000/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define.
1476         (TARGET_DYNAMIC_NO_PIC): Define.
1477         (SUBTARGET_SWITCHES): Define, have sub-target switches for
1478         dynamic-no-pic.
1479         (SUBTARGET_OVERRIDE_OPTIONS): Move check for -fpic from
1480         rs6000_override_options to here. Dynamic-no-pic overrides
1481         pic.
1482         (CC1_SPEC): Change from not static then pic to not static and not
1483         dynamic-no-pic then pic.
1484         * config/rs6000/rs6000.c (rs6000_override_options): Move the
1485         check for -fpic and DARWIN_ABI to config/rs6000/darwin.h
1486         (rs6000_legitimize_reload_address): Add case for loading floating in
1487         dynamic-no-pic.
1488         (rs6000_emit_move): Add case for dynamic-no-pic.  Change reference
1489         of flag_pic to MACHOPIC_INDIRECT.
1490         (secondary_reload_class): Conditional change the reference of
1491         flag_pic to MACHOPIC_INDIRECT.
1492         (rs6000_output_mi_thunk): Change reference of flag_pic to
1493         MACHOPIC_INDIRECT.
1494         (output_profile_hook): Likewise.
1495         (machopic_output_stub): Non-pure (dynamic-no-pic) is now supported.
1496         * config/rs6000/rs6000.md (movdf_low): Add the case for
1497         MACHO_DYNAMIC_NO_PIC_P.
1498         (call): Change references for flag_pic in TARGET_MACHO to
1499         MACHOPIC_INDIRECT.
1500         (SUBTARGET_OVERRIDE_OPTIONS): Add case where -fpic is on and
1501         -mdynamic-no-pic is on.  Also move case for -fpic from rs6000.c.
1502         * doc/invoke.texi (-mdynamic-no-pic): Document.
1503
1504 2003-03-10  Devang Patel  <dpatel@apple.com>
1505
1506         PR c++/9394
1507         * gcc.c (DEFAULT_SWITCH_TAKES_ARG): Remove.
1508         (DEFAULT_WORD_SWITCH_TAKES_ARG): Remove.
1509         * gcc.h (DEFAULT_SWITCH_TAKES_ARG): Add.
1510         (DEFAULT_WORD_SWITCH_TAKES_ARG): Add.
1511         * cppspec.c (DEFAULT_SWITCH_TAKES_ARG): Remove.
1512         (DEFAULT_WORD_SWITCH_TAKES_ARG): Remove.
1513
1514 2003-03-10  Steven Bosscher  <s.bosscher@student.tudelft.nl>
1515
1516         PR optimization/7189
1517         * toplev.c (rest_of_compilation):  Move
1518         check_function_return_warnings up to just after
1519         delete_unreachable_blocks.
1520
1521 2003-03-10  Stephane Carrez  <stcarrez@nerim.fr>
1522
1523         * config/m68hc11/m68hc11.h (HARD_REGNO_RENAME_OK): Define.
1524         * config/m68hc11/m68hc11-protos.h (m68hc11_hard_regno_rename_ok):
1525         Declare.
1526         * config/m68hc11/m68hc11.c (m68hc11_hard_regno_rename_ok): New function
1527         for reg rename optimization to avoid using Z and Y registers.
1528
1529 2003-03-10  Stephane Carrez  <stcarrez@nerim.fr>
1530
1531         * config/m68hc11/m68hc11.md ("*addhi3_68hc12"): Accept any constant
1532         when adding to X and Y since leax/leay are fast.
1533         ("*addhi3"): Accept 'I' constraint when adding to address register.
1534         ("rotlhi3"): Operand 1 must be a register_operand.
1535         (peephole2): New peephole to optimize some adds.
1536         * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_P): Use 'I' constraint
1537         to represent -2 .. 2 small integer range.
1538
1539 2003-03-10  Stephane Carrez  <stcarrez@nerim.fr>
1540
1541         * config/m68hc11/m68hc11.c (m68hc11_gen_rotate): Set carry before
1542         each 16-bit rotation.
1543
1544 2003-03-10  Zack Weinberg  <zack@codesourcery.com>
1545
1546         * c-opts.c (add_prefixed_path): Don't use concat.  When
1547         prefixing with cpp_GCC_INCLUDE_DIR, copy only the first
1548         cpp_GCC_INCLUDE_DIR_len characters.
1549
1550 2003-03-10  Segher Boessenkool  <segher@koffie.nl>
1551
1552         * testsuite/gcc.dg/altivec-9.c: New file.
1553
1554         * config/rs6000/rs6000.c (altivec_frame_fixup): Remove.
1555         (rs6000_emit_prologue): Use rs6000_frame_related instead.
1556
1557 2003-03-10  Aldy Hernandez  <aldyh@redhat.com>
1558
1559         * config/rs6000/spe.h: Define __ev64_*64__ to use single element
1560         vectors.
1561         (__ev_convert_u64): Remove macro.  Define as inline.
1562         (__ev_convert_s64): Same.
1563
1564 2003-03-10  Aldy Hernandez  <aldyh@redhat.com>
1565
1566         * config/rs6000/rs6000.h (DWARF_FRAME_REGISTERS): Define.
1567         (rs6000_stack_t): Add spe_64bit_regs_used.
1568
1569         * config/rs6000/rs6000.c (rs6000_stack_info): Calculate
1570         spe_64bit_regs_used, and use it to determine the size of the
1571         frame.
1572         (spe_func_has_64bit_regs_p): New.
1573         (spe_synthesize_frame_save): New.
1574         (rs6000_frame_related): Handle SPE synthetic registers.
1575         (rs6000_emit_prologue): Only save in 64-bits if the function used
1576         any registers in 64-bit mode.
1577         (rs6000_emit_epilogue): Same, but for restore.
1578
1579 2003-03-10  Richard Earnshaw  <rearnsha@arm.com>
1580
1581         * arm.h (enum floating_point_type): Delete.  Replace with...
1582         (enum fputype): ... new.
1583         (FPUTYPE_DEFAULT): Renamed from FP_DEFAULT.  Values reworked.
1584         * linux-elf.h (FPUTYPE_DEFAULT): Likewise.
1585         * arm.md (attr fpu): Reworked for new underlying enum values.
1586         * arm.c (arm_fpu_arch): Now enum fputype.
1587         (arm_fpu_tune): Renamed from arm_fpu.  Now enum fputype.
1588         (arm_override_options, arm_output_epilogue, arm_expand_prologue):
1589         Update uses of arm_fpu_arch and arm_fpu_tune.
1590
1591 2003-03-10  Josef Zlomek  <zlomekj@suse.cz>
1592
1593         * cfgcleanup.c (outgoing_edges_match): Compare the jump tables.
1594         (try_crossjump_to_edge): Replace refereces to one jump table by
1595         references to identical jump table.
1596         * loop.c (load_mems): Moved setting the JUMP_LABEL to replace_label.
1597         (replace_label): Moved to rtlanal.c.
1598         (struct rtx_pair): Moved to rtl.h.
1599         * rtl.h (struct rtx_pair): Moved from loop.c.
1600         (replace_label): New extern function.
1601         (subrtx_p): New extern function.
1602         (tablejump_p): New extern function.
1603         * rtlanal.c (replace_label): Moved from loop.c.
1604         (subrtx_p_1): New static function.
1605         (subrtx_p): New function.
1606         (tablejump_p): New function.
1607
1608 2003-03-10  Jan Hubicka  <jh@suse.cz>
1609
1610         * cfgcleanup.c (try_optimize_cfg): Fix thinko in previous patch.
1611
1612         * cfgcleanup.c (merge_blocks): Return where to iterate next.
1613         (try_optimize_cfg): Use return value of merge_blocks
1614
1615 2003-03-10  Michael Matz  <matz@suse.de>
1616
1617         * cfg.c (unchecked_make_edge): New.
1618         (cached_make_edge): Use it.
1619         * basic-block.h (unchecked_make_edge): Declare.
1620         * cfglayout.c (cfg_layout_duplicate_bb): Use it.
1621
1622 2003-03-10  Richard Earnshaw  <rearnsha@arm.com>
1623
1624         * fpa.md: New file.  Move all patterns relating to FPA co-processor
1625         to here...
1626         * arm.md: ... from here.
1627         (cirrus.md, fpa.md): Include at end of description.
1628         (divsf3, divdf3, modsf3, movdf3, sqrtsf2, sqrtdf2): New expands.
1629         (pic_load_addr_based): Remove register constraint from expander.
1630         (seq, sne, sgt, sle, slt, sge, sgeu, sleu, sgtu, sltu, sunordered)
1631         (sordered, sungt, sunle, sunge, sunlt): Likewise.
1632         (eh_epilogue, tablejump): Likewise.
1633
1634 2003-03-09  David Edelsohn  <edelsohn@gnu.org>
1635             Mostafa Hagog
1636
1637         * config/rs6000/rs6000.md (movsi_update1): Add TARGET_UPDATE final
1638         condition.
1639
1640 2003-03-09  Neil Booth  <neil@daikokuya.co.uk>
1641
1642         * config/frv/frv.h: Use TARGET_CPU_CPP_BUILTINS, not CPP_PREDEFINES.
1643         * config/ip2k/ip2k.h: Similarly.
1644         * config/m32r/m32r.h: Similarly.
1645         * config/m68hc11/m68hc11.h: Similarly.
1646         * config/mn10200/mn10200.h: Similarly.
1647         * config/mn10300/mn10300.h: Similarly.
1648         * config/pdp11/pdp11.h: Similarly.
1649         * config/v850/v850.h: Similarly.
1650         * config/rs6000/vxworks.h: Similarly for TARGET_OS_CPP_BUILTINS.
1651         * config/v850/retms.h: Similarly for TARGET_OS_CPP_BUILTINS.
1652         * config/mips/iris3.h: Remove #if 0 block.
1653
1654 2003-03-09  Roger Sayle  <roger@eyesopen.com>
1655             Joern Rennecke <joern.rennecke@superh.com>
1656
1657         * gcc.c (do_spec_1) ['{']: Revert 2003-02-24 patch.  Don't handle
1658         pending argument upon return from handle_braces here.
1659         (do_spec_2): Instead handle it upon return from do_spec_1 here.
1660
1661 2003-03-09  Roger Sayle  <roger@eyesopen.com>
1662             Joern Rennecke <joern.rennecke@superh.com>
1663
1664         * gcc.c (do_spec_1) ['{']: Revert 2003-02-24 patch.  Don't handle
1665         pending argument upon return from handle_braces here.
1666         (do_spec_2): Instead handle it upon return from do_spec_1 here.
1667
1668 2003-03-09  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1669
1670         * varasm.c (make_decl_one_only): Use declare_weak().
1671
1672 2003-03-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1673
1674         PR middle-end/9986
1675         * c-common.c (c_common_nodes_and_builtins): Initialize target builtins
1676         after the common builtins.
1677         * pa-hpux.h (DONT_HAVE_FPUTC_UNLOCKED): Define.
1678         * pa.c (TARGET_INIT_BUILTINS): Define.
1679         (pa_init_builtins): New function.
1680
1681         * pa.md (call, call_value, sibcall, sibcall_value): When sufficient
1682         space has been allocated for the outgoing arguments, set the arg
1683         pointer for a call emitted after virtuals have been instantiated
1684         using the stack pointer offset, otherwise abort.
1685
1686 2003-03-09  DJ Delorie  <dj@redhat.com>
1687
1688         * config/stormy16/stormy16.h (DWARF_LINE_MIN_INSTR_LENGTH): Revert.
1689
1690 2003-03-09  Richard Earnshaw  <rearnsha@arm.com>
1691
1692         * arm.md (fix_truncsfsi2, fix_truncdfsi2, arm_fix_truncsfsi2)
1693         (arm_fix_truncdfsi2): Add missing fix in floating point mode before
1694         conversion to integer.
1695         * cirrus.md (cirrus_truncsfsi2, cirrus_truncdfsi2): Likewise.
1696
1697 2003-03-09  Roger Sayle  <roger@eyesopen.com>
1698
1699         * builtins.def: Fix typo and improve grammar.
1700         * loop-unroll.c (decide_peel_completely): Tidy log message.
1701
1702 2003-03-09  Kazu Hirata  <kazu@cs.umass.edu>
1703
1704         * config/h8300/h8300.md (*tstsi_upper_bit): New.
1705         (*iorsi3_e2f): Likewise.
1706
1707 2003-03-08  Kazu Hirata  <kazu@cs.umass.edu>
1708
1709         * config/h8300/h8300.c (h8300_and_costs): Return the number of
1710         assembly instructions needed.
1711         (h8300_shift_costs): Likewise.
1712
1713 2003-03-09  Hans-Peter Nilsson  <hp@bitrange.com>
1714
1715         * config/cris/aout.h (ENDFILE_SPEC): Undef.
1716
1717         * optabs.c (gen_move_insn): Move logic for synthesizing MODE_CC
1718         moves from here ...
1719         * expr.c (emit_move_insn_1): ... to here.
1720
1721         * config/cris/aout.h (CRIS_CPP_SUBTARGET_SPEC): Move -D__AOUT__ to...
1722         (TARGET_OS_CPP_BUILTINS): New macro.
1723         * config/cris/cris.h (CRIS_CPP_SUBTARGET_SPEC): Move -D__ELF__ to...
1724         (TARGET_OS_CPP_BUILTINS): New macro.
1725         (CPP_PREDEFINES): Don't define.  Move old definitions and...
1726         (CPP_SPEC): ...move -D__CRIS_ABI_version=2 to...
1727         (TARGET_CPU_CPP_BUILTINS): New macro.
1728         * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Move constant
1729         definitions and the optional __PIC__, __pic__ and
1730         __NO_UNDERSCORES__ definitions to...
1731         (TARGET_OS_CPP_BUILTINS): New macro.
1732
1733         * flags.h (flag_leading_underscore): Declare.
1734
1735         * c-opts.c (c_common_post_options): On fopen failure, return
1736         false, not NULL.
1737
1738 2003-03-08  Hans-Peter Nilsson  <hp@bitrange.com>
1739
1740         * config/cris/cris_abi_symbol.c: #include tconfig.h and tm.h, not
1741         config.h.
1742         * config/cris/cris.h (HAVE_GAS_HIDDEN): Don't define here.
1743         * config/cris/aout.h (HAVE_GAS_HIDDEN): Undef.
1744
1745 2003-03-08  Neil Booth  <neil@daikokuya.co.uk>
1746
1747         * config/sh/rtemself.h (TARGET_OS_CPP_BUILTINS): Use instead of
1748         CPP_PREDEFINES.
1749         * config/sh/rtems.h (TARGET_OS_CPP_BUILTINS): Use instead of
1750         CPP_PREDEFINES.
1751
1752 2003-03-08  Neil Booth  <neil@daikokuya.co.uk>
1753
1754         * c-common.h (c_common_init, c_common_post_options): Update.
1755         * c-objc-common.c (c_objc_common_init): Update for new prototype.
1756         * c-opts.c (saved_lineno): New.
1757         (c_common_post_options, c_common_init): Update prototypes,
1758         move call to cpp_read_main_file from latter to former.
1759         * c-tree.h (c_ojbc_common_init): Update.
1760         * langhooks-def.h (lhd_post_options): New.
1761         (LANG_HOOKS_INIT, LANG_HOOKS_POST_OPTIONS): Update.
1762         * langhooks.c (lhd_post_options): New.
1763         * langhooks.h (struct lang_hooks): Update post_options and init hooks.
1764         * toplev.c (no_backend): New.
1765         (process_options): Call post_options hook and set main_input_filename
1766         and input_filename here.
1767         (lang_dependent_init, do_compile): post_options hook moved to
1768         process_options.
1769         * objc/objc-act.c (objc_init): Update prototype.
1770         * objc/objc-act.h (objc_init): Update prototype.
1771
1772 2003-03-08  Roger Sayle  <roger@eyesopen.com>
1773
1774         * emit-rtl.c (gen_lowpart): Don't attempt to load a part of
1775         a complex or vector type, using a load in the original mode.
1776
1777 2003-03-08  Jan Hubicka  <jh@suse.cz>
1778
1779         * Makefile.in (cgraph.o): Depend on gt-cgraph.h and varray.h.
1780         * gt-cgraph.h: New GC file.
1781         * cgraph.c (known_fns): New static variable.
1782         (cgraph_node): Add the decl into varray.
1783
1784 2003-03-08  Hans-Peter Nilsson  <hp@bitrange.com>
1785
1786         * config/mmix/mmix.md ("*movcc_expanded"): Add missing alternatives.
1787
1788 2003-03-08  Richard Earnshaw  <rearnsha@arm.com>
1789
1790         * arm.c (fpa_rhs_operand, fpa_add_operand, const_double_rtx_ok_for_fpa)
1791         (neg_const_double_ok_for_fpa, output_mov_long_double_fpa_from_arm)
1792         (output_mov_long_double_arm_from_fpa, output_mov_double_fpa_from_arm)
1793         (output_mov_double_arm_from_fpa): Renamed to use fpa instead of fpu.
1794         All callers changed.
1795         * arm.md, arm.h, arm-protos.h: Updated.
1796
1797         * arm.h (enum reg_class FPA_REGS): Renamed from FPU_REGS.
1798         (CLASS_MAX_NREGS, REGISTER_MOVE_COST, REG_CLASS_FROM_LETTER): Updated.
1799         * arm.c (arm_regno_class, f_register_operand): Updated.
1800
1801 2003-03-08  Hans-Peter Nilsson  <hp@bitrange.com>
1802
1803         * config/cris/cris.h: Remove EGCS references.
1804         (CPP_SPEC): Remove "-$".
1805         (INIT_CUMULATIVE_ARGS): Adjust parameter name to FNDECL.
1806
1807 2003-03-08  Neil Booth  <neil@daikokuya.co.uk>
1808
1809         * config/stormy16/stormy16.h (TARGET_CPU_CPP_BUILTINS): Use in
1810         preference to CPP_PREDEFINES.
1811
1812 2003-03-08  Neil Booth  <neil@daikokuya.co.uk>
1813
1814         * cppinit.c (cpp_finish_options): Set first_unused_line to -1.
1815
1816 2003-03-08  Kazu Hirata  <kazu@cs.umass.edu>
1817
1818         * config/h8300/h8300.md (*extzv_16_8): New.
1819
1820 2003-03-08  Jan Hubicka  <jh@suse.cz>
1821
1822         * c-decl.c: (finish_function): Update call of tree_inlinable_function_p.
1823         * cgraph.h: (cgraph_local_info): Add can_inline_once
1824         (cgraph_global_info): Add inline_once.
1825         (cgraph_node): Add previous.
1826         (cgraph_remove_node): New.
1827         * cgraphunit.c (cgraph_mark_functions_to_inline_once): New static
1828         function.
1829         (cgraph_optimize): Call it.
1830         (cgraph_finalize_function):  Set inlinable flags.
1831         (cgraph_finalize_compilation_unit):  Actually remove the reclaimed nodes.
1832         (cgraph_mark_functions_to_output):  Use new inlining heuristics flags.
1833         (cgraph_expand_function): Likewise.
1834         * cgraph.c
1835         (cgraph_node): Put nodes into doubly linked chain.
1836         (cgraph_remove_node): New function.
1837         * flags.h (flag_inline_functions_called_once): Declare.
1838         * tree-inline.c: Include cgraph.h
1839         (inlinable_functions_p): Add extra argument to bypass limits.
1840         (expand_call_inline):  Obey cgraph flag.
1841         * tree-inline.h (tree_inlinable_function_p): Update prototype.
1842
1843 2003-03-08  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1844
1845         * gcse.c (bypass_block, bypass_conditional_jumps): Do not create
1846         irreducible loops.
1847
1848         * loop-unroll.c (unroll_loop_runtime_iterations): Update irreducible
1849         loops info correctly.
1850
1851 2003-03-08  Eric Botcazou  <ebotcazou@libertysurf.fr>
1852
1853         PR middle-end/7796
1854         * unroll.c (calculate_giv_inc): Handle constants being
1855         loaded with LSHIFTRT.
1856
1857 2003-03-07  David Edelsohn  <edelsohn@gnu.org>
1858
1859         * config/rs6000/rs6000.c (processor_target_table): Do not disable
1860         GP optional instructions on Power3, Power4, 620, and 630.
1861
1862 2003-03-07  Kazu Hirata  <kazu@cs.umass.edu>
1863
1864         * calls.c: Fix comment formatting.
1865         * cfgloopanal.c: Likewise.
1866         * cfgloopmanip.c: Likewise.
1867         * combine.c: Likewise.
1868         * dwarf2out.c: Likewise.
1869         * ggc-common.c: Likewise.
1870         * langhooks.c: Likewise.
1871         * loop-unroll.c: Likewise.
1872         * loop.c: Likewise.
1873         * ra-build.c: Likewise.
1874         * sbitmap.c: Likewise.
1875         * toplev.c: Likewise.
1876
1877 2003-03-07  James E Wilson  <wilson@tuliptree.org>
1878
1879         * config/sh/sh.h (HARD_REGNO_NREGS): Round up the XD register count.
1880
1881 2003-03-07  Geoffrey Keating  <geoffk@apple.com>
1882
1883         * objc/lang-specs.h (objective-c-header): Use .gch not .pch;
1884         support -no-integrated-cpp.
1885
1886         * c-pch.c (get_ident): Use c_language_kind and flag_objc rather
1887         than langhooks.name.
1888
1889 2003-03-07  Michael Matz  <matz@suse.de>
1890
1891         * df.h (enum df_ref_flags.DF_REF_STRIPPED): New.
1892         (DF_FOR_REGALLOC): New.
1893         * df.c (df_ref_record): Set DF_REF_STRIPPED.
1894         (read_modify_subreg_p): Simplify.
1895         (df_def_record_1, df_uses_record): Set DF_REF_MODE_CHANGE more often.
1896         Use DF_FOR_REGALLOC.
1897         * ra.h (struct web): New member subreg_stripped.
1898         (invalid_mode_change_regs): Declare.
1899         * ra.c (invalid_mode_change_regs): New.
1900         (init_ra): Initialize it.
1901         * ra-build.c (init_one_web_common, remember_web_was_spilled): Use it.
1902         Use CANNOT_CHANGE_MODE_CLASS as ifdef guard.
1903         (reinit_one_web, parts_to_web_1): Deal with subreg_stripped.
1904         * ra-colorize.c (colorize_one_web): Use invalid_mode_change_regs.
1905         Use CANNOT_CHANGE_MODE_CLASS as ifdef guard.
1906
1907 2003-03-07  Richard Earnshaw  <rearnsha@arm.com>
1908
1909         * arm.md (addsf3, adddf3, subsf3, subdf3, mulsf3, muldf3, negsf2)
1910         (negdf2, abssi2, abssf2, absdf2, floatsisf2, floatsidf2)
1911         (fix_truncsfsi2, fix_truncdfsi2, truncdfsf2): Moved back into main
1912         machine description file from ...
1913         * cirrus.md: ... here.
1914
1915 2003-03-06  Kazu Hirata  <kazu@cs.umass.edu>
1916
1917         * config/h8300/h8300.md (a peephole2): Don't use
1918         reg_overlap_mentioned_p.
1919
1920 2003-03-06  Geoffrey Keating  <geoffk@apple.com>
1921
1922         * c-pch.c: Include langhooks.h.
1923         (IDENT_LENGTH): New.
1924         (get_ident): New.
1925         (pch_ident): Delete.
1926         (pch_init): Use get_ident, IDENT_LENGTH.
1927         (c_common_valid_pch): Likewise.  Also, use actual language
1928         in warning message.
1929         * Makefile.in (c-pch.o): Add langhooks.h to dependencies.
1930
1931         * objc/config-lang.in (gtfiles): Add objc-act.c.  Remove duplicate
1932         c-parse.in.
1933         * objc/Make-lang.in (objc/objc-act.o): Add dependency on
1934         gt-objc-objc-act.h.
1935         (gt-objc-objc-act.h): New rule.
1936         * objc/lang-specs.h: Support PCH.
1937         * objc/objc-act.c: Include gt-objc-objc-act.h.
1938         (objc_add_static_instance): Move num_static_inst out, mark for PCH.
1939         (build_selector_reference_decl): Move idx out, mark for PCH.
1940         (build_class_reference_decl): Likewise.
1941         (build_objc_string_decl): Move *_idx out, mark for PCH.
1942         (build_tmp_function_decl): Move xxx out, mark for PCH.
1943
1944 2003-03-06  Dale Johannesen  <dalej@apple.com>
1945
1946         * config/rs6000/rs6000.c (rs6000_binds_local_p):  Consider
1947         global functions for inlining on Darwin.
1948
1949 2003-03-06  Vladimir Makarov  <vmakarov@redhat.com>
1950
1951         * haifa-sched.c (schedule_block): Don't call reorder when sorting
1952         is prohibited.
1953
1954 2003-03-06  Neil Booth  <neil@daikokuya.co.uk>
1955
1956         * Makefile.in (c-ppoutput.o): Update.
1957         * c-common.h (init_pp_output): New.
1958         (preprocess_file): Update.
1959         * c-lex.c (init_c_lex): Move mbchar initialization to cpplib.
1960         Register builtins.
1961         * c-opts.c (c_common_init): Call init_pp_output if preprocessing.
1962         Make call to cpp_read_main_file common to whether preprocessing
1963         or not.  Don't register builtins.
1964         * c-ppoutput.c: Include c-pragma.h.
1965         (setup_callbacks): Rename init_pp_output.
1966         (preprocess_file): No longer setup callbacks or call
1967         cpp_read_main_file.
1968         * cpphash.h (_cpp_init_mbchar): New.
1969         * cppinit.c (init_library): Call _cpp_init_mbchar.
1970         * cpplex.c (_cpp_init_mbchar): New.
1971
1972 2003-03-06  Roger Sayle  <roger@eyesopen.com>
1973
1974         * emit-rtl.c (gen_lowpart): When requesting the low-part of a
1975         MEM, try loading the MEM into a register and taking the low-part
1976         of that, to help CSE see the use of the MEM in its true mode.
1977
1978 2003-03-05  Tom Tromey  <tromey@redhat.com>
1979
1980         * config/stormy16/stormy16.h (DWARF_LINE_MIN_INSTR_LENGTH):
1981         Define.
1982
1983 2003-03-05  Nick Clifton  <nickc@cambridge.redhat.com>
1984
1985         * config/stormy16/stormy16.md ("*eqbranchsi"): Remove '+' on
1986         operand 2.
1987         ("*ineqbranchsi"): Likewise.
1988
1989 2003-03-05  Andrew Haley  <aph@cambridge.redhat.com>
1990
1991         * config/stormy16/stormy16.c (xstormy16_expand_prologue): Delete
1992         mem_fake_push_rtx.  Instead construct a SEQUENCE to show the
1993         register store followed by a stack increment.
1994
1995 2003-03-05  Chris Moller  <cmoller@redhat.com>
1996
1997         * config/stormy16/stormy16.c (REG_NEEDS_SAVE): added a term
1998         to inhibit saving CARRY_REGS.
1999
2000         * config/stormy16/stormy16.c (xs_hi_general_operand):
2001         added predicate to detect and error-out on out-of-range
2002         const_ints for movhi.
2003         * config/stormy16/stormy16.md (movhi): use
2004         xs_hi_general_operand.
2005
2006         * config/stormy16/stormy16.c (xstormy16_expand_prologue):
2007         added a check for local vbl size overflow.
2008         * config/stormy16/stormy16.c (xs_hi_nonmemory_operand):
2009         added predicate to detect and error-out on out-of-range
2010         const_ints for addhi and subhi.
2011         * config/stormy16/stormy16.md (addhi3, addchi4, addchi5,
2012         subhi3, subchi4, subchi5): used xs_hi_nonmemory_operand.
2013
2014         * config/stormy16/stormy16.c (xstormy16_legitimate_address_p):
2015         add a term to accept PRE_MODIFY addresses.
2016         * config/stormy16/stormy16.c (xstormy16_expand_move):
2017         add code to expand PRE_MODIFY addresses to an add followed
2018         by a move.
2019
2020 2003-03-06  Jason Merrill  <jason@redhat.com>
2021
2022         * tree-inline.c (inlinable_function_p): Revert earlier change
2023         pending investigation.
2024
2025 2003-03-06  Kazu Hirata  <kazu@cs.umass.edu>
2026
2027         * config/h8300/h8300.md (a new peephole2): New.
2028
2029 2003-03-06  Jan Hubicka  <jh@suse.cz>
2030
2031         * cgraph.c (cgraph_node): Do not confuse nested functions and methods.
2032
2033 2003-03-06  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2034
2035         * dwarf2out.c (size_of_die): Compute size of external reference to
2036         die correctly.
2037
2038 2003-03-06  Hans-Peter Nilsson  <hp@bitrange.com>
2039
2040         * config/mmix/mmix.md ("*movcc_expanded"): New pattern.
2041         ("movcc", "movcc_uns", "movcc_fp", "movcc_fpeq", "movcc_fun"): New
2042         expanders.
2043
2044 2003-03-05  Roger Sayle  <roger@eyesopen.com>
2045
2046         * expr.h (lang_expand_expr): Delete obsolete prototype.
2047
2048 2003-03-05  Kazu Hirata  <kazu@cs.umass.edu>
2049
2050         * emit-rtl.c (gen_highpart_mode): Fix a comment typo.
2051
2052 2003-03-05  Kazu Hirata  <kazu@cs.umass.edu>
2053
2054         * config/h8300/h8300.md (a peephole2): Generalize to
2055         accept a memory operand.
2056
2057 2003-03-05  Olivier Hainque <hainque@act-europe.fr>
2058
2059         * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '+'.
2060         * config/alpha/alpha.c (print_operand, case '+'): New.
2061         * config/alpha/alpha.md (call_osf_1_noreturn): Document and use.
2062         (call_value_osf_1_noreturn): Likewise.
2063
2064 2003-03-05  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2065
2066         * stmt.c (fixup_gotos): Change meaning of DONT_JUMP_IN.
2067         (expand_end_bindings): Likewise.
2068
2069 2003-03-05  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2070
2071         * pa.md (return_external_pic): Add !TARGET_PA_20 to constraint.
2072         (epilogue): Don't generate return_external_pic when emitting PA 2.0
2073         code.
2074
2075 2003-03-05  Aldy Hernandez  <aldyh@redhat.com>
2076
2077         * doc/tm.texi: Document TARGET_DWARF_REGISTER_SPAN.
2078
2079         * config/rs6000/rs6000.c (rs6000_dwarf_register_span): New.
2080
2081         * hooks.c (hook_rtx_rtx_null): New.
2082
2083         * hooks.h (hook_rtx_rtx_null): Protoize.
2084
2085         * target-def.h (TARGET_DWARF_REGISTER_SPAN): New macro.
2086         (TARGET_INITIALIZER): Add TARGET_DWARF_REGISTER_SPAN.
2087
2088         * target.h (struct gcc_target): Add dwarf_register_span.
2089
2090         * dwarf2out.c (multiple_reg_loc_descriptor): New.
2091         (one_reg_loc_descriptor): New.
2092         (reg_loc_descriptor): Add support for values that span more than
2093         one register.
2094
2095 2003-03-05  Jan Hubicka  <jh@suse.cz>
2096
2097         * Makefile.in (calls.o, toplev.o alias.o): Depend on cgraph.h
2098         * alias.c:  Include cgraph.h
2099         (mark_constant_function): Use cgraph_rtl_info.
2100         * calls.c:  Include cgraph.h
2101         (flags_from_decl_or_type): Use cgraph_rtl_info to find pure and const
2102         calls.
2103         (expand_call): Use cgraph_rtl_info to set preferred stack boundary.
2104         * cgraph.c (cgraph_rtl_info): New function.
2105         * cgraph.h (cgraph_rtl_info): Declare
2106         (cgraph_rtl_info): Likewise.
2107         * function.h (struct function): Add recursive_call_emit.
2108         * toplev.c: Include cgraph.h.
2109         (rest_of_compilation): Set preferred_incoming_stack_boundary.
2110
2111 2003-03-05  Kazu Hirata  <kazu@cs.umass.edu>
2112
2113         * config/h8300/h8300.c (output_simode_bld): Clear the
2114         destination first if possible.
2115         * config/h8300/h8300.md (extzv_1_r_h8300hs): Add an
2116         alternative.
2117         (extzv_1_r_inv_h8300hs): Likewise.
2118
2119 2003-03-05  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2120
2121         * basic-block.h (EDGE_IRREDUCIBLE_LOOP, EDGE_ALL_FLAGS): New.
2122         * cfg.c (dump_edge_info): Add EDGE_IRREDUCIBLE_LOOP flag dump.
2123         * cfgloop.c (flow_loop_free): Made global.
2124         (establish_preds): New static function.
2125         (flow_loop_tree_node_add): Handle subloops of added loop correctly.
2126         (get_loop_exit_edges): New.
2127         (verify_loop_structure): Verify EDGE_IRREDUCIBLE_LOOP flags.
2128         * cfgloop.h (flow_loop_free, get_loop_exit_edges, unloop): Declare.
2129         * cfgloopanal.c (mark_irreducible_loops): Mark edges in irreducible
2130         loops.
2131         * cfgloopmanip.c (loop_delete_branch_edge): Allow to test for
2132         removability of an edge.
2133         (fix_irreducible_loops): New static function.
2134         (find_path, remove_path): Add ability to remove enclosing loops.
2135         (unloop): New.
2136         (copy_bbs, duplicate_loop_to_header_edge): Use EDGE_IRREDUCIBLE_LOOP
2137         flags.
2138         * cfgrtl.c (verify_flow_info): Handle EDGE_IRREDUCIBLE_LOOP flag.
2139         * loop-unroll.c (peel_loops_completely): Do not duplicate loop if
2140         not neccessary.
2141         (decide_peel_completely, peel_loops_completely): Allow complete peeling
2142         of non-duplicable once rolling loops.
2143         * loop-unswitch.c (unswitch_loop): Update EDGE_IRREDUCIBLE_LOOP flags.
2144
2145 2003-03-05  J"orn Rennecke <joern.rennecke@superh.com>
2146
2147         * sh.h (OVERRIDE_OPTIONS): For TARGET_SHMEDIA, the minimum value
2148         for align_jumps is 4.
2149
2150         (SECONDARY_INPUT_RELOAD_CLASS): If reloading a PLUS into FPUL,
2151         use GENERAL_REGS.
2152
2153 2003-03-05  Stephane Carrez  <stcarrez@nerim.fr>
2154
2155         * config/m68hc11/m68hc11.h (PAD_VARARGS_DOWN): Define and return
2156         according to va_arg type.
2157         (EXPAND_BUILTIN_VA_ARG): Remove.
2158         * config/m68hc11/m68hc11.c (m68hc11_va_arg): Remove.
2159         * config/m68hc11/m68hc11-protos.h (m68hc11_va_arg): Remove.
2160
2161 2003-03-05  David Edelsohn  <edelsohn@gnu.org>
2162
2163         * config/rs6000/rs6000.c (rs6000_variable_issue): Remove unnecessary
2164         else clauses.
2165
2166 2003-03-05  Michael Matz  <matz@suse.de>
2167
2168         * i386/i386.c (ix86_save_reg): Also test
2169         current_function_uses_const_pool.
2170
2171 2003-03-05  Michael Matz  <matz@suse.de>
2172
2173         * unwind.h: Add the GPL exception.
2174         * Makefile.in (USER_H): Add unwind.h.
2175
2176 2003-03-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
2177
2178         PR c/9799
2179         * c-typeck.c (push_init_level): Add sanity check.
2180
2181 2003-03-05  Jan Hubicka  <jh@suse.cz>
2182
2183         * toplev.c (rest_of_compilation):  Deffer RTL compilation only when
2184         RTL inlining is done.
2185
2186         * cgraphunit.c (cgraph_mark_local_functions): New local function.
2187         (cgraph_optimize): Mark local functions.
2188         * i386-protos.h (init_cumulative_args): Update prototype.
2189         * i386.c (init_cumulative_args): Use register passing convention for
2190         local functions.
2191
2192         * cgraph.c (cgraph_global_info_ready): New global variable
2193         (cgraph_local_info, cgraph_global_info): New functions.
2194         * cgraph.h (struct cgraph_local_info, cgraph_global_info): New
2195         structures.
2196         (cgraph_local_info, cgraph_global_info, cgraph_global_info_ready):
2197         Declare.
2198         * cgraphunit.c (cgraph_finalize_function): Set inline_many.
2199         (cgraph_mark_functions_to_output): Use inline_many.
2200         (cgraph_expand_function): Free DECL_SAVED_TREE uncondtionally.
2201         (cgraph_expand_functions): Expand inline functions last.
2202         (cgraph_optimize): Do not emit uneeded functions.
2203
2204 2003-03-04  Steve Ellcey  <sje@cup.hp.com>
2205
2206         * expr.c (convert_modes): Check for legal hard register.
2207
2208 2003-03-04  Tom Tromey  <tromey@redhat.com>
2209
2210         * doc/sourcebuild.texi (Front End Directory): Document tags.
2211         * configure: Rebuilt.
2212         * configure.in (target_list): Added tags.
2213         * Makefile.in (TAGS): Depend on lang.clean.  Include subdirectory
2214         TAGS files by reference.
2215         * objc/Make-lang.in (objc.tags): New target.
2216
2217 2003-03-04  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2218
2219         * gcov-io.h (gcov_save_position, gcov_reserve_length, gcov_resync,
2220         gcov_skip, gcov_skip_string, gcov_write_unsigned, gcov_write_counter,
2221         gcov_write_string, gcov_read_unsigned, gcov_read_counter,
2222         gcov_read_string, gcov_write_length): Modified to enable reading/
2223         writing of whole .da file just once.
2224         (da_file_open, da_file_close, da_file_eof, da_file_error,
2225         da_file_position, da_file_seek, da_file_write, da_file_read): New
2226         functions.
2227         (actual_da_file, actual_da_file_position, actual_da_file_length,
2228         actual_da_file_buffer, actual_da_file_buffer_size): New static
2229         functions.
2230         * libgcov.c (gcov_exit): Modified to read/write the whole .da file at
2231         just once.
2232
2233
2234 2003-03-04  Andreas Schwab  <schwab@suse.de>
2235
2236         * config/m68k/m68k.c (m68k_output_function_prologue): Fix CFA
2237         offset without frame pointer.
2238
2239 2003-03-04  Steve Ellcey  <sje@cup.hp.com>
2240
2241         * expr.c (expand_expr): Call promote_mode to set unsignedp.
2242
2243 2003-03-04  Daniel Jacobowitz  <drow@mvista.com>
2244
2245         * configure.in: Don't always define TARGET_SYSTEM_ROOT.
2246         * configure: Regenerated.
2247         * gcc.c: Check whether TARGET_SYSTEM_ROOT is defined.
2248
2249 2003-03-04  Andreas Jaeger  <aj@suse.de>
2250
2251         * configure.in: Check for <memcheck.h>.
2252         * configure: Regenerated.
2253
2254         * config.in: Define HAVE_MEMCHECK_H.
2255
2256         * ggc-common.c: Use <memcheck.h> if available instead of
2257         <valgrind.h>.
2258         * ggc-page.c: Likewise.
2259         * cppfiles.c: Likewise.
2260
2261 2003-03-04  Kazu Hirata  <kazu@cs.umass.edu>
2262
2263         * config/h8300/h8300.md (*extzv_8_8): Fix cc and lengths.
2264
2265 2003-03-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
2266
2267         PR c/9262
2268         * c-typeck.c (do_case): Attach the first case label to the SWITCH_BODY.
2269         (c_finish_case): Rechain the next statements to the SWITCH_STMT.
2270
2271 2003-03-04  Jan Hubicka  <jh@suse.cz>
2272
2273         * doc/invoke.texi:  Document that unit-at-a-time is enabled for -O3
2274         * toplev.c (parse_options_and_default_flags): Enable flag_unit_at_a_time
2275         for -O3.
2276
2277 2003-03-04  Nathanael Nerode  <neroden@gcc.gnu.org>
2278
2279         * configure.in: Delete three unused variables.  Move a variable
2280         definition closer to its use.  Simplify use_collect2 logic.  Start to
2281         organize.  Simplify tests for in-tree gas and ld.
2282         * configure: Regenerate.
2283
2284 2003-03-04  Neil Booth  <neil@daikokuya.co.uk>
2285
2286         * Makefile.in: Update.
2287         * c-common.c (flag_no_line_commands, flag_no_output,
2288         flag_dump_macros, flag_dump_includes): New.
2289         * c-common.h (flag_no_line_commands, flag_no_output,
2290         flag_dump_macros, flag_dump_includes, preprocess_file): New.
2291         (init_c_lex): Update prototype.
2292         * c-lex.c (init_c_lex): Update prototype; move some code to
2293         c_common_init.
2294         * c-opts.c (preprocess_file): Subsume into c_common_init.
2295         (c_common_decode_option): Update flags.
2296         (c_common_init): Move code from preprocess_file and init_c_lex.
2297         (sanitize_cpp_opts): Update.
2298         * c-ppoutput.c: New, cppmain.c almost verbatim.
2299         * cpphash.h (struct printer): Remove.
2300         (struct cpp_reader): Remove print.
2301         * cpplib.h (dump_none, dump_only, dump_names, dump_definitions,
2302         cpp_preprocess_file): Remove.
2303         (struct cpp_options): Remove no_output, no_line_commands, dump_macros
2304         and dump_includes.
2305         * cppmain.c: Remove.
2306         * doc/passes.texi: Update.
2307
2308 2003-03-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2309
2310         * function.c (STACK_ALIGNMENT_NEEDED): New macro.  Default to 1.
2311         (assign_stack_local_1): Perform overall stack alignment only when
2312         STACK_ALIGNMENT_NEEDED is non-zero.
2313         * doc/tm.texi (STACK_ALIGNMENT_NEEDED): Document.
2314
2315         * pa.c (compute_frame_size): Rename fsize to size.  Account for
2316         alignment to a word boundary before general register save block.  Only
2317         account for double-word alignment before floating point register save
2318         block if one or more are saved.  Don't allocate space for %r3 when
2319         frame pointer is needed.
2320         (hppa_expand_prologue): Include alignment to word boundary in local
2321         frame size.
2322         * pa.h (STARTING_FRAME_OFFSET): Define to 8 on both 32 and 64-bit ports.
2323         (STACK_ALIGNMENT_NEEDED): Define.
2324
2325 2003-03-04  Kevin Buettner  <kevinb@redhat.com>
2326
2327         * dwarf2out.c (rtl_for_decl_location): Don't return NULL_RTX for
2328         global register variables.
2329
2330 2003-03-04  Alexandre Oliva  <aoliva@redhat.com>
2331
2332         * reload.c (reload_adjust_reg_for_mode): New function.
2333         (subst_reloads): Call it.
2334         (operands_match_p): Adjust registers using HARD_REGNO_NREGS.
2335         * reload.h (reload_adjust_reg_for_mode): Declare.
2336         * reload1.c (emit_input_reload_insns, emit_output_reload_insns):
2337         Call it.
2338
2339 2003-03-03  James E Wilson  <wilson@tuliptree.org>
2340
2341         * optabs.c (add_equal_note): Delete SUBREG_REG use.
2342         Fixes PR c/7872.
2343
2344 2003-03-03  Kazu Hirata  <kazu@cs.umass.edu>
2345
2346         * config/h8300/h8300.md (*ixorsi3_ashift_16): New.
2347         (*ixorsi3_lshiftrt_16): New.
2348         (*iorsi3_ashift_16): Remove.
2349
2350 2003-03-03  Kazu Hirata  <kazu@cs.umass.edu>
2351
2352         * config/h8300/h8300.md (*extzv_8_8): Use '?' to simplify the
2353         pattern.
2354
2355 2003-03-03  Geoffrey Keating  <geoffk@apple.com>
2356
2357         * doc/install.texi (Specific): Update entry for powerpc-darwin.
2358
2359 2003-03-03  Richard Henderson  <rth@redhat.com>
2360
2361         * config/ia64/ia64.h (HAVE_AS_LTOFFX_LDXMOV_RELOCS): Default to 0.
2362
2363 2003-03-03  David Edelsohn  <edelsohn@gnu.org>
2364
2365         * config/rs6000/rs6000.c (rs6000_multipass_dfa_lookahead): Delete.
2366         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Delete.
2367         (rs6000_variable_issue): Do not return negative value.
2368         (rs6000_issue_rate): Uniformly set issue rate to 1 for first
2369         scheduling pass.
2370
2371 2003-03-03  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2372
2373         * dwarf2out.c (dwarf2out_finish): Swap order of break_out_includes and
2374         prune_unused_types calls.
2375
2376 2003-03-03  Jason Merrill  <jason@redhat.com>
2377
2378         * tree-inline.c (find_builtin_longjmp_call): Save and restore
2379         lineno and input_filename.
2380         (find_alloca_call): Likewise.
2381         (inlinable_function_p): Run the langhook earlier.
2382
2383         * calls.c (compute_argument_addresses): Give the new MEMs a
2384         minimum alignment of PARM_BOUNDARY.
2385
2386 2003-03-03  J"orn Rennecke <joern.rennecke@superh.com>
2387
2388         * config/sh/sh.h (EXTRA_SPECS): Add subtarget_asm_relax_spec and
2389         subtarget_asm_isa_spec.
2390         (SUBTARGET_ASM_RELAX_SPEC, SUBTARGET_ASM_ISA_SPEC): Define.
2391         (ASM_SPEC): Define as SH_ASM_SPEC.
2392         (SH_ASM_SPEC): New; take the role of ASM_SPEC, but safe from svr4.h.
2393         Use subtarget_asm_relax_spec and subtarget_asm_isa_spec.
2394         * config/sh/elf.h (ASM_SPEC): Use SH_ASM_SPEC.
2395         (SUBTARGET_ASM_ISA_SPEC): Undef / define.
2396
2397         * sh.h (OVERRIDE_OPTIONS): Set default values for align_loops
2398         and align_jumps if not set.
2399         Force align_jumps to be at least 2.
2400         When relaxing, force align_functions to be at least the maximum of
2401         align_loops, align_jumps and 4.
2402         * sh.c (find_barrier, barrier_align): Honour align_jumps_log.
2403         (sh_loop_align): Honour align_loops_log.
2404
2405         * sh.md (length attribute): Use prev_nonnote_insn instead of PREV_INSN
2406         to check for indirect_jump_scratch.
2407         (indirect_jump_scratch): Add second set.
2408         * sh.c (output_far_jump): Use prev_nonnote_insn instead of PREV_INSN
2409         when looking for indirect_jump_scratch.
2410         Extract scratch register taking new structure of indirect_jump_scratch
2411         into account.
2412         (gen_block_redirect): Set INSN_SCOPE for indirect_jump_scratch.
2413
2414 2003-03-03  Jan Hubicka  <jh@suse.cz>
2415
2416         * calls.c (rtx_for_function_call): Take the address as an argument
2417         (expand_call): Do not modify the expression.
2418
2419         * toplev.c (rest_of_compilation):  Avoid cfg_cleanup calls when not
2420         optimizing.
2421
2422 2003-03-03  Kazu Hirata  <kazu@cs.umass.edu>
2423
2424         * config/h8300/h8300.md (*ixorsi3_zext_hi): Restrict to
2425         TARGET_H8300H and TARGET_H8300S.
2426
2427 2003-03-03  Kazu Hirata  <kazu@cs.umass.edu>
2428
2429         * config/h8300/h8300.md (a peephole2): New.
2430
2431 2003-03-03  Kazu Hirata  <kazu@cs.umass.edu>
2432
2433         * config/h8300/h8300.md (*extzv_8_8): Use shorter code when
2434         operands[0] and operands[1] are different.
2435
2436 2003-03-03  Kazu Hirata  <kazu@cs.umass.edu>
2437
2438         * reload1.c (reload_cse_move2add): Remove variable success.
2439
2440 2003-03-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2441
2442         * ggc-common.c (ggc_rlimit_bound): Cast RLIM_INFINITY to avoid
2443         warnings.
2444
2445 2003-03-02  Richard Henderson  <rth@redhat.com>
2446
2447         * configure.in (HAVE_AS_LTOFFX_LDXMOV_RELOCS): New ia64 test.
2448         * config.in, configure: Rebuild.
2449         * config/ia64/ia64.c (ia64_ld_address_bypass_p): Accept lo_sum.
2450         * config/ia64/ia64.md (load_symptr): Use high/lo_sum for the
2451         paired ldtoffx and ldxmov annotations.
2452         (load_symptr_internal1): Remove.
2453         (load_symptr_high, load_symptr_low): New.
2454
2455 2003-03-02  Neil Booth  <neil@daikokuya.co.uk>
2456
2457         * c-incpath.c (add_path): Fix sysp assignment.
2458
2459 2003-03-02  Kurt Garloff  <garloff@suse.de>
2460
2461         * params.def: Introduce parameter max-inline-insns-rtl for
2462         a separate limit for the RTL inliner.
2463         * params.h: Likewise.
2464         * integrate.c (function_cannot_inline_p): Use it.
2465         * toplev.c (decode_f_option): Set multiple parameters
2466         controlling inlining with -finline-limit.
2467         * params.def: Fix orthographic and typographic errors.
2468         * doc/invoke.texi: Document parameters controlling inlining
2469         and the way -finline-limit sets multiple of them.
2470
2471         * tree.h (struct tree_decl): Introduce inlined_function_flag,
2472         recording whether the function became eligible for inlining
2473         by a compiler flag rather than the declaration.
2474         Provide DID_INLINE_FUNC macro to access it.
2475         * c-decl.c (grokdeclarator): Set DID_INLINE_FUNC.
2476         * cp/decl.c (grokfndecl): Likewise.
2477         * toplev.c (rest_of_compilation): Likewise.
2478         * cp/optimize (maybe_clone_body): Copy DID_INLINE_FUNC.
2479         * print-tree.c (print_node): Report it.
2480         * params.def: Introduce new max-inline-insns-auto limit.
2481         * params.h: Likewise.
2482         * tree-inline.c (inlinable_function_p): Apply it to functions
2483         with DID_INLINE_FUNC set.
2484         * toplev.c (decode_f_option): Initialize it from -finline-limit
2485         value.
2486         * doc/invoke.texi: Document new parameter.
2487
2488 2003-03-02  Geoffrey Keating  <geoffk@apple.com>
2489
2490         * fix-header.c (read_scan_file): Don't reference simplify_path.
2491
2492 2003-03-02  Stephane Carrez  <stcarrez@nerim.fr>
2493
2494         * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't enable
2495         min/max instructions by default as may result in reload errors.
2496
2497 2003-03-02  Stephane Carrez  <stcarrez@nerim.fr>
2498
2499         * config/m68hc11/m68hc11.md ("mulqi3"): Allow address register to
2500         avoid reload problems; define split for it.
2501
2502 2003-03-02  Stephane Carrez  <stcarrez@nerim.fr>
2503
2504         * config/m68hc11/m68hc11.c (m68hc11_shift_operator): New function.
2505         * config/m68hc11/m68hc11-protos.h (m68hc11_shift_operator): Declare.
2506         * config/m68hc11/m68hc11.h (PREDICATE_CODES): Register.
2507         * config/m68hc11/m68hc11.md ("rotrhi3", "rotlhi3"): New patterns for
2508         rotatert and rotate.
2509         ("rotrhi3_const", "rotlhi3_const"): Rename of old 'rotrhi3' insns.
2510         ("*rotrhi3", "*rotlhi3"): New insn pattern for non-const rotatert.
2511         ("*rotrhi3_addr"): New split for shift insns on address register.
2512         ("*lshrhi3", "*ashrhi3", "*ashlhi3_2"): Use new split.
2513         * config/m68hc11/larith.asm (___rotlhi3): New asm function.
2514         (___rotrhi3): Likewise.
2515         * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build them.
2516
2517 2003-03-02  Neil Booth  <neil@daikokuya.co.uk>
2518
2519         * toplev.c (aux_base_name): Moved from toplev.h.
2520         (filename): Constify.
2521         (lang_dependent_init): Don't duplicate name.
2522         (process_options): Set aux_base_name here, not...
2523         (do_compile): ...here.  Change protoype.
2524         (toplev_main): Move some code from do_compile.
2525         * toplev.h: Remove aux_base_name.
2526
2527 2003-03-02  Kazu Hirata  <kazu@cs.umass.edu>
2528
2529         * config/h8300/h8300-protos.h: Add a prototype for
2530         iorxor_operator.
2531         * config/h8300/h8300.c (print_operand): Handle 'c'.
2532         (iorxor_operator): New.
2533         * config/h8300/h8300.h (PREDICATE_CODES): Add iorxor_operator.
2534         * config/h8300/h8300.md (*iorhi3_zext): Remove.
2535         (*iorsi3_zexthi): Likewise.
2536         (*iorsi3_zextsi): Likewise.
2537         (*xorhi3_zextqi): Likewise.
2538         (*xorsi3_zexthi): Likewise.
2539         (*xorsi3_zextsi): Likewise.
2540         (*ixorhi3_zext): New.
2541         (*ixorsi3_zext_qi): Likewise.
2542         (*ixorsi3_zext_hi): Likewise.
2543
2544 2003-03-02  Neil Booth  <neil@daikokuya.co.uk>
2545
2546         * c-incpath.c (remove_component_p, simplify_path): Move back to
2547         cppfiles.c.
2548         (remove_duplicates): Use cpp_simplify_path.
2549         * c-incpath.h (simplify_path): Remove.
2550         * c-lex.c: Don't include c-incpath.h.
2551         (init_c_lex): Remove simplify_path.
2552         * cppfiles.c (remove_component_p, cpp_simplify_path): Restore.
2553         (find_or_create_entry, validate_pch): Revert.
2554
2555 2003-03-02  Ashif Harji  <asharji@uwaterloo.ca>
2556
2557         * gcc.c (default_compilers): Add -no-integrated-cpp flag to invoke
2558           an external cpp during compilation.
2559         (option_map): Likewise.
2560         * objc/lang-specs.h (default_compilers): Similarly.
2561         * doc/invoke.texi: Document -no-integrated-cpp flag.
2562
2563 2003-03-02  Kazu Hirata  <kazu@cs.umass.edu>
2564
2565         * config/h8300/h8300.md (zero_extendqisi2): Change to an
2566         expander.
2567         (*zero_extendqisi2_h8300): New.
2568         (*zero_extendqisi2_h8300hs): New.
2569         (two splitters): New.
2570
2571 2003-03-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2572
2573         * fp-bit.h (float_to_usi): Fix condition wrapping prototype.
2574
2575 2003-03-01  Kazu Hirata  <kazu@cs.umass.edu>
2576
2577         * config/h8300/h8300.md (a peephole2): Remove dead code.
2578
2579 2003-03-01  Roger Sayle  <roger@eyesopen.com>
2580
2581         PR c++/9367
2582         * builtin-types.def (DEF_FUNCTION_TYPE_VAR_3): New macro.
2583         (BT_FN_INT_CONST_STRING_VALIST_ARG,
2584         BT_FN_INT_STRING_CONST_STRING_VALIST_ARG,
2585         BT_FN_INT_CONST_STRING_CONST_STRING_VALIST_ARG,
2586         BT_FN_INT_STRING_SIZE_CONST_STRING_VALIST_ARG,
2587         BT_FN_INT_STRING_CONST_STRING_VAR,
2588         BT_FN_INT_CONST_STRING_CONST_STRING_VAR,
2589         BT_FN_INT_STRING_SIZE_CONST_STRING_VAR): New built-in types.
2590         * builtin-attrs.def (ATTR_NONNULL_1, ATTR_NONNULL_2,
2591         ATTR_NONNULL_3): Also include the nothrow attribute.
2592         (sprintf, scanf, sscanf, vprintf, vsprintf, snprintf,
2593         vsnprintf, vscanf, vsscanf): Don't define attributes here.
2594         * builtins.def (putchar, puts): Make full C89 built-ins.
2595         (snprintf, sprintf, scanf, sscanf, vprintf, vscanf,
2596         vsscanf, vsnprintf, vsprintf): New built-ins.
2597         * c-common.c (c_common_nodes_and_builtins): Handle new macro
2598         DEF_FUNCTION_TYPE_VAR_3.
2599
2600         * doc/extend.texi: Document these new built-in functions.
2601
2602 2003-03-01  Kazu Hirata  <kazu@cs.umass.edu>
2603
2604         * config/h8300/h8300.md (a peephole2): New.
2605
2606 2003-03-01  Richard Earnshaw  <rearnsha@arm.com>
2607
2608         * predict.c (estimate_bb_frequencies): Correctly set
2609         real_values_initialized after initialization.
2610
2611 2003-03-01  Neil Booth  <neil@daikokuya.co.uk>
2612
2613         * Makefile.in (C_AND_OBJC_OBJS, c-incpath.o, c-lex.o, LIBCPP_OBJS,
2614         cppinit.o, cppdefault.o, fix-header): Update.
2615         * c-incpath.c: New file.
2616         * c-incpath.h: New file.
2617         * c-lex.c: Include c-incpath.h.
2618         (init_c_lex): Register path simplifier.
2619         * c-opts.c: Include cppdefault.h and c-incpath.h.
2620         (TARGET_SYSTEM_ROOT, verbose, iprefix, sysroot, std_inc,
2621         std_cxx_inc, quote_chain_split, add_prefixed_path): New.
2622         (COMMAND_LINE_OPTIONS): Add more options from cpplib.
2623         (missing_arg, c_common_decode_option): Handle them.
2624         (c_common_post_options): Register include chains.
2625         (print_help): Update.
2626         * cppdefault.h (struct default include): Update.
2627         Move some macros to ...
2628         * cppdefault.c: ... here.
2629         (cpp_include_defaults): Add extra field add_sysroot.
2630         * cppfiles.c (include_file, search_from, find_or_create_entry,
2631         cpp_included, find_include_file, remap_filename): Update for
2632         renaming of search_path to cpp_path, and of the chain headers.
2633         (remove_component_p, _cpp_simplify_pathname): Move to c-incpath.c.
2634         * cpphash.h (struct search_path): Move to cpplib.h.
2635         (struct cpp_buffer, struct cpp_reader): Update.
2636         (_cpp_simplify_pathname): Remove.
2637         * cppinit.c: Don't include prefix.h and cppdefault.h.
2638         (INO_T_EQ, INO_T_COPY, path_include, append_include_chain,
2639         remove_dup_dir, remove_dup_nonsys_dirs, remove_dup_dirs,
2640         init_standard_includes, BRACKET, SYSTEM, AFTER, no_dir,
2641         no_pth, cpp_handle_options): Remove.
2642         (struct pending_option): Remove chain members.
2643         (cpp_destroy, cpp_read_main_file, COMMAND_LINE_OPTIONS,
2644         cpp_handle_option): Update.
2645         * cpplib.h (struct cpp_path, cpp_set_include_chains): New.
2646         (struct cpp_options): Remove quote_include, bracket_include,
2647         include_prefix, include_prefix_len, verbose, ignore_srcdir,
2648         no_standard_includes, no_standard_cplusplus_includes.
2649         (struct cpp_callbacks): Add simplify_path.
2650         (cpp_handle_options): Remove.
2651         * fix-header.c: Include c-incpath.h.
2652         (read_scan_file): Update to use c-incpath functionality.
2653         * doc/passes.texi: Update.
2654
2655 2003-03-01  Kazu Hirata  <kazu@cs.umass.edu>
2656
2657         * config/h8300/h8300.c (bit_operand): Accept MEM only if it
2658         satisfies EXTRA_CONSTRAINT 'U'.
2659
2660 2003-03-01  Kazu Hirata  <kazu@cs.umass.edu>
2661
2662         * config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Take a scratch
2663         register.
2664         (*tst_extzv_memqi_1_n): Change to a splitter.
2665         (a peephole2): Update.
2666
2667 2003-03-01  Richard Earnshaw  <rearnsha@arm.com>
2668
2669         * predict.c (estimate_bb_frequencies): Initialize the sreal
2670         constants once per compilation.
2671
2672 2003-02-28  Richard Henderson  <rth@redhat.com>
2673
2674         * toplev.c (flag_eliminate_unused_debug_types): Enable by default.
2675
2676 2003-02-28  scott snyder  <snyder@fnal.gov>
2677
2678         * flags.h: Add flag_eliminate_unused_debug_types.
2679         * toplev.c: Add flag_eliminate_unused_debug_types.
2680         (f_options): Add -feliminate-unused-debug-types.
2681         * dwarf2out.c (struct file_table): Add emitted member.
2682         (splice_child_die): Fix the parent pointer for the child being
2683         spliced.
2684         (lookup_filename): Maintain file_table.emitted array.  Don't
2685         output .file directive here.
2686         (maybe_emit_file): (new)
2687         (init_file_table): Set up file_table.emitted.
2688         (dwarf2out_source_line): Use maybe_emit_file.
2689         (dwarf2out_start_source_file): Use maybe_emit_file.
2690         (dwarf2out_init): Use maybe_emit_file.
2691         (prune_unused_types_walk_attribs): (new)
2692         (prune_unused_types_mark): (new)
2693         (prune_unused_types_walk): (new)
2694         (prune_unused_types_prune): (new)
2695         (prune_unused_types): (new)
2696         (dwarf2out_finish): Call prune_unused_types if
2697         flag_eliminate_unused_debug_types is set.
2698         * doc/invoke.texi (Option Summary): Add
2699         -feliminate-unused-debug-types.
2700         (Debugging Options): Likewise.
2701
2702 2003-02-28  Geoffrey Keating  <geoffk@apple.com>
2703
2704         * doc/invoke.texi: Change .pch to .gch.
2705         * cppfiles.c (open_file_pch): Likewise.
2706         * gcc.c (default_compilers): Likewise.
2707
2708 2003-02-28  Aldy Hernandez  <aldyh@redhat.com>
2709
2710         * floatlib.c: Remove.
2711
2712 2003-02-28  Jason Merrill  <jason@redhat.com>
2713
2714         * stor-layout.c (variable_size): Leave a "minus 1" outside the
2715         SAVE_EXPR.
2716
2717 2003-02-28  David Edelsohn  <edelsohn@gnu.org>
2718
2719         * config/rs6000/power4.md: Add compare bypass.
2720
2721 2003-02-28  Jason Thorpe  <thorpej@wasabisystems.com>
2722
2723         * config/netbsd.h: Update copyright years.
2724         (NETBSD_CPP_SPEC): Define _REENTRANT and _PTHREADS if
2725         -pthread is specified on the command line.
2726
2727 2003-02-28  Dale Johannesen <dalej@apple.com>
2728
2729         * loop.c (struct movable): Add insert_temp, shrink savemode.
2730         (scan_loop): Accept invariants that require copying; mark as
2731         insert_temp.
2732         (combine_movables): Don't combine insert_temp movables.
2733         (move_movables): Insert copies for insert_temp movables.
2734         Don't record the info based on regno for insert_temp's.
2735
2736 2003-02-28  Joel Sherrill <joel@OARcorp.com>
2737
2738         PR 9638/other
2739         * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Ensure the
2740         this constant defaults to 1.
2741
2742 2003-02-28  Bob Wilson  <bob.wilson@acm.org>
2743
2744         * config.gcc (xtensa-*-linux*): Add t-slibgcc-elf-ver to tmake_file.
2745
2746 2003-02-28  Richard Earnshaw  <rearnsha@arm.com>
2747
2748         * arm.md (mulhisi3, mulhisi3addsi, mulhidi3adddi): Enable for any
2749         ARMv5e processor, not just for XScale.  Instructions are predicable.
2750         (mulhisi3tb, mulhisi3bt, mulhisi3tt): New patterns for ARMv5e.
2751
2752 2003-02-28  Nick Clifton  <nickc@redhat.com>
2753
2754         * config/arm/arm.c (note_invalid_constants): Change parameter type
2755         from bool to int.
2756
2757 2003-02-28  Kazu Hirata  <kazu@cs.umass.edu>
2758
2759         * config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Accept the
2760         test of bit 7.
2761         (*tst_extzv_memqi_1_n): Likewise.
2762         (a peephole2): New.
2763
2764 2003-02-28  Richard Sandiford  <rsandifo@redhat.com>
2765
2766         * config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Wrap in
2767         #ifndef __mips16.
2768
2769 2003-02-28  Jan Hubicka  <jh@suse.cz>
2770
2771         * combine.c (gen_lowpart_for_combine): Update handling of
2772         subregs_of_mode
2773         * flow.c (life_analysis, mark_used_regs): Likewise.
2774         * regclass.c (subregs_of_mode): Turn into single bitmap.
2775         (cannot_change-mode_set_regs, invalid_mode_change_p): Update
2776         dealing with subregs_of_mode
2777         * regs.h (subregs_of_mode): Update prototype.
2778
2779 2003-02-28  Josef Zlomek  <zlomekj@suse.cz>
2780
2781         * emit-rtl.c (set_reg_attrs_for_parm): New function.
2782         * rtl.h (set_reg_attrs_for_parm): New exported function.
2783         * function.c (assign_parms): Use set_reg_attrs_for_parm instead of
2784         set_reg_attrs_from_mem.
2785
2786 2003-02-27  Roger Sayle  <roger@eyesopen.com>
2787             Zack Weinberg <zack@codesourcery.com>
2788
2789         * gcc.c (do_spec_1):  Treat %U like %u for unique associations.
2790
2791 2003-02-27  Kazu Hirata  <kazu@cs.umass.edu>
2792
2793         * reload1.c (sext_for_mode): Remove.
2794         (reload_cse_move2add): Use trunc_int_for_mode instead of
2795         sext_for_mode.
2796         (move2add_note_store): Likewise.
2797         Reset register information if we see a set in non-integer
2798         mode.
2799
2800 2003-02-27  David Edelsohn  <edelsohn@gnu.org>
2801
2802         * config/rs6000/aix43.h (ASM_SPEC): Only emit -mppc64 if no -mcpu
2803         option.
2804         (ASM_CPU_SPEC): Use -m620 for Power3, Power4, 620, 630.
2805         * config/rs6000/aix51.h: Same.
2806         * config/rs6000/aix52.h: Same.
2807         * config/rs6000/power4.md: Additional VMX bypasses.
2808
2809 2003-02-27   Geert Bosch <bosch@gnat.com>
2810
2811         * toplev.c (print_version): Add indentation for GGC heuristics and
2812         output after printing version information.
2813
2814 2003-02-27  James E Wilson  <wilson@tuliptree.org>
2815
2816         * combine.c (simplify_comparison): Require integral mode when
2817         permuting SUBREG with AND.
2818
2819 2003-02-27  Steve Ellcey  <sje@cup.hp.com>
2820
2821         * config/ia64/hpux.h (STARTFILE_PREFIX_SPEC): Remove.
2822
2823 2003-02-27  Nick Clifton  <nickc@redhat.com>
2824
2825         * config/arm/arm.md (extendsfdf2): Add pattern accidentally
2826         deleted when cirrus instructions were added.
2827
2828 2003-02-27  Jason Thorpe  <thorpej@wasabisystems.com>
2829
2830         * config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Enable
2831         POSIX thread support by default.
2832
2833 2003-02-27  Roger Sayle  <roger@eyesopen.com>
2834
2835         * config/i386/cygwin.h: Don't include any other files directly.
2836         * config/i386/mingw32.h: Don't include cygwin.h directly.
2837         * config.gcc (cygwin, mingw32, uwin): Instead make these files
2838         explicit in the tm_files variable.
2839
2840 2003-02-27  Alan Modra  <amodra@bigpond.net.au>
2841
2842         * config/rs6000/rs6000.md: Add TI constant splitter.
2843
2844 2003-02-26  Alexandre Oliva  <aoliva@redhat.com>
2845
2846         * builtins.c (purge_builtin_constant_p): Handle subreg of
2847         constant_p_rtx too.
2848
2849         * function.c (assign_stack_local_1): Truncate constant added to
2850         frame_pointer_rtx or virtual_stack_vars_rtx for Pmode.
2851
2852 2003-02-26  David Edelsohn  <edelsohn@gnu.org>
2853
2854         * config.gcc: Add power4 to PowerPC with_cpu list.
2855
2856 2003-02-26  Jan Hubicka  <jh@suse.cz>
2857
2858         * objc-act.c: (mark_referenced_methods): Fix compilation problem.
2859
2860 2003-02-26  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2861
2862         * gcov-dump.c (print_prefix): Fix signedness warning.
2863         * gcov-io.h (struct counter_section, struct counter_section_data): New.
2864         (struct function_info): n_arc_counts field removed, n_counter_sections,
2865         counter_sections fields added.
2866         (struct gcov_info): arc_counts, n_arc_counts fields removed,
2867         n_counter_sections, counter_sections fields added.
2868         * libgcov.c (gcov_exit, __gcov_flush): Add support for multiple
2869         profile sections.
2870         * profile.h (MAX_COUNTER_SECTIONS): New.
2871         (struct section_info): New.
2872         (struct profile_info): count_instrumented_edges,
2873         count_edges_instrumented_now fields removed, n_sections, section_info
2874         fields added.
2875         (find_counters_section): Declare.
2876         * profile.c (struct function_list): count_edges field removed,
2877         n_counter_sections, counter_sections fields added.
2878         (set_purpose, label_for_tag, build_counter_section_fields,
2879         build_counter_section_value, build_counter_section_data_fields,
2880         build_counter_section_data_value, build_function_info_fields,
2881         build_function_info_value, build_gcov_info_fields,
2882         build_gcov_info_value): New static functions.
2883         (find_counters_section): New function.
2884         (instrument_edges, get_exec_counts, compute_branch_probabilities,
2885         branch_prob, create_profiler): Modified to support multiple profile
2886         sections.
2887
2888 2003-02-26  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2889
2890         * pa.c (compute_frame_size): Don't assume PREFERRED_STACK_BOUNDARY
2891         is 8 * STACK_BOUNDARY.
2892         * pa.h (PREFERRED_STACK_BOUNDARY): Change to 128 on 64-bit port.
2893
2894 2003-02-26  Michael Matz  <matz@suse.de>
2895
2896         * ra-colorize.c (merge_moves): Fix list handling.
2897
2898 2003-02-26  Nick Clifton  <nickc@redhat.com>
2899
2900         * config/arm/arm.c (is_load_address): Rename to...
2901         (arm_memory_load_p) ... this and make it check for SUBREGs and
2902         constant loads that will be converted into loads from the
2903         minipool.
2904         (is_cirrus_insn): Rename to ...
2905         (arm_cirrus_insn_p): ... this, for consistency.  Replace test
2906         of CIRRUS_NO with CIRRUS_NOT.
2907         (cirrus_reorg): Use renamed functions.
2908         (note_invalid_constants): Change from a void function to bool.
2909         Add an extra parameter, saying whether the fixups should be
2910         pushed.  Return true if fixups are needed.
2911         (arm_reorg): Use renamed functions.  Use INSN_P.  Replace test
2912         of CIRRUS_NO with CIRRUS_NOT.
2913         * config/arm/arm.h (FLOAT_WORDS_BIG_ENDIAN): Mention that
2914         other floating point co-processors can also affect this.
2915         * config/arm/arm.md ("type" attribute): Add mav_farith and
2916         mav_dmult.  Replace references to "cirrus_type" attribute with
2917         "type".
2918         * config/arm/cirrus.md ("cirrus_fpu" attribute): Delete.
2919         ("cirrus_type" attribute): Delete - use "type" instead.
2920         ("cirrus" attribute): Replace 'no' with 'not' and 'yes' with
2921         'normal'.
2922
2923 2003-02-25  Jan Hubicka  <jh@suse.cz>
2924
2925         * objc-act.c: Include cgraph.h
2926         (mark_referenced_methods): New function.
2927         (objc_init): Call it.
2928         * objc-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Set.
2929
2930         * c-decl.c (finish_function): Honor can_defer_p even in unit-at-a-time
2931         mode.
2932
2933         * optabs.c (expand_fix): Do not widen the input operand.
2934
2935         * expr.c (emit_group_store):  Fix crash when converting single
2936         register into complex register.
2937
2938         * Makefile.in (jump.o, regclass.o, alias.o): Add dependency on timevar.h
2939         * alias.c: Include timevar.h
2940         (init_alias_analysis):  Set timevar
2941         * jump.c: Include timevar.h
2942         (rebuild_jump_labels):  Set timevar
2943         * regcalss.c: Include timevar.h
2944         (reg_scan):  Set timevar
2945         * timevar.def (TV_ALIAS_ANALYSIS, TV_REG_SCAN, TV_REBUILD_JUMP): New
2946
2947 2003-02-26  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2948
2949         * cse.c (count_reg_usage): Fix handling of REG_EQUAL notes.
2950
2951         * Makefile.in (loop-unroll.o): New.
2952         * cfgloop.h (UAP_PEEL, UAP_UNROLL, UAP_UNROLL_ALL): New.
2953         (unroll_and_peel_loops): Declare.
2954         * alias.c (init_alias_analysis): Flag_unroll_loops renamed to
2955         flag_old_unroll_loops.
2956         * loop.c (loop_invariant_p): Ditto.
2957         * unroll.c (unroll_loop): Flag_unroll_all_loops renamed to
2958         flag_old_unroll_all_loops.
2959         * flags.h (flag_unroll_loops): Renamed to flag_old_unroll_loops.
2960         (flag_unroll_all_loops): Renamed to flag_old_unroll_all_loops.
2961         * params.def (PARAM_MAX_UNROLLED_INSNS): Default value changed.
2962         (PARAM_MAX_AVERAGE_UNROLLED_INSNS, PARAM_MAX_UNROLL_TIMES,
2963         PARAM_MAX_PEELED_INSNS, PARAM_MAX_PEEL_TIMES,
2964         PARAM_MAX_COMPLETELY_PEELED_INSNS, PARAM_MAX_COMPLETELY_PEEL_TIMES,
2965         PARAM_MAX_ONCE_PEELED_INSNS): New.
2966         * toplev.h (flag_old_unroll_loops, flag_old_unroll_all_loops): New.
2967         (flag_unroll_loops, flag_unroll_all_loops): Used for new unroller
2968         instead of old one.
2969         (flag_peel_loops): New.
2970         (lang_independent_options): The new flags added.
2971         (rest_of_compilation): Call new unroller.
2972         (process_options): Setup flags for coexistence of old and new unroller.
2973         * doc/invoke.texi: Document new options.
2974         * doc/passes.texi: Document new unroller pass.
2975
2976 2003-02-26  David Billinghurst <David.Billinghurst@riotinto.com>
2977
2978         * fixinc/fixincl.x: Regenerate
2979
2980 2003-02-26  Josef Zlomek  <zlomekj@suse.cz>
2981
2982         * function.c (assign_parms): Set reg_attrs for parameters passed in
2983         registers.
2984
2985 2003-02-26  Alan Modra  <amodra@bigpond.net.au>
2986
2987         PR target/9681
2988         * tlink.c (scan_linker_output): Drop leading '.' from symbol names.
2989
2990 2003-02-25  David Edelsohn  <edelsohn@gnu.org>
2991
2992         * config/rs6000/xcoff.h (ASM_FILE_START): Do not emit machine
2993         pseudo-op.
2994
2995 2003-02-25  Roger Sayle  <roger@eyesopen.com>
2996
2997         * combine.c (combine_simplify_rtx, simplfy_comparison):  Use CC0_P.
2998         * cse.c (invalidate_skipped_set):  Likewise.
2999         * integrate.c (subst_constants):  Likewise.
3000         * jump.c (reversed_comparison_code_parts):  Likewise.
3001         * loop.c (canonicalize_condition):  Likewise.
3002         * simplify-rtx.c (simplify_relational_operation):  Likewise.
3003
3004 2003-02-25  Roger Sayle  <roger@eyesopen.com>
3005
3006         * builtins.def (DEF_LIB_ALWAYS_BUILTIN, DEF_UNUSED_BUILTIN): Delete.
3007         (abs, labs, fabs, fabsf, fabsl, abort, exit, _exit, _Exit):  Use
3008         the appropriate macro to define built-in function.
3009         (fmod,fmodf,fmodl): New built-in functions.
3010
3011         * doc/extend.texi (fmod,fmodf,fmodl): Document new built-ins.
3012
3013 2003-02-25  Richard Henderson  <rth@redhat.com>
3014
3015         * config/i386/i386.c (function_arg): Pass variable sized
3016         structures correctly on the stack.
3017
3018 2003-02-25  Kazu Hirata  <kazu@cs.umass.edu>
3019
3020         * reload1.c (reload_cse_move2add): Use STRICT_LOW_PART if PLUS
3021         does not reduce the cost of SET.
3022
3023 2003-02-25  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3024
3025         PR target/9732
3026         * config/rs6000/rs6000.c (first_reg_to_save): Handle
3027         PIC_OFFSET_TABLE_REGNUM for -fPIC too.
3028         (rs6000_emit_prologue): Likewise.
3029         (rs6000_emit_epilogue): Likewise.
3030         * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Make
3031         PIC_OFFSET_TABLE_REGNUM a fixed register for -fPIC.
3032
3033 2003-02-25  Richard Henderson  <rth@redhat.com>
3034
3035         * real.c (real_to_integer2): Force overflow result only for
3036         unsigned overflow.
3037
3038 2003-02-25  Kazu Hirata  <kazu@cs.umass.edu>
3039
3040         * gcse.c (cprop_jump): Revert the 2003-02-23 change.
3041
3042 2003-02-25  Vladimir Makarov  <vmakarov@toke.toronto.redhat.com>
3043             Richard Henderson  <rth@redhat.com>
3044
3045         * sched-ebb.c (add_deps_for_risky_insns): Add the dependence when
3046         there is no similar load.
3047
3048 2003-02-25  Vladimir Makarov  <vmakarov@redhat.com>
3049             Richard Henderson  <rth@redhat.com>
3050
3051         * sched-int.h (INSN_TRAP_CLASS, WORST_CLASS): Move them from
3052         sched-rgn.c.
3053         (add_forward_dependence): New function prototype.
3054
3055         * sched-rgn.c (INSN_TRAP_CLASS, WORST_CLASS): Move them to
3056         sched-init.h.
3057         (CONST_BASED_ADDRESS_P, may_trap_exp, haifa_classify_insn): Move
3058         them to haifa-sched.c.
3059
3060         * haifa-sched.c (CONST_BASED_ADDRESS_P, may_trap_exp,
3061         haifa_classify_insn): Move them from sched-rgn.c.
3062
3063         * sched-deps.c (add_dependence): Return flag of creating a new
3064         entry.
3065         (add_forward_dependence): New function.
3066         (compute_forward_dependences): Use the function.
3067
3068         * sched-ebb.c (earliest_block_with_similiar_load): New function.
3069         (add_deps_for_risky_insns): New function.
3070         (schedule_ebb): Call the function.
3071
3072 2003-02-20  Aldy Hernandez  <aldyh@redhat.com>
3073
3074         * doc/tm.texi: Document Rename TARGET_VECTOR_TYPES_COMPATIBLE to
3075         TARGET_VECTOR_OPAQUE_P.  Document accordingly.
3076
3077         * testsuite/gcc.dg/20030218-1.c: Check that initialization of
3078         opaque types fail.
3079
3080         * c-typeck.c (comptypes): Change call to vector_types_compatible
3081         to vector_opaque_p.
3082         (convert_for_assignment): Call vector_opaque_p instead of
3083         vector_types_compatible.
3084         (really_start_incremental_init): Disallow initialization of opaque
3085         types.
3086
3087         * target-def.h: Remove TARGET_VECTOR_TYPES_COMPATIBLE.
3088         Define TARGET_VECTOR_OPAQUE_P.
3089         (TARGET_INITIALIZER): Same.
3090
3091         * target.h (struct gcc_target): Remove vector_types_compatible.
3092         Add vector_opaque_p.
3093
3094         * config/rs6000/rs6000.c (rs6000_spe_vector_types_compatible):
3095         Remove.
3096         (is_ev64_opaque_type): Check for TARGET_SPE and make sure type is
3097         a vector type.  Change return type to bool.
3098         (TARGET_VECTOR_TYPES_COMPATIBLE): Remove.
3099         (TARGET_VECTOR_OPAQUE_P): Define.
3100
3101         * cp/parser.c (cp_parser_init_declarator): Call vector_opaque_p
3102         target hook.
3103         Include target.h.
3104         (cp_parser_init_declarator): Fix typo in function comments.
3105
3106 2003-02-25  Jan Hubicka  <jh@suse.cz>
3107
3108         * Makefile.in (lcm.o):  Add dependency on function.h
3109         * lcm.c (function.h): Include.
3110         * i386.c (machine_function, ix86_stack_locals,
3111         * ix86_save_varrargs_registers) : Move to
3112         ...
3113         * i386.h (machine_function, ix86_stack_locals,
3114         ix86_save_varrargs_registers): ... here; add optimize_mode_switching
3115         (ix86_optimize_mode_switching): New.
3116         * i386.md (fix patterns): Set ix86_optimize_mode_switching
3117
3118 2003-02-25  Nick Clifton  <nickc@redhat.com>
3119
3120         * config/d30v/d30v.c (d30v_init_cumulative_args): Fix typo.  Name
3121         of fourth arg is 'fndecl' not 'indirect'.  Update comment
3122         describing the function's parameters.
3123
3124 2003-02-24  Jan Hubicka  <jh@suse.cz>
3125
3126         * combine.c (simplify_shift_const):  Fix previous patch.
3127
3128 2003-02-24  Jeff Law  <law@redhat.com>
3129
3130         * i386.md (testdi_1_rex64): Discourage reload from using the %eax
3131         alternative.
3132         (testsi_1, testhi_1, testqi_1): Likewise.
3133
3134 2003-02-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3135
3136         * config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Rename
3137         __EXTERN_PREFIX to __PRAGMA_EXTERN_PREFIX.
3138         * doc/extend.texi (Tru64 Pragmas): Reflect this.
3139
3140         * fixinc/inclhack.def (alpha___extern_prefix): Indicate #pragma
3141         extern_prefix support for Tru64 UNIX V5 <sys/stat.h>.
3142         * fixinc/fixincl.x: Regenerate.
3143         * fixinc/tests/base/sys/stat.h [ALPHA___EXTERN_PREFIX_CHECK]: New
3144         testcase.
3145         Fixes PR c/5059, c/6126, other/9671.
3146
3147 2003-02-24  Roger Sayle  <roger@eyesopen.com>
3148
3149         * gcc.c (do_spec_1) ['{']:  Handle pending argument upon return
3150         from handle_braces in "%{...}".
3151
3152 2003-02-24  Kaz Kojima  <kkojima@gcc.gnu.org>
3153
3154         * config/sh/sh.c (TARGET_HAVE_TLS): Conditionally define.
3155         (prepare_move_operands): Handle TLS operands.
3156         (tls_symbolic_operand): New.
3157         (nonpic_symbol_mentioned_p): Handle TLS UNSPECs.
3158         (legitimize_pic_address): Do nothing for the TLS symbol.
3159         (sh_encode_section_info): Handle TLS case.
3160         (sh_strip_name_encoding): Drop TLS encoding.
3161         * config/sh/sh-protos.h (tls_symbolic_operand): Add prototype.
3162         * config/sh/sh.h (SH_TLS_ENCODING): Define.
3163         (TLS_SYMNAME_P, STRIP_TLS_ENCODING): Likewise.
3164         (ASM_OUTPUT_LABELREF): Drop TLS encoding.
3165         (OUTPUT_ADDR_CONST_EXTRA): Handle TLS UNSPECs.
3166         * config/sh/sh.md: Define TLS UNSPEC constants.
3167         (type): Add tls_load.
3168         ("tls_global_dynamic", "tls_local_dynamic"): New insns.
3169         ("sym2DTPOFF", "symDTPOFF2reg", "sym2GOTTPOFF"): New expanders.
3170         ("tls_initial_exec"): New insn.
3171         ("sym2TPOFF", "symTPOFF2reg"): New expanders.
3172         ("load_gbr"): New insn.
3173
3174         * configure.in (HAVE_AS_TLS): Add sh-*-* and sh[34]*-*-* cases.
3175         * configure: Regenerate.
3176
3177 2003-02-24  Alan Modra  <amodra@bigpond.net.au>
3178
3179         PR 9297, PR 9722
3180         * calls.c (store_one_arg): Revert 1999-02-16 change.  Revert
3181         2000-12-17 change.  Pass EXPAND_STACK_PARM to expand_expr.
3182         * expr.h (enum expand_modifier): Define EXPAND_STACK_PARM.
3183         (enum block_op_methods): Reorder for better store_expr optimization.
3184         * expr.c (store_expr): Test bit 1 of "want_value" for call param
3185         stores, test bit 0 for original want_value meaning.  Pass
3186         BLOCK_OP_CALL_PARM to emit_block_move when bit 1 set.  Adjust
3187         recursive calls, and calls to expand_param.
3188         (expand_expr): Handle EXPAND_STACK_PARM modifier.  When cse
3189         expected, set target to 0 rather than to subtarget.  Formatting.
3190
3191 2003-02-23  Kazu Hirata  <kazu@cs.umass.edu>
3192
3193         * gcse.c (cprop_jump): Use the REG_EQUAL note if available.
3194
3195 2003-02-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3196
3197         * doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Document
3198         new default behavior.
3199         * ggc-common.c: Include sys/resource.h.
3200         (ggc_rlimit_bound): New function.
3201         (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic): Update
3202         defaults to account for rlimits.
3203
3204 2003-02-22  Richard Henderson  <rth@redhat.com>
3205
3206         * i386.c, i386.h (TUNEMASK): Rename from CPUMASK.
3207
3208 2003-02-22  Kelley Cook <kelley@dwhoops.info>
3209
3210         * i386.h, i386.c, i386.md (ix86_tune): Rename from ix86_cpu.
3211         (ix86_tune_string): Rename from ix86_cpu_string.
3212
3213 2003-02-22  Kelley Cook <kelleycook@comcast.net>
3214
3215         * config/i386/i386.c: Replace "mcpu" with "mtune".
3216         * config/i386/i386.h (TARGET_OPTIONS): Likewise.
3217         (CC1_CPU_SPEC): Likewise. New warning for "-mcpu".
3218         * doc/invoke.texi (i386 and x86-64 Options): Replace "mcpu"
3219         with "mtune".  Note that "mcpu" is a deprecated synonym for "mtune".
3220
3221 2003-02-23  Andreas Schwab  <schwab@suse.de>
3222
3223         * config.gcc: Delete references to m68k/t-linux and
3224         m68k/t-linux-aout.
3225         * config/m68k/t-linux, config/m68k/t-linux-aout: Removed.
3226
3227 2003-02-22  Jan Hubicka  <jh@suse.cz>
3228
3229         * toplev.c (rest_of_compilation):  Apply fotgotten hunk
3230         of track scheduling patch.
3231
3232 2003-02-22  Jan Hubicka  <jh@suse.cz>
3233
3234         * config/linux.h (TARGET_HAS_F_SETLKW): Define.
3235         * config/alpha/linux.h (TARGET_HAS_F_SETLKW): Likewise
3236
3237 2003-02-22  Jan Hubicka  <jh@suse.cz>
3238
3239         * c-decl.c (c_expand_body_1): Fix.
3240
3241 2003-02-22  Jan Hubicka  <jh@suse.cz>
3242
3243         * expmed.c (expand_divmod): Undo sign extensions for unsigned operands
3244
3245         * cfgcleanup.c (try_forward_edges):  Don't check loop structures
3246         when not optimizing.
3247         (cleanup_cfg): Do not iterate trought delete_trivially_dead_insns
3248         when not expensive.
3249         * toplev.c (rest_of_compilation):  Duplicate loop headers only when
3250         optimizing;  Delete trivially dead insns early; fix optimize check.
3251
3252         * Makefile.in (c-decl.o, c-objc-common.o, cgraph.o, tree-inline.o): Add
3253         dependency on cgraph.h
3254         * c-decl.c: Include cgraph.h
3255         (finish_function): Update call of tree_inlinable_function_p.
3256         * c-objc-common.c: Include cgraph.h
3257         * cgraph.h: New file.
3258         * cgraphunit.c: New file.
3259         * cgraph.c (cgraph_node, cgraph_edge): Move into cgraph.h
3260         (cgraph_nodes, cgraph_n_nodes): Globalize.
3261         (cgraph_finalize_function, cgraph_finalize_compilation_unit
3262         cgraph_create_edges, cgraph_optimize, cgraph_mark_needed_node):
3263         Move into cgraphunit.c
3264         * tree-inline.c: Include cgraph.h
3265         * tree-inline.c: Include cgraph.h
3266
3267 2003-02-22  Josef Zlomek  <zlomekj@suse.cz>
3268
3269         * config/i386/i386.md: Use gen_lowpart instead of gen_rtx_REG
3270         for copying a register.
3271
3272 2003-02-22  Steven Bosscher  <s.bosscher@student.tudelft.nl>
3273
3274         PR other/3782
3275         * toplev.c (process_options): If flag_detailed_statistics is set,
3276         then set time_report as well.
3277
3278         PR c/8828
3279         * jump.c (never_reached_warning): Don't fall through BARRRIER
3280         insns.  Update comments to reflect what the function really does.
3281
3282 2003-02-21  Roger Sayle  <roger@eyesopen.com>
3283
3284         * fold-const.c (omit_one_operand): No longer static.
3285         * tree.h (omit_one_operand): Prototype here.
3286         (div_and_round_double): Keep fold-const.c prototypes together.
3287         * builtins.c (builtin_mathfn_code): Handle binary built-in
3288         funtions, such as "pow" and "atan2".
3289         (fold_builtin): Optimize both pow(x,0.0) and pow(1.0,y) to 1.0.
3290         Simplify optimizations using "type" the builtin's return type.
3291
3292 2003-02-22  Hans-Peter Nilsson  <hp@axis.com>
3293
3294         * config/cris/cris.c (cris_rtx_costs): Blockify dangling else.
3295         Fix functionalization typo.
3296
3297         * regmove.c (optimize_reg_copy_1): Do not replace a hard register
3298         in an asm.
3299
3300 2003-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3301
3302         * Makefile.in (ggc-common.o): Depend on $(PARAMS_H)
3303         * doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Update
3304         documentation.
3305         * ggc-common.c: Include params.h
3306         (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic,
3307         init_ggc_heuristics): New functions.
3308         * ggc.h (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic,
3309         init_ggc_heuristics): Prototype.
3310         * toplev.c (print_version):  Output GGC heuristics.
3311         (parse_options_and_default_flags): Call init_ggc_heuristics.
3312
3313 2003-02-22  Jan Hubicka  <jh@suse.cz>
3314
3315         * i386.c (def_builtin):  Special case 64bit builtins.
3316         (MASK_SSE164, MASK_SSE264): New constants.
3317         (builtin_description): Add 64bit builtins.
3318         (ix86_init_mmx_sse_builtins): Likewise.
3319         * i386.h (enum ix86_builtins): Likewise.
3320         * i386.md (cvtss2siq, cvttss2siq, cvtsd2siq, cvttsd2siq, cvtsi2sdq,
3321         sse2_movq2dq_rex64, sse2_movsq2q_rex64): New.
3322         (sse2_movq2dq, sse2_movsq2q): Disable for 64bit.
3323         * mmintrin.h (_mm_cvtsi64x_si64, _mm_set_pi64x, _mm_cvtsi64_si64x): New.
3324         * xmmintrin.h (_mm_cvtss_si64x, _mm_cvttss_si64x, _mm_cvtsi64x_ss,
3325         _mm_set_epi64x, _mm_set1_epi64x, _mm_cvtsd_si64x, _mm_cvttsd_si64x,
3326         _mm_cvtsi64x_sd, _mm_cvtsi64x_si128, _mm_cvtsi128_si64x): New.
3327
3328 2003-02-22  Jan Hubicka  <jh@suse.cz>
3329
3330         * i386.c (builtin_description): Add __builtin_ia32_paddq and
3331         __builtin_ia32_psubq. Fix __builtin_ia32_paddq128
3332          and __builtin_ia32_psubq128.
3333         * i386.h (IX86_BUILTIN_PADDQ, IX86_BUILTIN_PSUBQ): New.
3334         * i386.md (addv*, mmx_ior*, mmx_xoe*, mmx_and*): Add missing '%'.
3335         (mmx_adddi3, mmx_subdi3): New.
3336         * mmintrin.h (_mm_add_si64, _mm_sub_si64): New.
3337         * xmmintrin.h (_mm_movepi64_pi64): New.
3338         (_mm_add_epi64, _mm_sub_epi64): fix.
3339         (_mm_mul_pu16): Rename to...
3340         (_mm_mul_su32): ... this one.
3341
3342         * builtins.c (expand_builtin_expect):  Do not predict
3343         flag_guess_branch_prob is not set.
3344         * c-semantics.c (expand_stmt): Likewise.
3345         * predict.c (predict_insn): Likewise.
3346         * stmt.c (expand_continue_loop): Likewise.
3347         * toplev.c (rest_of_compilation): Do not call
3348         note_prediction_to_br_prob and note_prediction_to_br_prob
3349         when not optimizing.
3350
3351 2003-02-21  Jan Hubicka  <jh@suse.cz>
3352
3353         * cfgrtl.c (commit_edge_insertions):  Call
3354         find_many_sub_basic_block only when some code has been emitted.
3355         (commit_edge_insertions_watch_calls): Bring into sync with
3356         commit_edge_insertions
3357
3358 2003-02-21  J"orn Rennecke <joern.rennecke@superh.com>
3359
3360         * sh.h (OVERRIDE_OPTIONS): Fix code that clears 'e' register class.
3361
3362         * sh.md (binary_sf_op): Use extra constant operand instead of
3363         negating constant operand 4.
3364         * sh.c (sh_expand_binop_v2sf): Supply it.
3365
3366 2003-02-21  Zack Weinberg  <zack@codesourcery.com>
3367
3368         * cpphash.h (struct lexer_state): Add directive_wants_padding.
3369         * cpplib.c (_cpp_handle_directive): Set directive_wants_padding
3370         for directives of type INCL.
3371         (glue_header_name, parse_include): Use get_token_no_padding.
3372         * cppmacro.c (replace_args): If directive_wants_padding,
3373         provide padding tokens.
3374
3375 2003-02-21  Kazu Hirata  <kazu@cs.umass.edu>
3376
3377         * config/h8300/h8300.md (a peephole2): New.
3378
3379 2003-02-21  Jan Hubicka  <jh@suse.cz>
3380
3381         * cfgrtl.c (commit_one_edge_insertion): Only mark BB for splitting.
3382         (commit_edge_insertions): Call find_many_sub_basic_blocks
3383
3384         * reg-stack.c (convert_regs): Cleax aux for blocks.
3385
3386 2003-02-21  Jan Hubicka  <jh@suse.cz>
3387
3388         * toplev.c (parse_options_and_default_flags): Undo accidental commit.
3389
3390 2003-02-21  Glen Nakamura  <glen@imodulo.com>
3391
3392         PR optimization/8613
3393         * builtins.c (expand_builtin): Emit postincrements before expanding
3394         builtin functions.
3395
3396 2003-02-21  Ben Elliston  <bje@redhat.com>
3397
3398         PR other/5634
3399         * doc/install.texi (Configuration): Explain using $HOME instead of
3400         the ~ metacharacter when referring to home directories.
3401
3402 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
3403
3404         * configure.in (TARGET_SYSTEM_ROOT): Set default to
3405         ${exec_prefix}/${target_alias}/sys-root.  Match explicit
3406         '${exec_prefix}' (in addition to the expansion thereof) as
3407         relocatable.
3408         * configure: Rebuilt.
3409
3410 2003-02-20  Kazu Hirata  <kazu@cs.umass.edu>
3411
3412         * config/h8300/h8300.md (addhi3_incdec): Change the name to
3413         *addhi3_incdec.
3414         (addsi3_incdec): Change the name to *addsi3_incdec.
3415
3416 2003-02-20  Roger Sayle  <roger@eyesopen.com>
3417
3418         * explow.c (force_reg): Avoid useless REG_EQUAL notes.
3419
3420 2003-02-20  Toon Moene  <toon@moene.indiv.nluug.nl>
3421
3422         PR fortran/9038
3423         * c-opts.c (sanitize_cpp_opts): Add Fortran front end
3424         options to be ignored.
3425         (c_common_decode_option): Ignore them when preprocessing.
3426
3427 2003-02-20  Jan Hubicka  <jh@suse.cz>
3428
3429         * toplev.c (flag_sched2_use_superblocks, flag_sched2_use_traces): New
3430         global variables.
3431         (lang_independent_options):  Add -fsched2-use-superblocks
3432         -fsced2-use-traces.
3433         (rest_of_compilation): Deal with it.
3434         * invoke.texi (-fsched2-use-traces, fsched2-use-superblocks):  Declare.
3435         * flags.h (flag_sched2_use_superblocks, flag_sched2_use_traces):
3436         Declare.
3437         * rtl.h (reg_to_stack):  Update prototype.
3438         * reg-stack.c (reg_to_stack): Return when something has changed;
3439         update liveness when executing after superblock scheduling.
3440
3441         * combine.c (simplify_shift_const):  Simplify few special cases
3442         into constants.
3443
3444 2003-02-20  David Edelsohn  <edelsohn@gnu.org>
3445
3446         * config/rs6000/rs6000.md: (attr "type"): Add fast_compare.
3447         (add.,subf.,neg.): Change attribute to fast_compare.
3448         All DFA descriptions updated.
3449
3450 2003-02-20  Nathan Sidwell  <nathan@codesourcery.com>
3451
3452         Change base class access representation.
3453         * tree.h (TREE_VIA_PUBLIC, TREE_VIA_PROTECTED,
3454         TREE_VIA_PRIVATE): Remove.
3455         (BINFO_BASEACCESSES): New binfo elt.
3456         (BINFO_BASEACCESS): New accessor.
3457         (BINFO_ELTS): Increase.
3458         (TI_ACCESS_PUBLIC, TI_ACCESS_PROTECTED, TI_ACCESS_PRIVATE): New.
3459         (access_public_node, access_protected_node,
3460         access_private_node): New global nodes.
3461         * tree.c (build_common_tree_nodes_2): Initialize access nodes.
3462         * dbxout.c (dbxout_type): Adjust.
3463         * dwarf2out.c (gen_inheritance_die): Add access parameter.
3464         (gen_member_die): Adjust.
3465         * dwarfout.c (output_inheritance_die): ARG is array of two trees.
3466         (output_type): Adjust.
3467         * tree-dump.c (dequeue_and_dump): Adjust binfo dumping.
3468
3469         Change base class access representation. Share virtual base
3470         binfos.
3471         * cp/call.c (build_special_member_call): Remove binfo_for_vbase
3472         call.
3473         * cp/class.c (build_base_path): Likewise.
3474         (build_primary_vtable): Adjust BINFO_NEW_VTABLE_MARKED use.
3475         (build_secondary_vtable): Remove FOR_TYPE arg. Adjust.
3476         (make_new_vtable): Adjust.
3477         (force_canonical_binfo_r): Delete.
3478         (force_canonical_binfo): Delete.
3479         (mark_primary_virtual_base): Delete.
3480         (dfs_unshared_virtual_bases): Delete.
3481         (mark_primary_bases): Adjust.
3482         (maybe_warn_about_overly_private_class): Adjust.
3483         (dfs_base_derived_from): Delete.
3484         (base_derived_from): Follow the inheritance chain.
3485         (struct find_final_overrider_data): Add vpath member.
3486         (dfs_find_final_overrider): Adjust.
3487         (dfs_find_final_overrider_q, dfs_find_final_overrider_post): New.