OSDN Git Service

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