1 2004-01-06 Eric Christopher <echristo@redhat.com>
3 * config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default.
4 (DWARF2_DEBUGGING_INFO): Define.
5 (PREFERRED_DEBUGGING_TYPE): Set to dwarf2.
6 * config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove.
7 * config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0
9 (SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as.
10 * config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove.
11 * config/mips/iris5gas.h: Ditto.
12 (DBX_DEBUGGING_INFO): Remove.
13 (DWARF2_DEBUGGING_INFO): Ditto.
14 (MIPS_DEBUGGING_INFO): Ditto.
15 (PREFERRED_DEBUGGING_TYPE): Ditto.
16 * config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove.
17 (PREFERRED_DEBUGGING_TYPE): Ditto.
18 (SUBTARGET_ASM_DEBUGGING_SPEC): Ditto.
19 * config/mips/elf64.h: Ditto.
21 2004-01-06 Jan Hubicka <jh@suse.cz>
23 * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate.
24 (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use.
26 2004-01-06 Geoffrey Keating <geoffk@apple.com>
28 * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
29 (TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128.
30 * config/rs6000/darwin-ldouble.c: New.
32 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
34 (constant_subword): Delete.
35 * rtl.h (constant_subword): Delete prototype.
36 (immed_double_const): Is not in varasm.c.
37 * simplify-rtx.c (simplify_immed_subreg): New.
38 (simplify_subreg): Use simplify_immed_subreg.
40 * config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
41 than trying to generate RTL directly.
42 (fix_trunctfsi2): Use expand_fix rather than trying to generate
45 * dwarf2out.c (add_const_value_attribute): Remove incorrect comment.
47 2004-01-06 David Edelsohn <edelsohn@gnu.org>
49 * config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
50 function into a separate macro.
51 (read_only_data_section): Add void argument.
52 (private_data_section): Same.
53 (read_only_private_data_section): Same.
56 2004-01-06 Jan Hubicka <jh@suse.cz>
58 * invoke.texi: Remove typo in last change.
61 * config.gcc: Accept opteron and athlon-64 as variants
63 * i386.c (override_options): Likewise.
64 * invoke.texi (i386 -mtune): Expand documentation.
66 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
68 * alias.c: Fix comment typos.
69 * builtins.c: Likewise.
72 * dominance.c: Likewise.
73 * dwarf2out.c: Likewise.
74 * emit-rtl.c: Likewise.
77 * fold-const.c: Likewise.
79 * genattrtab.c: Likewise.
80 * genrecog.c: Likewise.
81 * gensupport.c: Likewise.
82 * ggc-zone.c: Likewise.
83 * integrate.c: Likewise.
84 * local-alloc.c: Likewise.
87 * regmove.c: Likewise.
88 * reg-stack.c: Likewise.
90 * rtlanal.c: Likewise.
92 * sched-ebb.c: Likewise.
93 * simplify-rtx.c: Likewise.
97 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
99 * doc/install.texi: Fix typos.
100 * doc/invoke.texi: Likewise.
101 * doc/md.texi: Likewise.
103 2004-01-06 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
105 * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed
107 2004-01-06 Jan Hubicka <jh@suse.cz>
109 * i386.c (init_cumulative_args): Add handling of MMX_REGPARM.
110 (function_arg_advance): Do not pass aggregates in SSE; deal handling
112 (function_arg): Add new warnings about ABI changes; fix SSE_REGPARM;
114 * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
115 (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
116 (MMX_REGPARM_MAX): Similarly for -mmmx.
118 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
120 * config/sh/linux.h: Fix comment formatting.
121 * config/sh/netbsd-elf.h: Likewise.
122 * config/sh/sh.c: Likewise.
123 * config/sh/sh.h: Likewise.
124 * config/sh/vxworks.h: Likewise.
126 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
128 * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
129 * toplev.c (output_file_directive): Don't use
130 ASM_OUTPUT_MAIN_SOURCE_FILENAME.
132 2004-01-05 Daniel Berlin <dberlin@dberlin.org>
134 * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
135 (USING_MMAP): We don't support non-mmap.
136 (struct alloc_chunk): Steal 1 bit from typecode, use it to mark
138 (struct page_entry): Remove bytes_free.
139 (struct page_table_chain): Remove.
140 (struct globals): Remove page_table member.
141 (loookup_page_table_entry): Function deleted.
142 (set_page_table_entry): Ditto.
143 (ggc_allocated_p): No longer need page table lookups.
144 (ggc_marked_p): Ditto.
145 (alloc_small_page): Don't care about bytes_free anymore.
146 (alloc_large_page): Round up size.
147 (ggc_alloc_zone_1): Mark large objects as such, and calculate
148 their size the new way.
149 Remove page table lookups and setting.
150 (ggc_get_size): Calculate large object size the new way.
151 (sweep_pages): Redo to account for fact that we no longer have
153 (ggc_collect): No longer need to reincrement bytes_free.
154 (ggc_pch_alloc_object): Handle new large objects properly.
155 (ggc_pch_read): Put PCH stuff into it's own uncollected zone.
157 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
159 * doc/invoke.texi: Remove a page break.
161 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
163 * config/avr/avr.c (avr_output_function_prologue): Remove an
164 extra pair of curly braces.
166 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
168 * config/mn10300/mn10300.c: Fix comment formatting.
169 * config/mn10300/mn10300.h: Likewise.
171 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
173 * tree.h: Update documentation on nothrow_flag.
174 * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
177 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
179 * doc/invoke.texi: Remove traces of dead ports.
181 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
183 * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
186 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
189 * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
191 * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
192 (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
193 string constants if TARGET_MIPS16. Use SYMBOL_REF_DECL to check
194 the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
195 (mips_symbol_insns): Don't trust the local/global classification.
196 (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
197 (override_options): Make -mabicalls -fno-unit-at-a-time imply
198 -mno-explicit-relocs.
199 (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
200 between local and global symbols.
202 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
204 * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
205 (mips_preferred_reload_class): Declare.
206 * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
207 (EXTRA_CONSTRAINT): Update accordingly.
208 (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
209 * config/mips/mips.c (mips_dangerous_for_la25_p): New function.
210 (mips_preferred_reload_class): New function. Prefer LEA_REGS if
211 mips_dangerous_for_la25_p.
212 (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
213 if mips_dangerous_for_la25_p.
215 2004-01-05 Bernardo Innocenti <bernie@develer.com>
217 * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
220 2004-01-04 Nathanael Nerode <neroden@gcc.gnu.org>
222 * configure.ac: Use AC_PROG_CPP_WERROR.
223 * configure: Regenerate.
225 2004-01-04 Zack Weinberg <zack@codesourcery.com>
227 * .cvsignore: Add autom4te.cache.
229 2004-01-04 Richard Sandiford <rsandifo@redhat.com>
231 * doc/invoke.texi: Revamp documentation of MIPS options. Remove
232 -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
233 -m4650, -mfix7000 and -(m)no-crt0. Put endianness options first,
234 then architecture options, then ABI options. General rewording.
236 2004-01-04 Joseph S. Myers <jsm@polyomino.org.uk>
239 * doc/extend.texi: Clarify definition of malloc attribute.
241 2004-01-04 Jan Hubicka <jh@suse.cz>
243 * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
244 * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
245 * cgraph.h (cgraph_edge): Replace inline_call by inline_failed
246 (cgraph_inline_p): Add extra argument reason.
247 * cgraphunit.c: Minor formating fixes.
248 cgraph_first_inlined_callee): New functions.
249 (record_call_1): Record builtins too.
250 (cgraph_analyze_function): Update inline_failed messages.
251 (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
252 cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
253 (cgraph_check_inline_limits): Likewise; Add argument reason.
254 (cgraph_set_inline_failed): New static function.
255 (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
257 (cgraph_inline_p): Add new argument reason.
258 * tree-inline.c (expand_call_inline): Update warning.
260 2004-01-03 Nathanael Nerode <neroden@gcc.gnu.org>
262 * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
263 with modern equivalents.
264 * configure: Regenerate.
266 * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
267 * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
268 * configure: Regenerate.
270 * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
272 * configure.in: Rename to configure.ac.
273 * configure.ac: Renamed from configure.in; make minimum necessary
274 changes for autoconf 2.5x.
275 * aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
276 * configure: Regenerate with autoconf 2.57.
278 2004-01-03 Kazu Hirata <kazu@cs.umass.edu>
280 * config/mips/linux.h: Fix comment formatting.
281 * config/mips/mips.c: Likewise.
282 * config/mips/mips.h: Likewise.
283 * config/mips/mips.md: Likewise.
284 * config/mips/netbsd.h: Likewise.
285 * config/mips/windiss.h: Likewise.
287 2004-01-02 Richard Henderson <rth@redhat.com>
289 * config/i386/i386.md (fp constant pool splitter): Reorg suppression
290 for sse and 387; add suppression for mmx.
292 2004-01-02 Andrew Pinski <pinskia@physics.uc.edu>
294 * loop.c (loop_optimize): Free all loops_info's mems.
296 * c-typeck.c (finish_init): Free spelling_base before
299 * cfgloop.c (flow_loops_find): Always free the sbitmap
302 * predict.c (estimate_probability): Free bbs after being
305 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
307 * config/mn10300/mn10300.h (PREDICATE_CODES): Add
308 const_8bit_operand and call_address_operand.
310 2004-01-02 Jan Hubicka <jh@suse.cz>
312 * cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls
313 when there is nothing to inline but warnings are requested.
314 (cgraph_decide_inlining): Fix memory leak.
316 2004-01-02 Jan Hubicka <jh@suse.cz>
318 * expr.c (store_constructor): Fix pasto in previous patch.
320 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
322 * config/i386/cygming.h: Fix comment formatting.
323 * config/i386/djgpp.h: Likewise.
324 * config/i386/gthr-win32.c: Likewise.
325 * config/i386/i386-interix.h: Likewise.
326 * config/i386/i386.c: Likewise.
327 * config/i386/i386.h: Likewise.
328 * config/i386/openbsd.h: Likewise.
329 * config/i386/winnt.c: Likewise.
330 * config/i386/xm-mingw32.h: Likewise.
332 2004-01-02 Joseph S. Myers <jsm@polyomino.org.uk>
334 * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
335 copyright and last modification dates.
337 2004-01-02 Andreas Jaeger <aj@suse.de>, Gerald Pfeifer <gp@suse.de>
339 * doc/install.texi (Specific): Mention x86_64.
341 2004-01-01 Hans-Peter Nilsson <hp@bitrange.com>
343 * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
344 Call force_operand on plus_constant result.
346 2004-01-01 Jan Hubicka <jh@suse.cz>
348 * expmed.c (store_bit_field, extract_bit_field): Use new named patterns
349 * expr.c (store_constructor): Use vec_init pattern.
350 * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
351 * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
352 (vec_set_optab, vec_extract_optab, vec_init_optab): New.
353 * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
355 (sse2_unpc?pd): Fix pattern.
357 (sse2_movsd): Deal with movlpd too.
358 * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
359 (ix86_expand_vector_init): New.
360 * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
361 * md.texi (vec_set, vec_extract): Document
363 2003-12-31 Jan Hubicka <jh@suse.cz>
366 * recog.c (validate_replace_rtx_1): Take care for RTL sharing inside
370 * toplev.c (dump_file_index): Reorder ce3 and bbro.
371 (dump_file): Likewise.
372 (rest_of_compilation): Likewise.
375 * cgraph.c (cgraph_function_possibly_inlined): Even with
376 flag_really_no_inline we inline always_inline functions.
377 * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
378 for non-always_inline functions when there is flag_really_no_inline.
379 (cgraph_decide_inlining): Limit work done when not inlining.
380 (cgraph_decide_inlining_incrementally): Likewise.
381 (cgraph_optimize_function): Check whether something got inlined.
382 * c-objc-common.c (c_disregard_inline_limits): Do not always inline
383 extern inline functions when not inlining.
385 * opts.c (decode_options): Disable crossjumping at -O1
386 * invoke.texi (-O1): Document change.
388 See ChangeLog.10 for earlier changes.