OSDN Git Service

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