OSDN Git Service

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