1 2004-01-06 Jan Hubicka <jh@suse.cz>
3 * invoke.texi: Remove typo in last change.
6 * config.gcc: Accept opteron and athlon-64 as variants
8 * i386.c (override_options): Likewise.
9 * invoke.texi (i386 -mtune): Expand documentation.
11 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
13 * alias.c: Fix comment typos.
14 * builtins.c: Likewise.
17 * dominance.c: Likewise.
18 * dwarf2out.c: Likewise.
19 * emit-rtl.c: Likewise.
22 * fold-const.c: Likewise.
24 * genattrtab.c: Likewise.
25 * genrecog.c: Likewise.
26 * gensupport.c: Likewise.
27 * ggc-zone.c: Likewise.
28 * integrate.c: Likewise.
29 * local-alloc.c: Likewise.
32 * regmove.c: Likewise.
33 * reg-stack.c: Likewise.
35 * rtlanal.c: Likewise.
37 * sched-ebb.c: Likewise.
38 * simplify-rtx.c: Likewise.
42 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
44 * doc/install.texi: Fix typos.
45 * doc/invoke.texi: Likewise.
46 * doc/md.texi: Likewise.
48 2004-01-06 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
50 * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed
52 2004-01-06 Jan Hubicka <jh@suse.cz>
54 * i386.c (init_cumulative_args): Add handling of MMX_REGPARM.
55 (function_arg_advance): Do not pass aggregates in SSE; deal handling
57 (function_arg): Add new warnings about ABI changes; fix SSE_REGPARM;
59 * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
60 (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
61 (MMX_REGPARM_MAX): Similarly for -mmmx.
63 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
65 * config/sh/linux.h: Fix comment formatting.
66 * config/sh/netbsd-elf.h: Likewise.
67 * config/sh/sh.c: Likewise.
68 * config/sh/sh.h: Likewise.
69 * config/sh/vxworks.h: Likewise.
71 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
73 * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
74 * toplev.c (output_file_directive): Don't use
75 ASM_OUTPUT_MAIN_SOURCE_FILENAME.
77 2004-01-05 Daniel Berlin <dberlin@dberlin.org>
79 * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
80 (USING_MMAP): We don't support non-mmap.
81 (struct alloc_chunk): Steal 1 bit from typecode, use it to mark
83 (struct page_entry): Remove bytes_free.
84 (struct page_table_chain): Remove.
85 (struct globals): Remove page_table member.
86 (loookup_page_table_entry): Function deleted.
87 (set_page_table_entry): Ditto.
88 (ggc_allocated_p): No longer need page table lookups.
89 (ggc_marked_p): Ditto.
90 (alloc_small_page): Don't care about bytes_free anymore.
91 (alloc_large_page): Round up size.
92 (ggc_alloc_zone_1): Mark large objects as such, and calculate
93 their size the new way.
94 Remove page table lookups and setting.
95 (ggc_get_size): Calculate large object size the new way.
96 (sweep_pages): Redo to account for fact that we no longer have
98 (ggc_collect): No longer need to reincrement bytes_free.
99 (ggc_pch_alloc_object): Handle new large objects properly.
100 (ggc_pch_read): Put PCH stuff into it's own uncollected zone.
102 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
104 * doc/invoke.texi: Remove a page break.
106 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
108 * config/avr/avr.c (avr_output_function_prologue): Remove an
109 extra pair of curly braces.
111 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
113 * config/mn10300/mn10300.c: Fix comment formatting.
114 * config/mn10300/mn10300.h: Likewise.
116 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
118 * tree.h: Update documentation on nothrow_flag.
119 * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
122 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
124 * doc/invoke.texi: Remove traces of dead ports.
126 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
128 * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
131 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
134 * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
136 * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
137 (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
138 string constants if TARGET_MIPS16. Use SYMBOL_REF_DECL to check
139 the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
140 (mips_symbol_insns): Don't trust the local/global classification.
141 (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
142 (override_options): Make -mabicalls -fno-unit-at-a-time imply
143 -mno-explicit-relocs.
144 (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
145 between local and global symbols.
147 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
149 * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
150 (mips_preferred_reload_class): Declare.
151 * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
152 (EXTRA_CONSTRAINT): Update accordingly.
153 (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
154 * config/mips/mips.c (mips_dangerous_for_la25_p): New function.
155 (mips_preferred_reload_class): New function. Prefer LEA_REGS if
156 mips_dangerous_for_la25_p.
157 (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
158 if mips_dangerous_for_la25_p.
160 2004-01-05 Bernardo Innocenti <bernie@develer.com>
162 * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
165 2004-01-04 Nathanael Nerode <neroden@gcc.gnu.org>
167 * configure.ac: Use AC_PROG_CPP_WERROR.
168 * configure: Regenerate.
170 2004-01-04 Zack Weinberg <zack@codesourcery.com>
172 * .cvsignore: Add autom4te.cache.
174 2004-01-04 Richard Sandiford <rsandifo@redhat.com>
176 * doc/invoke.texi: Revamp documentation of MIPS options. Remove
177 -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
178 -m4650, -mfix7000 and -(m)no-crt0. Put endianness options first,
179 then architecture options, then ABI options. General rewording.
181 2004-01-04 Joseph S. Myers <jsm@polyomino.org.uk>
184 * doc/extend.texi: Clarify definition of malloc attribute.
186 2004-01-04 Jan Hubicka <jh@suse.cz>
188 * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
189 * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
190 * cgraph.h (cgraph_edge): Replace inline_call by inline_failed
191 (cgraph_inline_p): Add extra argument reason.
192 * cgraphunit.c: Minor formating fixes.
193 cgraph_first_inlined_callee): New functions.
194 (record_call_1): Record builtins too.
195 (cgraph_analyze_function): Update inline_failed messages.
196 (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
197 cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
198 (cgraph_check_inline_limits): Likewise; Add argument reason.
199 (cgraph_set_inline_failed): New static function.
200 (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
202 (cgraph_inline_p): Add new argument reason.
203 * tree-inline.c (expand_call_inline): Update warning.
205 2004-01-03 Nathanael Nerode <neroden@gcc.gnu.org>
207 * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
208 with modern equivalents.
209 * configure: Regenerate.
211 * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
212 * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
213 * configure: Regenerate.
215 * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
217 * configure.in: Rename to configure.ac.
218 * configure.ac: Renamed from configure.in; make minimum necessary
219 changes for autoconf 2.5x.
220 * aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
221 * configure: Regenerate with autoconf 2.57.
223 2004-01-03 Kazu Hirata <kazu@cs.umass.edu>
225 * config/mips/linux.h: Fix comment formatting.
226 * config/mips/mips.c: Likewise.
227 * config/mips/mips.h: Likewise.
228 * config/mips/mips.md: Likewise.
229 * config/mips/netbsd.h: Likewise.
230 * config/mips/windiss.h: Likewise.
232 2004-01-02 Richard Henderson <rth@redhat.com>
234 * config/i386/i386.md (fp constant pool splitter): Reorg suppression
235 for sse and 387; add suppression for mmx.
237 2004-01-02 Andrew Pinski <pinskia@physics.uc.edu>
239 * loop.c (loop_optimize): Free all loops_info's mems.
241 * c-typeck.c (finish_init): Free spelling_base before
244 * cfgloop.c (flow_loops_find): Always free the sbitmap
247 * predict.c (estimate_probability): Free bbs after being
250 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
252 * config/mn10300/mn10300.h (PREDICATE_CODES): Add
253 const_8bit_operand and call_address_operand.
255 2004-01-02 Jan Hubicka <jh@suse.cz>
257 * cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls
258 when there is nothing to inline but warnings are requested.
259 (cgraph_decide_inlining): Fix memory leak.
261 2004-01-02 Jan Hubicka <jh@suse.cz>
263 * expr.c (store_constructor): Fix pasto in previous patch.
265 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
267 * config/i386/cygming.h: Fix comment formatting.
268 * config/i386/djgpp.h: Likewise.
269 * config/i386/gthr-win32.c: Likewise.
270 * config/i386/i386-interix.h: Likewise.
271 * config/i386/i386.c: Likewise.
272 * config/i386/i386.h: Likewise.
273 * config/i386/openbsd.h: Likewise.
274 * config/i386/winnt.c: Likewise.
275 * config/i386/xm-mingw32.h: Likewise.
277 2004-01-02 Joseph S. Myers <jsm@polyomino.org.uk>
279 * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
280 copyright and last modification dates.
282 2004-01-02 Andreas Jaeger <aj@suse.de>, Gerald Pfeifer <gp@suse.de>
284 * doc/install.texi (Specific): Mention x86_64.
286 2004-01-01 Hans-Peter Nilsson <hp@bitrange.com>
288 * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
289 Call force_operand on plus_constant result.
291 2004-01-01 Jan Hubicka <jh@suse.cz>
293 * expmed.c (store_bit_field, extract_bit_field): Use new named patterns
294 * expr.c (store_constructor): Use vec_init pattern.
295 * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
296 * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
297 (vec_set_optab, vec_extract_optab, vec_init_optab): New.
298 * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
300 (sse2_unpc?pd): Fix pattern.
302 (sse2_movsd): Deal with movlpd too.
303 * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
304 (ix86_expand_vector_init): New.
305 * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
306 * md.texi (vec_set, vec_extract): Document
308 2003-12-31 Jan Hubicka <jh@suse.cz>
311 * recog.c (validate_replace_rtx_1): Take care for RTL sharing inside
315 * toplev.c (dump_file_index): Reorder ce3 and bbro.
316 (dump_file): Likewise.
317 (rest_of_compilation): Likewise.
320 * cgraph.c (cgraph_function_possibly_inlined): Even with
321 flag_really_no_inline we inline always_inline functions.
322 * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
323 for non-always_inline functions when there is flag_really_no_inline.
324 (cgraph_decide_inlining): Limit work done when not inlining.
325 (cgraph_decide_inlining_incrementally): Likewise.
326 (cgraph_optimize_function): Check whether something got inlined.
327 * c-objc-common.c (c_disregard_inline_limits): Do not always inline
328 extern inline functions when not inlining.
330 * opts.c (decode_options): Disable crossjumping at -O1
331 * invoke.texi (-O1): Document change.
333 See ChangeLog.10 for earlier changes.