1 2004-01-08 Geoffrey Keating <geoffk@apple.com>
3 * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum
4 addresses are legitimate on Darwin even when flag_pic.
5 (rs6000_legitimize_reload_address) [TARGET_MACHO]: Don't create
6 non-offsettable addresses for loads of TFmode constants.
8 2004-01-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
10 * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Actually emit
11 variables in the appropriate bss section.
13 2004-01-09 Alan Modra <amodra@bigpond.net.au>
15 * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure
16 target_flags has MASK_POWERPC64 when -m64.
17 * config/rs6000/rs6000.c (processor_target_table): Add MASK_POWERPC64
18 to 620, 630, power3, power4 and rs64a entries.
19 * config/rs6000/rs6000.h (MASK_64BIT): Expand comment.
21 2004-01-08 Richard Sandiford <rsandifo@redhat.com>
23 * simplify-rtx.c (simplify_immed_subreg): Fix construction of
24 floating-point constants.
26 2004-01-08 J. Brobecker <brobecker@gnat.com>
28 * dwarf2out.c (subrange_type_die): Add context_die parameter.
29 Create the subrange_type DIE using the given context DIE.
30 (modified_type_die): Update call to subrange_type_die.
32 2004-01-08 Zack Weinberg <zack@codesourcery.com>
34 * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
35 Add multiple-include guard.
37 2004-01-08 Hartmut Penner <hpenner@de.ibm.com>
39 * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
40 all vector constant loadable by vsplt*.
41 (output_vec_const_move): Likewise.
43 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
46 * c-typeck.c (comptypes): Only treat enumerated types in the same
47 translation unit as compatible with each other when they are the
49 * doc/extend.texi: Update.
51 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
54 * c-decl.c (grokdeclarator): Take type qualifiers of typedefed
55 array type from the array element type.
57 2004-01-07 Alan Modra <amodra@bigpond.net.au>
59 * config/rs6000/rs6000.c (rs6000_dbx_register_number): New function.
60 * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Declare.
61 * config/rs6000/rs6000.h (DWARF_FRAME_REGNUM): Define.
62 (DWARF_REG_TO_UNWIND_COLUMN): Correct column adjustment and comment.
63 * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Define.
65 2004-01-06 Eric Christopher <echristo@redhat.com>
67 * config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default.
68 (DWARF2_DEBUGGING_INFO): Define.
69 (PREFERRED_DEBUGGING_TYPE): Set to dwarf2.
70 * config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove.
71 * config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0
73 (SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as.
74 * config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove.
75 * config/mips/iris5gas.h: Ditto.
76 (DBX_DEBUGGING_INFO): Remove.
77 (DWARF2_DEBUGGING_INFO): Ditto.
78 (MIPS_DEBUGGING_INFO): Ditto.
79 (PREFERRED_DEBUGGING_TYPE): Ditto.
80 * config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove.
81 (PREFERRED_DEBUGGING_TYPE): Ditto.
82 (SUBTARGET_ASM_DEBUGGING_SPEC): Ditto.
83 * config/mips/elf64.h: Ditto.
85 2004-01-06 Jan Hubicka <jh@suse.cz>
87 * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate.
88 (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use.
90 2004-01-06 Geoffrey Keating <geoffk@apple.com>
92 * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
93 (TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128.
94 * config/rs6000/darwin-ldouble.c: New.
96 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
98 (constant_subword): Delete.
99 * rtl.h (constant_subword): Delete prototype.
100 (immed_double_const): Is not in varasm.c.
101 * simplify-rtx.c (simplify_immed_subreg): New.
102 (simplify_subreg): Use simplify_immed_subreg.
104 * config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
105 than trying to generate RTL directly.
106 (fix_trunctfsi2): Use expand_fix rather than trying to generate
109 * dwarf2out.c (add_const_value_attribute): Remove incorrect comment.
111 2004-01-06 David Edelsohn <edelsohn@gnu.org>
113 * config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
114 function into a separate macro.
115 (read_only_data_section): Add void argument.
116 (private_data_section): Same.
117 (read_only_private_data_section): Same.
120 2004-01-06 Jan Hubicka <jh@suse.cz>
122 * invoke.texi: Remove typo in last change.
125 * config.gcc: Accept opteron and athlon-64 as variants
127 * i386.c (override_options): Likewise.
128 * invoke.texi (i386 -mtune): Expand documentation.
130 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
132 * alias.c: Fix comment typos.
133 * builtins.c: Likewise.
136 * dominance.c: Likewise.
137 * dwarf2out.c: Likewise.
138 * emit-rtl.c: Likewise.
141 * fold-const.c: Likewise.
143 * genattrtab.c: Likewise.
144 * genrecog.c: Likewise.
145 * gensupport.c: Likewise.
146 * ggc-zone.c: Likewise.
147 * integrate.c: Likewise.
148 * local-alloc.c: Likewise.
151 * regmove.c: Likewise.
152 * reg-stack.c: Likewise.
154 * rtlanal.c: Likewise.
156 * sched-ebb.c: Likewise.
157 * simplify-rtx.c: Likewise.
158 * toplev.c: Likewise.
159 * varasm.c: Likewise.
161 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
163 * doc/install.texi: Fix typos.
164 * doc/invoke.texi: Likewise.
165 * doc/md.texi: Likewise.
167 2004-01-06 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
169 * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed
171 2004-01-06 Jan Hubicka <jh@suse.cz>
173 * i386.c (init_cumulative_args): Add handling of MMX_REGPARM.
174 (function_arg_advance): Do not pass aggregates in SSE; deal handling
176 (function_arg): Add new warnings about ABI changes; fix SSE_REGPARM;
178 * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
179 (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
180 (MMX_REGPARM_MAX): Similarly for -mmmx.
182 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
184 * config/sh/linux.h: Fix comment formatting.
185 * config/sh/netbsd-elf.h: Likewise.
186 * config/sh/sh.c: Likewise.
187 * config/sh/sh.h: Likewise.
188 * config/sh/vxworks.h: Likewise.
190 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
192 * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
193 * toplev.c (output_file_directive): Don't use
194 ASM_OUTPUT_MAIN_SOURCE_FILENAME.
196 2004-01-05 Daniel Berlin <dberlin@dberlin.org>
198 * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
199 (USING_MMAP): We don't support non-mmap.
200 (struct alloc_chunk): Steal 1 bit from typecode, use it to mark
202 (struct page_entry): Remove bytes_free.
203 (struct page_table_chain): Remove.
204 (struct globals): Remove page_table member.
205 (loookup_page_table_entry): Function deleted.
206 (set_page_table_entry): Ditto.
207 (ggc_allocated_p): No longer need page table lookups.
208 (ggc_marked_p): Ditto.
209 (alloc_small_page): Don't care about bytes_free anymore.
210 (alloc_large_page): Round up size.
211 (ggc_alloc_zone_1): Mark large objects as such, and calculate
212 their size the new way.
213 Remove page table lookups and setting.
214 (ggc_get_size): Calculate large object size the new way.
215 (sweep_pages): Redo to account for fact that we no longer have
217 (ggc_collect): No longer need to reincrement bytes_free.
218 (ggc_pch_alloc_object): Handle new large objects properly.
219 (ggc_pch_read): Put PCH stuff into it's own uncollected zone.
221 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
223 * doc/invoke.texi: Remove a page break.
225 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
227 * config/avr/avr.c (avr_output_function_prologue): Remove an
228 extra pair of curly braces.
230 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
232 * config/mn10300/mn10300.c: Fix comment formatting.
233 * config/mn10300/mn10300.h: Likewise.
235 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
237 * tree.h: Update documentation on nothrow_flag.
238 * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
241 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
243 * doc/invoke.texi: Remove traces of dead ports.
245 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
247 * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
250 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
253 * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
255 * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
256 (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
257 string constants if TARGET_MIPS16. Use SYMBOL_REF_DECL to check
258 the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
259 (mips_symbol_insns): Don't trust the local/global classification.
260 (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
261 (override_options): Make -mabicalls -fno-unit-at-a-time imply
262 -mno-explicit-relocs.
263 (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
264 between local and global symbols.
266 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
268 * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
269 (mips_preferred_reload_class): Declare.
270 * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
271 (EXTRA_CONSTRAINT): Update accordingly.
272 (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
273 * config/mips/mips.c (mips_dangerous_for_la25_p): New function.
274 (mips_preferred_reload_class): New function. Prefer LEA_REGS if
275 mips_dangerous_for_la25_p.
276 (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
277 if mips_dangerous_for_la25_p.
279 2004-01-05 Bernardo Innocenti <bernie@develer.com>
281 * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
284 2004-01-04 Nathanael Nerode <neroden@gcc.gnu.org>
286 * configure.ac: Use AC_PROG_CPP_WERROR.
287 * configure: Regenerate.
289 2004-01-04 Zack Weinberg <zack@codesourcery.com>
291 * .cvsignore: Add autom4te.cache.
293 2004-01-04 Richard Sandiford <rsandifo@redhat.com>
295 * doc/invoke.texi: Revamp documentation of MIPS options. Remove
296 -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
297 -m4650, -mfix7000 and -(m)no-crt0. Put endianness options first,
298 then architecture options, then ABI options. General rewording.
300 2004-01-04 Joseph S. Myers <jsm@polyomino.org.uk>
303 * doc/extend.texi: Clarify definition of malloc attribute.
305 2004-01-04 Jan Hubicka <jh@suse.cz>
307 * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
308 * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
309 * cgraph.h (cgraph_edge): Replace inline_call by inline_failed
310 (cgraph_inline_p): Add extra argument reason.
311 * cgraphunit.c: Minor formating fixes.
312 cgraph_first_inlined_callee): New functions.
313 (record_call_1): Record builtins too.
314 (cgraph_analyze_function): Update inline_failed messages.
315 (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
316 cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
317 (cgraph_check_inline_limits): Likewise; Add argument reason.
318 (cgraph_set_inline_failed): New static function.
319 (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
321 (cgraph_inline_p): Add new argument reason.
322 * tree-inline.c (expand_call_inline): Update warning.
324 2004-01-03 Nathanael Nerode <neroden@gcc.gnu.org>
326 * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
327 with modern equivalents.
328 * configure: Regenerate.
330 * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
331 * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
332 * configure: Regenerate.
334 * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
336 * configure.in: Rename to configure.ac.
337 * configure.ac: Renamed from configure.in; make minimum necessary
338 changes for autoconf 2.5x.
339 * aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
340 * configure: Regenerate with autoconf 2.57.
342 2004-01-03 Kazu Hirata <kazu@cs.umass.edu>
344 * config/mips/linux.h: Fix comment formatting.
345 * config/mips/mips.c: Likewise.
346 * config/mips/mips.h: Likewise.
347 * config/mips/mips.md: Likewise.
348 * config/mips/netbsd.h: Likewise.
349 * config/mips/windiss.h: Likewise.
351 2004-01-02 Richard Henderson <rth@redhat.com>
353 * config/i386/i386.md (fp constant pool splitter): Reorg suppression
354 for sse and 387; add suppression for mmx.
356 2004-01-02 Andrew Pinski <pinskia@physics.uc.edu>
358 * loop.c (loop_optimize): Free all loops_info's mems.
360 * c-typeck.c (finish_init): Free spelling_base before
363 * cfgloop.c (flow_loops_find): Always free the sbitmap
366 * predict.c (estimate_probability): Free bbs after being
369 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
371 * config/mn10300/mn10300.h (PREDICATE_CODES): Add
372 const_8bit_operand and call_address_operand.
374 2004-01-02 Jan Hubicka <jh@suse.cz>
376 * cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls
377 when there is nothing to inline but warnings are requested.
378 (cgraph_decide_inlining): Fix memory leak.
380 2004-01-02 Jan Hubicka <jh@suse.cz>
382 * expr.c (store_constructor): Fix pasto in previous patch.
384 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
386 * config/i386/cygming.h: Fix comment formatting.
387 * config/i386/djgpp.h: Likewise.
388 * config/i386/gthr-win32.c: Likewise.
389 * config/i386/i386-interix.h: Likewise.
390 * config/i386/i386.c: Likewise.
391 * config/i386/i386.h: Likewise.
392 * config/i386/openbsd.h: Likewise.
393 * config/i386/winnt.c: Likewise.
394 * config/i386/xm-mingw32.h: Likewise.
396 2004-01-02 Joseph S. Myers <jsm@polyomino.org.uk>
398 * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
399 copyright and last modification dates.
401 2004-01-02 Andreas Jaeger <aj@suse.de>, Gerald Pfeifer <gp@suse.de>
403 * doc/install.texi (Specific): Mention x86_64.
405 2004-01-01 Hans-Peter Nilsson <hp@bitrange.com>
407 * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
408 Call force_operand on plus_constant result.
410 2004-01-01 Jan Hubicka <jh@suse.cz>
412 * expmed.c (store_bit_field, extract_bit_field): Use new named patterns
413 * expr.c (store_constructor): Use vec_init pattern.
414 * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
415 * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
416 (vec_set_optab, vec_extract_optab, vec_init_optab): New.
417 * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
419 (sse2_unpc?pd): Fix pattern.
421 (sse2_movsd): Deal with movlpd too.
422 * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
423 (ix86_expand_vector_init): New.
424 * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
425 * md.texi (vec_set, vec_extract): Document
427 2003-12-31 Jan Hubicka <jh@suse.cz>
430 * recog.c (validate_replace_rtx_1): Take care for RTL sharing inside
434 * toplev.c (dump_file_index): Reorder ce3 and bbro.
435 (dump_file): Likewise.
436 (rest_of_compilation): Likewise.
439 * cgraph.c (cgraph_function_possibly_inlined): Even with
440 flag_really_no_inline we inline always_inline functions.
441 * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
442 for non-always_inline functions when there is flag_really_no_inline.
443 (cgraph_decide_inlining): Limit work done when not inlining.
444 (cgraph_decide_inlining_incrementally): Likewise.
445 (cgraph_optimize_function): Check whether something got inlined.
446 * c-objc-common.c (c_disregard_inline_limits): Do not always inline
447 extern inline functions when not inlining.
449 * opts.c (decode_options): Disable crossjumping at -O1
450 * invoke.texi (-O1): Document change.
452 See ChangeLog.10 for earlier changes.