1 2004-01-08 Kelley Cook <kcook@gcc.gnu.org>
3 * Makefile.in: Rename configure.in to configure.ac
4 * doc/sourcebuild.texi: Likewise.
5 * configure: Regenerate.
6 * config.in: Regenerate.
8 2004-01-08 Stuart Hastings <stuart@apple.com>
10 * config/i386/i386.md: Typos in MMX/SSE immediate shifts.
12 2004-01-08 Jan Hubicka <jh@suse.cz>
14 * cgraphunit.c (cgraph_decide_inlining): Fix typo.
16 2004-01-08 Geoffrey Keating <geoffk@apple.com>
18 * config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset.
19 (UNSPEC_FIX_TRUNC_TF): New constant.
20 (movtf_internal): Make splitter active only when insn is active.
21 (extenddftf2): Rewrite to properly load zero into low part.
22 (extenddftf2_internal): New.
23 (extendsftf2): Rewrite.
24 (truncdftf2): Correct length.
26 (fix_trunc_helper): New.
27 (fix_trunctfdi2): Use fix_trunc_helper.
28 (fix_trunctfsi2): Likewise.fix_trunc
29 (fix_trunctfsi2_internal): New.
31 * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum
32 addresses are legitimate on Darwin even when flag_pic.
33 (rs6000_legitimize_reload_address) [TARGET_MACHO]: Don't create
34 non-offsettable addresses for loads of TFmode constants.
36 2004-01-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
38 * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Actually emit
39 variables in the appropriate bss section.
41 2004-01-09 Alan Modra <amodra@bigpond.net.au>
43 * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure
44 target_flags has MASK_POWERPC64 when -m64.
45 * config/rs6000/rs6000.c (processor_target_table): Add MASK_POWERPC64
46 to 620, 630, power3, power4 and rs64a entries.
47 * config/rs6000/rs6000.h (MASK_64BIT): Expand comment.
49 2004-01-08 Richard Sandiford <rsandifo@redhat.com>
51 * simplify-rtx.c (simplify_immed_subreg): Fix construction of
52 floating-point constants.
54 2004-01-08 J. Brobecker <brobecker@gnat.com>
56 * dwarf2out.c (subrange_type_die): Add context_die parameter.
57 Create the subrange_type DIE using the given context DIE.
58 (modified_type_die): Update call to subrange_type_die.
60 2004-01-08 Zack Weinberg <zack@codesourcery.com>
62 * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
63 Add multiple-include guard.
65 2004-01-08 Hartmut Penner <hpenner@de.ibm.com>
67 * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
68 all vector constant loadable by vsplt*.
69 (output_vec_const_move): Likewise.
71 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
74 * c-typeck.c (comptypes): Only treat enumerated types in the same
75 translation unit as compatible with each other when they are the
77 * doc/extend.texi: Update.
79 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
82 * c-decl.c (grokdeclarator): Take type qualifiers of typedefed
83 array type from the array element type.
85 2004-01-07 Alan Modra <amodra@bigpond.net.au>
87 * config/rs6000/rs6000.c (rs6000_dbx_register_number): New function.
88 * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Declare.
89 * config/rs6000/rs6000.h (DWARF_FRAME_REGNUM): Define.
90 (DWARF_REG_TO_UNWIND_COLUMN): Correct column adjustment and comment.
91 * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Define.
93 2004-01-06 Eric Christopher <echristo@redhat.com>
95 * config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default.
96 (DWARF2_DEBUGGING_INFO): Define.
97 (PREFERRED_DEBUGGING_TYPE): Set to dwarf2.
98 * config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove.
99 * config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0
101 (SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as.
102 * config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove.
103 * config/mips/iris5gas.h: Ditto.
104 (DBX_DEBUGGING_INFO): Remove.
105 (DWARF2_DEBUGGING_INFO): Ditto.
106 (MIPS_DEBUGGING_INFO): Ditto.
107 (PREFERRED_DEBUGGING_TYPE): Ditto.
108 * config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove.
109 (PREFERRED_DEBUGGING_TYPE): Ditto.
110 (SUBTARGET_ASM_DEBUGGING_SPEC): Ditto.
111 * config/mips/elf64.h: Ditto.
113 2004-01-06 Jan Hubicka <jh@suse.cz>
115 * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate.
116 (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use.
118 2004-01-06 Geoffrey Keating <geoffk@apple.com>
120 * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
121 (TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128.
122 * config/rs6000/darwin-ldouble.c: New.
124 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
126 (constant_subword): Delete.
127 * rtl.h (constant_subword): Delete prototype.
128 (immed_double_const): Is not in varasm.c.
129 * simplify-rtx.c (simplify_immed_subreg): New.
130 (simplify_subreg): Use simplify_immed_subreg.
132 * config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
133 than trying to generate RTL directly.
134 (fix_trunctfsi2): Use expand_fix rather than trying to generate
137 * dwarf2out.c (add_const_value_attribute): Remove incorrect comment.
139 2004-01-06 David Edelsohn <edelsohn@gnu.org>
141 * config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
142 function into a separate macro.
143 (read_only_data_section): Add void argument.
144 (private_data_section): Same.
145 (read_only_private_data_section): Same.
148 2004-01-06 Jan Hubicka <jh@suse.cz>
150 * invoke.texi: Remove typo in last change.
153 * config.gcc: Accept opteron and athlon-64 as variants
155 * i386.c (override_options): Likewise.
156 * invoke.texi (i386 -mtune): Expand documentation.
158 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
160 * alias.c: Fix comment typos.
161 * builtins.c: Likewise.
164 * dominance.c: Likewise.
165 * dwarf2out.c: Likewise.
166 * emit-rtl.c: Likewise.
169 * fold-const.c: Likewise.
171 * genattrtab.c: Likewise.
172 * genrecog.c: Likewise.
173 * gensupport.c: Likewise.
174 * ggc-zone.c: Likewise.
175 * integrate.c: Likewise.
176 * local-alloc.c: Likewise.
179 * regmove.c: Likewise.
180 * reg-stack.c: Likewise.
182 * rtlanal.c: Likewise.
184 * sched-ebb.c: Likewise.
185 * simplify-rtx.c: Likewise.
186 * toplev.c: Likewise.
187 * varasm.c: Likewise.
189 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
191 * doc/install.texi: Fix typos.
192 * doc/invoke.texi: Likewise.
193 * doc/md.texi: Likewise.
195 2004-01-06 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
197 * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed
199 2004-01-06 Jan Hubicka <jh@suse.cz>
201 * i386.c (init_cumulative_args): Add handling of MMX_REGPARM.
202 (function_arg_advance): Do not pass aggregates in SSE; deal handling
204 (function_arg): Add new warnings about ABI changes; fix SSE_REGPARM;
206 * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
207 (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
208 (MMX_REGPARM_MAX): Similarly for -mmmx.
210 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
212 * config/sh/linux.h: Fix comment formatting.
213 * config/sh/netbsd-elf.h: Likewise.
214 * config/sh/sh.c: Likewise.
215 * config/sh/sh.h: Likewise.
216 * config/sh/vxworks.h: Likewise.
218 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
220 * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
221 * toplev.c (output_file_directive): Don't use
222 ASM_OUTPUT_MAIN_SOURCE_FILENAME.
224 2004-01-05 Daniel Berlin <dberlin@dberlin.org>
226 * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
227 (USING_MMAP): We don't support non-mmap.
228 (struct alloc_chunk): Steal 1 bit from typecode, use it to mark
230 (struct page_entry): Remove bytes_free.
231 (struct page_table_chain): Remove.
232 (struct globals): Remove page_table member.
233 (loookup_page_table_entry): Function deleted.
234 (set_page_table_entry): Ditto.
235 (ggc_allocated_p): No longer need page table lookups.
236 (ggc_marked_p): Ditto.
237 (alloc_small_page): Don't care about bytes_free anymore.
238 (alloc_large_page): Round up size.
239 (ggc_alloc_zone_1): Mark large objects as such, and calculate
240 their size the new way.
241 Remove page table lookups and setting.
242 (ggc_get_size): Calculate large object size the new way.
243 (sweep_pages): Redo to account for fact that we no longer have
245 (ggc_collect): No longer need to reincrement bytes_free.
246 (ggc_pch_alloc_object): Handle new large objects properly.
247 (ggc_pch_read): Put PCH stuff into it's own uncollected zone.
249 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
251 * doc/invoke.texi: Remove a page break.
253 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
255 * config/avr/avr.c (avr_output_function_prologue): Remove an
256 extra pair of curly braces.
258 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
260 * config/mn10300/mn10300.c: Fix comment formatting.
261 * config/mn10300/mn10300.h: Likewise.
263 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
265 * tree.h: Update documentation on nothrow_flag.
266 * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
269 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
271 * doc/invoke.texi: Remove traces of dead ports.
273 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
275 * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
278 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
281 * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
283 * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
284 (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
285 string constants if TARGET_MIPS16. Use SYMBOL_REF_DECL to check
286 the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
287 (mips_symbol_insns): Don't trust the local/global classification.
288 (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
289 (override_options): Make -mabicalls -fno-unit-at-a-time imply
290 -mno-explicit-relocs.
291 (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
292 between local and global symbols.
294 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
296 * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
297 (mips_preferred_reload_class): Declare.
298 * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
299 (EXTRA_CONSTRAINT): Update accordingly.
300 (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
301 * config/mips/mips.c (mips_dangerous_for_la25_p): New function.
302 (mips_preferred_reload_class): New function. Prefer LEA_REGS if
303 mips_dangerous_for_la25_p.
304 (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
305 if mips_dangerous_for_la25_p.
307 2004-01-05 Bernardo Innocenti <bernie@develer.com>
309 * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
312 2004-01-04 Nathanael Nerode <neroden@gcc.gnu.org>
314 * configure.ac: Use AC_PROG_CPP_WERROR.
315 * configure: Regenerate.
317 2004-01-04 Zack Weinberg <zack@codesourcery.com>
319 * .cvsignore: Add autom4te.cache.
321 2004-01-04 Richard Sandiford <rsandifo@redhat.com>
323 * doc/invoke.texi: Revamp documentation of MIPS options. Remove
324 -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
325 -m4650, -mfix7000 and -(m)no-crt0. Put endianness options first,
326 then architecture options, then ABI options. General rewording.
328 2004-01-04 Joseph S. Myers <jsm@polyomino.org.uk>
331 * doc/extend.texi: Clarify definition of malloc attribute.
333 2004-01-04 Jan Hubicka <jh@suse.cz>
335 * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
336 * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
337 * cgraph.h (cgraph_edge): Replace inline_call by inline_failed
338 (cgraph_inline_p): Add extra argument reason.
339 * cgraphunit.c: Minor formating fixes.
340 cgraph_first_inlined_callee): New functions.
341 (record_call_1): Record builtins too.
342 (cgraph_analyze_function): Update inline_failed messages.
343 (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
344 cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
345 (cgraph_check_inline_limits): Likewise; Add argument reason.
346 (cgraph_set_inline_failed): New static function.
347 (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
349 (cgraph_inline_p): Add new argument reason.
350 * tree-inline.c (expand_call_inline): Update warning.
352 2004-01-03 Nathanael Nerode <neroden@gcc.gnu.org>
354 * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
355 with modern equivalents.
356 * configure: Regenerate.
358 * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
359 * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
360 * configure: Regenerate.
362 * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
364 * configure.in: Rename to configure.ac.
365 * configure.ac: Renamed from configure.in; make minimum necessary
366 changes for autoconf 2.5x.
367 * aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
368 * configure: Regenerate with autoconf 2.57.
370 2004-01-03 Kazu Hirata <kazu@cs.umass.edu>
372 * config/mips/linux.h: Fix comment formatting.
373 * config/mips/mips.c: Likewise.
374 * config/mips/mips.h: Likewise.
375 * config/mips/mips.md: Likewise.
376 * config/mips/netbsd.h: Likewise.
377 * config/mips/windiss.h: Likewise.
379 2004-01-02 Richard Henderson <rth@redhat.com>
381 * config/i386/i386.md (fp constant pool splitter): Reorg suppression
382 for sse and 387; add suppression for mmx.
384 2004-01-02 Andrew Pinski <pinskia@physics.uc.edu>
386 * loop.c (loop_optimize): Free all loops_info's mems.
388 * c-typeck.c (finish_init): Free spelling_base before
391 * cfgloop.c (flow_loops_find): Always free the sbitmap
394 * predict.c (estimate_probability): Free bbs after being
397 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
399 * config/mn10300/mn10300.h (PREDICATE_CODES): Add
400 const_8bit_operand and call_address_operand.
402 2004-01-02 Jan Hubicka <jh@suse.cz>
404 * cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls
405 when there is nothing to inline but warnings are requested.
406 (cgraph_decide_inlining): Fix memory leak.
408 2004-01-02 Jan Hubicka <jh@suse.cz>
410 * expr.c (store_constructor): Fix pasto in previous patch.
412 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
414 * config/i386/cygming.h: Fix comment formatting.
415 * config/i386/djgpp.h: Likewise.
416 * config/i386/gthr-win32.c: Likewise.
417 * config/i386/i386-interix.h: Likewise.
418 * config/i386/i386.c: Likewise.
419 * config/i386/i386.h: Likewise.
420 * config/i386/openbsd.h: Likewise.
421 * config/i386/winnt.c: Likewise.
422 * config/i386/xm-mingw32.h: Likewise.
424 2004-01-02 Joseph S. Myers <jsm@polyomino.org.uk>
426 * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
427 copyright and last modification dates.
429 2004-01-02 Andreas Jaeger <aj@suse.de>, Gerald Pfeifer <gp@suse.de>
431 * doc/install.texi (Specific): Mention x86_64.
433 2004-01-01 Hans-Peter Nilsson <hp@bitrange.com>
435 * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
436 Call force_operand on plus_constant result.
438 2004-01-01 Jan Hubicka <jh@suse.cz>
440 * expmed.c (store_bit_field, extract_bit_field): Use new named patterns
441 * expr.c (store_constructor): Use vec_init pattern.
442 * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
443 * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
444 (vec_set_optab, vec_extract_optab, vec_init_optab): New.
445 * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
447 (sse2_unpc?pd): Fix pattern.
449 (sse2_movsd): Deal with movlpd too.
450 * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
451 (ix86_expand_vector_init): New.
452 * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
453 * md.texi (vec_set, vec_extract): Document
455 2003-12-31 Jan Hubicka <jh@suse.cz>
458 * recog.c (validate_replace_rtx_1): Take care for RTL sharing inside
462 * toplev.c (dump_file_index): Reorder ce3 and bbro.
463 (dump_file): Likewise.
464 (rest_of_compilation): Likewise.
467 * cgraph.c (cgraph_function_possibly_inlined): Even with
468 flag_really_no_inline we inline always_inline functions.
469 * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
470 for non-always_inline functions when there is flag_really_no_inline.
471 (cgraph_decide_inlining): Limit work done when not inlining.
472 (cgraph_decide_inlining_incrementally): Likewise.
473 (cgraph_optimize_function): Check whether something got inlined.
474 * c-objc-common.c (c_disregard_inline_limits): Do not always inline
475 extern inline functions when not inlining.
477 * opts.c (decode_options): Disable crossjumping at -O1
478 * invoke.texi (-O1): Document change.
480 See ChangeLog.10 for earlier changes.