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