1 2004-01-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
3 * config/m32r/m32r.h (TARGET_CPU_CPP_BUILTINS): Add __m32r__.
5 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
8 * config/m32r/m32r.md: Replace (reg:SI 17) with (reg:CC 17)
9 or (ne:SI (reg:CC 17) (const_int 0)).
10 Be specific about modes wherever possible.
12 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
14 * config/m32r/m32r.c (m32r_expand_block_move): Call
15 gen_movestrsi_internal with two more arguments.
16 (m32r_output_block_move): Adjust operand numbers.
17 Properly update the source and destination pointers.
18 * config/m32r/m32r.md (movstrsi_internal): Use 'r' instead of
19 'r+'. Change the set detinations to match_operand.
21 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
23 * final.c (FIRST_INSN_ADDRESS): Remove.
24 (shorten_branches): Don't use FIRST_INSN_ADDRESS.
25 * system.h (FIRST_INSN_ADDRESS): Poison.
26 * config/avr/avr.h: Remove a comment about FIRST_INSN_ADDRESS.
27 * config/m32r/m32r-protos.h: Remove the prototype for
28 m32r_first_insn_address.
29 * config/m32r/m32r.c (m32r_first_insn_address): Remove.
30 * config/m32r/m32r.h (FIRST_INSN_ADDRESS): Likewise.
31 * doc/md.texi (FIRST_INSN_ADDRESS): Likewise.
33 2004-01-09 J. Brobecker <brobecker@gnat.com>
35 * dwarf2out.c (gen_enumeration_type_die): Return the DIE that
37 (is_ada_subrange_type): DIEs for enumeration subtypes should be
38 emitted as subrange types too.
39 (subrange_type_die): Add handling of enumeration subtypes.
41 2004-01-08 Richard Henderson <rth@redhat.com>
44 Revert: Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz>
45 * i386.c (aligned_operand): Be prepared for SUBREGed registers.
46 (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
47 (ix86_address_cost): Be prepared for SUBREGed registers.
48 (legitimate_address_p): Accept SUBREGed registers.
50 2004-01-08 Kelley Cook <kcook@gcc.gnu.org>
52 * Makefile.in: Rename configure.in to configure.ac
53 * doc/sourcebuild.texi: Likewise.
54 * configure: Regenerate.
55 * config.in: Regenerate.
57 2004-01-08 Stuart Hastings <stuart@apple.com>
59 * config/i386/i386.md: Typos in MMX/SSE immediate shifts.
61 2004-01-08 Jan Hubicka <jh@suse.cz>
63 * cgraphunit.c (cgraph_decide_inlining): Fix typo.
65 2004-01-08 Geoffrey Keating <geoffk@apple.com>
67 * config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset.
68 (UNSPEC_FIX_TRUNC_TF): New constant.
69 (movtf_internal): Make splitter active only when insn is active.
70 (extenddftf2): Rewrite to properly load zero into low part.
71 (extenddftf2_internal): New.
72 (extendsftf2): Rewrite.
73 (truncdftf2): Correct length.
75 (fix_trunc_helper): New.
76 (fix_trunctfdi2): Use fix_trunc_helper.
77 (fix_trunctfsi2): Likewise.fix_trunc
78 (fix_trunctfsi2_internal): New.
80 * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum
81 addresses are legitimate on Darwin even when flag_pic.
82 (rs6000_legitimize_reload_address) [TARGET_MACHO]: Don't create
83 non-offsettable addresses for loads of TFmode constants.
85 2004-01-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
87 * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Actually emit
88 variables in the appropriate bss section.
90 2004-01-09 Alan Modra <amodra@bigpond.net.au>
92 * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure
93 target_flags has MASK_POWERPC64 when -m64.
94 * config/rs6000/rs6000.c (processor_target_table): Add MASK_POWERPC64
95 to 620, 630, power3, power4 and rs64a entries.
96 * config/rs6000/rs6000.h (MASK_64BIT): Expand comment.
98 2004-01-08 Richard Sandiford <rsandifo@redhat.com>
100 * simplify-rtx.c (simplify_immed_subreg): Fix construction of
101 floating-point constants.
103 2004-01-08 J. Brobecker <brobecker@gnat.com>
105 * dwarf2out.c (subrange_type_die): Add context_die parameter.
106 Create the subrange_type DIE using the given context DIE.
107 (modified_type_die): Update call to subrange_type_die.
109 2004-01-08 Zack Weinberg <zack@codesourcery.com>
111 * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
112 Add multiple-include guard.
114 2004-01-08 Hartmut Penner <hpenner@de.ibm.com>
116 * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
117 all vector constant loadable by vsplt*.
118 (output_vec_const_move): Likewise.
120 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
123 * c-typeck.c (comptypes): Only treat enumerated types in the same
124 translation unit as compatible with each other when they are the
126 * doc/extend.texi: Update.
128 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
131 * c-decl.c (grokdeclarator): Take type qualifiers of typedefed
132 array type from the array element type.
134 2004-01-07 Alan Modra <amodra@bigpond.net.au>
136 * config/rs6000/rs6000.c (rs6000_dbx_register_number): New function.
137 * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Declare.
138 * config/rs6000/rs6000.h (DWARF_FRAME_REGNUM): Define.
139 (DWARF_REG_TO_UNWIND_COLUMN): Correct column adjustment and comment.
140 * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Define.
142 2004-01-06 Eric Christopher <echristo@redhat.com>
144 * config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default.
145 (DWARF2_DEBUGGING_INFO): Define.
146 (PREFERRED_DEBUGGING_TYPE): Set to dwarf2.
147 * config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove.
148 * config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0
150 (SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as.
151 * config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove.
152 * config/mips/iris5gas.h: Ditto.
153 (DBX_DEBUGGING_INFO): Remove.
154 (DWARF2_DEBUGGING_INFO): Ditto.
155 (MIPS_DEBUGGING_INFO): Ditto.
156 (PREFERRED_DEBUGGING_TYPE): Ditto.
157 * config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove.
158 (PREFERRED_DEBUGGING_TYPE): Ditto.
159 (SUBTARGET_ASM_DEBUGGING_SPEC): Ditto.
160 * config/mips/elf64.h: Ditto.
162 2004-01-06 Jan Hubicka <jh@suse.cz>
164 * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate.
165 (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use.
167 2004-01-06 Geoffrey Keating <geoffk@apple.com>
169 * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
170 (TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128.
171 * config/rs6000/darwin-ldouble.c: New.
173 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
175 (constant_subword): Delete.
176 * rtl.h (constant_subword): Delete prototype.
177 (immed_double_const): Is not in varasm.c.
178 * simplify-rtx.c (simplify_immed_subreg): New.
179 (simplify_subreg): Use simplify_immed_subreg.
181 * config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
182 than trying to generate RTL directly.
183 (fix_trunctfsi2): Use expand_fix rather than trying to generate
186 * dwarf2out.c (add_const_value_attribute): Remove incorrect comment.
188 2004-01-06 David Edelsohn <edelsohn@gnu.org>
190 * config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
191 function into a separate macro.
192 (read_only_data_section): Add void argument.
193 (private_data_section): Same.
194 (read_only_private_data_section): Same.
197 2004-01-06 Jan Hubicka <jh@suse.cz>
199 * invoke.texi: Remove typo in last change.
202 * config.gcc: Accept opteron and athlon-64 as variants
204 * i386.c (override_options): Likewise.
205 * invoke.texi (i386 -mtune): Expand documentation.
207 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
209 * alias.c: Fix comment typos.
210 * builtins.c: Likewise.
213 * dominance.c: Likewise.
214 * dwarf2out.c: Likewise.
215 * emit-rtl.c: Likewise.
218 * fold-const.c: Likewise.
220 * genattrtab.c: Likewise.
221 * genrecog.c: Likewise.
222 * gensupport.c: Likewise.
223 * ggc-zone.c: Likewise.
224 * integrate.c: Likewise.
225 * local-alloc.c: Likewise.
228 * regmove.c: Likewise.
229 * reg-stack.c: Likewise.
231 * rtlanal.c: Likewise.
233 * sched-ebb.c: Likewise.
234 * simplify-rtx.c: Likewise.
235 * toplev.c: Likewise.
236 * varasm.c: Likewise.
238 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
240 * doc/install.texi: Fix typos.
241 * doc/invoke.texi: Likewise.
242 * doc/md.texi: Likewise.
244 2004-01-06 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
246 * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed
248 2004-01-06 Jan Hubicka <jh@suse.cz>
250 * i386.c (init_cumulative_args): Add handling of MMX_REGPARM.
251 (function_arg_advance): Do not pass aggregates in SSE; deal handling
253 (function_arg): Add new warnings about ABI changes; fix SSE_REGPARM;
255 * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
256 (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
257 (MMX_REGPARM_MAX): Similarly for -mmmx.
259 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
261 * config/sh/linux.h: Fix comment formatting.
262 * config/sh/netbsd-elf.h: Likewise.
263 * config/sh/sh.c: Likewise.
264 * config/sh/sh.h: Likewise.
265 * config/sh/vxworks.h: Likewise.
267 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
269 * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
270 * toplev.c (output_file_directive): Don't use
271 ASM_OUTPUT_MAIN_SOURCE_FILENAME.
273 2004-01-05 Daniel Berlin <dberlin@dberlin.org>
275 * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
276 (USING_MMAP): We don't support non-mmap.
277 (struct alloc_chunk): Steal 1 bit from typecode, use it to mark
279 (struct page_entry): Remove bytes_free.
280 (struct page_table_chain): Remove.
281 (struct globals): Remove page_table member.
282 (loookup_page_table_entry): Function deleted.
283 (set_page_table_entry): Ditto.
284 (ggc_allocated_p): No longer need page table lookups.
285 (ggc_marked_p): Ditto.
286 (alloc_small_page): Don't care about bytes_free anymore.
287 (alloc_large_page): Round up size.
288 (ggc_alloc_zone_1): Mark large objects as such, and calculate
289 their size the new way.
290 Remove page table lookups and setting.
291 (ggc_get_size): Calculate large object size the new way.
292 (sweep_pages): Redo to account for fact that we no longer have
294 (ggc_collect): No longer need to reincrement bytes_free.
295 (ggc_pch_alloc_object): Handle new large objects properly.
296 (ggc_pch_read): Put PCH stuff into it's own uncollected zone.
298 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
300 * doc/invoke.texi: Remove a page break.
302 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
304 * config/avr/avr.c (avr_output_function_prologue): Remove an
305 extra pair of curly braces.
307 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
309 * config/mn10300/mn10300.c: Fix comment formatting.
310 * config/mn10300/mn10300.h: Likewise.
312 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
314 * tree.h: Update documentation on nothrow_flag.
315 * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
318 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
320 * doc/invoke.texi: Remove traces of dead ports.
322 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
324 * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
327 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
330 * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
332 * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
333 (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
334 string constants if TARGET_MIPS16. Use SYMBOL_REF_DECL to check
335 the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
336 (mips_symbol_insns): Don't trust the local/global classification.
337 (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
338 (override_options): Make -mabicalls -fno-unit-at-a-time imply
339 -mno-explicit-relocs.
340 (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
341 between local and global symbols.
343 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
345 * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
346 (mips_preferred_reload_class): Declare.
347 * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
348 (EXTRA_CONSTRAINT): Update accordingly.
349 (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
350 * config/mips/mips.c (mips_dangerous_for_la25_p): New function.
351 (mips_preferred_reload_class): New function. Prefer LEA_REGS if
352 mips_dangerous_for_la25_p.
353 (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
354 if mips_dangerous_for_la25_p.
356 2004-01-05 Bernardo Innocenti <bernie@develer.com>
358 * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
361 2004-01-04 Nathanael Nerode <neroden@gcc.gnu.org>
363 * configure.ac: Use AC_PROG_CPP_WERROR.
364 * configure: Regenerate.
366 2004-01-04 Zack Weinberg <zack@codesourcery.com>
368 * .cvsignore: Add autom4te.cache.
370 2004-01-04 Richard Sandiford <rsandifo@redhat.com>
372 * doc/invoke.texi: Revamp documentation of MIPS options. Remove
373 -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
374 -m4650, -mfix7000 and -(m)no-crt0. Put endianness options first,
375 then architecture options, then ABI options. General rewording.
377 2004-01-04 Joseph S. Myers <jsm@polyomino.org.uk>
380 * doc/extend.texi: Clarify definition of malloc attribute.
382 2004-01-04 Jan Hubicka <jh@suse.cz>
384 * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
385 * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
386 * cgraph.h (cgraph_edge): Replace inline_call by inline_failed
387 (cgraph_inline_p): Add extra argument reason.
388 * cgraphunit.c: Minor formating fixes.
389 cgraph_first_inlined_callee): New functions.
390 (record_call_1): Record builtins too.
391 (cgraph_analyze_function): Update inline_failed messages.
392 (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
393 cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
394 (cgraph_check_inline_limits): Likewise; Add argument reason.
395 (cgraph_set_inline_failed): New static function.
396 (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
398 (cgraph_inline_p): Add new argument reason.
399 * tree-inline.c (expand_call_inline): Update warning.
401 2004-01-03 Nathanael Nerode <neroden@gcc.gnu.org>
403 * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
404 with modern equivalents.
405 * configure: Regenerate.
407 * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
408 * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
409 * configure: Regenerate.
411 * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
413 * configure.in: Rename to configure.ac.
414 * configure.ac: Renamed from configure.in; make minimum necessary
415 changes for autoconf 2.5x.
416 * aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
417 * configure: Regenerate with autoconf 2.57.
419 2004-01-03 Kazu Hirata <kazu@cs.umass.edu>
421 * config/mips/linux.h: Fix comment formatting.
422 * config/mips/mips.c: Likewise.
423 * config/mips/mips.h: Likewise.
424 * config/mips/mips.md: Likewise.
425 * config/mips/netbsd.h: Likewise.
426 * config/mips/windiss.h: Likewise.
428 2004-01-02 Richard Henderson <rth@redhat.com>
430 * config/i386/i386.md (fp constant pool splitter): Reorg suppression
431 for sse and 387; add suppression for mmx.
433 2004-01-02 Andrew Pinski <pinskia@physics.uc.edu>
435 * loop.c (loop_optimize): Free all loops_info's mems.
437 * c-typeck.c (finish_init): Free spelling_base before
440 * cfgloop.c (flow_loops_find): Always free the sbitmap
443 * predict.c (estimate_probability): Free bbs after being
446 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
448 * config/mn10300/mn10300.h (PREDICATE_CODES): Add
449 const_8bit_operand and call_address_operand.
451 2004-01-02 Jan Hubicka <jh@suse.cz>
453 * cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls
454 when there is nothing to inline but warnings are requested.
455 (cgraph_decide_inlining): Fix memory leak.
457 2004-01-02 Jan Hubicka <jh@suse.cz>
459 * expr.c (store_constructor): Fix pasto in previous patch.
461 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
463 * config/i386/cygming.h: Fix comment formatting.
464 * config/i386/djgpp.h: Likewise.
465 * config/i386/gthr-win32.c: Likewise.
466 * config/i386/i386-interix.h: Likewise.
467 * config/i386/i386.c: Likewise.
468 * config/i386/i386.h: Likewise.
469 * config/i386/openbsd.h: Likewise.
470 * config/i386/winnt.c: Likewise.
471 * config/i386/xm-mingw32.h: Likewise.
473 2004-01-02 Joseph S. Myers <jsm@polyomino.org.uk>
475 * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
476 copyright and last modification dates.
478 2004-01-02 Andreas Jaeger <aj@suse.de>, Gerald Pfeifer <gp@suse.de>
480 * doc/install.texi (Specific): Mention x86_64.
482 2004-01-01 Hans-Peter Nilsson <hp@bitrange.com>
484 * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
485 Call force_operand on plus_constant result.
487 2004-01-01 Jan Hubicka <jh@suse.cz>
489 * expmed.c (store_bit_field, extract_bit_field): Use new named patterns
490 * expr.c (store_constructor): Use vec_init pattern.
491 * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
492 * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
493 (vec_set_optab, vec_extract_optab, vec_init_optab): New.
494 * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
496 (sse2_unpc?pd): Fix pattern.
498 (sse2_movsd): Deal with movlpd too.
499 * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
500 (ix86_expand_vector_init): New.
501 * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
502 * md.texi (vec_set, vec_extract): Document
504 2003-12-31 Jan Hubicka <jh@suse.cz>
507 * recog.c (validate_replace_rtx_1): Take care for RTL sharing inside
511 * toplev.c (dump_file_index): Reorder ce3 and bbro.
512 (dump_file): Likewise.
513 (rest_of_compilation): Likewise.
516 * cgraph.c (cgraph_function_possibly_inlined): Even with
517 flag_really_no_inline we inline always_inline functions.
518 * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
519 for non-always_inline functions when there is flag_really_no_inline.
520 (cgraph_decide_inlining): Limit work done when not inlining.
521 (cgraph_decide_inlining_incrementally): Likewise.
522 (cgraph_optimize_function): Check whether something got inlined.
523 * c-objc-common.c (c_disregard_inline_limits): Do not always inline
524 extern inline functions when not inlining.
526 * opts.c (decode_options): Disable crossjumping at -O1
527 * invoke.texi (-O1): Document change.
529 See ChangeLog.10 for earlier changes.