1 2005-07-05 Kazu Hirata <kazu@codesourcery.com>
3 * Makefile.in (stamp-as): Use $(ORIGINAL_AS_FOR_TARGET)
4 instead of $<. Don't remove ./as if it already exists.
6 2005-07-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9 * pa.md: Remove fcpy alternative from movhi and movqi patterns.
10 * pa32-regs.h (HARD_REGNO_NREGS): Return two floating point registers
11 for complex modes when generating code for PA 1.0.
12 (VALID_FP_MODE_P): New macro.
13 (HARD_REGNO_MODE_OK): Use VALID_FP_MODE_P. Use non-overlapping register
14 sets for all general and floating point modes. Align wide floating
15 point modes to even register boundaries to comply with architectural
17 (CLASS_MAX_NREGS): Update to align with change to HARD_REGNO_NREGS.
18 * pa64-regs.h (HARD_REGNO_NREGS): Update comment and formatting.
19 (VALID_FP_MODE_P): New macro.
20 (HARD_REGNO_MODE_OK): Use VALID_FP_MODE_P. Use non-overlapping register
21 sets for all general and floating point modes. Align wide floating
22 point modes to even register boundaries to comply with architectural
25 2005-07-04 Diego Novillo <dnovillo@redhat.com>
27 * tree-dump.c (dump_files): Initialize dump number for .cgraph
30 2005-07-04 Diego Novillo <dnovillo@redhat.com>
32 * tree-ssa-structalias.c: Don't include expr.h.
34 2005-07-04 Diego Novillo <dnovillo@redhat.com>
36 * tree-iterator.h (TSI_NEW_STMT, TSI_SAME_STMT): Fix
39 2005-07-04 Daniel Berlin <dberlin@dberlin.org>
41 Fix PR tree-optimization/22279
43 * tree-ssa-structalias.c (offset_overlaps_with_access): Use
46 2005-07-04 J"orn Rennecke <joern.rennecke@st.com>
48 * sh.c (output_ieee_ccmpeq): Replace "\\;" with "\n\t".
50 2005-07-03 Joseph S. Myers <joseph@codesourcery.com>
52 * bb-reorder.c, c-pch.c, c-pragma.c, c.opt, cfghooks.c, cfgloop.c,
53 cfgrtl.c, cgraphunit.c, config/c4x/c4x.c, config/cris/cris.c,
54 config/frv/frv.c, config/host-darwin.c, config/iq2000/iq2000.c,
55 config/lynx.h, config/m68k/m68k.c, config/pa/pa.c, config/sh/sh.h,
56 config/stormy16/stormy16.c, config/v850/v850.c,
57 config/vax/netbsd-elf.h, coverage.c, dwarf2out.c, emit-rtl.c,
58 except.c, gcc.c, tree-cfg.c, tree-eh.c, tree-ssa.c, xcoffout.c:
59 Avoid "." or "\n" at end of diagnostics and capital letters at
61 * combine.c, cse.c: Don't translate dump file output.
62 * toplev.c (print_version): Only translate output if going to
65 2005-07-03 Kazu Hirata <kazu@codesourcery.com>
67 * c-decl.c, tree-object-size.c, tree-vectorizer.c,
68 config/arm/unwind-arm.c, config/arm/unwind-arm.h: Fix comment
71 2005-07-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
73 * pa.c (fix_range): Fix typo in comment.
75 2005-07-03 Kazu Hirata <kazu@codesourcery.com>
77 * tree-vrp.c (extract_range_from_assert): Replace
78 fold (build (...)) with fold_build2.
80 2005-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
82 * c-format.c (gcc_gfc_format_type, gcc_gfc_flag_pairs,
83 gcc_gfc_char_table, init_dynamic_gfc_info): New.
84 (format_types_orig, handle_format_attribute): Add support for
87 2005-07-03 Gabriel Dos Reis <gdr@integrable-solutions.net>
89 * varasm.c (assemble_variable): Fix format specifier thinko.
91 2005-07-03 Ira Rosen <irar@il.ibm.com>
93 PR tree-optimization/22029 (and 22135)
94 * tree-pretty-print.c (dump_generic_node): Check that the node is not
95 a phi node before calling dump_vops.
97 2005-07-02 Gabriel Dos Reis <gdr@integrable-solutions.net>
99 * tree-dump.h (dump_string_field): Declare.
100 * tree-dump.c: Use it instead of dump_string.
101 (dump_string_field): Make non-static.
103 2005-07-03 Kaz Kojima <kkojima@gcc.gnu.org>
105 * config/sh/sh.c (sh_output_mi_thunk): Initialize and clean
106 up the minimal CFG stuff always when optimize > 0. Call
107 split_all_insns_noflow in PIC case if needed.
109 2005-07-02 Gabriel Dos Reis <gdr@integrable-solutions.net>
110 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
113 * c-decl.c (c_write_global_declarations): Dump contents of
115 * tree-dump.c (dequeue_and_dump): Dump abstract origin of a decl.
116 <TRY_FINALLY_EXPR>, <RETURN_EXPR>, <CASE_LABEL_EXPR>, <LABEL_EXPR>,
117 <GOTO_EXPR>, <SWITCH_EXPR>: Add.
118 (dump_enabled_p): Return TRUE if PHASE is TDI_all and any dump
121 2005-07-03 Joseph S. Myers <joseph@codesourcery.com>
123 * c-common.h (GCC_DIAG_STYLE): Define.
124 * c-tree.h (GCC_DIAG_STYLE): Do not define. Change minimum GCC
125 version for format checking to 4.1.
126 * c-format.c: Include toplev.h after c-common.h.
127 (enum format_type): Add gcc_tdiag_format_type.
128 (gcc_tdiag_length_specs, gcc_tdiag_flag_pairs,
129 gcc_tdiag_flag_specs, gcc_tdiag_char_table): New.
130 (format_types_orig): Add gcc_tdiag.
131 (init_dynamic_diag_info): Support gcc_tdiag formats.
132 (handle_format_attribute): Likewise.
133 * toplev.h (NO_FRONT_END_DIAG, ATTRIBUTE_GCC_FE_DIAG): Remove.
134 (GCC_DIAG_STYLE): Default to __gcc_tdiag__. Change minimum GCC
135 version for format checking to 4.1.
136 (warning0, warning, error, pedwarn, sorry): Use
138 * config/rs6000/rs6000.c (altivec_expand_builtin), varasm.c
139 (finish_aliases_1): Do not use %qE.
140 * config/arm/arm.c, config/i386/i386.c, config/mmix/mmix.c,
141 config/pdp11/pdp11.c, stor-layout.c, tree-eh.c, tree-ssa.c:
143 * config/v850/v850-protos.h (v850_output_aligned_bss): Change size
144 parameter to unsigned HOST_WIDE_INT.
145 * config/v850/v850.c (v850_output_aligned_bss): Likewise.
147 2005-07-02 David Edelsohn <edelsohn@gnu.org>
150 * expr.c (write_complex_part): Use adjust_address for MEM.
151 (read_complex_part): Same.
153 2005-07-02 Daniel Berlin <dberlin@dberlin.org>
155 Fix PR tree-optimization/22280
157 * tree-sra.c (generate_element_init): Remove useless loop.
159 2005-07-02 Richard Henderson <rth@redhat.com>
161 * config/alpha/alpha.c (alpha_legitimize_address): Check for
163 (alpha_stdarg_optimize_hook): Use DECL_UID with va_list_vars.
165 2005-07-02 Andrew Pinski <pinskia@physics.uc.edu>
168 * fold-const.c (fold_binary): Handle the return value of
169 fold_to_nonsharp_ineq_using_bound if we get back the same operand back.
170 Implement "X +- C1 CMP C2" folding to "X CMP C2 -+ C1".
172 2005-07-02 Jeff Law <law@redhat.com>
174 * tree-ssa-dom.c (find_equivalent_equality_comparison): Do not
175 a eliminate type conversion which feeds an equality comparison
176 if the original type or either operand in the comparison is a
179 2005-07-02 Joseph S. Myers <joseph@codesourcery.com>
181 * c.opt, common.opt, config/bfin/bfin.opt, config/pa/pa.opt,
182 config/rs6000/rs6000.opt, params.def: Remove "." from end of help
184 * config/avr/avr.c: Do not use '`' as left quote.
185 * config/rs6000/rs6000.c, config/s390/s390.c, opts.c, tree.c:
186 Remove "." from end of diagnostics. Make diagnostics start with
189 2005-07-02 Zack Weinberg <zack@codesourcery.com>
190 Joseph S. Myers <joseph@codesourcery.com>
192 * toplev.c (default_tree_printer): Handle setting location with
194 * c-objc.common.c (c_tree_printer): Likewise.
195 * c-format.c (gcc_diag_flag_specs): Add '+'.
196 (gcc_cdiag_char_table): Allow '+' flag for tree formats.
197 (format_types_orig): Allow '+' flag for gcc_diag and gcc_cdiag
199 * c-common.c, c-decl.c, c-objc-common.c, c-pragma.c,
200 config/arm/pe.c, config/i386/winnt.c, config/ia64/ia64.c,
201 config/mcore/mcore.c, config/sh/symbian.c, config/sol2.c,
202 config/v850/v850.c, function.c, stor-layout.c, toplev.c,
203 tree-inline.c, tree-optimize.c, tree.c, varasm.c: Use '+' flag
204 instead of %J or %H. Use 'q' flag for quoting. Avoid '.' at end
205 of diagnostics. Use %q+D not %s for a decl. Do not pass excess
206 format arguments where %J is used without %D.
208 2005-07-02 Jakub Jelinek <jakub@redhat.com>
210 * gcc.c (LINK_SSP_SPEC): Define.
211 (link_ssp_spec): New variable.
212 (LINK_COMMAND_SPEC): Add %(link_ssp).
213 (static_specs): Add link_ssp_spec.
214 * configure.ac (TARGET_LIBC_PROVIDES_SSP): New test.
215 * configure: Rebuilt.
216 * config.in: Rebuilt.
218 * config/rs6000/linux.h (TARGET_THREAD_SSP_OFFSET): Define.
219 * config/rs6000/linux64.h (TARGET_THREAD_SSP_OFFSET): Likewise.
220 * config/i386/linux.h (TARGET_THREAD_SSP_OFFSET): Likewise.
221 * config/i386/linux64.h (TARGET_THREAD_SSP_OFFSET): Likewise.
222 * config/rs6000/rs6000.md (stack_protect_set, stack_protect_test):
223 If TARGET_THREAD_SSP_OFFSET is defined, use -0x7010(13) resp.
224 -0x7008(2) instead of reading __stack_chk_guard variable.
225 * config/i386/i386.md (UNSPEC_SP_SET, UNSPEC_SP_TEST): Change
227 (UNSPEC_SP_TLS_SET, UNSPEC_SP_TLS_TEST): New constants.
228 (stack_protect_set, stack_protect_test): Use *_tls* patterns
229 if TARGET_THREAD_SSP_OFFSET is defined.
230 (stack_tls_protect_set_si, stack_tls_protect_set_di,
231 stack_tls_protect_test_si, stack_tls_protect_test_di): New insns.
234 2005-06-27 Richard Henderson <rth@redhat.com>
235 * libgcc-std.ver (GCC_4.1.0): New.
236 * libgcc.h (__stack_chk_guard): Declare.
237 (__stack_chk_fail, __stack_chk_fail_local): Declare.
238 * libgcc2.c (L_stack_chk, L_stack_chk_local): New.
239 * mklibgcc.in (lib2funcs): Add them.
241 2005-07-01 Richard Henderson <rth@redhat.com>
243 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Cast to
244 void * before struct sigcontext *.
245 (x86_fallback_frame_state): Likewise.
247 2005-07-01 James E. Wilson <wilson@specifixinc.com>
249 * doc/invoke.texi (-funit-at-a-time): Correct grammar in second bullet.
251 2005-07-01 Andrew Pinski <pinskia@physics.uc.edu>
254 * tree-ssa-reassoc.c (should_transpose): Fix which operand
255 we check for SSA_NAME for.
257 2005-07-01 Daniel Berlin <dberlin@dberlin.org>
259 Fix PR tree-optimization/22071
261 * tree-ssa-structalias.c (offset_overlaps_with_access): New
263 (get_constraint_for_component_ref): Use it.
265 2005-07-01 Andrew Pinski <pinskia@physics.uc.edu>
268 * diagnostic.c (diagnostic_report_current_module): Use pp_newline to
269 print out the last new line.
271 2005-07-01 Hans-Peter Nilsson <hp@axis.se>
273 * config/cris/cris.md (CRIS_CC0_REGNUM): New constant.
274 Swap numbers for CRIS_AP_REGNUM and CRIS_MOF_REGNUM.
275 * config/cris/cris.c (cris_conditional_register_usage): Adjust
276 reg_names[CRIS_CC0_REGNUM] for early CRIS versions.
277 (cris_print_operand) <case REG>: Handle CRIS_CC0_REGNUM.
278 (cris_md_asm_clobbers): Clobber CRIS_CC0_REGNUM for all asms.
279 * config/cris/cris.h (CRIS_CANONICAL_CC0_REGNUM): New macro.
280 (enum reg_class): New member CC0_REGS.
281 (REG_CLASS_FROM_LETTER): Add 'c' for CC0_REGS.
282 (FIRST_PSEUDO_REGISTER, CALL_USED_REGISTERS, REG_ALLOC_ORDER)
283 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P, REG_CLASS_NAMES)
284 (CRIS_SPECIAL_REGS_CONTENTS, REG_CLASS_CONTENTS, REGNO_REG_CLASS)
285 (PREFERRED_RELOAD_CLASS, REGISTER_NAMES, DBX_REGISTER_NUMBER):
286 Adjust for register now described.
288 2005-07-01 Jakub Jelinek <jakub@redhat.com>
291 * config/i386/i386.md (stack_protect_test_si,
292 stack_protect_test_di): Add earlyclobber for scratch 3.
293 * config/rs6000/rs6000.md (stack_protect_testsi,
294 stack_protect_testdi): Add earlyclobber for scratch 3,
295 remove earlyclobber from scratch 4.
297 Older entries for 2005 can be found in ChangeLog-2005.