OSDN Git Service

* alias.c (new_alias_set): Construct the alias_set varray.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2004-01-13  Jan Hubicka  <jh@suse.cz>
2
3         * alias.c (new_alias_set): Construct the alias_set varray.
4         (init_alias_once): Don't do it here.
5
6 2004-01-12  Marc Espie <espie@openbsd.org>
7
8         * system.h: handle YYBYACC like YYBISON.
9
10 2004-01-12  Jonathan Merriman <jonm@dualitymedia.com>
11
12         PR target/10847
13         * config.gcc: No longer includes conflicting header sparc/sol2.h when
14         building on sparc64-*-openbsd*.
15
16 2004-01-12  Andrew Pinski  <pinskia@physics.uc.edu>
17
18         PR debug/13539
19         * dbxout.c (dbxout_type): Protected inheritance is not
20         private but protected.
21
22 2004-01-12  Richard Sandiford  <rsandifo@redhat.com>
23
24         * config/mips/mips.c (mips_symbolic_constant_p): Revert last patch.
25
26 2004-01-12  Kazu Hirata  <kazu@cs.umass.edu>
27
28         PR optimization/12508.
29         * combine.c (try_combine): Remove a dead set in a parallel
30         even if its destination is a subreg.
31
32         Revert:
33         2003-06-03  Kazu Hirata  <kazu@cs.umass.edu>
34         * combine.c (simplify_set): Don't move a subreg in SET_SRC to
35         SET_DEST if WORD_REGISTER_OPERATIONS is not defined.
36
37 2004-01-12  Geoffrey Keating  <geoffk@apple.com>
38
39         * real.c: Update copyright date.
40         * emit-rtl.c: Likewise.
41         * rtl.h: Likewise.
42         * dwarf2out.c: Likewise.
43         * config/rs6000/darwin-ldouble.c: Likewise.
44         * config/rs6000/rs6000.md: Likewise.
45
46 2004-01-12  David Edelsohn  <edelsohn@gnu.org>
47
48         * config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX
49         TFmode to SImode libfuncs.
50
51 2004-01-12  Roger Sayle  <roger@eyesopen.com>
52
53         PR middle-end/11397
54         * varasm.c (assemble_alias): Remove weak aliases from weak_decls.
55
56 2004-01-12  Jan Hubicka  <jh@suse.cz>
57
58         PR opt/12826
59         * loop.c (insert_loop_mem): Preffer VOLATILE memory references to be
60         stored.
61
62         PR opt/12863
63         * cfgcleanup.c (label_is_jump_target_p): Move to...
64         * rtlanal.c (label_is_jump_target_p): ... here.
65         * cfgrtl.c (cfg_layout_redirect_edge_and_branch):  Fix redirecting of fallthru
66         edges unified with branch edges.
67
68 2004-01-12  Richard Earnshaw  <rearnsha@arm.com>
69
70         * simplify-rtx.c (simplify_immed_subreg): Correctly extract the
71         high word of an integral CONST_DOUBLE.
72
73 2004-01-12  Paul Brook  <paul@codesourcery.com>
74
75         * simplify-rtx.c (simplify_plus_minus): Always generate canonical form.
76
77 2004-01-12  J"orn Rennecke <joern.rennecke@superh.com>
78
79         PR target/13585
80         * sh-protos.h (check_use_sfunc_addr): Declare.
81         * sh.c (extract_sfunc_addr, check_use_sfunc_addr): New functions.
82         * sh.md (use_sfunc_addr): Use check_use_sfunc_addr in insn predicate.
83
84 2004-01-12  Jan Hubicka  <jh@suse.cz>
85
86         * alias.c:  Invlude varray.h
87         (alias_sets): Turn into varray.
88         (get_alias_set_entry): Use VARRAY; mark inline.
89         (mems_in_disjoint_alias_sets_p): Mark inline.
90         (record_alias_subset): Use varray.
91         (init_alias_once): Initialize varray.
92         (new_alias_set): Grow array.
93         * varray.c: Make VARRAY_GENERIC_PTR non GTYized.
94
95 2004-01-12  Jan Hubicka  <jh@suse.cz>
96
97         Partial fix for PR opt/10776 II
98         * cselib.c: Include params.h
99         (cselib_invalidate_mem):  Limit amount of nonconflicting memory
100         locations.
101         * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New.
102         * Makefile.in (cselib.o): Depend on params.h
103
104 2004-01-12  Richard Sandiford  <rsandifo@redhat.com>
105
106         * combine.c (combine_simplify_rtx): Don't pass VOIDmode to
107         simplify_unary_operation if the operand has a known mode.
108
109 2004-01-12  Hartmut Penner  <hpenner@de.ibm.com>
110
111         PR target/13534
112         * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New
113         predicate to handle 'ld' conform addresses.
114         * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y'
115         contraint.
116         (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint
117         are memory contraints.
118         * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand): 
119         New prototype.
120         * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64): 
121         Change 'o' to 'Y' constraint.
122         (*movdf_softfloat64): Ditto.
123         
124 2004-01-12  Bernardo Innocenti  <bernie@develer.com>
125
126         * gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the
127         brace-enclosed syntax in all C output statements.
128
129 2004-01-12  David Edelsohn  <edelsohn@gnu.org>
130
131         PR target/13401
132         * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
133         Objective-C language type value is 14.
134
135 2004-01-12  Markus F.X.J. Oberhumer  <markus@oberhumer.com>
136
137         PR c/12148
138         * config/m68k/fpgnulib.c: Fix `-mshort' bugs: Use `long' instead of
139         `int' in a number of places to make sure we always have a SImode
140         and not a HImode.  Add a 'L' suffix to a number of constants.
141
142 2004-01-11  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
143
144         * pa.c: Don't include obstack.h.
145
146         * pa.md: Correct constraint in pattern for loading PIC label address.
147
148 2004-01-11  Kaz Kojima  <kkojima@gcc.gnu.org>
149
150         * config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine
151          before defining.
152
153 2004-01-11  Steven Bosscher  <stevenb@suse.de>
154
155         * toplev.c (rest_of_handle_inline): Also consider functions
156         for deferral if the language is GNU F77.
157
158 2004-01-11  Zack Weinberg  <zack@codesourcery.com>
159
160         * c-decl.c (diagnose_arglist_conflict): Add missing space to
161         diagnostic messages.
162
163 2004-01-11  Jakub Jelinek  <jakub@redhat.com>
164
165         PR middle-end/13392
166         * builtins.c (expand_builtin_expect_jump): Handle conditional jumps
167         to drop through label.  Don't fall back to SCC even when conditional
168         jump has not been found.
169
170 2004-01-11  Jan Hubicka  <jh@suse.cz>
171
172         * invoke.texi: Fix syntax error in previous patch.
173
174         Partial fix for PR opt/10776
175         * Makefile.in (reload.o): Include param.h
176         * params.def (PARAM_MAX_RELOAD_SEARCH_INSNS): New parameter.
177         * reload.c: Include params.h.
178         (find_equiv_reg): Work limiting check.
179         * invoke.texi: Document.
180
181 2004-01-11  Richard Sandiford  <rsandifo@redhat.com>
182
183         * config/mips/mips.c (mips_symbolic_constant_p): Don't allow
184         out-of-bounds accesses to string constants.  Simplify mips16
185         case accordingly.
186
187 2004-01-11  Richard Sandiford  <rsandifo@redhat.com>
188
189         PR optimization/13469
190         * toplev.c (rest_of_compilation): Call purge_all_dead_edges after
191         reload_cse_regs (-fnon-call-exceptions only).
192
193 2004-01-11  Kazu Hirata  <kazu@cs.umass.edu>
194
195         * config/mcore/lib1.asm: Fix comment formatting.
196         * config/mcore/mcore-elf.h: Likewise.
197         * config/mcore/mcore.c: Likewise.
198         * config/mcore/mcore.h: Likewise.
199         * config/mcore/mcore.md: Likewise.
200
201 2004-01-10  Zack Weinberg  <zack@codesourcery.com>
202
203         * c-decl.c (duplicate_decls): Break apart into...
204         (diagnose_arglist_conflict, validate_proto_after_old_defn)
205         (locate_old_defn, diagnose_mismatched_decls, merge_decls):
206         ... these new functions.  Restructure for comprehensibility.
207         Remove various archaic special cases.  Always report the
208         location of the previous declaration when a diagnostic is issued.
209         (redeclaration_error_message): Fold into diagnose_mismatched_decls.
210         (match_builtin_function_types): Delete unnecessary forward declaration.
211
212 2004-01-10  Zack Weinberg  <zack@codesourcery.com>
213
214         * genautomata.c (make_automaton, NDFA_to_DFA):
215         Print progress bars with '.' characters instead of '*'.
216         (build_automaton): Change notes to match.
217
218 2004-01-10  Kazu Hirata  <kazu@cs.umass.edu>
219
220         * config/m32r/m32r.md: Use define_constants for unspec and
221         unspec_volatile.
222
223 2004-01-10  Jan Hubicka  <jh@suse.cz>
224
225         PR opt/11635
226         * expr.c (expand_expr_real):  More curefully expand union casts.
227
228 2004-01-10  Kazu Hirata  <kazu@cs.umass.edu>
229
230         * config/m32r/m32r.md (flush_icache): Use 1 for
231         unspec_volatile.
232
233 2004-01-10  David Edelsohn  <edelsohn@gnu.org>
234             James E Wilson  <wilson@specifixinc.com>
235
236         PR debug/12860
237         * dbxout.c (dbxout_symbol): Remove initialization of
238         current_sym_code, current_sym_value, and current_sym_addr.
239         (dbxout_symbol_location): Same.
240         (dbxout_prepare_symbol): Zero current_sym_code,
241         current_sym_value, and current_sym_addr.
242
243 2004-01-10  Richard Sandiford  <rsandifo@redhat.com>
244
245         * tree.c (get_unwidened): Reorder conditions so that the null pointer
246         check is done first.
247
248 2004-01-09  Eric Christopher  <echristo@redhat.com>
249
250         * toplev.c (rest_of_handle_cfg): Add reg_scan pass
251         if we're running mark_constant_function.
252
253 2004-01-09  Jeff Bailey  <jbailey@nisa.net>
254
255         PR target/12561
256         * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR.
257
258 2004-01-09  Andrew Pinski <pinskia@physics.uc.edu>
259
260         PR debug/11231
261         * dbxout.c (dbxout_type_fields): Return if any item is
262         error_mark_node or the type is error_mark_node.
263
264 2004-01-09  Geoffrey Keating  <geoffk@apple.com>
265
266         * config/rs6000/darwin-ldouble.c: Add big comment explaining
267         exactly what is expected as a 'long double'.
268         (_xlqadd): When a value to be returned is representable as a
269         'double', just return it directly, do not construct it using a union.
270         Also, correct final fixup.
271         (_xlqmul): Likewise.
272         (_xlqdiv): Likewise.
273         * real.c (encode_ibm_extended): Make consistent with darwin-ldouble.c.
274
275         * config/rs6000/rs6000.md (fix_trunctfdi2): Delete.
276
277 2004-01-09  Richard Henderson  <rth@redhat.com>
278
279         * recog.c (constrain_operands): Validate mem operands.
280
281 2004-01-09   James E Wilson  <wilson@specifixinc.com>
282
283         * gcc.c (init_spec): Remove -lunwind from shared case.
284         * conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind.
285
286 2004-01-09  Steve Ellcey  <sje@cup.hp.com>
287
288         * configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*.
289         * configure: Regenerate
290
291 2004-01-09  Joseph S. Myers  <jsm@polyomino.org.uk>
292
293         PR c/11234
294         * c-typeck.c (build_c_cast): If pedantic, warn for conversions
295         between function and object pointers.
296         (digest_init): When comparing a pointer to function type to the
297         target type, only apply TREE_TYPE once to the pointer to function
298         type.
299         * except.c (for_each_eh_label_1): Treat data as a pointer to a
300         function pointer rather than casting it to a function pointer.
301         (for_each_eh_label): Update caller.
302         * recog.h (struct insn_data): Use a struct or union for output.
303         * genoutput.c (output_insn_data): Update.
304         * final.c (get_insn_template): Update.
305
306 2004-01-09  Mark Mitchell  <mark@codesourcery.com>
307
308         * expr.h (expand_expr): Make it a macro, not a function.
309         (expand_expr_real): New function.
310         * expr.c (store_expr): Adjust logic for deciding whether or not to
311         copy the value returned by expand_expr.
312         (expand_expr): Rename to ...
313         (expand_expr_real): ... this.  Add alt_rtl parameter.  Adjust
314         calls to language hooks.
315         * c-common.h (c_expand_expr): Adjust prototype.
316         * c-common.c (c_expand_expr): Add alt_rtl parameter.
317         * langhooks-def.h (lhd_expand_expr): Change prototype.
318         * langhooks.c (lhd_expand_expr): Add all_rtl parameter.
319         * langhooks.h (lang_hooks): Change type of expand_expr.
320         * stmt.c (stmt_status): Add x_last_expr_alt_rtl.
321         (last_expr_alt_rtl): Likewise.
322         (expand_expr_stmt_value): Set last_expr_alt_rtl.
323         (clear_last_expr): Clear it.
324         (expand_end_stmt_expr): Set RTL_EXPR_ATL_RTL.
325         (expand_end_bindings): Save and restor last_expr_alt_rtl.
326         * tree.def (RTL_EXPR): Give it an additional operand.
327         * tree.h (RTL_EXPR_ALT_RTL): New macro.
328
329 2004-01-09  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
330
331         * config/m32r/m32r.h (TARGET_CPU_CPP_BUILTINS): Add __m32r__.
332         * config/m32r/m32r.c (call26_operand): Allow in PIC mode.
333
334 2004-01-09  Kazu Hirata  <kazu@cs.umass.edu>
335
336         PR target/13380.
337         * config/m32r/m32r.md: Replace (reg:SI 17) with (reg:CC 17)
338         or (ne:SI (reg:CC 17) (const_int 0)).
339         Be specific about modes wherever possible.
340
341 2004-01-09  Kazu Hirata  <kazu@cs.umass.edu>
342
343         * config/m32r/m32r.c (m32r_expand_block_move): Call
344         gen_movestrsi_internal with two more arguments.
345         (m32r_output_block_move): Adjust operand numbers.
346         Properly update the source and destination pointers.
347         * config/m32r/m32r.md (movstrsi_internal): Use 'r' instead of
348         'r+'.  Change the set detinations to match_operand.
349
350 2004-01-09  Kazu Hirata  <kazu@cs.umass.edu>
351
352         * final.c (FIRST_INSN_ADDRESS): Remove.
353         (shorten_branches): Don't use FIRST_INSN_ADDRESS.
354         * system.h (FIRST_INSN_ADDRESS): Poison.
355         * config/avr/avr.h: Remove a comment about FIRST_INSN_ADDRESS.
356         * config/m32r/m32r-protos.h: Remove the prototype for
357         m32r_first_insn_address.
358         * config/m32r/m32r.c (m32r_first_insn_address): Remove.
359         * config/m32r/m32r.h (FIRST_INSN_ADDRESS): Likewise.
360         * doc/md.texi (FIRST_INSN_ADDRESS): Likewise.
361
362 2004-01-09  J. Brobecker  <brobecker@gnat.com>
363
364         * dwarf2out.c (gen_enumeration_type_die): Return the DIE that
365         we just created.
366         (is_ada_subrange_type): DIEs for enumeration subtypes should be
367         emitted as subrange types too.
368         (subrange_type_die): Add handling of enumeration subtypes.
369
370 2004-01-08  Richard Henderson  <rth@redhat.com>
371
372         PR opt/12441
373         Revert: Sat Mar 30 14:08:55 CET 2002  Jan Hubicka  <jh@suse.cz>
374         * i386.c (aligned_operand): Be prepared for SUBREGed registers.
375         (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
376         (ix86_address_cost): Be prepared for SUBREGed registers.
377         (legitimate_address_p): Accept SUBREGed registers.
378
379 2004-01-08  Kelley Cook  <kcook@gcc.gnu.org>
380
381         * Makefile.in: Rename configure.in to configure.ac
382         * doc/sourcebuild.texi: Likewise.
383         * configure: Regenerate.
384         * config.in: Regenerate.
385
386 2004-01-08  Stuart Hastings  <stuart@apple.com>
387
388         * config/i386/i386.md: Typos in MMX/SSE immediate shifts.
389
390 2004-01-08  Jan Hubicka  <jh@suse.cz>
391
392         * cgraphunit.c (cgraph_decide_inlining):  Fix typo.
393
394 2004-01-08  Geoffrey Keating  <geoffk@apple.com>
395
396         * config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset.
397         (UNSPEC_FIX_TRUNC_TF): New constant.
398         (movtf_internal): Make splitter active only when insn is active.
399         (extenddftf2): Rewrite to properly load zero into low part.
400         (extenddftf2_internal): New.
401         (extendsftf2): Rewrite.
402         (truncdftf2): Correct length.
403         (floatditf2): Delete.
404         (fix_trunc_helper): New.
405         (fix_trunctfdi2): Use fix_trunc_helper.
406         (fix_trunctfsi2): Likewise.fix_trunc
407         (fix_trunctfsi2_internal): New.
408
409         * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum
410         addresses are legitimate on Darwin even when flag_pic.
411         (rs6000_legitimize_reload_address) [TARGET_MACHO]: Don't create
412         non-offsettable addresses for loads of TFmode constants.
413
414 2004-01-08  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
415
416         * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Actually emit
417         variables in the appropriate bss section.
418
419 2004-01-09  Alan Modra  <amodra@bigpond.net.au>
420
421         * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure
422         target_flags has MASK_POWERPC64 when -m64.
423         * config/rs6000/rs6000.c (processor_target_table): Add MASK_POWERPC64
424         to 620, 630, power3, power4 and rs64a entries.
425         * config/rs6000/rs6000.h (MASK_64BIT): Expand comment.
426
427 2004-01-08  Richard Sandiford  <rsandifo@redhat.com>
428
429         * simplify-rtx.c (simplify_immed_subreg): Fix construction of
430         floating-point constants.
431
432 2004-01-08  J. Brobecker  <brobecker@gnat.com>
433
434         * dwarf2out.c (subrange_type_die): Add context_die parameter.
435         Create the subrange_type DIE using the given context DIE.
436         (modified_type_die): Update call to subrange_type_die.
437
438 2004-01-08  Zack Weinberg  <zack@codesourcery.com>
439
440         * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
441         Add multiple-include guard.
442
443 2004-01-08  Hartmut Penner  <hpenner@de.ibm.com>
444
445         * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
446         all vector constant loadable by vsplt*.
447         (output_vec_const_move): Likewise.
448
449 2004-01-07  Joseph S. Myers  <jsm@polyomino.org.uk>
450
451         PR c/6024
452         * c-typeck.c (comptypes): Only treat enumerated types in the same
453         translation unit as compatible with each other when they are the
454         same type.
455         * doc/extend.texi: Update.
456
457 2004-01-07  Joseph S. Myers  <jsm@polyomino.org.uk>
458
459         PR c/12165
460         * c-decl.c (grokdeclarator): Take type qualifiers of typedefed
461         array type from the array element type.
462
463 2004-01-07  Alan Modra  <amodra@bigpond.net.au>
464
465         * config/rs6000/rs6000.c (rs6000_dbx_register_number): New function.
466         * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Declare.
467         * config/rs6000/rs6000.h (DWARF_FRAME_REGNUM): Define.
468         (DWARF_REG_TO_UNWIND_COLUMN): Correct column adjustment and comment.
469         * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Define.
470
471 2004-01-06  Eric Christopher  <echristo@redhat.com>
472
473         * config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default.
474         (DWARF2_DEBUGGING_INFO): Define.
475         (PREFERRED_DEBUGGING_TYPE): Set to dwarf2.
476         * config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove.
477         * config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0
478         for irix as.
479         (SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as.
480         * config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove.
481         * config/mips/iris5gas.h: Ditto.
482         (DBX_DEBUGGING_INFO): Remove.
483         (DWARF2_DEBUGGING_INFO): Ditto.
484         (MIPS_DEBUGGING_INFO): Ditto.
485         (PREFERRED_DEBUGGING_TYPE): Ditto.
486         * config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove.
487         (PREFERRED_DEBUGGING_TYPE): Ditto.
488         (SUBTARGET_ASM_DEBUGGING_SPEC): Ditto.
489         * config/mips/elf64.h: Ditto.
490
491 2004-01-06  Jan Hubicka  <jh@suse.cz>
492
493         * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate.
494         (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use.
495
496 2004-01-06  Geoffrey Keating  <geoffk@apple.com>
497
498         * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
499         (TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128.
500         * config/rs6000/darwin-ldouble.c: New.
501
502         * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
503         for constants.
504         (constant_subword): Delete.
505         * rtl.h (constant_subword): Delete prototype.
506         (immed_double_const): Is not in varasm.c.
507         * simplify-rtx.c (simplify_immed_subreg): New.
508         (simplify_subreg): Use simplify_immed_subreg.
509
510         * config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
511         than trying to generate RTL directly.
512         (fix_trunctfsi2): Use expand_fix rather than trying to generate
513         RTL directly.
514
515         * dwarf2out.c (add_const_value_attribute): Remove incorrect comment.
516
517 2004-01-06  David Edelsohn  <edelsohn@gnu.org>
518
519         * config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
520         function into a separate macro.
521         (read_only_data_section): Add void argument.
522         (private_data_section): Same.
523         (read_only_private_data_section): Same.
524         (toc_section): Same.
525
526 2004-01-06  Jan Hubicka  <jh@suse.cz>
527
528         * invoke.texi:  Remove typo in last change.
529
530         PR target/10301
531         * config.gcc: Accept opteron and athlon-64 as variants
532         of k8.
533         * i386.c (override_options): Likewise.
534         * invoke.texi (i386 -mtune): Expand documentation.
535
536 2004-01-06  Kazu Hirata  <kazu@cs.umass.edu>
537
538         * alias.c: Fix comment typos.
539         * builtins.c: Likewise.
540         * cfg.c: Likewise.
541         * df.c: Likewise.
542         * dominance.c: Likewise.
543         * dwarf2out.c: Likewise.
544         * emit-rtl.c: Likewise.
545         * expr.c: Likewise.
546         * final.c: Likewise.
547         * fold-const.c: Likewise.
548         * gcse.c: Likewise.
549         * genattrtab.c: Likewise.
550         * genrecog.c: Likewise.
551         * gensupport.c: Likewise.
552         * ggc-zone.c: Likewise.
553         * integrate.c: Likewise.
554         * local-alloc.c: Likewise.
555         * loop.c: Likewise.
556         * recog.c: Likewise.
557         * regmove.c: Likewise.
558         * reg-stack.c: Likewise.
559         * reorg.c: Likewise.
560         * rtlanal.c: Likewise.
561         * rtl.h: Likewise.
562         * sched-ebb.c: Likewise.
563         * simplify-rtx.c: Likewise.
564         * toplev.c: Likewise.
565         * varasm.c: Likewise.
566
567 2004-01-06  Kazu Hirata  <kazu@cs.umass.edu>
568
569         * doc/install.texi: Fix typos.
570         * doc/invoke.texi: Likewise.
571         * doc/md.texi: Likewise.
572
573 2004-01-06  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
574
575         * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed
576
577 2004-01-06  Jan Hubicka  <jh@suse.cz>
578
579         * i386.c (init_cumulative_args):  Add handling of MMX_REGPARM.
580         (function_arg_advance):  Do not pass aggregates in SSE; deal handling
581         of MMX_REGPARM.
582         (function_arg): Add new warnings about ABI changes;  fix SSE_REGPARM;
583         add MMX_REGPARM.
584         * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
585         (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
586         (MMX_REGPARM_MAX): Similarly for -mmmx.
587
588 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
589
590         * config/sh/linux.h: Fix comment formatting.
591         * config/sh/netbsd-elf.h: Likewise.
592         * config/sh/sh.c: Likewise.
593         * config/sh/sh.h: Likewise.
594         * config/sh/vxworks.h: Likewise.
595
596 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
597
598         * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
599         * toplev.c (output_file_directive): Don't use
600         ASM_OUTPUT_MAIN_SOURCE_FILENAME.
601
602 2004-01-05  Daniel Berlin  <dberlin@dberlin.org>
603
604         * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
605         (USING_MMAP): We don't support non-mmap.
606         (struct alloc_chunk): Steal 1 bit from typecode, use it to mark
607         large objects.
608         (struct page_entry): Remove bytes_free.
609         (struct page_table_chain): Remove.
610         (struct globals): Remove page_table member.
611         (loookup_page_table_entry): Function deleted.
612         (set_page_table_entry): Ditto.
613         (ggc_allocated_p): No longer need page table lookups.
614         (ggc_marked_p): Ditto.
615         (alloc_small_page): Don't care about bytes_free anymore.
616         (alloc_large_page): Round up size.
617         (ggc_alloc_zone_1): Mark large objects as such, and calculate
618         their size the new way.
619         Remove page table lookups and setting.
620         (ggc_get_size): Calculate large object size the new way.
621         (sweep_pages): Redo to account for fact that we no longer have
622         bytes_free.
623         (ggc_collect): No longer need to reincrement bytes_free.
624         (ggc_pch_alloc_object): Handle new large objects properly.
625         (ggc_pch_read): Put PCH stuff into it's own uncollected zone.
626
627 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
628
629         * doc/invoke.texi: Remove a page break.
630
631 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
632
633         * config/avr/avr.c (avr_output_function_prologue): Remove an
634         extra pair of curly braces.
635
636 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
637
638         * config/mn10300/mn10300.c: Fix comment formatting.
639         * config/mn10300/mn10300.h: Likewise.
640
641 2004-01-05  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
642
643         * tree.h: Update documentation on nothrow_flag.
644         * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
645         types.
646
647 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
648
649         * doc/invoke.texi: Remove traces of dead ports.
650
651 2004-01-05  Richard Sandiford  <rsandifo@redhat.com>
652
653         * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
654         option.
655
656 2004-01-05  Richard Sandiford  <rsandifo@redhat.com>
657
658         PR target/12945
659         * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
660         counter labels.
661         * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
662         (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
663         string constants if TARGET_MIPS16.  Use SYMBOL_REF_DECL to check
664         the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
665         (mips_symbol_insns): Don't trust the local/global classification.
666         (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
667         (override_options): Make -mabicalls -fno-unit-at-a-time imply
668         -mno-explicit-relocs.
669         (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
670         between local and global symbols.
671
672 2004-01-05  Richard Sandiford  <rsandifo@redhat.com>
673
674         * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
675         (mips_preferred_reload_class): Declare.
676         * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
677         (EXTRA_CONSTRAINT): Update accordingly.
678         (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
679         * config/mips/mips.c (mips_dangerous_for_la25_p): New function.
680         (mips_preferred_reload_class): New function.  Prefer LEA_REGS if
681         mips_dangerous_for_la25_p.
682         (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
683         if mips_dangerous_for_la25_p.
684
685 2004-01-05  Bernardo Innocenti  <bernie@develer.com>
686
687         * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
688         warning.
689
690 2004-01-04  Nathanael Nerode  <neroden@gcc.gnu.org>
691
692         * configure.ac: Use AC_PROG_CPP_WERROR.
693         * configure: Regenerate.
694
695 2004-01-04  Zack Weinberg  <zack@codesourcery.com>
696
697         * .cvsignore: Add autom4te.cache.
698
699 2004-01-04  Richard Sandiford  <rsandifo@redhat.com>
700
701         * doc/invoke.texi: Revamp documentation of MIPS options.  Remove
702         -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
703         -m4650, -mfix7000 and -(m)no-crt0.  Put endianness options first,
704         then architecture options, then ABI options.  General rewording.
705
706 2004-01-04  Joseph S. Myers  <jsm@polyomino.org.uk>
707
708         PR c/3414
709         * doc/extend.texi: Clarify definition of malloc attribute.
710
711 2004-01-04  Jan Hubicka  <jh@suse.cz>
712
713         * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
714         * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
715         * cgraph.h (cgraph_edge): Replace inline_call by inline_failed
716         (cgraph_inline_p): Add extra argument reason.
717         * cgraphunit.c: Minor formating fixes.
718         cgraph_first_inlined_callee): New functions.
719         (record_call_1): Record builtins too.
720         (cgraph_analyze_function): Update inline_failed messages.
721         (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
722         cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
723         (cgraph_check_inline_limits): Likewise; Add argument reason.
724         (cgraph_set_inline_failed): New static function.
725         (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
726         reasons.
727         (cgraph_inline_p): Add new argument reason.
728         * tree-inline.c (expand_call_inline):  Update warning.
729
730 2004-01-03  Nathanael Nerode  <neroden@gcc.gnu.org>
731
732         * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
733         with modern equivalents.
734         * configure: Regenerate.
735
736         * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
737         * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
738         * configure: Regenerate.
739
740         * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
741
742         * configure.in: Rename to configure.ac.
743         * configure.ac: Renamed from configure.in; make minimum necessary
744         changes for autoconf 2.5x.
745         * aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
746         * configure: Regenerate with autoconf 2.57.
747
748 2004-01-03  Kazu Hirata  <kazu@cs.umass.edu>
749
750         * config/mips/linux.h: Fix comment formatting.
751         * config/mips/mips.c: Likewise.
752         * config/mips/mips.h: Likewise.
753         * config/mips/mips.md: Likewise.
754         * config/mips/netbsd.h: Likewise.
755         * config/mips/windiss.h: Likewise.
756
757 2004-01-02  Richard Henderson  <rth@redhat.com>
758
759         * config/i386/i386.md (fp constant pool splitter): Reorg suppression
760         for sse and 387; add suppression for mmx.
761
762 2004-01-02  Andrew Pinski  <pinskia@physics.uc.edu>
763
764         * loop.c (loop_optimize): Free all loops_info's mems.
765
766         * c-typeck.c (finish_init): Free spelling_base before
767         setting it again.
768
769         * cfgloop.c (flow_loops_find): Always free the sbitmap
770         headers.
771
772         * predict.c (estimate_probability): Free bbs after being
773         done with it.
774
775 2004-01-02  Kazu Hirata  <kazu@cs.umass.edu>
776
777         * config/mn10300/mn10300.h (PREDICATE_CODES): Add
778         const_8bit_operand and call_address_operand.
779
780 2004-01-02  Jan Hubicka  <jh@suse.cz>
781
782         * cgraphunit.c (cgraph_optimize_function):  Call optimize_inline_calls
783         when there is nothing to inline but warnings are requested.
784         (cgraph_decide_inlining):  Fix memory leak.
785
786 2004-01-02  Jan Hubicka  <jh@suse.cz>
787
788         * expr.c (store_constructor):  Fix pasto in previous patch.
789
790 2004-01-02  Kazu Hirata  <kazu@cs.umass.edu>
791
792         * config/i386/cygming.h: Fix comment formatting.
793         * config/i386/djgpp.h: Likewise.
794         * config/i386/gthr-win32.c: Likewise.
795         * config/i386/i386-interix.h: Likewise.
796         * config/i386/i386.c: Likewise.
797         * config/i386/i386.h: Likewise.
798         * config/i386/openbsd.h: Likewise.
799         * config/i386/winnt.c: Likewise.
800         * config/i386/xm-mingw32.h: Likewise.
801
802 2004-01-02  Joseph S. Myers  <jsm@polyomino.org.uk>
803
804         * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
805         copyright and last modification dates.
806
807 2004-01-02  Andreas Jaeger  <aj@suse.de>, Gerald Pfeifer  <gp@suse.de>
808
809         * doc/install.texi (Specific): Mention x86_64.
810
811 2004-01-01  Hans-Peter Nilsson  <hp@bitrange.com>
812
813         * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
814         Call force_operand on plus_constant result.
815
816 2004-01-01  Jan Hubicka  <jh@suse.cz>
817
818         * expmed.c (store_bit_field, extract_bit_field): Use new named patterns
819         * expr.c (store_constructor): Use vec_init pattern.
820         * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
821         * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
822         (vec_set_optab, vec_extract_optab, vec_init_optab): New.
823         * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
824         New patterns.
825         (sse2_unpc?pd): Fix pattern.
826         (sse2_movlpd): Kill.
827         (sse2_movsd): Deal with movlpd too.
828         * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
829         (ix86_expand_vector_init): New.
830         * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
831         * md.texi (vec_set, vec_extract): Document
832
833 2003-12-31  Jan Hubicka  <jh@suse.cz>
834
835         PR opt/13473
836         * recog.c (validate_replace_rtx_1):  Take care for RTL sharing inside
837         ASM input operands
838
839         PR opt/12617
840         * toplev.c (dump_file_index): Reorder ce3 and bbro.
841         (dump_file): Likewise.
842         (rest_of_compilation): Likewise.
843
844         PR debug/13367
845         * cgraph.c (cgraph_function_possibly_inlined):  Even with
846         flag_really_no_inline we inline always_inline functions.
847         * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
848         for non-always_inline functions when there is flag_really_no_inline.
849         (cgraph_decide_inlining): Limit work done when not inlining.
850         (cgraph_decide_inlining_incrementally): Likewise.
851         (cgraph_optimize_function): Check whether something got inlined.
852         * c-objc-common.c (c_disregard_inline_limits): Do not always inline
853         extern inline functions when not inlining.
854
855         * opts.c (decode_options):  Disable crossjumping at -O1
856         * invoke.texi (-O1): Document change.
857
858 See ChangeLog.10 for earlier changes.