1 2004-01-06 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
3 * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed
5 2004-01-06 Jan Hubicka <jh@suse.cz>
7 * i386.c (init_cumulative_args): Add handling of MMX_REGPARM.
8 (function_arg_advance): Do not pass aggregates in SSE; deal handling
10 (function_arg): Add new warnings about ABI changes; fix SSE_REGPARM;
12 * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
13 (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
14 (MMX_REGPARM_MAX): Similarly for -mmmx.
16 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
18 * config/sh/linux.h: Fix comment formatting.
19 * config/sh/netbsd-elf.h: Likewise.
20 * config/sh/sh.c: Likewise.
21 * config/sh/sh.h: Likewise.
22 * config/sh/vxworks.h: Likewise.
24 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
26 * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
27 * toplev.c (output_file_directive): Don't use
28 ASM_OUTPUT_MAIN_SOURCE_FILENAME.
30 2004-01-05 Daniel Berlin <dberlin@dberlin.org>
32 * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
33 (USING_MMAP): We don't support non-mmap.
34 (struct alloc_chunk): Steal 1 bit from typecode, use it to mark
36 (struct page_entry): Remove bytes_free.
37 (struct page_table_chain): Remove.
38 (struct globals): Remove page_table member.
39 (loookup_page_table_entry): Function deleted.
40 (set_page_table_entry): Ditto.
41 (ggc_allocated_p): No longer need page table lookups.
42 (ggc_marked_p): Ditto.
43 (alloc_small_page): Don't care about bytes_free anymore.
44 (alloc_large_page): Round up size.
45 (ggc_alloc_zone_1): Mark large objects as such, and calculate
46 their size the new way.
47 Remove page table lookups and setting.
48 (ggc_get_size): Calculate large object size the new way.
49 (sweep_pages): Redo to account for fact that we no longer have
51 (ggc_collect): No longer need to reincrement bytes_free.
52 (ggc_pch_alloc_object): Handle new large objects properly.
53 (ggc_pch_read): Put PCH stuff into it's own uncollected zone.
55 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
57 * doc/invoke.texi: Remove a page break.
59 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
61 * config/avr/avr.c (avr_output_function_prologue): Remove an
62 extra pair of curly braces.
64 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
66 * config/mn10300/mn10300.c: Fix comment formatting.
67 * config/mn10300/mn10300.h: Likewise.
69 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
71 * tree.h: Update documentation on nothrow_flag.
72 * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
75 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
77 * doc/invoke.texi: Remove traces of dead ports.
79 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
81 * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
84 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
87 * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
89 * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
90 (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
91 string constants if TARGET_MIPS16. Use SYMBOL_REF_DECL to check
92 the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
93 (mips_symbol_insns): Don't trust the local/global classification.
94 (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
95 (override_options): Make -mabicalls -fno-unit-at-a-time imply
97 (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
98 between local and global symbols.
100 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
102 * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
103 (mips_preferred_reload_class): Declare.
104 * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
105 (EXTRA_CONSTRAINT): Update accordingly.
106 (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
107 * config/mips/mips.c (mips_dangerous_for_la25_p): New function.
108 (mips_preferred_reload_class): New function. Prefer LEA_REGS if
109 mips_dangerous_for_la25_p.
110 (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
111 if mips_dangerous_for_la25_p.
113 2004-01-05 Bernardo Innocenti <bernie@develer.com>
115 * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
118 2004-01-04 Nathanael Nerode <neroden@gcc.gnu.org>
120 * configure.ac: Use AC_PROG_CPP_WERROR.
121 * configure: Regenerate.
123 2004-01-04 Zack Weinberg <zack@codesourcery.com>
125 * .cvsignore: Add autom4te.cache.
127 2004-01-04 Richard Sandiford <rsandifo@redhat.com>
129 * doc/invoke.texi: Revamp documentation of MIPS options. Remove
130 -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
131 -m4650, -mfix7000 and -(m)no-crt0. Put endianness options first,
132 then architecture options, then ABI options. General rewording.
134 2004-01-04 Joseph S. Myers <jsm@polyomino.org.uk>
137 * doc/extend.texi: Clarify definition of malloc attribute.
139 2004-01-04 Jan Hubicka <jh@suse.cz>
141 * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
142 * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
143 * cgraph.h (cgraph_edge): Replace inline_call by inline_failed
144 (cgraph_inline_p): Add extra argument reason.
145 * cgraphunit.c: Minor formating fixes.
146 cgraph_first_inlined_callee): New functions.
147 (record_call_1): Record builtins too.
148 (cgraph_analyze_function): Update inline_failed messages.
149 (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
150 cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
151 (cgraph_check_inline_limits): Likewise; Add argument reason.
152 (cgraph_set_inline_failed): New static function.
153 (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
155 (cgraph_inline_p): Add new argument reason.
156 * tree-inline.c (expand_call_inline): Update warning.
158 2004-01-03 Nathanael Nerode <neroden@gcc.gnu.org>
160 * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
161 with modern equivalents.
162 * configure: Regenerate.
164 * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
165 * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
166 * configure: Regenerate.
168 * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
170 * configure.in: Rename to configure.ac.
171 * configure.ac: Renamed from configure.in; make minimum necessary
172 changes for autoconf 2.5x.
173 * aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
174 * configure: Regenerate with autoconf 2.57.
176 2004-01-03 Kazu Hirata <kazu@cs.umass.edu>
178 * config/mips/linux.h: Fix comment formatting.
179 * config/mips/mips.c: Likewise.
180 * config/mips/mips.h: Likewise.
181 * config/mips/mips.md: Likewise.
182 * config/mips/netbsd.h: Likewise.
183 * config/mips/windiss.h: Likewise.
185 2004-01-02 Richard Henderson <rth@redhat.com>
187 * config/i386/i386.md (fp constant pool splitter): Reorg suppression
188 for sse and 387; add suppression for mmx.
190 2004-01-02 Andrew Pinski <pinskia@physics.uc.edu>
192 * loop.c (loop_optimize): Free all loops_info's mems.
194 * c-typeck.c (finish_init): Free spelling_base before
197 * cfgloop.c (flow_loops_find): Always free the sbitmap
200 * predict.c (estimate_probability): Free bbs after being
203 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
205 * config/mn10300/mn10300.h (PREDICATE_CODES): Add
206 const_8bit_operand and call_address_operand.
208 2004-01-02 Jan Hubicka <jh@suse.cz>
210 * cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls
211 when there is nothing to inline but warnings are requested.
212 (cgraph_decide_inlining): Fix memory leak.
214 2004-01-02 Jan Hubicka <jh@suse.cz>
216 * expr.c (store_constructor): Fix pasto in previous patch.
218 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
220 * config/i386/cygming.h: Fix comment formatting.
221 * config/i386/djgpp.h: Likewise.
222 * config/i386/gthr-win32.c: Likewise.
223 * config/i386/i386-interix.h: Likewise.
224 * config/i386/i386.c: Likewise.
225 * config/i386/i386.h: Likewise.
226 * config/i386/openbsd.h: Likewise.
227 * config/i386/winnt.c: Likewise.
228 * config/i386/xm-mingw32.h: Likewise.
230 2004-01-02 Joseph S. Myers <jsm@polyomino.org.uk>
232 * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
233 copyright and last modification dates.
235 2004-01-02 Andreas Jaeger <aj@suse.de>, Gerald Pfeifer <gp@suse.de>
237 * doc/install.texi (Specific): Mention x86_64.
239 2004-01-01 Hans-Peter Nilsson <hp@bitrange.com>
241 * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
242 Call force_operand on plus_constant result.
244 2004-01-01 Jan Hubicka <jh@suse.cz>
246 * expmed.c (store_bit_field, extract_bit_field): Use new named patterns
247 * expr.c (store_constructor): Use vec_init pattern.
248 * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
249 * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
250 (vec_set_optab, vec_extract_optab, vec_init_optab): New.
251 * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
253 (sse2_unpc?pd): Fix pattern.
255 (sse2_movsd): Deal with movlpd too.
256 * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
257 (ix86_expand_vector_init): New.
258 * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
259 * md.texi (vec_set, vec_extract): Document
261 2003-12-31 Jan Hubicka <jh@suse.cz>
264 * recog.c (validate_replace_rtx_1): Take care for RTL sharing inside
268 * toplev.c (dump_file_index): Reorder ce3 and bbro.
269 (dump_file): Likewise.
270 (rest_of_compilation): Likewise.
273 * cgraph.c (cgraph_function_possibly_inlined): Even with
274 flag_really_no_inline we inline always_inline functions.
275 * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
276 for non-always_inline functions when there is flag_really_no_inline.
277 (cgraph_decide_inlining): Limit work done when not inlining.
278 (cgraph_decide_inlining_incrementally): Likewise.
279 (cgraph_optimize_function): Check whether something got inlined.
280 * c-objc-common.c (c_disregard_inline_limits): Do not always inline
281 extern inline functions when not inlining.
283 * opts.c (decode_options): Disable crossjumping at -O1
284 * invoke.texi (-O1): Document change.
286 See ChangeLog.10 for earlier changes.