]>
Commit | Line | Data |
---|---|---|
e980df8e TT |
1 | 2008-03-27 Tom Tromey <tromey@redhat.com> |
2 | ||
3 | * doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4, | |
4 | configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c, | |
5 | config/spu/t-spu-elf, config/i386/t-interix, | |
6 | config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin, | |
7 | config/i386/x-darwin, config/i386/x-mingw32, | |
8 | config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld, | |
9 | config/sh/t-sh, config/sh/t-symbian, config/x-linux, | |
10 | config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64, | |
11 | config/x-solaris, config/t-vxworks, config/m68k/t-uclinux, | |
12 | config/rs6000/x-rs6000, config/rs6000/x-darwin64, | |
13 | config/rs6000/x-darwin, config/rs6000/t-rs6000, | |
14 | config/score/t-score-elf, config/arm/t-strongarm-pe, | |
15 | config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe, | |
16 | config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux: | |
17 | Revert automatic dependency patch. | |
18 | ||
c84555eb L |
19 | 2008-03-27 H.J. Lu <hongjiu.lu@intel.com> |
20 | ||
21 | PR target/35657 | |
22 | * config/i386/i386.c (ix86_function_arg_boundary): Align | |
23 | decimal floating point to its natural boundary. | |
24 | ||
ffd837fe RG |
25 | 2008-03-27 Richard Guenther <rguenther@suse.de> |
26 | ||
27 | PR middle-end/35716 | |
28 | * fold-const.c (fold_comparison): Restrict distinct decl | |
29 | comparison folding to VAR_DECLs and PARM_DECLs. Do not | |
30 | solely rely on operand_equal_p. | |
31 | ||
6b4e94bc RG |
32 | 2008-03-27 Richard Guenther <rguenther@suse.de> |
33 | ||
34 | PR c/32511 | |
35 | * c-common.c (handle_weak_attribute): Reject combination of | |
36 | weak and inline. | |
37 | ||
62bc00e2 RG |
38 | 2008-03-27 Richard Guenther <rguenther@suse.de> |
39 | ||
40 | PR tree-optimization/32810 | |
41 | * tree-ssa-ccp.c (get_symbol_constant_value): Strip useless | |
42 | conversions from DECL_INITIAL. | |
43 | (fold_const_aggregate_ref): Likewise from constructor elements. | |
44 | ||
72425608 ZD |
45 | 2008-03-27 Zdenek Dvorak <ook@ucw.cz> |
46 | ||
47 | * tree-affine.h (aff_combination_expand): Declare. | |
48 | (get_inner_reference_aff): Likewise. | |
49 | * tree-affine.c (aff_combination_expand): Split out from | |
50 | tree_to_aff_combination_expand. | |
51 | (get_inner_reference_aff): New function. | |
52 | * tree-parloops.c (loop_parallel_p): Free vectorizer info. | |
53 | * tree-ssa-loop-im.c: Include tree-affine.h and pointer-set.h. | |
54 | (struct lim_aux_data): sm_done field removed. | |
55 | (mem_ref_loc_p, mem_ref_locs_p): New types. | |
56 | (struct mem_ref): Added id, stored, accesses_in_loop, | |
57 | indep_loop, dep_loop, indep_ref, dep_ref fields. | |
58 | Removed is_stored, locs and next fields. | |
59 | (memory_accesses): New variable. | |
60 | (movement_possibility): Do not allow moving statements | |
61 | that store to memory. | |
62 | (outermost_indep_loop, simple_mem_ref_in_stmt, mem_ref_in_stmt): | |
63 | New functions. | |
64 | (determine_max_movement): For statements with memory references, | |
65 | find the outermost loop in that the reference is independent. | |
66 | (move_computations_stmt): Mark the virtual operands for | |
67 | renaming. | |
68 | (memref_free, mem_ref_alloc, mem_ref_locs_alloc, mark_ref_stored, | |
69 | gather_mem_refs_stmt, gather_mem_refs_in_loops, vtoe_hash, vtoe_eq, | |
70 | vtoe_free, record_vop_access, get_vop_accesses, get_vop_stores, | |
71 | add_vop_ref_mapping, create_vop_ref_mapping_loop, | |
72 | create_vop_ref_mapping, analyze_memory_references, | |
73 | cannot_overlap_p, mem_refs_may_alias_p, rewrite_mem_ref_loc, | |
74 | get_all_locs_in_loop, ref_always_accessed_p, | |
75 | refs_independent_p, record_indep_loop, ref_indep_loop_p_1, | |
76 | ref_indep_loop_p, can_sm_ref_p, find_refs_for_sm, | |
77 | store_motion_loop, store_motion): New functions. | |
78 | (struct vop_to_refs_elt): New type. | |
79 | (record_mem_ref_loc, free_mem_ref_locs, rewrite_mem_refs, | |
80 | memref_hash, memref_eq, hoist_memory_references): Rewritten. | |
81 | (schedule_sm): Replaced by... | |
82 | (execute_sm): ... this. | |
83 | (determine_lsm_ref, hoist_memory_references, | |
84 | loop_suitable_for_sm, gather_mem_refs_stmt, gather_mem_refs, | |
85 | find_more_ref_vops, free_mem_ref, free_mem_refs, | |
86 | determine_lsm_loop, determine_lsm): Removed. | |
87 | (tree_ssa_lim_finalize): Free data structures used by store | |
88 | motion. | |
89 | (tree_ssa_lim): Call analyze_memory_references. Use | |
90 | store_motion instead of determine_lsm. | |
91 | ||
a929bc28 PB |
92 | 2008-03-27 Paolo Bonzini <bonzini@gnu.org> |
93 | ||
94 | * config.cc (m68hc11, m6811, m68hc12, m6812): Add usegas.h, | |
95 | rename tmake_file to m68hc11/t-m68hc11. | |
96 | (mcore): Set inhibit_libc to true. | |
97 | * config.host (alpha*-dec-*vms*): Set extra_programs. | |
98 | (interix3*): Don't use host_xmake_file. | |
99 | * configure.ac: Let config.gcc override inhibit_libc. | |
100 | * configure: Regenerate. | |
101 | ||
102 | * config/alpha/x-vms (EXTRA_PROGRAMS): Remove. | |
103 | * config/t-openbsd-thread: Remove commented out lines. | |
104 | ||
105 | * config/x-interix: Remove. | |
106 | ||
107 | * config/m68hc11/t-m68hc11-gas: Rename to... | |
108 | * config/m68hc11/t-m68hc11: ... this. Remove T_CPPFLAGS. | |
109 | ||
110 | * config/mcore/t-mcore: Remove T_CFLAGS. | |
111 | * config/mcore/t-mcore-pe: Likewise. | |
112 | ||
60d26958 PB |
113 | 2008-03-27 Paolo Bonzini <bonzini@gnu.org> |
114 | ||
115 | * configure.ac: Replace custom __GNU_SOURCE test with | |
116 | AC_USE_SYSTEM_EXTENSIONS. Move it earlier. | |
117 | * aclocal.m4: Regenerate. | |
118 | * configure: Regenerate. | |
119 | * config.in: Regenerate. | |
120 | ||
bd03c084 RG |
121 | 2008-03-27 Richard Guenther <rguenther@suse.de> |
122 | ||
123 | * fold-const.c (target.h): Include. | |
124 | (fold_comparison): Fold comparison of addresses of decls | |
125 | that bind locally or of constants. Consolidate address folding code. | |
126 | * tree-vrp.c (operand_less_p): Deal with non-INTEGER_CST | |
127 | results from fold_binary_to_constant. | |
128 | (compare_values_warnv): Likewise. | |
129 | ||
87a72aa8 AP |
130 | 2008-03-27 Andrew Pinski <pinskia@gmail.com> |
131 | ||
132 | PR middle-end/35429 | |
133 | * fold-const.c (fold_truthop): Check for integeral types when folding | |
134 | a == 0 && b == 0 and a != 0 || b != 0 . | |
135 | ||
6e1b3420 EB |
136 | 2008-03-26 Eric Botcazou <ebotcazou@adacore.com> |
137 | ||
138 | * tree.c (get_unwidened): Remove code fiddling with COMPONENT_REF. | |
139 | ||
33558d94 AS |
140 | 2008-03-26 Andreas Schwab <schwab@suse.de> |
141 | ||
142 | * doc/invoke.texi: Fix use of @item vs. @itemx. | |
143 | ||
f6a9a9af TT |
144 | 2008-03-26 Tom Tromey <tromey@redhat.com> |
145 | ||
146 | * Makefile.in (build/gensupport.o, build/print-rtl.o, | |
147 | build/read-rtl.o, build/rtl.o, build/gencondmd.o, build/genattr.o, | |
148 | build/genattrtab.o, build/genautomata.o, build/gencheck.o, | |
149 | build/gencodes.o, build/genconditions.o, build/genconfig.o, | |
150 | build/genconstants.o, build/genemit.o, build/genextract.o, | |
151 | build/genflags.o, build/genmddeps.o, build/genopinit.o, | |
152 | build/genoutput.o, build/genpeep.o, build/genrecog.o): Depend on | |
153 | options.h. | |
154 | ||
2041e75c RG |
155 | 2008-03-26 Richard Guenther <rguenther@suse.de> |
156 | ||
157 | Revert | |
158 | 2008-03-26 Richard Guenther <rguenther@suse.de> | |
159 | ||
160 | * fold-const.c (target.h): Include. | |
161 | (fold_comparison): Fold comparison of addresses of two decls | |
162 | that bind locally. Consolidate address folding code. | |
163 | ||
aefa9d43 KG |
164 | 2008-03-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
165 | ||
166 | * builtins.c (expand_builtin_pow, fold_builtin_cabs, | |
167 | fold_builtin_sqrt, fold_builtin_cbrt, fold_builtin_logarithm, | |
168 | fold_builtin_hypot, fold_builtin_pow): Remove uses of dconst3, | |
169 | dconstsqrt2, dconstthird, dconste and/or dconst10. | |
170 | * config/i386/i386.c (ix86_emit_swsqrtsf): Likewise. | |
171 | * emit-rtl.c (dconst3, dconst10, dconstm2, dconstthird, | |
172 | dconstsqrt2, dconste): Delete. | |
173 | (init_emit_once): Likewise. Simplify initializing dconstm1. | |
174 | Constify variable. | |
175 | * real.c (get_real_const): New. | |
176 | * real.h (dconst3, dconst10, dconstm2, dconstthird, | |
177 | dconstsqrt2, dconste): Delete. | |
178 | (real_value_const, get_real_const): New. | |
179 | ||
35dd7cc3 L |
180 | 2008-03-26 H.J. Lu <hongjiu.lu@intel.com> |
181 | ||
182 | * config/i386/cygming.h (BIGGEST_ALIGNMENT): Removed. | |
183 | ||
184 | * config/i386/i386.c (ix86_function_arg_boundary): Check | |
185 | BIGGEST_ALIGNMENT instead of 128. | |
186 | (setup_incoming_varargs_64): Likewise. | |
187 | ||
f91ed78d TT |
188 | 2008-03-26 Tom Tromey <tromey@redhat.com> |
189 | ||
190 | * Makefile.in (DEPFILES): Add missing '/'. | |
191 | ||
4990038d RG |
192 | 2008-03-26 Richard Guenther <rguenther@suse.de> |
193 | ||
194 | * fold-const.c (target.h): Include. | |
195 | (fold_comparison): Fold comparison of addresses of two decls | |
196 | that bind locally. Consolidate address folding code. | |
197 | ||
813ab1d7 NC |
198 | 2008-03-26 Nick Clifton <nickc@redhat.com> |
199 | ||
200 | PR target/31232 | |
201 | * config/stormy16/stormy16.c (xstormy16_legitimate_address_p): Do | |
202 | not allow INT+INT as a legitimate addressing mode. | |
203 | ||
cf3135aa RG |
204 | 2008-03-26 Richard Guenther <rguenther@suse.de> |
205 | ||
206 | * tree-flow.h (widen_bitfield): Remove declaration. | |
207 | * tree-ssa-ccp.c (visit_assignment): Remove unneeded code. | |
208 | (widen_bitfield): Remove function. | |
209 | * tree-ssa-dom.c (record_equivalences_from_stmt): Remove unneeded | |
210 | code. | |
211 | ||
fd88fd09 AP |
212 | 2008-03-25 Andrew Pinski <andrew_pinski@playstation.sony.com> |
213 | ||
22ec849c | 214 | PR target/31558 |
fd88fd09 AP |
215 | * config/rs6000/rs6000-c.c (rs6000_builtin_type_compatible): Handle |
216 | error_mark_node's. | |
217 | ||
fb959f72 RS |
218 | 2008-03-25 Richard Sandiford <rsandifo@nildram.co.uk> |
219 | ||
220 | PR rtl-optimization/35232 | |
221 | * reload1.c (reg_reloaded_call_part_clobbered): Clarify comment. | |
222 | (forget_old_reloads_1, forget_marked_reloads): Don't clear | |
223 | reg_reloaded_call_part_clobbered here. | |
224 | (reload_regs_reach_end_p): New function. | |
225 | (reload_reg_rtx_for_input): New variable. | |
226 | (reload_reg_rtx_for_output): Likewise. | |
227 | (emit_input_reload_insns): Use reloadreg rather than rl->reg_rtx | |
228 | when reassigning a pseudo register. Load reloadreg from | |
229 | reload_reg_rtx_for_input, moving the mode and register | |
230 | calculation to... | |
231 | (do_input_reload): ...here. Use the mode-adjusted reg_rtx | |
232 | instead of the original when deciding whether an input reload | |
233 | would be a no-op or whether an output reload can be deleted. | |
234 | (emit_output_reload_insns): Use the mode-adjusted reg_rtx | |
235 | when setting up new_spill_reg_store. Load it from | |
236 | reload_reg_rtx_for_output, moving the mode and register | |
237 | calculation to... | |
238 | (do_output_reload): ...here. Use the mode-adjusted reg_rtx | |
239 | instead of the original when deciding whether an output reload | |
240 | would be a no-op. Do the same when modifying insn notes. | |
241 | Use rtx_equal_p instead of == to compare the registers. | |
242 | (inherit_piecemeal_p): Take a mode and two register numbers | |
243 | as argument. | |
244 | (emit_reload_insns): Clear new_spill_reg_store for every hard | |
245 | register in the reload register. Remove spill registers | |
246 | from reg_reloaded_valid before considering whether to record | |
247 | inheritance information for them. Use reload_reg_rtx_for_output | |
248 | instead of reg_rtx when recording output reloads. Use | |
249 | reload_reg_rtx_for_input instead of reg_rtx when recording | |
250 | input reloads. Set or clear reg_reloaded_call_part_clobbered | |
251 | at the same time as setting reg_reloaded_valid. | |
252 | (delete_output_reload): Add a new_reload_reg parameter and use it | |
253 | instead of rld[j].reg_rtx. | |
254 | (emit_input_reload_insns, do_input_reload, do_output_reload): Adjust | |
255 | calls accordingly. | |
256 | ||
a8c86f3f TT |
257 | 2008-03-25 Tom Tromey <tromey@redhat.com> |
258 | ||
259 | * Makefile.in (build/gensupport.o): Depend on insn-modes.h. | |
260 | (build/genattr.o): Likewise. | |
261 | (build/genattrtab.o): Likewise. | |
262 | (build/gencodes.o): Likewise. | |
263 | (build/genconfig.o): Likewise. | |
264 | (build/genconstants.o): Likewise. | |
265 | (build/genemit.o): Likewise. | |
266 | (build/genextract.o): Likewise. | |
267 | (build/genflags.o): Likewise. | |
268 | ||
f4d3e7fd BW |
269 | 2008-03-25 Bob Wilson <bob.wilson@acm.org> |
270 | ||
271 | * config/xtensa/xtensa.c (xtensa_va_start): Use build_int_cst | |
272 | instead of size_int for integer types. | |
273 | (xtensa_gimplify_va_arg_expr): Likewise. Convert index to sizetype | |
274 | to match type of MINUS_EXPR. | |
275 | ||
55d059d3 TT |
276 | 2008-03-25 Tom Tromey <tromey@redhat.com> |
277 | ||
278 | * configure: Rebuilt. | |
279 | * configure.ac (BUILD_DEPMODE): Extract CCDEPMODE from temporary | |
280 | Makefile. | |
281 | ||
2fe3178b TT |
282 | 2008-03-25 Tom Tromey <tromey@redhat.com> |
283 | ||
284 | * config/x-solaris (host-solaris.o): Update. | |
285 | * config/x-linux (host-linux.o): Update. | |
286 | * config/x-hpux (host-hpux.o): Update. | |
287 | * config/x-darwin (host-darwin.o): Update. | |
288 | * config/v850/t-v850e (v850-c.o): Update. | |
289 | * config/v850/t-v850 (v850-c.o): Update. | |
290 | * config/t-vxworks (vxworks.o): Update. | |
291 | * config/t-sol2 (sol2-c.o, sol2.o): Update. | |
4acc3f42 | 292 | * config/t-darwin (darwin.o, darwin-c.o, darwin-driver.o): Update. |
2fe3178b TT |
293 | * config/spu/t-spu-elf (spu-c.o): Update. |
294 | (spu.o): Remove. | |
295 | * config/sh/t-symbian (sh-c.o): Update. | |
296 | (symbian.o): Update. | |
297 | * config/sh/t-sh (sh-c.o): Update. | |
298 | * config/score/t-score-elf (score7.o, score3.o): Update. | |
299 | * config/rs6000/x-rs6000 (driver-rs6000.o): Update. | |
300 | * config/rs6000/x-darwin64 (host-ppc64-darwin.o): Update. | |
301 | * config/rs6000/x-darwin (host-ppc-darwin.o): Update. | |
302 | * config/rs6000/t-rs6000 (rs6000-c.o): Update. | |
303 | (rs6000.o): Remove. | |
304 | * config/m68k/t-uclinux (generated_files): Add sysroot-suffix.h. | |
305 | * config/m32c/t-m32c (m32c-pragma.o): Update. | |
306 | * config/ia64/t-ia64 (ia64-c.o): Update. | |
307 | * config/i386/x-mingw32 (host-mingw32.o): Update. | |
308 | * config/i386/x-i386 (driver-i386.o): Update. | |
309 | * config/i386/x-darwin (host-i386-darwin.o): Update. | |
310 | * config/i386/x-cygwin (host-cygwin.o): Update. | |
311 | * config/i386/t-nwld (nwld.o): Update. | |
312 | * config/i386/t-netware (netware.o): Update. | |
313 | * config/i386/t-interix (winnt.o): Update. | |
314 | * config/i386/t-cygwin (cygwin1.o, cygwin2.o): Update. | |
315 | * config/i386/t-cygming (winnt.o, winnt-cxx.o, winnt-stubs.o, | |
316 | msformat-c.o): Update. | |
317 | * config/bfin/t-bfin-linux (generated_files): Add | |
318 | linux-sysroot-suffix.h. | |
319 | * config/arm/t-wince-pe (pe.o): Update. | |
320 | * config/arm/t-strongarm-pe (pe.o): Update. | |
321 | * config/arm/t-pe (pe.o): Update. | |
322 | * config/arm/t-arm (arm-c.o): Update. | |
323 | * doc/install.texi (Prerequisites): Require make 3.80. | |
324 | * Makefile.in: Remove .o targets. | |
325 | (CCDEPMODE, DEPDIR, depcomp, BUILD_DEPMODE): New variables. | |
326 | (OBSTACK_H, FIBHEAP_H, PARTITION_H, MD5_H, BCONFIG_H): Remove. | |
327 | (simple_generated_h, simple_generated_c): Move earlier. | |
328 | (generated_files): New variable. | |
329 | (TARGET_H, MACHMODE_H, HOOKS_H, HOSTHOOKS_DEF_H, LANGHOOKS_DEF_H, | |
330 | TARGET_DEF_H, RTL_BASE_H, RTL_H, PARAMS_H, BUILTINS_DEF, TREE_H, | |
331 | BASIC_BLOCK_H, GCOV_IO_H, COVERAGE_H, DEMANGLE_H, RECOG_H, | |
332 | ALIAS_H, EMIT_RTL_H, FLAGS_H, FUNCTION_H, EXPR_H, OPTABS_H, | |
333 | REGS_H, RA_H, RESOURCE_H, SCHED_INT_H, INTEGRATE_H, CFGLAYOUT_H, | |
334 | CFGLOOP_H, IPA_UTILS_H, IPA_REFERENCE_H, IPA_TYPE_ESCAPE_H, | |
335 | CGRAPH_H, DF_H, RESOURCE_H, DDG_H, GCC_H, GGC_H, TIMEVAR_H, | |
336 | INSN_ATTR_H, C_COMMON_H, C_PRAGMA_H, C_TREE_H, SYSTEM_H, | |
337 | PREDICT_H, DECNUM_H, MKDEPS_H, SYMTAB_H, TREE_DUMP_H, | |
338 | TREE_GIMPLE_H, TREE_FLOW_H, TREE_SSA_LIVE_H, PRETTY_PRINT_H, | |
339 | DIAGNOSTIC_H, C_PRETTY_PRINT_H, SCEV_H, LAMBDA_H, TREE_DATA_REF_H, | |
340 | VARRAY_H, TREE_INLINE_H, REAL_H, DBGCNT_H, EBIMAP_H): Remove. | |
341 | (.c.o): Remove. | |
342 | (COMPILE.base, COMPILE): New variables. | |
343 | (%.o): New pattern rule. | |
344 | (ALL_HOST_OBJS): New variable. | |
345 | (xgcc$(exeext), cpp$(exeext)): Remove extra version.o. | |
346 | (dummy-checksum.o, cc1-checksum.o): Remove. | |
347 | (DRIVER_SHLIB): New variable. | |
348 | (DRIVER_DEFINES): Use it. | |
349 | (gencondmd.c): Move out of build/. | |
350 | (s-conditions): Update. | |
351 | (BUILDCOMPILE.base, BUILDCOMPILE): New variables. | |
352 | (ALL_BUILD_OBJS): Likewise. | |
353 | (build/%.o): Use BUILDCOMPILE. | |
354 | (build/ggc-none.o, build/ggc-none.o, build/min-insn-modes.o, | |
355 | build/print-rtl.o, build/read-rtl.o, build/rtl.o, build/vec.o, | |
356 | build/gencondmd.o, build/genattrtab.o, build/genautomata.o, | |
357 | build/gencheck.o, build/gencodes.o, build/genconditions.o, | |
358 | build/genconfig.o, build/genconstants.o, build/genemit.o, | |
359 | build/genextract.o, build/genflags.o, build/genmddeps.o, | |
360 | build/genopinit.o, build/genoutput.o, build/genpeep.o, | |
361 | build/genpreds.o, build/genrecog.o, build/gcov-iov.o, | |
362 | build/gen-protos.o, build/scan.o, build/fix-header.o, | |
363 | build/scan-decls.o): Simplify. | |
364 | (collect2.o, c-opts.o, gcc.o, gccspec.o, gcc-options.o, | |
365 | cppdefault.o, protoize.o, unprotoize.o, intl.o, version.o, | |
366 | prefix.o, toplev.o): Reduce to variable setting. | |
4acc3f42 | 367 | (libbackend.o): Use COMPILE. Remove most dependencies. Move later. |
2fe3178b | 368 | ($(out_object_file), gcc-options.o): New targets. |
4acc3f42 | 369 | ($(ALL_HOST_OBJS)): New target. Include dependency files. |
2fe3178b | 370 | * configure: Rebuilt. |
4acc3f42 UB |
371 | * configure.ac: Call ZW_CREATE_DEPDIR, ZW_PROG_COMPILER_DEPENDENCIES. |
372 | * doc/sourcebuild.texi (Front End Directory): Document new variable. | |
2fe3178b | 373 | |
5ade1ed2 DG |
374 | 2008-03-25 Douglas Gregor <doug.gregor@gmail.com> |
375 | ||
4acc3f42 UB |
376 | * c-common.c (c_sizeof_or_alignof_type): If we're not allowed to |
377 | complain when we hit an error, return ERROR_MARK_NODE. | |
5ade1ed2 | 378 | |
de6adfa2 N |
379 | 2008-03-25 Naveen.H.S <naveen.hs@kpitcummins.com> |
380 | ||
381 | * config/sh/constraints.md (Pso, Psz): New constraints. | |
382 | * config/sh/sh.c (print_operand): Add %V and %W operand codes. | |
383 | * config/sh/sh.md (*andsi3_bclr, *iorsi3_bset): New insns. | |
384 | ||
f326a6cb N |
385 | 2008-03-25 Naveen.H.S <naveen.hs@kpitcummins.com> |
386 | ||
4acc3f42 | 387 | * config/sh/sh.c (sh_expand_t_scc): Emit movrt for SH2A if possible. |
f326a6cb N |
388 | * config/sh/sh.md (xorsi3_movrt, movrt): New insns. |
389 | ||
b4b0018b N |
390 | 2008-03-25 Naveen.H.S <naveen.hs@kpitcummins.com> |
391 | ||
392 | * config/sh/sh.md (prefetch): Add condition for SH2A target. | |
393 | (prefetch_sh2a): New. | |
394 | ||
e990551a JS |
395 | 2008-03-25 Jayant Sonar <Jayant.sonar@kpitcummins.com> |
396 | Naveen.H.S <naveen.hs@kpitcummins.com> | |
397 | ||
398 | * config/sh/constraints.md (I28): New constraint. | |
399 | * config/sh/sh.c (broken_move): Add support for movi20s. | |
4acc3f42 | 400 | * config/sh/sh.md (movsi_ie): Add the alternative for movi20s. |
e990551a | 401 | |
561642fa AP |
402 | 2008-03-25 Anil Paranjape <anil.paranjape@kpitcummins.com> |
403 | Jayant Sonar <Jayant.sonar@kpitcummins.com> | |
404 | Naveen.H.S <naveen.hs@kpitcummins.com> | |
405 | ||
406 | * config/sh/sh.c (SH_ATTRIBUTES): Define. | |
407 | (SYMBOL_FLAG_FUNCVEC_FUNCTION): Define. | |
408 | (print_operand): Handle resbank in %@ operand code. | |
409 | (sh_encode_section_info): New. | |
410 | (push_regs): Add conditions for resbank. | |
411 | (sh_expand_epilogue): Likewise. | |
412 | (sh_insert_attributes): Likewise. | |
413 | (sh_attribute_table): Likewise. | |
414 | (sh_handle_resbank_handler_attribute): New. | |
415 | (sh2a_handle_function_vector_handler_attribute): New. | |
416 | (sh2a_is_function_vector_call): New. | |
417 | (sh2a_get_function_vector_number): New. | |
418 | (sh2a_function_vector_p): New. | |
419 | (sh_cfun_resbank_handler_p): New. | |
420 | * config/sh/sh.md (calli): Emit jsr/n if possible. | |
421 | (calli_tbr_rel): New. | |
422 | (calli_pcrel): Emit jsr/n if possible. | |
423 | (return_i): Emit rts/n if possible. | |
424 | (call_valuei_tbr_rel): New. | |
425 | (call_valuei_pcrel): Add condition for SH2A target. | |
426 | (call_value): Likewise. | |
427 | * config/sh/sh-protos.h (sh_cfun_resbank_handler_p): Declare. | |
428 | (sh2a_get_function_vector_number): Likewise. | |
429 | (sh2a_is_function_vector_call): Likewise. | |
430 | * doc/extend.texi: Document TBR relative addressing of SH2A. | |
431 | (resbank): Add description for SH2A. | |
432 | ||
1b24a790 RG |
433 | 2008-03-24 Richard Guenther <rguenther@suse.de> |
434 | ||
435 | PR c/22371 | |
436 | * gimplify.c (gimplify_modify_expr): For frontend type-correct | |
437 | pointer assignments change conversions according to middle-end rules. | |
438 | (gimplify_modify_expr_rhs): Deal with NULL TARGET_EXPR_INITIAL. | |
439 | * configure.ac: Include type checking in yes. | |
440 | * configure: Regenerate. | |
441 | ||
52249a2e MLI |
442 | 2008-03-24 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
443 | ||
444 | * diagnostic.c (diagnostic_count_diagnostic): Delete. | |
445 | (diagnostic_report_diagnostic): Update. Handle ICEs here. | |
446 | ||
37ca4602 NS |
447 | 2008-03-24 Nathan Sidwell <nathan@codesourcery.com> |
448 | ||
449 | * gthr-vxworks.h (UNUSED): Define. | |
450 | ||
2ff8644d L |
451 | 2008-03-23 H.J. Lu <hongjiu.lu@intel.com> |
452 | ||
453 | * config/i386/i386.h (STATIC_CHAIN_REGNUM): Use R10_REG and | |
454 | CX_REG. | |
455 | ||
1c42f5c6 ZM |
456 | 2008-03-23 Zuxy Meng <zuxy.meng@gmail.com> |
457 | ||
458 | * doc/extend.texi (Function Attributes): Add missing comma in the | |
459 | example of the "alloc_size" attribute. | |
460 | ||
808e68bb UB |
461 | 2008-03-23 Uros Bizjak <ubizjak@gmail.com> |
462 | ||
463 | Revert: | |
464 | 2008-03-05 H.J. Lu <hongjiu.lu@intel.com> | |
465 | ||
466 | * config/i386/i386-modes.def: Use 4 byte alignment on DI for | |
467 | 32bit host. | |
468 | ||
469 | 2008-03-19 Uros Bizjak <ubizjak@gmail.com> | |
470 | ||
471 | PR target/35496 | |
472 | * stor-layout.c (update_alignment_for_field): Set minimum alignment | |
473 | of the underlying type of a MS bitfield layout to the natural | |
474 | alignment of the type. | |
475 | ||
476 | 2008-03-22 Uros Bizjak <ubizjak@gmail.com> | |
477 | ||
478 | * config/i386/i386.c (assign_386_stack_local): Align DImode slots | |
479 | to their natural alignment to avoid store forwarding stalls. | |
480 | ||
1b738915 RG |
481 | 2008-03-22 Richard Guenther <rguenther@suse.de> |
482 | ||
483 | * tree-cfg.c (verify_expr): Recurse again for invariant addresses. | |
484 | For PHI nodes verify the address is invariant. | |
485 | * tree-ssa-ccp.c (ccp_decl_initial_min_invariant): Remove. | |
486 | (get_symbol_constant_value): Use is_gimple_min_invariant. | |
487 | (maybe_fold_stmt_indirect): Likewise. | |
488 | ||
18b526e8 RS |
489 | 2008-03-22 Richard Sandiford <rsandifo@nildram.co.uk> |
490 | ||
491 | PR rtl-optimization/33927 | |
492 | * Makefile.in (dse.o): Depend on $(TM_P_H). | |
493 | * expr.h (extract_low_bits): Declare. | |
494 | * expmed.c (extract_low_bits): New function. | |
495 | * rtlhooks.c (gen_lowpart_general): Generalize SUBREG handling. | |
496 | * dse.c: Include tm_p.h. | |
497 | (find_shift_sequence): Remove the read_reg argument and return the | |
498 | read value. Emit the instructions instead of returning them. | |
499 | Iterate on new_mode rather than calculating it each time. | |
500 | Check MODES_TIEABLE_P. Use simplify_gen_subreg to convert the | |
501 | source to NEW_MODE and extract_low_bits to convert the shifted | |
502 | value to READ_MODE. | |
503 | (replace_read): Allow the load and store to have different mode | |
504 | classes. Use extract_low_bits when SHIFT == 0. Create the shift | |
505 | or extraction instructions before trying the replacement. Update | |
506 | dump-file code accordingly, avoiding use of REGNO (store_info->rhs). | |
507 | ||
48e55066 UB |
508 | 2008-03-22 Uros Bizjak <ubizjak@gmail.com> |
509 | ||
510 | * config/i386/i386.c (assign_386_stack_local): Align DImode slots | |
511 | to their natural alignment to avoid store forwarding stalls. | |
512 | ||
94e98316 AP |
513 | 2008-03-21 Andrew Pinski <andrew_pinski@playstation.sony.com> |
514 | ||
e8afc0cb | 515 | PR target/27946 |
94e98316 AP |
516 | * config/rs6000/rs6000.md (floatdidf2): Discouraging fprs and |
517 | encouraging but not allowing gprs for input; | |
518 | change the input constraint to !f#r. | |
519 | (fix_truncdfdi2): Discouraging fprs and encouraging but not allowing | |
520 | gprs for output; | |
521 | change the output constraint to !f#r. | |
522 | ||
7fb1431b UB |
523 | 2008-03-21 Uros Bizjak <ubizjak@gmail.com> |
524 | ||
525 | PR target/13958 | |
526 | * config/i386/i386.md ("*floatunssi<mode2>_1"): New pattern with | |
527 | corresponding post-reload splitters. | |
528 | ("floatunssi<mode>2"): Expand to unsigned_float x87 insn pattern | |
529 | when x87 FP math is selected. | |
530 | * config/i386/i386-protos.h (ix86_expand_convert_uns_sixf_sse): | |
531 | New function prototype. | |
532 | * config/i386/i386.c (ix86_expand_convert_uns_sixf_sse): New | |
533 | unreachable function to ease macroization of insn patterns. | |
534 | ||
ed2024ba MJ |
535 | 2008-03-21 Martin Jambor <mjambor@suse.cz> |
536 | ||
537 | * tree-data-ref.c (dump_data_dependence_relation): Avoid data | |
538 | reference dumps if ddr is NULL or dependence is unknown. | |
539 | ||
06644a07 KK |
540 | 2008-03-20 Kaz Kojima <kkojima@gcc.gnu.org> |
541 | ||
542 | * config/sh/linux-atomic.asm (ATOMIC_TEST_AND_SET): Take | |
543 | unsigned extension into account. | |
544 | (ATOMIC_COMPARE_AND_SWAP): Likewise. | |
545 | (ATOMIC_FETCH_AND_OP, ATOMIC_FETCH_AND_COMBOP): Likewise. | |
546 | Do computations on a scratch register. | |
547 | ||
ad6003f2 RG |
548 | 2008-03-21 Richard Guenther <rguenther@suse.de> |
549 | ||
550 | * tree-scalar-evolution.c (chrec_contains_symbols_defined_in_loop): | |
551 | Use is_gimple_min_invariant instead of TREE_INVARIANT. | |
552 | * tree-ssa-loop-ivopts.c (force_expr_to_var_cost): Likewise. | |
553 | * tree-ssa-dom.c (record_equality): Likewise. | |
554 | * tree-inline.c (copy_body_r): Likewise. | |
555 | * tree-ssa-pre.c (make_values_for_stmt): Remove test for | |
556 | TREE_INVARIANT. | |
557 | ||
2acdc1fb KK |
558 | 2008-03-20 Kaz Kojima <kkojima@gcc.gnu.org> |
559 | ||
560 | * config/sh/sh.c (split_branches): Pass zero to redirect_jump | |
561 | as 'delete_unused' argument. | |
562 | ||
16ac8575 RG |
563 | 2008-03-20 Richard Guenther <rguenther@suse.de> |
564 | ||
565 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Remove | |
566 | special casing of constant qualifiers. | |
567 | * tree-ssa.c (useless_type_conversion_p_1): Instead do not | |
568 | care about them in general. | |
569 | * tree-ssa-ccp.c (ccp_fold): Addresses are constant or not | |
570 | regardless of their type. | |
571 | (fold_stmt_r): Forcefully fold *& if we end up with that. | |
572 | ||
433d52fd PB |
573 | 2008-03-20 Paul Brook <paul@codesourcery.com> |
574 | ||
575 | * config.gcc (arm*-*-uclinux*): Remove duplicate arm/uclinux-elf.h. | |
576 | * config/arm/uclinux-eabi.h (SUBTARGET_EXTRA_LINK_SPEC): Add extra | |
577 | linker flags. | |
578 | * config/arm/bpabi.h (SUBTARGET_EXTRA_LINK_SPEC): Provide default | |
579 | definition. | |
580 | (LINK_SPEC): Use SUBTARGET_EXTRA_LINK_SPEC. | |
581 | * config/arm/unwind-arm.h (_Unwind_decode_target2): Add uClinux. | |
582 | ||
7621f5d5 VR |
583 | 2008-03-20 Volker Reichelt <v.reichelt@netcologne.de> |
584 | ||
585 | * common.opt (Wmudflap): New option. | |
586 | * tree-mudflap.c (mf_xform_derefs_1): Guard warning by OPT_Wmudflap. | |
587 | (mx_register_decls): Likewise. | |
588 | (mudflap_finish_file): Likewise. | |
589 | * doc/invoke.texi: Document -Wno-mudflap. | |
590 | ||
591 | 2008-03-20 Kai Tietz <kai.tietz@onevision.com> | |
6590fc9f KT |
592 | |
593 | * c-format.c (replace_format_name_to_system_name): New. | |
594 | (cmp_attribs): New. | |
595 | (convert_format_name_to_system_name): New. | |
596 | (decode_format_attr): Add use of convert_format_name_to_system_name. | |
597 | (format_types_orig): Add gnu_ prefix to names. | |
598 | (check_format_info_main): Special treating of \0 escaped names for | |
599 | supporting multi-character format specifiers as I32, I64. | |
600 | (TARGET_OVERRIDES_FORMAT_ATTRIBUTES): Use of user defined attributes. | |
601 | (gnu_target_overrides_format_attributes): New. | |
602 | * c-format.h: Add structure target_ovr_attr to hold | |
603 | system specific formatter names. | |
604 | * config.gcc: Add for x86&x86_64 cygwin and mingw32 targets the | |
605 | msformat-c.o file to c_target_objs and cxx_target_objs. | |
606 | * config/i386/mingw32.h (TARGET_OVERRIDES_FORMAT_ATTRIBUTES): New. | |
607 | (TARGET_OVERRIDES_FORMAT_ATTRIBUTES_COUNT): New. | |
608 | (TARGET_N_FORMAT_TYPES): New. | |
609 | * config/i386/msformat-c.c: New. | |
610 | * config/i386/t-cygming: Add build rule for msformat-c.o. | |
611 | * doc/extend.texi: Add new format names gnu_* and ms_* and | |
612 | further details. | |
613 | * doc/tm.texi: (TARGET_OVERRIDES_FORMAT_ATTRIBUTES): New. | |
614 | ||
4e359692 IR |
615 | 2008-03-20 Ira Rosen <irar@il.ibm.com> |
616 | ||
617 | * doc/invoke.texi (-O3): Add -ftree-vectorize to the list of | |
618 | optimizations turned on under -O3. | |
619 | (ftree-vectorize): Add that the flag is turned on with -O3. | |
620 | ||
41129be2 BE |
621 | 2008-03-20 Ben Elliston <bje@au.ibm.com> |
622 | ||
623 | * regmove.c (try_auto_increment): Fix spelling error in comment. | |
624 | * final.c (final_scan_insn): Likewise. | |
625 | ||
1b1d8f88 UB |
626 | 2008-03-20 Uros Bizjak <ubizjak@gmail.com> |
627 | ||
628 | PR target/14552 | |
629 | * config/i386/mmx.md (*mov<mode>_internal_rex64"): Adjust register | |
630 | allocator preferences for "y" and "r" class registers. | |
631 | ("*mov<mode>_internal"): Ditto. | |
632 | ("*movv2sf_internal_rex64"): Ditto. | |
633 | ("*movv2sf_internal"): Ditto. | |
634 | ||
05e6ee93 MM |
635 | 2008-03-19 Michael Matz <matz@suse.de> |
636 | ||
637 | PR middle-end/35616 | |
638 | * calls.c (expand_call): Check overlap of arguments with call | |
639 | address for sibcalls. | |
640 | ||
cd7e0bd4 UB |
641 | 2008-03-19 Uros Bizjak <ubizjak@gmail.com> |
642 | ||
643 | PR target/35496 | |
644 | * stor-layout.c (update_alignment_for_field): Set minimum alignment | |
645 | of the underlying type of a MS bitfield layout to the natural | |
646 | alignment of the type. | |
647 | ||
8ddbbcae JH |
648 | 2008-03-19 Jan Hubicka <jh@suse.cz> |
649 | ||
650 | PR other/35094 | |
651 | * toplev.c (decode_d_option): Handle all CPP flags. | |
652 | * tree-vrp.c: Update tree_pass descriptors. | |
653 | * regrename.c: Update tree_pass descriptors. | |
654 | * fwprop.c: Update tree_pass descriptors. | |
655 | * doc/invoke.texi: Remove documentation of dropped -d? flags. | |
656 | * tree-into-ssa.c: Update tree_pass descriptors. | |
657 | * tree-dump.c: Update tree_pass descriptors. | |
658 | * tree-complex.c: Update tree_pass descriptors. | |
659 | * tree-dump.h: Update tree_pass descriptors. | |
660 | * see.c: Update tree_pass descriptors. | |
661 | * cgraphbuild.c: Update tree_pass descriptors. | |
662 | * tracer.c: Update tree_pass descriptors. | |
663 | * tree-loop-distribution.c: Update tree_pass descriptors. | |
664 | * cgraph.c: Update tree_pass descriptors. | |
665 | * postreload-gcse.c: Update tree_pass descriptors. | |
666 | * postreload.c: Update tree_pass descriptors. | |
667 | * tree-ssa-loop-ch.c: Update tree_pass descriptors. | |
668 | * tree-tailcall.c: Update tree_pass descriptors. | |
669 | * tree-pass.h (tree_opt_pass): Rename to ... | |
670 | (opt_pass) ... this one; add "type" field and remove letter field. | |
671 | (gimple_opt_pass, rtl_opt_pass, simple_ipa_opt_pass): New. | |
672 | (execute_pass_list, execute_ipa_pass_list, all_passes, all_ipa_passes, | |
673 | all_lowering_passes): Update declaration. | |
674 | * ipa-cp.c: Update tree_pass descriptors. | |
675 | * final.c: Update tree_pass descriptors. | |
676 | * omp-low.c: Update tree_pass descriptors. | |
677 | * tree-ssa-dse.c: Update tree_pass descriptors. | |
678 | * ipa-reference.c: Update tree_pass descriptors. | |
679 | * tree-ssa-uncprop.c: Update tree_pass descriptors. | |
680 | * auto-inc-dec.c: Update tree_pass descriptors. | |
681 | * reorg.c: Update tree_pass descriptors. | |
682 | * cgraphunit.c: Update tree_pass descriptors. | |
683 | * tree-ssa-copyrename.c: Update tree_pass descriptors. | |
684 | * tree-ssa-ccp.c: Update tree_pass descriptors. | |
685 | * df-core.c: Update tree_pass descriptors. | |
686 | * mode-switching.c: Update tree_pass descriptors. | |
687 | * tree-nomudflap.c: Update tree_pass descriptors. | |
688 | * modulo-sched.c: Update tree_pass descriptors. | |
689 | * ipa-pure-const.c: Update tree_pass descriptors. | |
690 | * cse.c: Update tree_pass descriptors. | |
691 | * web.c: Update tree_pass descriptors. | |
692 | * tree-stdarg.c: Update tree_pass descriptors. | |
693 | * tree-ssa-math-opts.c: Update tree_pass descriptors. | |
694 | * tree-ssa-dom.c: Update tree_pass descriptors. | |
695 | * tree-nrv.c: Update tree_pass descriptors. | |
696 | * tree-ssa-alias.c: Update tree_pass descriptors. | |
697 | * loop-init.c: Update tree_pass descriptors. | |
698 | * gimple-low.c: Update tree_pass descriptors. | |
699 | * ipa-inline.c: Update tree_pass descriptors. | |
700 | * tree-ssa-sink.c: Update tree_pass descriptors. | |
701 | * global.c: Update tree_pass descriptors. | |
702 | * ifcvt.c: Update tree_pass descriptors. | |
703 | * jump.c: Update tree_pass descriptors. | |
704 | * predict.c: Update tree_pass descriptors. | |
705 | * tree-ssa-loop.c: Update tree_pass descriptors. | |
706 | * recog.c: Update tree_pass descriptors. | |
707 | * dse.c: Update tree_pass descriptors. | |
708 | * tree-ssa-ifcombine.c: Update tree_pass descriptors. | |
709 | * tree-eh.c: Update tree_pass descriptors. | |
710 | * regmove.c: Update tree_pass descriptors. | |
711 | * local-alloc.c | |
712 | * function.c: Update tree_pass descriptors. | |
713 | * tree-vectorizer.c: Update tree_pass descriptors. | |
714 | * gcse.c: Update tree_pass descriptors. | |
715 | * ipa-type-escape.c: Update tree_pass descriptors. | |
716 | * tree-if-conv.c: Update tree_pass descriptors. | |
717 | * init-regs.c: Update tree_pass descriptors. | |
718 | * ipa.c: Update tree_pass descriptors. | |
719 | * tree-ssa-phiopt.c: Update tree_pass descriptors. | |
720 | * rtl-factoring.c: Update tree_pass descriptors. | |
721 | * lower-subreg.c: Update tree_pass descriptors. | |
722 | * bt-load.c: Update tree_pass descriptors. | |
723 | * tree-dfa.c: Update tree_pass descriptors. | |
724 | * except.c: Update tree_pass descriptors. | |
725 | * emit-rtl.c: Update tree_pass descriptors. | |
726 | * cfgexpand.c: Update tree_pass descriptors. | |
727 | * tree-cfgcleanup.c: Update tree_pass descriptors. | |
728 | * cfgcleanup.c: Update tree_pass descriptors. | |
729 | * tree-ssa-pre.c: Update tree_pass descriptors. | |
730 | * tree-sra.c: Update tree_pass descriptors. | |
731 | * tree-mudflap.c: Update tree_pass descriptors. | |
732 | * tree-ssa-copy.c: Update tree_pass descriptors. | |
733 | * cfglayout.c: Update tree_pass descriptors. | |
734 | * tree-ssa-forwprop.c: Update tree_pass descriptors. | |
735 | * tree-ssa-dce.c: Update tree_pass descriptors. | |
736 | * tree-ssa.c: Update tree_pass descriptors. | |
737 | * regclass.c: Update tree_pass descriptors. | |
738 | * integrate.c: Update tree_pass descriptors. | |
739 | * tree-optimize.c: Update tree_pass descriptors. | |
740 | * tree-ssa-phiprop.c: Update tree_pass descriptors. | |
741 | * tree-object-size.c: Update tree_pass descriptors. | |
742 | * combine.c: Update tree_pass descriptors. | |
743 | * tree-outof-ssa.c: Update tree_pass descriptors. | |
744 | * bb-reorder.c: Update tree_pass descriptors. | |
745 | * stack-ptr-mod.c: Update tree_pass descriptors. | |
746 | * var-tracking.c: Update tree_pass descriptors. | |
747 | * tree-profile.c: Update tree_pass descriptors. | |
748 | * tree-vect-generic.c: Update tree_pass descriptors. | |
749 | * reg-stack.c: Update tree_pass descriptors. | |
750 | * sched-rgn.c: Update tree_pass descriptors. | |
751 | * tree-ssa-structalias.c: Update tree_pass descriptors. | |
752 | * tree-cfg.c: Update tree_pass descriptors. | |
753 | * passes.c (current_pass): Update declaration. | |
754 | (finish_optimization_passes): Update. | |
755 | (all_passes, all_ipa_passes, all_lowering_passes): Update declaration. | |
756 | (register_one_dump_file, register_dump_files_1, next_pass_1): | |
757 | Update arguments. | |
758 | (init_optimization_passes): Update handling of new types. | |
759 | (execute_one_pass, execute_pass_list, execute_ipa_pass_list): Update. | |
760 | * ipa-struct-reorg.c: Update tree_pass descriptors. | |
761 | * tree-ssa-reassoc.c: Update tree_pass descriptors. | |
762 | * combine-stack-adj.c: Update tree_pass descriptors. | |
763 | * cfgrtl.c: Update tree_pass descriptors. | |
764 | * dce.c: Update tree_pass descriptors. | |
765 | * tree-ssanames.c: Update tree_pass descriptors. | |
766 | ||
8cb3ee37 RG |
767 | 2008-03-19 Richard Guenther <rguenther@suse.de> |
768 | ||
769 | PR middle-end/35609 | |
4990038d RG |
770 | * tree-ssa.c (walk_data): New structure. |
771 | (warn_uninitialized_var): If not always_executed warn with "maybe" | |
8cb3ee37 RG |
772 | instead of "is". |
773 | (execute_early_warn_uninitialized): Compute post-dominators. | |
774 | Initialize always_executed before processing each basic block. | |
775 | ||
34614fff MP |
776 | 2008-03-18 Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz> |
777 | ||
778 | PR target/35504 | |
779 | * config/i386/i386.c (x86_this_parameter): Calculate correct location | |
780 | of "this" pointer when "regparm = N" or "fastcall" is in effect. | |
781 | ||
c15477fb RW |
782 | 2008-03-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
783 | ||
784 | * doc/include/texinfo.tex: Update to version 2008-03-17.10. | |
785 | ||
ac5dc795 PB |
786 | 2008-03-18 Paolo Bonzini <bonzini@gnu.org> |
787 | ||
34614fff MP |
788 | * expr.c (store_expr): Assume lang_hooks.reduce_bit_field_operations |
789 | is true. | |
790 | (expand_expr_real_1) <REDUCE_BIT_FIELD>: Don't look at ignore. | |
791 | (expand_expr_real_1): Assume lang_hooks.reduce_bit_field_operations | |
792 | is true. Add "&& !ignore" condition to reduce_bit_field. Modify | |
793 | target after ignore has been set, and move there also the commputation | |
794 | of subtarget and original_target. | |
795 | * langhooks-def.h (LANG_HOOKS_REDUCE_BIT_FIELD_OPERATIONS): Delete. | |
796 | (LANG_HOOKS_INITIALIZER): Remove it. | |
797 | * langhooks.h (struct lang_hooks): Remove reduce_bit_field_operations. | |
ac5dc795 | 798 | |
b80280f2 RG |
799 | 2008-03-18 Richard Guenther <rguenther@suse.de> |
800 | ||
801 | * tree-ssa-sccvn.c (visit_reference_op_load): If the lookup | |
802 | found an expression with constants, note that in the VN for the lhs. | |
803 | * tree-ssa-pre.c (eliminate): Visit COND_EXPR statements and | |
804 | fold them to constants if possible. Run cleanup_cfg if done so. | |
805 | (execute_pre): Return todo. | |
806 | (do_pre): Likewise. | |
807 | (execute_fre): Likewise. | |
808 | * tree-ssa-forwprop.c (can_propagate_from): Allow propagation | |
809 | of constants. | |
810 | (get_prop_source_stmt): Look through pointer conversions. | |
811 | ||
2e28e797 JH |
812 | 2008-03-18 Jan Hubicka <jh@suse.cz> |
813 | ||
814 | * tree-pretty-print.c: Include predict.h. | |
815 | (dump_generic_node): Dump predictor. | |
816 | * tree.h (PREDICT_EXPR_OUTCOME, PREDICT_EXPR_PREDICTION): Update. | |
817 | * tree-gimple.c (is_gimple_stmt): Add PREDICT_EXPR. | |
818 | * gimple-low.c (lower_stmt): Likewise. | |
819 | * expr.c (expand_expr_real): Likewise. | |
820 | * predict.c (tree_bb_level_predictions): Use PREDICT_EXPRs and remove | |
821 | them. | |
822 | (build_predict_expr, build_predict_expr): New. | |
823 | * predict.h (predictor_name, build_predict_expr): Update. | |
824 | * c-typeck.c (c_finish_bc_stmt): Add prediction. | |
825 | * gimplify.c (gimplify_expr): Add PREDICT_EXPR. | |
826 | * predict.def (PRED_CONTINUE): Update hitrate. | |
827 | * tree.def (PREDICT_EXPR): Define. | |
828 | * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Mark PREDICT_EXPR; | |
829 | do not handle BIND_EXPR. | |
830 | * tree-inline.c (estimate_num_insns_1): PREDICT_EXPR is free. | |
831 | * tree-cfg.c (verify_gimple_stmt): PREDICT_EXPR is valid. | |
832 | * tree-ssa-operands.c (get_expr_operands): PREDICT_EXPR takes no | |
833 | operands. | |
834 | ||
52f1c7ed MM |
835 | 2008-03-18 Michael Matz <matz@suse.de> |
836 | ||
837 | * gcov-io.h (__gcov_merge_ior, __gcov_fork): Mark hidden. | |
838 | ||
c8ae0bec RG |
839 | 2008-03-18 Richard Guenther <rguenther@suse.de> |
840 | ||
841 | * tree-gimple.h (is_gimple_invariant_address): Declare. | |
842 | (is_gimple_constant): Likewise. | |
843 | * tree-gimple.c (is_gimple_constant): New function. | |
844 | (is_gimple_invariant_address): Likewise. | |
845 | (is_gimple_min_invariant): Implement in terms of is_gimple_constant | |
846 | and is_gimple_invariant_address. | |
847 | * tree-ssa-loop-niter.c (expand_simple_operations): Revert | |
848 | previous change. | |
849 | * tree-data-ref.c (get_references_in_stmt): A SSA_NAME is not | |
850 | an addressable base. | |
851 | ||
8119fc93 JJ |
852 | 2008-03-18 Jakub Jelinek <jakub@redhat.com> |
853 | ||
854 | PR middle-end/35611 | |
855 | * gimplify.c (gimplify_expr): Gimplify second operand of | |
856 | OMP_ATOMIC_LOAD. | |
857 | ||
c4e5b5a8 RG |
858 | 2008-03-17 Richard Guenther <rguenther@suse.de> |
859 | ||
860 | PR tree-optimization/19637 | |
861 | * fold-const.c (fold_unary): Remove restrictions of removing | |
862 | intermediate pointer-conversions (P2)(P1)P0. | |
863 | * tree-ssa-ccp.c (maybe_fold_stmt_addition): Recover from | |
864 | conversion to void pointer. | |
865 | (get_maxval_strlen): Handle addresses of the form &(*p)[0]. | |
866 | ||
fcb9237b JW |
867 | 2008-03-16 James E. Wilson <wilson@tuliptree.org> |
868 | ||
869 | PR debug/31510 | |
870 | * dbxout.c (dbxout_expand_expr, case VAR_DECL): Return NULL for | |
871 | emulated thread local variables. | |
872 | ||
461f8762 RG |
873 | 2008-03-16 Richard Guenther <rguenther@suse.de> |
874 | ||
875 | PR middle-end/35607 | |
876 | * tree-ssa-loop-niter.c (expand_simple_operations): Do not | |
877 | expand TREE_INVARIANT operations that are not gimple invariant. | |
878 | ||
2a31c49c HPN |
879 | 2008-03-16 Hans-Peter Nilsson <hp@axis.com> |
880 | ||
881 | * doc/extend.texi (Alignment): Say that the ABI controls | |
882 | the __alignof__ for non-strict-alignment targets rather | |
883 | than being a recommendation. | |
884 | ||
80efdb6a PB |
885 | 2008-03-15 Paul Brook <paul@codesourcery.com> |
886 | ||
887 | * config/arm/arm.c (arm_unwind_emit): Suppress unused unwinding | |
888 | annotations. | |
889 | (arm_output_fn_unwind): Mark functions that can not be unwound. | |
890 | ||
ff069900 PB |
891 | 2008-03-15 Paul Brook <paul@codesourcery.com> |
892 | ||
893 | * config/arm/arm.c (arm_rtx_costs_1): Add costs for ARMv6 value | |
894 | extension instructions. | |
895 | ||
87e1e42b RG |
896 | 2008-03-15 Richard Guenther <rguenther@suse.de> |
897 | ||
898 | * tree-ssa-ccp.c (ccp_fold): Also read from constant values | |
899 | and fold constant aggregate refs. | |
900 | (fold_const_aggregate_ref): Handle string constants | |
901 | and constructors in ARRAY_REFs. Handle INDIRECT_REF. | |
902 | (evaluate_stmt): Simplify now that ccp_fold folds constant | |
903 | aggregate refs. | |
904 | ||
ef87d898 PB |
905 | 2008-03-15 Paul Brook <paul@codesourcery.com> |
906 | ||
907 | * config/arm/arm.md (insv): Use gen_insv_t2 and gen_insv_zero. | |
908 | (extzv): Use gen_extzv_t2. | |
909 | (insv_t2, insv_zero, extv, extzv_t2): New patterns. | |
910 | ||
ed97ddc6 RG |
911 | 2008-03-15 Richard Guenther <rguenther@suse.de> |
912 | ||
913 | * tree-ssa-ccp.c (get_symbol_constant_value): Export. | |
914 | (fold_const_aggregate_ref): Likewise. | |
915 | (get_value): Return NULL if we don't have any values. | |
916 | (ccp_finalize): Set const_val to NULL after freeing it. | |
917 | * tree-flow.h (get_symbol_constant_value): Declare. | |
918 | (fold_const_aggregate_ref): Likewise. | |
919 | * tree-ssa-sccvn.c (try_to_simplify): Use them. | |
920 | ||
1fd89060 RG |
921 | 2008-03-15 Richard Guenther <rguenther@suse.de> |
922 | ||
923 | PR middle-end/35593 | |
924 | * tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Make sure | |
925 | to not produce negative array indices if not allowed. Add | |
926 | parameter to indicate that. | |
927 | (maybe_fold_offset_to_component_ref): Allow negative array | |
928 | indices only for the first member of a structure. | |
929 | (maybe_fold_offset_to_reference): Allow negative array indices. | |
930 | (maybe_fold_stmt_addition): Likewise. | |
931 | ||
693092fb | 932 | 2008-03-15 Bjoern Haase <bjoern.m.haase@web.de> |
cd7e0bd4 | 933 | Anatoly Sokolov <aesok@post.ru> |
693092fb BH |
934 | |
935 | * gcc/gcc/config/avr/avr.c (avr_arch_types): Add avr6 entry. | |
936 | (avr_arch): Add ARCH_AVR6. | |
937 | (avr_mcu_types): Add 'atmega2560' and 'atmega2561' entry. | |
938 | (initial_elimination_offset): Initialize and use 'avr_pc_size' | |
939 | instead of fixed value 2. | |
940 | (print_operand_address): Use gs() asm specifier instead of pm(). | |
941 | (avr_assemble_integer): (Ditto.). | |
942 | (avr_output_addr_vec_elt): (Ditto.). | |
943 | (print_operand): Handle "!" code. | |
944 | * gcc/gcc/config/avr/avr.h (TARGET_CPU_CPP_BUILTINS): Add | |
945 | __AVR_3_BYTE_PC__, __AVR_2_BYTE_PC__ and __AVR_HAVE_JMP_CALL__. | |
946 | (AVR_HAVE_EIJMP_EICALL): Define. | |
947 | (AVR_3_BYTE_PC): Redefine. | |
948 | (AVR_2_BYTE_PC): (Ditto.). | |
949 | (PRINT_OPERAND_PUNCT_VALID_P): Add '!' code. | |
950 | (LINK_SPEC): Add atmega2560 and atmega2561. | |
951 | (CRT_BINUTILS_SPEC): Add atmega2560 (crtm2560.o) and atmega2561 | |
952 | (crtm2561.o). | |
953 | * gcc/gcc/config/avr/avr.md (call_insn): Use eicall instead of icall | |
954 | for 3 byte PC devices. | |
955 | (call_value_insn): (Ditto.). | |
956 | (*tablejump_enh): Use eijmp instead of ijmp for 3 byte PC devices. | |
957 | (indirect_jump): Use only for for 2 byte PC devices. | |
958 | (*tablejump): (Ditto.). | |
959 | (*indirect_jump_avr6): Add insn. | |
960 | (*tablejump_rjmp): Don't use for 3 byte PC devices. | |
961 | * gcc/gcc/config/avr/libgcc.S (__prologue_saves__): Use eijmp | |
962 | instead of ijmp for 3 byte PC devices. | |
963 | (__tablejump2__): (Ditto.). | |
964 | * gcc/gcc/config/avr/t-avr (MULITLIB_OPTIONS): Add avr6 architecture. | |
965 | (MULITLIB_DIRNAMES): (Ditto.). | |
966 | (MULTILIB_MATCHES): Add atmega2560 and atmega2561 to list. | |
967 | ||
ab555a5b UB |
968 | 2008-03-15 Uros Bizjak <ubizjak@gmail.com> |
969 | ||
970 | * config/i386/mmx.md ("sse2_umulv1siv2di3"): Rename from | |
971 | "sse2_umulsidi3". Use V1DI mode for operand 0. | |
972 | ("mmx_psadbw"): Use V1DI mode for operand 0. | |
973 | * config/i386/i386-modes.def (V1SI): New vector mode. | |
974 | * config/i386/i386.c (struct builtin_description) | |
975 | [IX86_BUILTIN_PMULUDQ]: Use CODE_FOR_sse2_umulv1siv1di3. | |
976 | (v1di_ftype_v8qi_v8qi): Rename from di_ftype_v8qi_v8qi. | |
977 | (v1di_ftype_v2si_v2si): Rename from di_ftype_v2si_v2si. | |
978 | (ix86_init_mmx_sse_builtins) [__builtin_ia32_psadbw]: Use | |
979 | v1di_ftype_v8qi_v8qi type. | |
980 | [__builtin_ia32_pmuludq]: Use v1di_ftype_v2si_v2si type. | |
981 | ||
982 | * doc/extend.texi (X86 Built-in Functions) [__builtin_ia32_psadbw, | |
983 | __builtin_ia32_pmuludq]: Fix the mode of return value. | |
984 | ||
8f78ed0e RG |
985 | 2008-03-15 Richard Guenther <rguenther@suse.de> |
986 | ||
987 | PR middle-end/35595 | |
988 | * tree-ssa-pre.c (bitmap_find_leader): Handle expression | |
989 | being a PHI_NODE. | |
990 | ||
66e58b33 BW |
991 | 2008-03-14 Bob Wilson <bob.wilson@acm.org> |
992 | ||
993 | * doc/invoke.texi (Option Summary, Xtensa Options): Document | |
994 | -mserialize-volatile and -mno-serialize-volatile Xtensa options. | |
995 | * config/xtensa/xtensa.c (print_operand): Do not emit MEMW instructions | |
996 | unless TARGET_SERIALIZE_VOLATILE is enabled. | |
997 | * config/xtensa/xtensa.md (*lsiu, *ssiu): Likewise. | |
998 | * config/xtensa/xtensa.h (TARGET_DEFAULT): Add MASK_SERIALIZE_VOLATILE. | |
999 | * config/xtensa/xtensa.opt (mserialize_volatile): New option. | |
1000 | ||
896c8b96 RG |
1001 | 2008-03-14 Richard Guenther <rguenther@suse.de> |
1002 | ||
1003 | PR tree-optimization/34172 | |
1004 | * tree-flow.h (refs_may_alias_p): Declare. | |
1005 | (get_single_def_stmt): Likewise. | |
1006 | (get_single_def_stmt_from_phi): Likewise. | |
1007 | (get_single_def_stmt_with_phi): Likewise. | |
1008 | * tree-dfa.c (refs_may_alias_p): New function. | |
1009 | (get_single_def_stmt): Likewise. | |
1010 | (get_single_def_stmt_from_phi): Likewise. | |
1011 | (get_single_def_stmt_with_phi): Likewise. | |
1012 | * tree-ssa-sccvn.c (get_def_ref_stmt_vuses): New function. | |
1013 | (vn_reference_lookup_1): New helper function. | |
1014 | (vn_reference_lookup): Walk the virtual use-def chain to | |
1015 | continue searching for a match if the def does not alias the | |
1016 | reference we are looking for. | |
1017 | ||
75dd1ae2 DE |
1018 | 2008-03-14 David Edelsohn <edelsohn@gnu.org> |
1019 | ||
1020 | * doc/install.texi (Binaries): Remove UCLA archive. Add HVCC | |
1021 | archive and Perzl. Update The Written Word listing. | |
1022 | ||
3d45dd59 RG |
1023 | 2008-03-14 Richard Guenther <rguenther@suse.de> |
1024 | ||
1025 | PR tree-optimization/34043 | |
1026 | PR tree-optimization/33989 | |
1027 | * tree-ssa-pre.c (execute_pre): Allow SCCVN to do insertion | |
1028 | when doing FRE. | |
1029 | (bitmap_find_leader): Use extra argument to verify dominance | |
1030 | relationship inside a basic-block. | |
1031 | (can_PRE_operation): Add VIEW_CONVERT_EXPR. | |
1032 | (find_leader_in_sets): Adjust. | |
1033 | (create_component_ref_by_pieces): Take extra argument for | |
1034 | dominance check, handle lookup failures. | |
1035 | (find_or_generate_expression): Likewise. | |
1036 | (create_expression_by_pieces): Likewise. | |
1037 | (insert_into_preds_of_block): Adjust. | |
1038 | (create_value_expr_from): If asked for, verify all operands | |
1039 | are in the blocks AVAIL_OUT set. | |
1040 | (make_values_for_stmt): Check for SSA_NAMEs that are life | |
1041 | over an abnormal edge. | |
1042 | (compute_avail): Remove such check. | |
1043 | (do_SCCVN_insertion): New function. | |
1044 | (eliminate): If we do not find a leader suitable for replacement | |
1045 | insert a replacement expression from SCCVN if available. | |
1046 | * tree-ssa-sccvn.h (run_scc_vn): Update prototype. | |
1047 | (struct vn_ssa_aux): Add needs_insertion flag. | |
1048 | * tree-ssa-sccvn.c (may_insert): New global flag. | |
1049 | (copy_reference_ops_from_ref): Value-number union member access | |
1050 | based on its size, not type and member if insertion is allowed. | |
1051 | (visit_reference_op_load): For a weak match from union type | |
1052 | punning lookup a view-converted value and insert a SSA_NAME | |
1053 | for that value if that is not found. | |
1054 | (visit_use): Make dumps shorter. Do not disallow value numbering | |
1055 | SSA_NAMEs that are life over an abnormal edge to constants. | |
1056 | (free_scc_vn): Release inserted SSA_NAMEs. | |
1057 | (run_scc_vn): New flag to specify whether insertion is allowed. | |
1058 | Process SSA_NAMEs in forward order. | |
1059 | * tree-ssa-loop-im.c (for_each_index): Handle invariant | |
1060 | ADDR_EXPRs inside VIEW_CONVERT_EXPR. | |
1061 | * fold-const.c (fold_unary): Fold VIEW_CONVERT_EXPRs from/to | |
1062 | pointer type to/from integral types that do not change the | |
1063 | precision to regular conversions. | |
1064 | ||
52eaae97 UB |
1065 | 2008-03-13 Uros Bizjak <ubizjak@gmail.com> |
1066 | ||
1067 | * doc/extend.texi (X86 Built-in Functions) [__builtin_ia32_psll?, | |
1068 | __builtin_ia32_psrl?, __builtin_ia32_psra?, __builtin_ia32_psll?i, | |
1069 | __builtin_ia32_psrl?i, __builtin_ia32_psra?i, __builtin_ia32_psll?128, | |
1070 | __builtin_ia32_psrl?128, __builtin_ia32_psra?128]: Fix the mode of | |
75d8b30e UB |
1071 | input arguments and the mode of return value. Built-in functions |
1072 | that operate on whole 64-bit MMX register now use V1DI mode. | |
52eaae97 | 1073 | |
5f5f0635 AD |
1074 | 2008-03-13 Alon Dayan <alond@il.ibm.com> |
1075 | Olga Golovanevsky <olga@il.ibm.com> | |
1076 | ||
1077 | PR tree-optimization/35041 | |
1078 | * ipa-struct-reorg.c (find_pos_in_stmt_1): Add another option | |
1079 | to locate the right position in a statement. | |
1080 | ||
1359ef39 UB |
1081 | 2008-03-13 Uros Bizjak <ubizjak@gmail.com> |
1082 | ||
1083 | PR target/34000 | |
1084 | PR target/35553 | |
1085 | * config/i386/xmmintrin.h: Change all static inline functions to | |
1086 | extern inline and add __gnu_inline__ attribute. | |
1087 | * config/i386/bmintrin.h: Ditto. | |
1088 | * config/i386/smmintrin.h: Ditto. | |
1089 | * config/i386/tmmintrin.h: Ditto. | |
1090 | * config/i386/mmintrin-common.h: Ditto. | |
1091 | * config/i386/ammintrin.h: Ditto. | |
1092 | * config/i386/emmintrin.h: Ditto. | |
1093 | * config/i386/pmmintrin.h: Ditto. | |
1094 | * config/i386/mmintrin.h: Ditto. | |
1095 | * config/i386/mm3dnow.h: Ditto. | |
1096 | ||
d0fb20be JJ |
1097 | 2008-03-13 Jakub Jelinek <jakub@redhat.com> |
1098 | ||
1099 | PR middle-end/35185 | |
1100 | * omp-low.c (lower_regimplify, init_tmp_var, save_tmp_var): Removed. | |
1101 | (lower_omp_2): New function. | |
1102 | (lower_omp_1, lower_omp): Rewritten. | |
1103 | ||
20cef83a DS |
1104 | 2008-03-13 Danny Smith <dannysmith@users.sourceforge.net> |
1105 | ||
1106 | PR 35054 | |
1107 | * doc/extend.texi (Structure-Packing Pragmas): Replace "Win32" | |
1108 | with the phrase "Microsoft Windows compilers". | |
1109 | (Push/Pop Macro Pragmas): New subsection. Document | |
1110 | #pragma push_macro and pragma pop_macro. | |
1111 | ||
5dea0c19 PB |
1112 | 2008-03-12 Paul Brook <paul@codesourcery.com> |
1113 | ||
1114 | * config/arm/arm.c (output_move_double): Prefer LDRD to LDM. | |
1115 | ||
d1b85efb PB |
1116 | 2008-03-12 Paul Brook <paul@codesourcery.com> |
1117 | ||
1118 | * config/arm/thumb2.md: Extend peephole to cover 3-arg subs. | |
1119 | (thumb2_alusi3_short): Exclude PLUS and MINUS. | |
1120 | (thumb2_addsi_shortim): Rename ... | |
1121 | (thumb2_addsi_short): ... to this. Allow register operands. | |
1122 | (thumb2_subsi_short): New pattern. | |
1123 | (thumb2_one_cmplsi2_short, | |
1124 | thumb2_negsi2_short): New patterns and peepholes. | |
1125 | ||
09754904 PB |
1126 | 2008-03-12 Paul Brook <paul@codesourcery.com> |
1127 | ||
09754904 PB |
1128 | * config/arm/arm.c (arm_size_rtx_costs): Use ARM costs for Thumb-2. |
1129 | ||
a7438d6d UB |
1130 | 2008-03-12 Uros Bizjak <ubizjak@gmail.com> |
1131 | ||
1132 | * config/i386/i386.md (int_cond): New code iterator. | |
1133 | (fp_cond): Ditto. | |
1134 | ("s<code>"): Macroize expander from seq, sne, sgt, sgtu, slt, sltu, | |
1135 | sge, sgeu, sle and sleu expanders usign int_cond code iterator. | |
1136 | ("s<code>"): Macroize expander from sunordered, sordered, suneq, sunge, | |
1137 | sungt, sunle, sunlt and sltgt expanders usign fp_cond code iterator. | |
1138 | ("b<code>"): Macroize expander from beq, bne, bgt, bgtu, blt, bltu, | |
1139 | bge, bgeu, ble and bleu expanders usign int_cond code iterator. | |
1140 | ("b<code>"): Macroize expander from bunordered, bordered, buneq, bunge, | |
1141 | bungt, bunle, bunlt and bltgt expanders usign fp_cond code iterator. | |
1142 | ||
954954d1 PB |
1143 | 2008-03-12 Paul Brook <paul@codesourcery.com> |
1144 | ||
1145 | * config/arm/arm.c (use_return_insn): Use offsets->saved_regs_mask | |
1146 | instead of {arm,thumb}_compute_save_reg_mask. | |
1147 | (output_return_instruction): Ditto. | |
1148 | (thumb_unexpanded_epilogue): Ditto. | |
1149 | (thumb1_expand_prologue): Ditto. | |
1150 | (thumb1_output_function_prologue): Ditto. | |
1151 | (arm_set_return_address): Ditto. | |
1152 | (thumb_set_return_address): Ditto. | |
1153 | (arm_get_frame_offsets): Set offsets->saved_regs_mask. Push extra | |
1154 | regs to achieve stack alignment. | |
1155 | (thumb1_compute_save_reg_mask): Fix compiler warning. | |
1156 | (arm_output_epilogue): Use offsets->saved_regs_mask. | |
1157 | Adjust stack pointer by poping call clobered registers. | |
1158 | (arm_expand_prologue): Use offsets->saved_regs_mask. | |
1159 | Adjust stack pointer by pushing extra registers. | |
d0fb20be | 1160 | * config/arm.h (arm_stack_offsets): Add saved_regs_mask. |
954954d1 | 1161 | |
c83bd37c PB |
1162 | 2008-03-12 Paolo Bonzini <bonzini@gnu.org> |
1163 | ||
1164 | PR tree-opt/35422 | |
1165 | * fold-const.c (fold_unary) <NOP_EXPR>: Distribute a narrowing | |
1166 | conversion to the operands of a multiplication. | |
1167 | ||
67514449 RG |
1168 | 2008-03-12 Richard Guenther <rguenther@suse.de> |
1169 | ||
1170 | * Makefile.in (OBJS-common): Add tree-ssa-phiprop.o | |
1171 | (tree-ssa-phiprop.o): Copy dependencies from tree-ssa-forwprop.o. | |
1172 | * timevar.def (TV_TREE_PHIPROP): Add. | |
1173 | * tree-ssa-phiprop.c: Split from tree-ssa-forwprop.c, added | |
1174 | pass description. Use TV_TREE_PHIPROP. | |
1175 | * tree-ssa-forwprop.c: Remove phiprop code. | |
1176 | ||
7c8f7639 JJ |
1177 | 2008-03-12 Jakub Jelinek <jakub@redhat.com> |
1178 | ||
1179 | PR middle-end/35549 | |
1180 | * omp-low.c (maybe_lookup_decl): Constify first argument. | |
1181 | (use_pointer_for_field): Change last argument from bool to | |
1182 | omp_context *. Disallow shared copy-in/out in nested | |
1183 | parallel if decl is shared in outer parallel too. | |
1184 | (build_outer_var_ref, scan_sharing_clauses, | |
1185 | lower_rec_input_clauses, lower_copyprivate_clauses, | |
1186 | lower_send_clauses, lower_send_shared_vars): Adjust callers. | |
1187 | ||
62878103 VK |
1188 | 2008-03-12 Victor Kaplansky <victork@il.ibm.com> |
1189 | Ira Rosen <irar@il.ibm.com> | |
1190 | ||
1191 | * tree-vectorizer.c (free_stmt_vec_info): New function. | |
1192 | (destroy_loop_vec_info): Move code to free_stmt_vec_info(). | |
1193 | Call free_stmt_vec_info(). Free LOOP_VINFO_STRIDED_STORES.. | |
1194 | * tree-vectorizer.h (free_stmt_vec_info): Declare. | |
1195 | * tree-vect-transform.c (vectorizable_conversion): Free | |
1196 | vec_oprnds0 if it was allocated. | |
1197 | (vect_permute_store_chain): Remove unused VECs. | |
1198 | (vectorizable_store): Free VECs that are allocated in the.. | |
1199 | function. | |
1200 | (vect_transform_strided_load, vectorizable_load): Likewise. | |
1201 | (vect_remove_stores): Simplify the code. | |
1202 | (vect_transform_loop): Move code to vect_remove_stores(). | |
1203 | Call vect_remove_stores() and free_stmt_vec_info(). | |
1204 | ||
9dbd54be JDA |
1205 | 2008-03-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1206 | ||
1207 | * pa.h (TARGET_LONG_PIC_SDIFF_CALL): Conditionalize define on | |
1208 | TARGET_HPUX. Revise comment. | |
1209 | (TARGET_LONG_PIC_PCREL_CALL): Revise comment. | |
1210 | * pa.c (output_call): Update for revised TARGET_LONG_PIC_SDIFF_CALL. | |
1211 | Use sr4 variant of `be' instruction when not generating PIC code. | |
1212 | (attr_length_call): Adjust for above change. | |
1213 | ||
76a7d3ca AP |
1214 | 2008-03-11 Andrew Pinski <andrew_pinski@playstation.sony.com> |
1215 | ||
1216 | * ipa-reference.c (static_execute): Remove module_statics_const and | |
1217 | associated setting code. | |
1218 | ||
40cca4f9 UB |
1219 | 2008-03-11 Uros Bizjak <ubizjak@gmail.com> |
1220 | ||
1221 | PR target/35540 | |
1222 | * config/i386/i386.md (paritysi2, paritydi2): Use register_operand | |
1b1d8f88 UB |
1223 | predicate for operand 1. |
1224 | (paritysi2_cmp): Use register_operand predicate for operand 2. | |
40cca4f9 UB |
1225 | Use earlyclobber modifier for operand 1. Remove support for |
1226 | memory operands. | |
1b1d8f88 | 1227 | (paritydi2_cmp): Use register_operand predicate for operand 3. |
40cca4f9 UB |
1228 | Use earlyclobber modifier for operand 1. Remove support for |
1229 | memory operands. | |
1230 | ||
ec6237e4 | 1231 | 2008-03-11 Paul Brook <paul@codesourcery.com> |
40cca4f9 | 1232 | Vladimir Prus <vladimir@codesourcery.com> |
ec6237e4 PB |
1233 | |
1234 | * config/arm/arm.c (use_return_insn): Check TARGET_APCS_FRAME. | |
1235 | (arm_compute_save_reg0_reg12_mask): Always | |
1236 | check if register 11 must be saved. Always safe hard frame pointer | |
1237 | when frame_pointer_needeed. | |
1238 | (arm_compute_save_reg_mask): Save IP and PC | |
1239 | only with apcs frames. | |
1240 | (arm_output_epilogue): Adjust Thumb2 codepath to | |
1241 | be also invoked and work for ARM non-apcs frames. | |
1242 | (arm_expand_prologue): Don't bother saving IP | |
1243 | for non-apcs frame, since it's not clobbered by | |
1244 | prologue code. Implement non-apcs frame | |
1245 | layout. | |
1246 | ||
2f6025a1 PB |
1247 | 2008-03-11 Paolo Bonzini <bonzini@gnu.org> |
1248 | ||
1249 | PR rtl-optimization/35281 | |
1250 | * expr.c (convert_move): Use a new pseudo for the intermediate | |
1251 | from_mode->word_mode result. | |
1252 | ||
30e257e5 PB |
1253 | 2008-03-11 Paolo Bonzini <bonzini@gnu.org> |
1254 | ||
ec6237e4 PB |
1255 | * langhooks-def.h (LANG_HOOKS_CLEAR_BINDING_STACK): Delete. |
1256 | * langhooks.h (struct lang_hooks): Delete clear_binding_stack member. | |
1257 | * toplev.c (compile_file): Don't call it. | |
30e257e5 | 1258 | |
ab669042 UB |
1259 | 2008-03-11 Uros Bizjak <ubizjak@gmail.com> |
1260 | ||
1261 | PR middle-end/35526 | |
1262 | * expr.c (store_expr): Call emit_block_move if the mode | |
1263 | of "temp" RTX is BLKmode. | |
1264 | ||
1ffe34d9 | 1265 | 2008-03-11 Andrew Pinski <andrew_pinski@playstation.sony.com> |
ab669042 | 1266 | Richard Guenther <rguenther@suse.de> |
1ffe34d9 AP |
1267 | |
1268 | PR tree-optimization/31358 | |
1269 | * tree-ssa-loop-manip.c (create_iv): Call force_gimple_operand for | |
1270 | the step with a NULL_TREE. | |
1271 | * tree-ssa-loop-ivopts.c (find_bivs): Convert the step | |
1272 | to sizetype if type is a pointer type. | |
1273 | (add_candidate_1): Don't convert the base and step to | |
1274 | the generic type if the orginal type is a pointer type. | |
1275 | (add_iv_value_candidates): Use sizetype for the step | |
1276 | if type is a pointer type. | |
1277 | (cand_value_at): Likewise. | |
1278 | * tree-ssa-address.c (add_to_parts): Use POINTER_PLUS_EXPR | |
1279 | for pointer types. | |
1280 | * tree-affine.c (tree_to_aff_combination <POINTER_PLUS_EXPR>): | |
1281 | Don't convert the tem affine to the type. | |
1282 | (add_elt_to_tree): Use sizetype for the step if a pointer. | |
1283 | Use POINTER_PLUS_EXPR for pointers. | |
1284 | (aff_combination_to_tree): Use sizetype for the step if a | |
1285 | pointer. | |
1286 | ||
dd6d5236 VM |
1287 | 2008-03-10 Vladimir Makarov <vmakarov@redhat.com> |
1288 | ||
1289 | * config/i386/sse.md (ssse3_pmaddubswv8hi3, ssse3_pmaddubswv4hi3): | |
1290 | Remove commutativity hint. | |
1291 | ||
8b46837c JJ |
1292 | 2008-03-10 Jakub Jelinek <jakub@redhat.com> |
1293 | ||
5df27e4a JJ |
1294 | PR c/35438 |
1295 | PR c/35439 | |
1296 | * c-parser.c (c_parser_omp_threadprivate): Don't add vars with | |
1297 | errorneous type. Check that v is a VAR_DECL. | |
1298 | ||
8b46837c JJ |
1299 | PR middle-end/35099 |
1300 | * tree-cfg.c (new_label_mapper): Update cfun->last_label_uid. | |
1301 | ||
725c2d32 L |
1302 | 2008-03-10 H.J. Lu <hongjiu.lu@intel.com> |
1303 | ||
1304 | PR tree-optimization/35494 | |
1305 | * tree-ssa-ccp.c (get_symbol_constant_value): Check if value | |
1306 | may be overriden at link and run time. | |
1307 | ||
3ba404df RG |
1308 | 2008-03-10 Richard Guenther <rguenther@suse.de> |
1309 | ||
1310 | PR tree-optimization/34677 | |
1311 | * tree-ssa-pre.c (modify_expr_node_pool): Remove. | |
1312 | (poolify_tree): Likewise. | |
1313 | (modify_expr_template): Likewise. | |
1314 | (poolify_modify_stmt): Likewise. | |
1315 | (insert_fake_stores): Handle all component-ref style stores | |
1316 | in addition to INDIRECT_REF. Also handle complex types. | |
1317 | Do not poolify the inserted load. | |
1318 | (realify_fake_stores): Do not rebuild the tree but only | |
1319 | make it a SSA_NAME copy. | |
1320 | (init_pre): Remove initialzation of modify_expr_template. | |
1321 | Do not allocate modify_expr_node_pool. | |
1322 | (fini_pre): Do not free modify_expr_node_pool. | |
1323 | ||
97e38a92 PB |
1324 | 2008-03-10 Paul Brook <paul@codesourcery.com> |
1325 | ||
1326 | * config/arm/arm.md (UNSPEC_STACK_ALIGN, UNSPEC_PIC_OFFSET): Renumber | |
1327 | to avoid conflicts. | |
1328 | ||
bd4dc3cd | 1329 | 2008-03-10 Paul Brook <paul@codesourcery.com> |
ab669042 | 1330 | Mark Shinwell <shinwell@codesourcery.com> |
bd4dc3cd | 1331 | |
bd4dc3cd PB |
1332 | * config/arm/cortex-r4.md: New. |
1333 | * config/arm/thumb2.md (divsi3, udivsi3): Annotate with | |
1334 | insn attributes. | |
1335 | * config/arm/arm.md: Include cortex-r4.md. | |
1336 | (insn): Add smmls, sdiv and udiv values. | |
1337 | (generic_sched): Don't use generic scheduling for Cortex-R4. | |
1338 | (arm_issue_rate): New function. | |
1339 | (TARGET_SCHED_ISSUE_RATE): Define. | |
1340 | ||
9886a872 SP |
1341 | 2008-03-10 Sebastian Pop <sebastian.pop@amd.com> |
1342 | ||
1343 | * doc/invoke.texi (-ftree-loop-distribution): Add an example. | |
1344 | ||
e5eff6a3 RG |
1345 | 2008-03-10 Richard Guenther <rguenther@suse.de> |
1346 | ||
1347 | * tree-ssa-pre.c (get_sccvn_value): Simplify. | |
1348 | (compute_avail): Do not add stmt uses to AVAIL_OUT. | |
1349 | ||
0d4c700c PB |
1350 | 2008-03-10 Paolo Bonzini <bonzini@gnu.org> |
1351 | ||
1352 | * langhooks-def.h (LANG_HOOKS_REDUCE_BIT_FIELD_OPERATIONS): | |
1353 | Set default to true. | |
1354 | ||
802e3f8c RW |
1355 | 2008-03-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
1356 | ||
1357 | * c.opt (Wsynth): Deprecate. | |
1358 | * doc/invoke.texi (Option Summary, Warning Options): Document | |
1359 | -Wno-format-contains-nul. | |
1360 | ||
be3d4789 UB |
1361 | 2008-03-09 Uros Bizjak <ubizjak@gmail.com> |
1362 | ||
1363 | PR target/35496 | |
3b509e33 | 1364 | * config/i386/i386.c (ix86_constant_alignment): Compute alignment using |
be3d4789 UB |
1365 | ALIGN_MODE_128 for VECTOR_CST and INTEGER_CST in addition to REAL_CST. |
1366 | ||
e83a75a7 IR |
1367 | 2008-03-09 Ira Rosen <irar@il.ibm.com> |
1368 | ||
1369 | * config/rs6000/rs6000.c (builtin_description): Rename vector | |
1370 | left shift operations. | |
1371 | * config/rs6000/altivec.md (UNSPEC_VSL): Remove. | |
1372 | (altivec_vsl<VI_char>): Rename to ... | |
1373 | (ashl<mode>3): ... new name. | |
1374 | (mulv4sf3, mulv4si3, negv4sf2): Replace gen_altivec_vslw with | |
1375 | gen_ashlv4si3. | |
1376 | (absv4sf2): Convert to use ashift:V4SI instead of UNSPEC_VSL. | |
1377 | ||
fc9161c1 RG |
1378 | 2008-03-08 Richard Guenther <rguenther@suse.de> |
1379 | ||
1380 | * coverage.h (tree_coverage_counter_addr): Declare. | |
1381 | * coverage.c (tree_coverage_counter_addr): New function. | |
1382 | * tree-profile.c (tree_gen_edge_profiler): Unshare counter | |
1383 | before using again. | |
1384 | (tree_gen_pow2_profiler): Use tree_coverage_counter_addr. | |
1385 | (tree_gen_one_value_profiler): Likewise. | |
1386 | (tree_gen_ic_profiler): Likewise. | |
1387 | (tree_gen_average_profiler): Likewise. | |
1388 | (tree_gen_ior_profiler): Likewise. | |
1389 | ||
49a1fb2d RG |
1390 | 2008-03-08 Richard Guenther <rguenther@suse.de> |
1391 | ||
1392 | * tree-ssa-sccvn.h (vn_binary_op_lookup): Remove. | |
1393 | (vn_binary_op_insert): Likewise. | |
1394 | (vn_unary_op_lookup): Likewise. | |
1395 | (vn_unary_op_insert): Likewise. | |
1396 | (vn_nary_op_lookup): Declare. | |
1397 | (vn_nary_op_insert): Likewise. | |
1398 | * tree-ssa-sccvn.c (struct vn_tables_s): Merge unary | |
1399 | and binary hashes, use a single obstack for unary_op_pool | |
1400 | and binary_op_pool. | |
1401 | (struct vn_binary_op_s, struct vn_unary_op_s): Replace with | |
1402 | a single struct vn_nary_op_s. Store tree code length and | |
1403 | a variable number of operands. | |
1404 | (struct vn_reference_op_struct): Remove unused op2. | |
1405 | (vn_reference_op_eq): Do not compare op2. | |
1406 | (vn_reference_op_compute_hash): Do not compute hash of op2. | |
1407 | (vn_unary_op_hash, vn_binary_op_hash): Replace with vn_nary_op_hash. | |
1408 | (vn_unary_op_compute_hash, vn_binary_op_compute_hash): Replace | |
1409 | with vn_nary_op_compute_hash. | |
1410 | (vn_unary_op_eq, vn_binary_op_eq): Replace with vn_nary_op_eq. | |
1411 | (vn_unary_op_lookup, vn_binary_op_lookup): Replace with | |
1412 | vn_nary_op_lookup. | |
1413 | (vn_unary_op_insert, vn_binary_op_insert): Replace with | |
1414 | vn_nary_op_insert. | |
1415 | (visit_unary_op): Call nary functions. | |
1416 | (visit_binary_op): Likewise. | |
1417 | (process_scc): Adjust for struct vn_tables_s changes. | |
1418 | (allocate_vn_table): Likewise. | |
1419 | (free_vn_table): Likewise. | |
1420 | * tree-vn.c (vn_add): Call nary functions. | |
1421 | (vn_lookup): Likewise. | |
1422 | ||
2725b75c JJ |
1423 | 2008-03-08 Jakub Jelinek <jakub@redhat.com> |
1424 | ||
1425 | PR target/35498 | |
1426 | * config/rs6000/rs6000.c (rs6000_expand_compare_and_swapqhi): Shift | |
1427 | wdst back after sync_compare_and_swapqhi_internal. | |
1428 | ||
10a97ae6 UB |
1429 | 2008-03-08 Uros Bizjak <ubizjak@gmail.com> |
1430 | ||
1431 | PR target/22152 | |
1432 | * config/i386/i386-modes.def (V1DI): New vector mode. | |
1433 | * config/i386/i386.h (VALID_MMX_REG_MODE): Add V1DImode. | |
1434 | * config/i386/mmx.md (MMXMODEI8): New mode iterator. | |
1435 | (MMXMODE248): Ditto. | |
1436 | (MMXMODE): Add V1DI mode. | |
1437 | (mmxvecsize): Change DI mode to V1DI mode. | |
1438 | ("mov<mode>): Use MMXMODEI8 mode iterator. | |
1439 | ("*mov<mode>_internal_rex64"): Ditto. | |
1440 | ("*mov<mode>_internal"): Ditto. | |
1441 | ("mmx_add<mode>3"): Ditto. Handle V1DImode for TARGET_SSE2. | |
1442 | ("mmx_sub<mode>3"): Ditto. | |
1443 | ("mmx_adddi3"): Remove insn pattern. | |
1444 | ("mmx_subdi3"): Ditto. | |
1445 | ("mmx_ashr<mode>3"): Use SImode and "yN" constraint for operand 2. | |
1446 | ("mmx_lshr<mode>3"): Ditto. Use MMXMODE248 mode iterator. | |
1447 | ("mmx_ashl<mode>3"): Ditto. | |
1448 | ("mmx_lshrdi3"): Remove insn pattern. | |
1449 | ("mmx_ashldi3"): Ditto. | |
1450 | * config/i386/i386.c (classify_argument): Handle V1DImode. | |
1451 | (function_arg_advance_32): Ditto. | |
1452 | (function_arg_32): Ditto. | |
1453 | (struct builtin_description) [IX86_BUILTIN_PADDQ]: Use | |
1454 | mmx_addv1di3 insn pattern. | |
1455 | [IX86_BUILTIN_PSUBQ]: Use mmx_subv1di3 insn pattern. | |
1456 | [IX86_BUILTIN_PSLL?, IX86_BUILTIN_PSRL?, IX86_BUILTIN_PSRA?, | |
1457 | IX86_BUILTIN_PSLL?I, IX86_BUILTIN_PSRL?I, IX86_BUILTIN_PSRA?I, | |
1458 | IX86_BUILTIN_PSLL?I128, IX86_BUILTIN_PSRL?I128, IX86_BUILTIN_PSRA?I128]: | |
1459 | Remove definitions of built-in functions. | |
1460 | (V1DI_type_node): New node. | |
1461 | (v1di_ftype_v1di_int): Ditto. | |
1462 | (v1di_ftype_v1di_v1di): Ditto. | |
1463 | (v2si_ftype_v2si_si): Ditto. | |
1464 | (v4hi_ftype_v4hi_di): Remove node. | |
1465 | (v2si_ftype_v2si_di): Ditto. | |
1466 | (ix86_init_mmx_sse_builtins): Handle V1DImode. | |
1467 | (__builtin_ia32_psll?, __builtin_ia32_psrl?, __builtin_ia32_psra?): | |
1468 | Redefine builtins using def_builtin_const with *_ftype_*_int node. | |
1469 | (__builtin_ia32_psll?i, __builtin_ia32_psrl?i, __builtin_ia32_psra?i): | |
1470 | Add new builtins using def_builtin_const. | |
1471 | (ix86_expand_builtin) [IX86_BUILTIN_PSLL?, IX86_BUILTIN_PSRL?, | |
1472 | IX86_BUILTIN_PSRA?, IX86_BUILTIN_PSLL?I, IX86_BUILTIN_PSRL?I, | |
1473 | IX86_BUILTIN_PSRA?I]: Handle builtin definitions. | |
1474 | * config/i386/mmintrin.h (__v1di): New typedef. | |
1475 | (_mm_add_si64): Cast arguments to __v1di type. | |
1476 | (_mm_sub_si64): Ditto. | |
1477 | (_mm_sll_pi16): Cast __count to __v4hi type. | |
1478 | (_mm_sll_pi32): Cast __count to __v2si type. | |
1479 | (_mm_sll_si64): Cast arguments to __v1di type. | |
1480 | (_mm_srl_pi16): Cast __count to __v4hi type. | |
1481 | (_mm_srl_pi32): Cast __count to __v2si type. | |
1482 | (_mm_srl_si64): Cast arguments to __v1di type. | |
1483 | (_mm_sra_pi16): Cast __count to __v4hi type. | |
1484 | (_mm_sra_pi32): Cast __count to __v2si type. | |
1485 | (_mm_slli_pi16): Use __builtin_ia32_psllwi. | |
1486 | (_mm_slli_pi32): Use __builtin_ia32_pslldi. | |
1487 | (_mm_slli_si64): Use __builtin_ia32_psllqi. Cast __m to __v1di type. | |
1488 | (_mm_srli_pi16): Use __builtin_ia32_psrlwi. | |
1489 | (_mm_srli_pi32): Use __builtin_ia32_psrldi. | |
1490 | (_mm_srli_si64): Use __builtin_ia32_psrlqi. Cast __m to __v1di type. | |
1491 | (_mm_srai_pi16): Use __builtin_ia32_psrawi. | |
1492 | (_mm_srai_pi32): Use __builtin_ia32_psradi. | |
1493 | * config/i386/i386.md (UNSPEC_NOP): Remove unspec definition. | |
1494 | * doc/extend.texi (X86 Built-in Functions) [__builtin_ia32_psll?, | |
1495 | __builtin_ia32_psrl?, __builtin_ia32_psra?, __builtin_ia32_psll?i, | |
1496 | __builtin_ia32_psrl?i, __builtin_ia32_psra?i]: Add new builtins. | |
1497 | ||
08c3b5b0 JM |
1498 | 2008-03-07 Joseph Myers <joseph@codesourcery.com> |
1499 | ||
1500 | * doc/include/texinfo.tex: Update to version 2008-03-07.10. | |
1501 | ||
efc05e3c PB |
1502 | 2008-03-07 Peter Bergner <bergner@vnet.ibm.com> |
1503 | ||
1504 | PR target/35373 | |
1505 | * config/rs6000/rs6000.c (rs6000_legitimize_address): Don't generate | |
1506 | reg+const addressing for Altivec modes. Don't generate reg+reg | |
1507 | addressing for TFmode or TDmode quantities. | |
1508 | ||
cf7bc668 PB |
1509 | 2008-03-07 Paolo Bonzini <bonzini@gnu.org> |
1510 | ||
1511 | * c-common.c (vector_types_convertible_p): Call langhook | |
1512 | instead of comptypes. | |
1513 | ||
b0940154 AP |
1514 | 2008-03-06 Andrew Pinski <andrew_pinski@playstation.sony.com> |
1515 | ||
1516 | PR tree-opt/35402 | |
1517 | * tree-ssa-ccp.c (get_symbol_constant_value): Handle | |
1518 | integral and scalar float variables which have a | |
1519 | NULL DECL_INITIAL. | |
1520 | ||
48081aae NF |
1521 | 2008-03-06 Nathan Froyd <froydnj@codesourcery.com> |
1522 | ||
1523 | * dwarf2out.c (dwarf2out_frame_debug_expr): Consult the | |
1524 | dwarf_register_span hook when emitting unwind information for | |
1525 | register-to-memory saves. | |
1526 | * config/rs6000/rs6000.c (spe_synthesize_frame): Delete. | |
1527 | (rs6000_frame_related): Remove call to spe_synthesize_frame. | |
1528 | ||
251923f5 JJ |
1529 | 2008-03-06 Jakub Jelinek <jakub@redhat.com> |
1530 | ||
1531 | * gimplify.c (goa_lhs_expr_p): Allow different ADDR_EXPR nodes | |
1532 | for the same VAR_DECL. | |
1533 | ||
e8645a40 TT |
1534 | 2008-03-06 Tom Tromey <tromey@redhat.com> |
1535 | ||
1536 | * treelang: Delete. | |
1537 | * doc/standards.texi (Standards): Don't mention treelang. | |
1538 | * doc/invoke.texi (Overall Options): Don't mention treelang. | |
1539 | * doc/install.texi (Prerequisites): Don't mention bison or | |
1540 | treelang. | |
1541 | (Configuration): Don't mention treelang. | |
1542 | (Building): Likewise. | |
1543 | * doc/frontends.texi (G++ and GCC): Don't mention treelang. | |
1544 | ||
97efb03a PB |
1545 | 2008-03-06 Paolo Bonzini <bonzini@gnu.org> |
1546 | ||
1547 | * simplify-rtx.c (simplify_subreg): Remove useless shifts from | |
1548 | word-extractions out of a multi-word object. | |
1549 | ||
fc0f49f3 RG |
1550 | 2008-03-06 Richard Guenther <rguenther@suse.de> |
1551 | ||
1552 | * tree.def (BIT_FIELD_REF): Constrain result type and its precision. | |
1553 | * tree-cfg.c (verify_expr): Verify BIT_FIELD_REF constraints on | |
1554 | result type and precision. | |
1555 | * expr.c (get_inner_reference): Set unsignedp based on the result | |
1556 | type of BIT_FIELD_REF. | |
1557 | * tree.h (BIT_FIELD_REF_UNSIGNED): Remove. | |
1558 | * tree-sra.c (instantiate_element): Do not set BIT_FIELD_REF_UNSIGNED. | |
1559 | (try_instantiate_multiple_fields): Likewise. Use the correct type | |
1560 | for BIT_FIELD_REF. | |
1561 | (sra_build_assignment): Likewise. | |
1562 | (sra_build_elt_assignment): Likewise. | |
1563 | (sra_explode_bitfield_assignment): Likewise. | |
1564 | * print-tree.c (print_node): Do not check BIT_FIELD_REF_UNSIGNED. | |
1565 | * tree-vect-transform.c (vect_create_epilog_for_reduction): Do not | |
1566 | set BIT_FIELD_REF_UNSIGNED. | |
1567 | (vectorizable_load): Likewise. | |
1568 | ||
e186ff69 AK |
1569 | 2008-03-06 Andreas Krebbel <krebbel1@de.ibm.com> |
1570 | ||
1571 | * cse.c (cse_extended_basic_block): Invalidate artificial defs | |
1572 | at bb start. | |
1573 | ||
4c067742 RG |
1574 | 2008-03-06 Richard Guenther <rguenther@suse.de> |
1575 | ||
1576 | * alias.c (struct alias_set_entry): Move has_zero_child field | |
1577 | to pack with alias_set. | |
1578 | ||
23880b97 L |
1579 | 2008-03-05 H.J. Lu <hongjiu.lu@intel.com> |
1580 | ||
1581 | * config/i386/i386-modes.def: Use 4 byte alignment on DI for | |
1582 | 32bit host. | |
1583 | ||
6ab81302 ILT |
1584 | 2008-03-05 Ian Lance Taylor <iant@google.com> |
1585 | ||
1586 | * alias.h (alias_set_type): Change from HOST_WIDE_INT to int. | |
1587 | ||
ca9052ce KZ |
1588 | 2008-03-05 Kenneth Zadeck <zadeck@naturalbridge.com> |
1589 | ||
1590 | * fwprop.c (update_df): Support width and offset parameters of | |
1591 | df_ref_create. | |
1592 | * ra-conflict.c (mark_reg_store, clear_reg_in_live, | |
1593 | global_conflicts): Change DF_REF_EXTRACT to either | |
1594 | DF_REF_ZERO_EXTRACT or DF_REF_SIGN_EXTRACT. Change | |
1595 | DF_REF_STRICT_LOWER_PART to DF_REF_STRICT_LOW_PART. | |
1596 | * df-scan.c (df_ref_record, df_defs_record, | |
1597 | df_ref_create_structure, df_def_record_1, df_uses_record, | |
1598 | df_get_conditional_uses, df_get_call_refs, df_insn_refs_collect, | |
1599 | df_bb_refs_collect, df_entry_block_defs_collect, | |
1600 | df_exit_block_uses_collect): Support new width and offset fields. | |
1601 | (ref_extract_pool): New storage pool. | |
1602 | (df_free_ref): New function. | |
1603 | (df_reg_chain_unlink, df_free_collection_rec, | |
1604 | df_sort_and_compress_refs): Call df_free_ref. | |
1605 | (df_ref_equal_p, df_ref_compare): Compare offset and width fields | |
1606 | of df_ref_extract. | |
1607 | (df_ref_create_structure): Allocate df_ref_extract if offset and | |
1608 | width fields are used. | |
1609 | (df_def_record_1): Get offset and width from ZERO_EXTRACT. | |
1610 | (df_uses_record): Get offset and width from ZERO_EXTRACT | |
1611 | and SIGN_EXTRACT. | |
1612 | * global.c (build_insn_chain): Change DF_REF_EXTRACT to either | |
1613 | DF_REF_ZERO_EXTRACT or DF_REF_SIGN_EXTRACT. Change | |
1614 | DF_REF_STRICT_LOWER_PART to DF_REF_STRICT_LOW_PART. | |
1615 | * df.h (df_ref_flags): Change DF_REF_EXTRACT to either | |
1616 | DF_REF_ZERO_EXTRACT or DF_REF_SIGN_EXTRACT. Change | |
1617 | DF_REF_STRICT_LOWER_PART to DF_REF_STRICT_LOW_PART. | |
1618 | (df_ref_extract): New structure. | |
1619 | (DF_REF_WIDTH, DF_REF_OFFSET): New macros. | |
1620 | (df_ref_create): Add width and offset parameters. | |
1621 | ||
63d195d5 RG |
1622 | 2008-03-05 Richard Guenther <rguenther@suse.de> |
1623 | ||
1624 | * tree-ssa-structalias.c (get_constraint_for_component_ref): | |
1625 | Use ranges_overlap_p. | |
1626 | (offset_overlaps_with_access): Rename | |
1627 | to ranges_overlap_p and move ... | |
1628 | * tree-flow-inline.h (ranges_overlap_p): ... here. | |
1629 | ||
1630 | * tree.h (get_inner_reference, handled_component_p): Update | |
1631 | comments. | |
1632 | ||
1633 | * tree.h (record_component_aliases, get_alias_set, | |
1634 | alias_sets_conflict_p, alias_sets_must_conflict_p, | |
1635 | objects_must_conflict_p): Move declarations ... | |
1636 | * alias.h (record_component_aliases, get_alias_set, | |
1637 | alias_sets_conflict_p, alias_sets_must_conflict_p, | |
1638 | objects_must_conflict_p): ... here. | |
1639 | Include coretypes.h. | |
1640 | * Makefile.in (ALIAS_H): Add coretypes.h dependency. | |
1641 | ||
ea7e6d5a AH |
1642 | 2008-03-05 Aldy Hernandez <aldyh@redhat.com> |
1643 | ||
1644 | * cfg.c: Include tree-flow.h. | |
1645 | (remove_edge_raw): Call redirect_edge_var_map_clear. | |
1646 | (redirect_edge_succ_nodup): Call redirect_edge_var_map_dup. | |
1647 | * tree-flow-inline.h (redirect_edge_var_map_def): New. | |
1648 | (redirect_edge_var_map_result): New. | |
1649 | * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Replace | |
1650 | PENDING_STMT use with redirect_edge_var_map_*. | |
1651 | * tree-ssa.c (edge_var_maps): New definition. | |
1652 | (redirect_edge_var_map_add): New. | |
1653 | (redirect_edge_var_map_clear): New. | |
1654 | (redirect_edge_var_map_dup): New. | |
1655 | (redirect_edge_var_map_vector): New. | |
1656 | (redirect_edge_var_map_destroy): New. | |
1657 | (ssa_redirect_edge): Replace PENDING_STMT use with | |
1658 | redirect_edge_var_map_*. | |
1659 | (flush_pending_stmts): Same. | |
1660 | (delete_tree_ssa): Destroy edge var map. | |
1661 | * tree-flow.h (struct _edge_var_map): New. | |
1662 | Define edge_var_map vector type. | |
1663 | Declare redirect_edge_var_map_* prototypes. | |
1664 | * Makefile.in (cfg.o): Depend on TREE_FLOW_H. | |
1665 | * tree-cfg.c (reinstall_phi_args): Replace | |
1666 | PENDING_STMT use with redirect_edge_var_map_*. | |
1667 | ||
1bdcf037 RG |
1668 | 2008-03-05 Richard Guenther <rguenther@suse.de> |
1669 | ||
1670 | PR tree-optimization/35472 | |
1671 | * tree-ssa-dse.c (dse_optimize_stmt): Do not delete a store | |
1672 | whose single use_stmt has a overlapping set of loaded and | |
1673 | stored symbols as that use_stmt might be a noop assignment then. | |
1674 | ||
fec5fe47 JS |
1675 | 2008-03-05 Joel Sherrill <joel.sherrill@oarcorp.com> |
1676 | ||
1677 | * gthr-rtems.h: Implement __gthread_mutex_destroy. | |
1678 | ||
e55f42fb RG |
1679 | 2008-03-05 Richard Guenther <rguenther@suse.de> |
1680 | ||
1681 | PR c++/35336 | |
1682 | * tree.def (BIT_FIELD_REF): Document that operands 1 and 2 | |
1683 | should be constants. | |
1684 | * tree-cfg.c (verify_expr): Verify it. | |
1685 | * fold-const.c (fold_truthop): Remove code generating | |
1686 | BIT_FIELD_REFs of structure bases. | |
1687 | (fold_binary): Likewise. | |
1688 | (fold_ternary): Position and size of BIT_FIELD_REFs are | |
1689 | always host integers. | |
1690 | (make_bit_field_ref): Remove. | |
1691 | (optimize_bit_field_compare): Remove. | |
1692 | (all_ones_mask_p): Remove. | |
1693 | ||
1da266fe GL |
1694 | 2008-03-05 Gabor Loki <loki@gcc.gnu.org> |
1695 | ||
1696 | PR gcc/33009 | |
1697 | * rtl-factoring.c (clear_regs_live_in_seq): Fix backward steps. | |
1698 | (split_block_and_df_analyze): New. Split basic block and rebuild | |
1699 | dataflow. | |
1700 | (block_label_after): Use SPLIT_BLOCK_AND_DF_ANALYZE instead of | |
1701 | SPLIT_BLOCK. | |
1702 | (split_pattern_seq): Likewise. | |
1703 | (erase_matching_seqs): Likewise. | |
1704 | (split_pattern_seq): Skip return insn in case of REG_NORETURN note. | |
1705 | ||
07c40d0b GK |
1706 | 2008-03-04 Geoff Keating <geoffk@apple.com> |
1707 | ||
1708 | * fold-const.c (tree_single_nonnegative_warnv_p): Fix mixed | |
1709 | declaration and code. | |
1710 | (tree_invalid_nonnegative_warnv_p): Likewise. | |
1711 | ||
4c754988 SB |
1712 | 2008-03-05 Serge Belyshev <belyshev@depni.sinp.msu.ru> |
1713 | ||
1714 | * doc/install.texi (Testing): Correct quoting for the RUNTESTFLAGS | |
1715 | examples. Truncate option-names then causing overfull hbox. | |
1716 | ||
399fe3e1 JDA |
1717 | 2008-03-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1718 | ||
1719 | PR target/35222 | |
1720 | * configure.ac (CONFIG_SJLJ_EXCEPTIONS): Force SJLJ exceptions | |
1721 | on hpux10. | |
1722 | * configure: Rebuilt. | |
1723 | ||
e918a58a RAE |
1724 | 2008-03-04 Rafael Espindola <espindola@google.com> |
1725 | ||
1726 | * fold-const.c (tree_simple_nonnegative_warnv_p): New. | |
1727 | (tree_unary_nonnegative_warnv_p): New. | |
1728 | (tree_binary_nonnegative_warnv_p): New. | |
1729 | (tree_single_nonnegative_warnv_p): New. | |
1730 | (tree_invalid_nonnegative_warnv_p): New. | |
1731 | (tree_expr_nonnegative_warnv_p): Redefine in term of the new functions. | |
1732 | ||
ee8ea087 MLI |
1733 | 2008-03-04 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
1734 | ||
1735 | PR 28322 | |
1736 | * opts.c (handle_option): Postpone 'unknown option' errors only for | |
1737 | warning options. | |
1738 | ||
b5220972 L |
1739 | 2008-03-04 H.J. Lu <hongjiu.lu@intel.com> |
1740 | ||
1741 | PR target/35453 | |
1742 | * config/i386/smmintrin.h (SIDD_XXX): Renamed to ... | |
1743 | (_SIDD_XXX): This. | |
1744 | ||
74dd418c RAE |
1745 | 2008-03-04 Rafael Espindola <espindola@google.com> |
1746 | ||
1747 | * fold-const.c (tree_unary_nonzero_warnv_p): New. | |
1748 | (tree_binary_nonzero_warnv_p): New. | |
1749 | (tree_single_nonzero_warnv_p): New. | |
1750 | (tree_expr_nonzero_warnv_p): Redefine using the new functions. | |
1751 | ||
5ce0e197 UB |
1752 | 2008-03-04 Uros Bizjak <ubizjak@gmail.com> |
1753 | ||
1754 | PR middle-end/35456 | |
1755 | * fold-const.c (fold_cond_expr_with_comparison): Prevent | |
1756 | transformations for modes that have signed zeros. | |
1757 | * ifcvt.c (noce_try_abs): Ditto. | |
1758 | ||
2c7c6f54 JM |
1759 | 2008-03-04 Joseph Myers <joseph@codesourcery.com> |
1760 | ||
1761 | * config/i386/i386.c (override_options): Force | |
1762 | -maccumulate-outgoing-args on if TARGET_STACK_PROBE. | |
1763 | ||
b7884852 JH |
1764 | 2008-03-04 Jan Hubicka <jh@suse.cz> |
1765 | ||
1766 | PR c++/35262 | |
1767 | * ipa-inline.c (cgraph_decide_inlining_of_small_function): Fix typo | |
1768 | in last commit. | |
1769 | ||
ab65b56b DS |
1770 | 2008-03-04 Danny Smith <dannysmith@users.sourceforge.net> |
1771 | ||
1772 | * config/i386/i386.md (allocate_stack_worker_32): Use __chkstk | |
cd7e0bd4 | 1773 | label to probe the stack. |
ab65b56b | 1774 | |
c262f705 DS |
1775 | 2008-03-04 Danny Smith <dannysmith@users.sourceforge.net> |
1776 | ||
1777 | * gthr-win32.h [__GTHREAD_HIDE_WIN32API] | |
1778 | (__gthr_win32_mutex_destroy): Declare. | |
1779 | [__GTHREAD_HIDE_WIN32API] (__gthread_mutex_destroy): Use | |
1780 | __gthr_win32_mutex_destroy. | |
1781 | * config/i386/gthr-win32.c (__gthr_win32_mutex_destroy): Define. | |
1782 | ||
44682fab JH |
1783 | 2008-03-03 Jan Hubicka <jh@suse.cz> |
1784 | ||
1785 | PR c++/35262 | |
1786 | * ipa-inline.c (cgraph_decide_inlining_of_small_function): Be more | |
1787 | aggressive on inlining cold calls. | |
1788 | ||
9a327766 RG |
1789 | 2008-03-03 Richard Guenther <rguenther@suse.de> |
1790 | ||
1791 | * tree-ssa-sccvn.c (visit_reference_op_store): Do not insert | |
1792 | struct copies into the expression table. | |
1793 | (simplify_unary_expression): Handle VIEW_CONVERT_EXPR. | |
1794 | (try_to_simplify): Likewise. | |
1795 | * fold-const.c (fold_unary): Fold VIEW_CONVERT_EXPR of | |
1796 | integral and pointer arguments which do not change the | |
1797 | precision to NOP_EXPRs. | |
1798 | * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Adjust | |
1799 | VIEW_CONVERT_EXPR case. | |
1800 | ||
6a732743 SP |
1801 | 2008-03-02 Sebastian Pop <sebastian.pop@amd.com> |
1802 | ||
1803 | * tree-scalar-evolution.c (instantiate_parameters_1): An SSA_NAME | |
1804 | defined in a loop at depth 0 is invariant. | |
1805 | * tree-chrec.c (evolution_function_is_invariant_rec_p): Ditto. | |
1806 | * tree-ssa-loop-ivopts.c (expr_invariant_in_loop_p): Should never | |
1807 | be called at loop depth 0. | |
1808 | ||
0e5997c0 JJ |
1809 | 2008-03-02 Jakub Jelinek <jakub@redhat.com> |
1810 | ||
1811 | PR driver/35420 | |
1812 | * gcc.c (process_command): Update copyright notice dates. | |
1813 | * gcov.c (print_version): Likewise. | |
1814 | * gcov-dump.c (print_version): Likewise. | |
1815 | * mips-tfile.c (main): Likewise. | |
1816 | * mips-tdump.c (main): Likewise. | |
1817 | ||
393eda6a MLI |
1818 | 2008-03-02 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
1819 | ||
1820 | PR 24924 | |
1821 | * c-common.c (flag_permissive): Delete. | |
1822 | (constant_expression_warnings): Check flags first. | |
1823 | (constant_expression_error): New. | |
1824 | * c-common.h (flag_permissive): Delete. | |
1825 | (constant_expression_error): Declare. | |
1826 | * flags.h (flag_permissive): Declare. Update description. | |
1827 | * diagnostic.c (pedwarn): Update. | |
1828 | (permerror): New. | |
1829 | * diagnostic.h: (pedantic_error_kind): Rename as pedantic_warning_kind. | |
1830 | (permissive_error_kind): New. | |
1831 | * toplev.c (flag_permissive): Define. Update description. | |
1832 | * toplev.h (permissive_error_kind): Declare. | |
1833 | * c-errors.c (pedwarn_c99): Use pedantic_warning_kind. | |
1834 | (pedwarn_c90): Use pedantic_warning_kind. | |
1835 | * c-opts.c (c_common_post_options): flag_permissive does not affect | |
1836 | flag_pedantic_errors. | |
1837 | ||
9677aa89 JM |
1838 | 2008-03-02 Joseph Myers <joseph@codesourcery.com> |
1839 | ||
1840 | * libgcc2.c (__addvSI3, __addvsi3, __addvDI3, __subvSI3, | |
1841 | __subvsi3, __subvDI3, __negvSI2, __negvsi2, __negvDI2, __absvSI2, | |
1842 | __absvsi2, __absvDI2): Use unsigned arithmetic. | |
1843 | ||
f3130d75 | 1844 | 2008-03-02 Andi Kleen <ak@suse.de> |
ab669042 | 1845 | Richard Guenther <rguenther@suse.de> |
f3130d75 AK |
1846 | |
1847 | * struct-equiv.c: Remove file. | |
1848 | * cfg_cleanup.c (condjump_equiv_p): Remove. | |
1849 | * Makefile.in (OBJS-common): Remove struct-equiv.o. | |
1850 | (struct-equiv.o): Remove rule. | |
1851 | * basic-block.h (struct_equiv_checkpoint, STRUCT_EQUIV_*, | |
1852 | insns_match_p, struct_equiv_block_eq, struct_equiv_init, | |
1853 | rtx_equiv_p, condjump_equiv_p): Remove prototypes. | |
1854 | ||
89c3cbc6 AO |
1855 | 2008-03-01 Alexandre Oliva <aoliva@redhat.com> |
1856 | ||
1857 | * ifcvt.c (noce_process_if_block): Try to handle only the then | |
1858 | block if the else block exists but isn't suitable. | |
1859 | ||
5eb4a9af JB |
1860 | 2008-03-01 Janne Blomqvist <jb@gcc.gnu.org> |
1861 | ||
1862 | PR gcc/35063 | |
1863 | * gthr-posix.h (__gthread_mutex_destroy): Remove extra declarations. | |
1864 | * gthr-posix95.h (__gthread_mutex_destroy): Likewise. Note this fixes | |
1865 | regression from previous patch. | |
1866 | ||
4dabf736 JB |
1867 | 2008-03-01 Janne Blomqvist <jb@gcc.gnu.org> |
1868 | ||
1869 | PR gcc/35063 | |
1870 | * gthr.h: Add __gthread_mutex_destroy as a function that must be | |
1871 | implemented. | |
1872 | * gthr-vxworks.h (__gthread_mutex_destroy): Null implementation. | |
1873 | * gthr-single.h (__gthread_mutex_destroy): Likewise. | |
1874 | * gthr-rtems.h (__gthread_mutex_destroy): Likewise. | |
1875 | * gthr-mipssde.h (__gthread_mutex_destroy): Likewise. | |
1876 | * gthr-nks.h (__gthread_mutex_destroy): Likewise. | |
1877 | * gthr-solaris.h (__gthread_mutex_destroy): Call mutex_destroy. | |
1878 | * gthr-win32.h (__GTHREAD_MUTEX_DESTROY_FUNCTION): Remove. | |
1879 | (__gthread_mutex_destroy_function): Rename to | |
1880 | __gthread_mutex_destroy. | |
1881 | * gthr-dce.h (__gthread_mutex_destroy): Call | |
1882 | pthread_mutex_destroy. | |
1883 | * gthr-tpf.h (__gthread_mutex_destroy): Likewise. | |
1884 | * gthr-posix.h (__gthread_mutex_destroy): Likewise. | |
1885 | * gthr-posix95.h (__gthread_mutex_destroy): Likewise. | |
1886 | ||
63642d5a AO |
1887 | 2008-03-01 Alexandre Oliva <aoliva@redhat.com> |
1888 | ||
1889 | * df-scan.c (df_ref_chain_change_bb): Simplify. | |
1890 | (df_insn_change_bb): Add new_bb argument. Simplify. Call | |
1891 | set_block_for_insn if there's any change. | |
1892 | * df.h ((df_insn_change_bb): Fix prototype. | |
1893 | * cfgrtl.c (update_bb_for_insn_chain): Pass bb to | |
1894 | df_insn_change_bb, don't call set_block_for_insn. | |
1895 | * emit-rtl.c (reorder_insns): Likewise. | |
1896 | * haifa-sched.c (move_insn): Likewise. | |
1897 | ||
e0651058 AO |
1898 | 2008-03-01 Alexandre Oliva <aoliva@redhat.com> |
1899 | ||
1900 | * rtlanal.c (loc_mentioned_in_p): Test XVECEXPs correctly. | |
1901 | ||
d2b6be72 AO |
1902 | 2008-03-01 Alexandre Oliva <aoliva@redhat.com> |
1903 | ||
1904 | * tree-flow-inline.h (next_readonly_imm_use): Return | |
1905 | NULL_USE_OPERAND_P after the end. | |
1906 | ||
2fb5f2af RG |
1907 | 2008-03-01 Richard Guenther <rguenther@suse.de> |
1908 | ||
1909 | PR tree-optimization/35411 | |
1910 | * tree-sra.c (sra_build_assignment): Split conversion to | |
1911 | final type to a separate statement if we are not assigning | |
1912 | to a register. | |
1913 | ||
c17ee676 FXC |
1914 | 2008-02-29 Francois-Xavier Coudert <coudert@clipper.ens.fr> |
1915 | ||
1916 | * fold-const.c (fold_convertible_p): Correct the logic to follow | |
1917 | that in fold_convert(). | |
1918 | ||
f31c9f09 DG |
1919 | 2008-02-29 Douglas Gregor <doug.gregor@gmail.com> |
1920 | ||
1921 | PR c++/35315 | |
1922 | * tree-inline.c (build_duplicate_type): When we make a | |
1923 | duplicate type, make it unique in the canonical types system. | |
1924 | ||
966e8f4d TT |
1925 | 2008-02-29 Tom Tromey <tromey@redhat.com> |
1926 | ||
1927 | * toplev.c (input_file_stack, input_file_stack_tick, fs_p, | |
1928 | input_file_stack_history, input_file_stack_restored): Remove. | |
1929 | (push_srcloc, pop_srcloc, restore_input_file_stack): Likewise. | |
1930 | * input.h (struct file_stack): Remove. | |
1931 | (push_srcloc, pop_srcloc, restore_input_file_stack): Likewise. | |
1932 | (input_file_stack, input_file_stack_tick, INPUT_FILE_STACK_BITS): | |
1933 | Likewise. | |
1934 | * diagnostic.h (struct diagnostic_context) <last_module>: Change | |
1935 | type. | |
1936 | (diagnostic_last_module_changed): Add 'map' argument. | |
1937 | (diagnostic_set_last_function): Likewise. | |
1938 | * diagnostic.c (undiagnostic_report_current_module): Iterate using | |
1939 | line map, not input_file_stack. | |
1940 | * c-lex.c (fe_file_change): Don't use push_srcloc or pop_srcloc. | |
1941 | ||
3cbe0ba6 PB |
1942 | 2008-02-29 Paul Brook <paul@codesourcery.com> |
1943 | ||
1944 | * config/arm/arm.md (arm_addsi3): Add r/k/n alternative. | |
1945 | ||
d96ae4d4 PB |
1946 | 2008-02-29 Paul Brook <paul@codesourcery.com> |
1947 | ||
1948 | * config/arm/ieee754-df.S (muldf3): Use RET macros. | |
1949 | ||
5be891a4 RG |
1950 | 2008-02-29 Richard Guenther <rguenther@suse.de> |
1951 | ||
1952 | * tree-ssa-pre.c (get_sccvn_value): Create missing VNs via | |
1953 | vn_lookup_or_add. | |
1954 | * tree-ssa-sccnv.c (visit_reference_op_store): Use the rhs | |
1955 | value for comparing for a store match. | |
1956 | (simplify_unary_expression): Do nothing for SSA_NAMEs. | |
1957 | (try_to_simplify): Do not do a full-blown reference lookup. | |
1958 | ||
b0fbea13 KK |
1959 | 2008-02-29 Kaz Kojima <kkojima@gcc.gnu.org> |
1960 | ||
1961 | * config/sh/sh.c (sh_scalar_mode_supported_p): New function. | |
1962 | (TARGET_SCALAR_MODE_SUPPORTED_P): Define. | |
1963 | ||
1964 | * config/sh/sh.h (OVERRIDE_OPTIONS): Don't warn for profiling. | |
1965 | ||
0c96231b SP |
1966 | 2008-02-29 Sebastian Pop <sebastian.pop@amd.com> |
1967 | ||
1968 | * tree-loop-linear.c (try_interchange_loops): Compare memory access | |
1969 | strides against cache sizes. | |
1970 | ||
d973ac5a KK |
1971 | 2008-02-29 Kaz Kojima <kkojima@gcc.gnu.org> |
1972 | ||
1973 | * config/sh/sh.c (sh_secondary_reload): Handle loading a float | |
1974 | constant to fpul. | |
1975 | ||
4613543f RS |
1976 | 2008-02-28 Richard Sandiford <rsandifo@nildram.co.uk> |
1977 | ||
1978 | * simplify-rtx.c (simplify_unary_operation_1): Extend the handling | |
1979 | of SUBREG_PROMOTED_VAR_P to cope with cases where the extended value | |
1980 | is smaller than the original promoted value. | |
1981 | (simplify_subreg): If OP is a SUBREG, try to preserve its | |
1982 | SUBREG_PROMOTED_VAR_P information. | |
1983 | ||
cbfb21c1 SB |
1984 | 2008-02-28 Steven Bosscher <stevenb.gcc@gmail.com> |
1985 | ||
1986 | * tree-ssa-sccvn (vn_ssa_aux_obstack): New obstack. | |
1987 | (VN_INFO_GET): Allocate new objects on the obstack. | |
1988 | (init_scc_vn): Initialize the obstack. Use XDELETE instead of free | |
1989 | for rpo_numbers_temp, for consistency. | |
1990 | (free_scc_vn): Free the obstack. | |
1991 | ||
dea61d92 SP |
1992 | 2008-02-28 Sebastian Pop <sebastian.pop@amd.com> |
1993 | ||
1994 | * doc/invoke.texi: Document -ftree-loop-distribution. | |
1995 | * tree-loop-distribution.c: New. | |
1996 | * tree-pass.h (pass_loop_distribution): New. | |
1997 | * graphds.h (struct graph): Add htab_t indices. | |
1998 | * timevar.def (TV_TREE_LOOP_DISTRIBUTION): New. | |
1999 | * tree-vectorizer.c (rename_variables_in_loop): Extern. | |
2000 | (slpeel_tree_duplicate_loop_to_edge_cfg): Init PENDING_STMT to NULL. | |
2001 | * tree-vectorizer.h (tree_duplicate_loop_on_edge): Declared. | |
2002 | * tree-data-ref.c (debug_data_dependence_relations): New. | |
2003 | (dump_data_dependence_relation): Also print data references. | |
2004 | (free_data_ref): Extern. | |
2005 | (same_access_functions): Moved... | |
2006 | (find_vertex_for_stmt): Renamed rdg_vertex_for_stmt. | |
2007 | (dump_rdg_vertex, debug_rdg_vertex, dump_rdg_component, | |
2008 | debug_rdg_component, dump_rdg, debug_rdg, dot_rdg_1, dot_rdg, | |
2009 | struct rdg_vertex_info, rdg_vertex_for_stmt): New. | |
2010 | (create_rdg_edge_for_ddr, create_rdg_vertices): Cleaned up. | |
2011 | (stmts_from_loop): Skip LABEL_EXPR. | |
5ce0e197 UB |
2012 | (hash_stmt_vertex_info, eq_stmt_vertex_info, hash_stmt_vertex_del): |
2013 | New. | |
dea61d92 SP |
2014 | (build_rdg): Initialize rdg->indices htab. |
2015 | (free_rdg, stores_from_loop, ref_base_address, | |
2016 | rdg_defs_used_in_other_loops_p, have_similar_memory_accesses, | |
2017 | have_similar_memory_accesses_1, ref_base_address_1, | |
2018 | remove_similar_memory_refs): New. | |
2019 | * tree-data-ref.h: Depend on tree-chrec.h. | |
2020 | (debug_data_dependence_relations, free_data_ref): Declared. | |
2021 | (same_access_functions): ... here. | |
5ce0e197 UB |
2022 | (ddr_is_anti_dependent, ddrs_have_anti_deps, ddr_dependence_level): |
2023 | New. | |
dea61d92 SP |
2024 | (struct rdg_vertex): Add has_mem_write and has_mem_reads. |
2025 | (RDGV_HAS_MEM_WRITE, RDGV_HAS_MEM_READS, RDG_STMT, | |
2026 | RDG_MEM_WRITE_STMT, RDG_MEM_READS_STMT): New. | |
2027 | (dump_rdg_vertex, debug_rdg_vertex, dump_rdg_component, | |
2028 | debug_rdg_component, dump_rdg, debug_rdg, dot_rdg, | |
2029 | rdg_vertex_for_stmt): Declared. | |
2030 | (struct rdg_edge): Add level. | |
2031 | (RDGE_LEVEL): New. | |
2032 | (free_rdg, stores_from_loop, remove_similar_memory_refs, | |
5ce0e197 UB |
2033 | rdg_defs_used_in_other_loops_p, have_similar_memory_accesses): |
2034 | Declared. | |
dea61d92 SP |
2035 | (rdg_has_similar_memory_accesses): New. |
2036 | * tree-vect-analyze.c: Remove unused static decls. | |
2037 | * lambda.h (dependence_level): New. | |
2038 | * common.opt (ftree-loop-distribution): New. | |
2039 | * tree-flow.h (mark_virtual_ops_in_bb, | |
2040 | slpeel_tree_duplicate_loop_to_edge_cfg, | |
2041 | rename_variables_in_loop): Declared. | |
2042 | * Makefile.in (TREE_DATA_REF_H): Depend on tree-chrec.h. | |
2043 | (OBJS-common): Add tree-loop-distribution.o. | |
2044 | (tree-loop-distribution.o): New rule. | |
2045 | * tree-cfg.c (mark_virtual_ops_in_bb): New. | |
2046 | (mark_virtual_ops_in_region): Use mark_virtual_ops_in_bb. | |
2047 | * passes.c (init_optimization_passes): Schedule pass_loop_distribution. | |
2048 | ||
dde75838 JM |
2049 | 2008-02-28 Joseph Myers <joseph@codesourcery.com> |
2050 | ||
2051 | PR target/33963 | |
2052 | * tree.c (handle_dll_attribute): Disallow TYPE_DECLs for types | |
2053 | other than structures and unions. | |
2054 | ||
3b302421 RG |
2055 | 2008-02-28 Richard Guenther <rguenther@suse.de> |
2056 | ||
2057 | Revert: | |
2058 | 2008-02-26 Richard Guenther <rguenther@suse.de> | |
2059 | ||
2060 | * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ... | |
2061 | * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here. | |
2062 | (lookup_decl_from_uid): Declare. | |
2063 | (remove_decl_from_map): Likewise. | |
2064 | * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ... | |
2065 | * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here. | |
2066 | (decl_for_uid_map): New global hashtable mapping DECL_UID | |
2067 | to the decl tree. | |
2068 | (init_ttree): Allocate it. | |
2069 | (insert_decl_to_uid_decl_map): New helper function. | |
2070 | (make_node_stat): Insert new decls into the map. | |
2071 | (copy_node_stat): Likewise. | |
2072 | (lookup_decl_from_uid): New function. | |
2073 | (remove_decl_from_map): Likewise. | |
2074 | (print_decl_for_uid_map_statistics): New helper. | |
2075 | (dump_tree_statistics): Call it. | |
2076 | ||
2077 | * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap. | |
2078 | (referenced_var_iterator): Adjust. | |
2079 | (FOR_EACH_REFERENCED_VAR): Adjust. | |
2080 | (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator. | |
2081 | (num_referenced_vars): Adjust. | |
2082 | * tree-flow-inline.h (gimple_referenced_vars): Adjust. | |
2083 | (first_referenced_var): Remove. | |
2084 | (end_referenced_vars_p): Likewise. | |
2085 | (next_referenced_var): Likewise. | |
2086 | (referenced_var_iterator_set): New helper function. | |
2087 | * tree-dfa.c (referenced_var_lookup): Adjust. | |
2088 | (referenced_var_check_and_insert): Likewise. | |
2089 | (remove_referenced_var): Likewise. | |
2090 | * tree-ssa.c (verify_flow_insensitive_alias_info): Use | |
2091 | FOR_EACH_REFERENCED_VAR_IN_BITMAP. | |
2092 | (verify_call_clobbering): Likewise. | |
2093 | (verify_memory_partitions): Likewise. | |
2094 | (init_tree_ssa): Allocate bitmap instead of hashtable for | |
2095 | referenced_vars. | |
2096 | (delete_tree_ssa): Adjust. | |
2097 | * tree-ssa-alias.c (mark_aliases_call_clobbered): Use | |
2098 | FOR_EACH_REFERENCED_VAR_IN_BITMAP. | |
2099 | (compute_tag_properties): Likewise. | |
2100 | (set_initial_properties): Likewise. | |
2101 | (find_partition_for): Likewise. | |
2102 | (update_reference_counts): Likewise. | |
2103 | (dump_may_aliases_for): Likewise. | |
2104 | * tree-ssa-operands.c (add_virtual_operand): Likewise. | |
2105 | (add_call_clobber_ops): Likewise. | |
2106 | (add_call_read_ops): Likewise. | |
2107 | (get_asm_expr_operands): Likewise. | |
2108 | * tree-into-ssa.c (dump_decl_set): Likewise. | |
2109 | (update_ssa): Likewise. | |
2110 | * tree-sra.c (scan_function): Likewise. | |
2111 | (decide_instantiations): Likewise. | |
2112 | (scalarize_parms): Likewise. | |
2113 | * tree-ssa-alias-warnings.c (build_reference_table): Likewise. | |
2114 | (dsa_named_for): Likewise. | |
2115 | * tree-ssa-structalias.c (update_alias_info): Likewise. | |
2116 | (merge_smts_into): Likewise. | |
2117 | ||
2a1ed4fc DD |
2118 | 2008-02-27 David Daney <ddaney@avtrex.com> |
2119 | ||
2120 | PR target/34409 | |
2121 | * config/mips/iris.h (MIPS_DEBUGGING_INFO): Define. | |
2122 | * config/mips/openbsd.h (MIPS_DEBUGGING_INFO): Same. | |
2123 | * config/mips/sde.h (MIPS_DEBUGGING_INFO): Remove undef. | |
2124 | * config/mips/vxworks.h (MIPS_DEBUGGING_INFO): Same. | |
2125 | * config/mips/mips.h (MIPS_DEBUGGING_INFO): Remove define. | |
2126 | ||
c92712d1 UB |
2127 | 2008-02-27 Uros Bizjak <ubizjak@gmail.com> |
2128 | ||
2129 | PR target/25477 | |
2130 | * config/darwin-ppc-ldouble-patch.def (BUILT_IN_NANL): Add. | |
2131 | (BUILT_IN_NEXTTOWARD): Remove. | |
2132 | (BUILT_IN_NEXTTOWARDF): Ditto. | |
2133 | * config/darwin.c (darwin_patch_builtin): Use ACONCAT instead of | |
2134 | alloca/strcpy/strcat. Remove commented-out code. Fix whitespace. | |
2135 | ||
a8bafc43 TT |
2136 | 2008-02-27 Tom Tromey <tromey@redhat.com> |
2137 | ||
2138 | * tree-dump.c (dequeue_and_dump) <FUNCTION_DECL>: Check | |
2139 | DECL_SAVED_TREE, not DECL_LANG_SPECIFIC, when dumping body. | |
2140 | ||
8220334a JB |
2141 | 2008-02-27 Jan Beulich <jbeulich@novell.com> |
2142 | ||
2143 | * c-decl.c (merge_decls): Use DECL_USER_ALIGN() on olddecl to | |
2144 | update the respective field on newdecl. | |
2145 | ||
8bf6e270 RE |
2146 | 2008-02-27 Revital Eres <eres@il.ibm.com> |
2147 | ||
2148 | PR rtl-optimization/34999 | |
2149 | * bb-reorder.c (add_labels_and_missing_jumps): Do not handle | |
2150 | crossing edges that ends with a call insn. | |
2151 | (fix_up_fall_thru_edges): Handle crossing edges that ends with a | |
2152 | call insn and clear the EDGE_CROSSING flag of the crossing edge | |
2153 | when fixing fallthru edges. | |
2154 | ||
7fb52af2 RG |
2155 | 2008-02-27 Richard Guenther <rguenther@suse.de> |
2156 | ||
3b302421 | 2157 | PR middle-end/35390 |
7fb52af2 RG |
2158 | * fold-const.c (fold_unary): Return the correct argument, |
2159 | converted to the result type. | |
2160 | ||
70582b3a RG |
2161 | 2008-02-27 Richard Guenther <rguenther@suse.de> |
2162 | ||
2163 | PR middle-end/34971 | |
2164 | * expr.c (expand_expr_real_1): Assert on rotates that operate | |
2165 | on partial modes. | |
2166 | * fold-const.c (fold_binary): Use the types precision, not the | |
2167 | bitsize of the mode if folding rotate expressions. Build rotates | |
2168 | only for full modes. | |
2169 | ||
a25a8f3b JJ |
2170 | 2008-02-27 Jakub Jelinek <jakub@redhat.com> |
2171 | ||
2172 | * c-ppoutput.c (scan_translation_unit): Handle CPP_PRAGMA | |
2173 | and CPP_PRAGMA_EOL. | |
2174 | * c-pragma.c (pragma_ns_name): New typedef. | |
2175 | (registered_pp_pragmas): New variable. | |
2176 | (c_pp_lookup_pragma): New function. | |
2177 | (c_register_pragma_1): If flag_preprocess_only, do nothing | |
2178 | for non-expanded pragmas, for expanded ones push pragma's | |
2179 | namespace and name into registered_pp_pragmas vector. | |
2180 | (c_invoke_pragma_handler): Register OpenMP pragmas even when | |
2181 | flag_preprocess_only, don't register GCC pch_preprocess | |
2182 | pragma if flag_preprocess_only. | |
2183 | * c-opts.c (c_common_init): Call init_pragma even if | |
2184 | flag_preprocess_only. | |
2185 | * c-pragma.c (c_pp_lookup_pragma): New prototype. | |
2186 | * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Don't call | |
2187 | cpp_register_pragma if flag_preprocess_only. | |
2188 | ||
369239ef RW |
2189 | 2008-02-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2190 | ||
2191 | PR c/28800 | |
2192 | * c-parser.c (c_parser_translation_unit): Warn for empty | |
2193 | translation unit, not empty source file. | |
2194 | ||
f5c630c3 PB |
2195 | 2008-02-26 Paul Brook <paul@codesourcery.com> |
2196 | ||
2197 | * config/arm/arm.c (thumb_set_frame_pointer): Ensure SP is first | |
2198 | operand for Thumb-2. | |
2199 | * config/arm/arm.h (reg_class): Add CORE_REGS. | |
2200 | (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Ditto. | |
2201 | (BASE_REG_CLASS): Use CORE_REGS. | |
2202 | (PREFERRED_RELOAD_CLASS): Add STACK_REG. | |
2203 | (REGNO_MODE_OK_FOR_REG_BASE_P): Use REGNO_MODE_OK_FOR_BASE_P. | |
2204 | (REGNO_OK_FOR_INDEX_P): Exclude SP. | |
2205 | (ARM_REG_OK_FOR_INDEX_P): Always define. Use | |
2206 | ARM_REGNO_OK_FOR_INDEX_P. | |
2207 | (ARM_PRINT_OPERAND_ADDRESS): Swap operands for [reg, sp]. | |
2208 | * config/arm/arm.md (arm_addsi3, thumb1_addsi3, arm_subsi3_insn, | |
2209 | arm_movsi_insn, thumb1_movsi_insni, stack_tie): Add "k" alternatives. | |
2210 | (ldm/stm peepholes): Ditto. | |
2211 | * config/arm/thumb2.md (thumb2_movdi): Add "k" alternatives. | |
2212 | * config/arm/vfp.md (arm_movsi_vfp, thumb2_movsi_vfp): Ditto. | |
2213 | * config/arm/iwmmxt.md (iwmmxt_movsi_insn): Ditto. | |
2214 | * config/arm/constraints.md: Enable "k" constraint on ARM. | |
2215 | ||
0d158b6e BE |
2216 | 2008-02-27 Ben Elliston <bje@au.ibm.com> |
2217 | ||
2218 | * config/rs6000/rs6000.c: Annotate cache line size field in all | |
2219 | instances of struct processor_costs. | |
2220 | ||
7d817ebc DE |
2221 | 2008-02-26 David Edelsohn <edelsohn@gnu.org> |
2222 | ||
2223 | * dbgcnt.def (cfg_cleanup, cprop1, cprop2, dce_fast, dce_ud, dse1, | |
2224 | dse2, gcse, if_conversion, if_after_combine, if_after_reload, | |
2225 | jump_bypass): New counters. | |
2226 | * cfgcleanup.c (cleanup_cfg): Add dbg_cnt. | |
2227 | * dce.c (gate_ud_dce): Same. | |
2228 | (gate_fast_dce): Same. | |
2229 | * dse.c (gate_dse1): New function. | |
2230 | (gate_dse2): New function. | |
2231 | (gate_dse): Merge results of new gate functions. | |
2232 | * gcse.c (gcse_main): Bracket cprop1 and cprop2 with dbg_cnt. | |
2233 | (gate_handle_jump_bypass): Add dbg_cnt. | |
2234 | (gate_handle_gcse): Add dbg_cnt. | |
2235 | * ifcvt.c (gate_handle_if_conversion): Same. | |
2236 | (gate_handle_if_after_combine): Same. | |
2237 | (gate_handle_if_after_reload): Same. | |
2238 | * Makefile.in: Add DBGCNT_H to cfgcleanup.o and ifcvt.o. | |
2239 | ||
a19b7d46 EW |
2240 | 2008-02-26 Edmar Wienskoski <edmar@freescale.com> |
2241 | ||
2242 | * config/rs6000/rs6000.c (processor_costs): Update e300 cache | |
2243 | line sizes. | |
2244 | * doc/invoke.texi: Add e300c2 and e300c3 to list of cpus. | |
2245 | ||
317c435f JM |
2246 | 2008-02-26 Jason Merrill <jason@redhat.com> |
2247 | ||
2248 | PR c++/35315 | |
2249 | * attribs.c (decl_attributes): Leave ATTR_FLAG_TYPE_IN_PLACE | |
2250 | alone if it's the naming decl for the type's main variant. | |
2251 | ||
2d593c86 TT |
2252 | 2008-02-26 Tom Tromey <tromey@redhat.com> |
2253 | ||
2254 | * system.h (USE_MAPPED_LOCATION): Poison. | |
2255 | * Makefile.in (GTFILES): Put CPP_ID_DATA_H first. | |
2256 | * tree-cfg.c (make_cond_expr_edges): Remove old location code. | |
2257 | (make_goto_expr_edges): Likewise. | |
2258 | (remove_bb): Likewise. | |
2259 | (execute_warn_function_return): Likewise. | |
2260 | * basic-block.h (struct edge_def) <goto_locus>: Change type to | |
2261 | location_t. | |
2262 | * c-common.c (fname_decl): Remove old location code. | |
2263 | * tree-vect-transform.c (vect_finish_stmt_generation): Remove old | |
2264 | location code. | |
2265 | * rtl.h (ASM_OPERANDS_SOURCE_LOCATION): Remove old-location | |
2266 | variant. | |
2267 | (ASM_INPUT_SOURCE_LOCATION): Likewise. | |
2268 | (gen_rtx_ASM_INPUT): Likewise. | |
2269 | (gen_rtx_ASM_INPUT_loc): Likewise. | |
2270 | (get_rtx_asm_OPERANDS): Remove. | |
2271 | * cfglayout.c (insn_locators_alloc): Remove old location code. | |
2272 | (set_curr_insn_source_location): Likewise. | |
2273 | (curr_insn_locator): Likewise. | |
2274 | * print-tree.c (print_node): Remove old location code. | |
2275 | * tree-mudflap.c (mf_varname_tree): Remove old location code. | |
2276 | (mf_file_function_line_tree): Remove test of USE_MAPPED_LOCATION. | |
2277 | * cfgexpand.c (expand_gimple_cond_expr): Don't use | |
2278 | location_from_locus. | |
2279 | (construct_exit_block): Remove old location code. | |
2280 | * emit-rtl.c (force_next_line_note): Remove old location code. | |
2281 | * profile.c (branch_prob): Remove old location code. | |
2282 | * tree-vectorizer.h (LOC, UNKNOWN_LOC, EXPR_LOC, LOC_FILE, | |
2283 | LOC_LINE): Remove old-location variants. | |
2284 | * langhooks.c (lhd_print_error_function): Remove old location | |
2285 | code. | |
2286 | * configure, config.in: Rebuilt. | |
2287 | * configure.ac (--enable-mapped-location): Remove. | |
2288 | * c-decl.c (c_init_decl_processing): Remove old location code. | |
2289 | (finish_function): Likewise. | |
2290 | * recog.c (decode_asm_operands): Remove old location code. | |
2291 | * c-pch.c (c_common_read_pch): Remove old location code. | |
2292 | * rtl.def (ASM_INPUT, ASM_OPERANDS): Remove old location | |
2293 | variants. | |
2294 | * gimple-low.c (lower_function_body): Remove old location code. | |
2295 | * toplev.c (unknown_location): Remove. | |
2296 | (push_srcloc): Remove old-location variant. | |
2297 | (process_options): Remove old location code. | |
2298 | (lang_dependent_init): Likewise. | |
2299 | * input.h (UNKNOWN_LOCATION): Move definition. | |
2300 | (location_t): Undeprecate. | |
2301 | (source_locus): Remove. | |
2302 | (location_from_locus): Remove. | |
2303 | (struct location_s): Remove. | |
2304 | Remove all old-location code. | |
2305 | (input_line, input_filename): Remove. | |
2306 | * final.c (final_scan_insn): Remove old location code. | |
2307 | * diagnostic.c (diagnostic_build_prefix): Remove | |
2308 | USE_MAPPED_LOCATION test. | |
2309 | * tree.h (gimple_stmt) <locus>: Now a location_t. | |
2310 | (tree_exp) <locus>: Likewise. | |
2311 | (DECL_IS_BUILTIN): Remove old-location variant. | |
2312 | (annotate_with_file_line, annotate_with_locus): Likewise. | |
2313 | (expr_locus, set_expr_locus): Update. | |
2314 | * tree.c (build1_stat): Remove old location code. | |
2315 | (last_annotated_node): Remove. | |
2316 | (annotate_with_file_line): Remove old-location variant. | |
2317 | (annotate_with_locus): Likewise. | |
2318 | (expr_location): Remove old location code. | |
2319 | (set_expr_location): Likewise. | |
2320 | (expr_has_location): Likewise. | |
2321 | (expr_locus): Likewise. | |
2322 | (set_expr_locus): Likewise. | |
2323 | (expr_filename): Don't use location_from_locus. | |
2324 | (expr_lineno): Likewise. | |
2325 | * rtl-error.c (location_for_asm): Remove old location code. | |
2326 | * c-lex.c (cb_line_change): Remove old location code. | |
2327 | (fe_file_change): Likewise. | |
2328 | (cb_def_pragma): Likewise. | |
2329 | (c_lex_with_flags): Likewise. | |
2330 | * gengtype.c (do_typedef): Don't special-case location types. | |
2331 | (define_location_structures): Remove. | |
2332 | (main): Don't call define_location_structures. | |
2333 | * tree-pretty-print.c (dump_implicit_edges): Remove old location | |
2334 | code. | |
2335 | ||
4f01eeb4 MLI |
2336 | 2008-02-26 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
2337 | ||
cd7e0bd4 | 2338 | PR 26264 |
4f01eeb4 MLI |
2339 | * builtins.def (BUILT_IN_STDARG_START): Remove. |
2340 | * builtins.c (expand_builtin): Remove BUILT_IN_STDARG_START. | |
2341 | * tree-stdarg.c (execute_optimize_stdarg): Likewise. | |
2342 | * tree-inline.c (inline_forbidden_p_1): Likewise. | |
2343 | ||
bbd59cf4 RG |
2344 | 2008-02-26 Richard Guenther <rguenther@suse.de> |
2345 | ||
2346 | * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ... | |
2347 | * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here. | |
2348 | (lookup_decl_from_uid): Declare. | |
2349 | (remove_decl_from_map): Likewise. | |
2350 | * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ... | |
2351 | * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here. | |
2352 | (decl_for_uid_map): New global hashtable mapping DECL_UID | |
2353 | to the decl tree. | |
2354 | (init_ttree): Allocate it. | |
2355 | (insert_decl_to_uid_decl_map): New helper function. | |
2356 | (make_node_stat): Insert new decls into the map. | |
2357 | (copy_node_stat): Likewise. | |
2358 | (lookup_decl_from_uid): New function. | |
2359 | (remove_decl_from_map): Likewise. | |
2360 | (print_decl_for_uid_map_statistics): New helper. | |
2361 | (dump_tree_statistics): Call it. | |
2362 | ||
2363 | * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap. | |
2364 | (referenced_var_iterator): Adjust. | |
2365 | (FOR_EACH_REFERENCED_VAR): Adjust. | |
2366 | (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator. | |
2367 | (num_referenced_vars): Adjust. | |
2368 | * tree-flow-inline.h (gimple_referenced_vars): Adjust. | |
2369 | (first_referenced_var): Remove. | |
2370 | (end_referenced_vars_p): Likewise. | |
2371 | (next_referenced_var): Likewise. | |
2372 | (referenced_var_iterator_set): New helper function. | |
2373 | * tree-dfa.c (referenced_var_lookup): Adjust. | |
2374 | (referenced_var_check_and_insert): Likewise. | |
2375 | (remove_referenced_var): Likewise. | |
2376 | * tree-ssa.c (verify_flow_insensitive_alias_info): Use | |
2377 | FOR_EACH_REFERENCED_VAR_IN_BITMAP. | |
2378 | (verify_call_clobbering): Likewise. | |
2379 | (verify_memory_partitions): Likewise. | |
2380 | (init_tree_ssa): Allocate bitmap instead of hashtable for | |
2381 | referenced_vars. | |
2382 | (delete_tree_ssa): Adjust. | |
2383 | * tree-ssa-alias.c (mark_aliases_call_clobbered): Use | |
2384 | FOR_EACH_REFERENCED_VAR_IN_BITMAP. | |
2385 | (compute_tag_properties): Likewise. | |
2386 | (set_initial_properties): Likewise. | |
2387 | (find_partition_for): Likewise. | |
2388 | (update_reference_counts): Likewise. | |
2389 | (dump_may_aliases_for): Likewise. | |
2390 | * tree-ssa-operands.c (add_virtual_operand): Likewise. | |
2391 | (add_call_clobber_ops): Likewise. | |
2392 | (add_call_read_ops): Likewise. | |
2393 | (get_asm_expr_operands): Likewise. | |
2394 | * tree-into-ssa.c (dump_decl_set): Likewise. | |
2395 | (update_ssa): Likewise. | |
2396 | * tree-sra.c (scan_function): Likewise. | |
2397 | (decide_instantiations): Likewise. | |
2398 | (scalarize_parms): Likewise. | |
2399 | * tree-ssa-alias-warnings.c (build_reference_table): Likewise. | |
2400 | (dsa_named_for): Likewise. | |
2401 | * tree-ssa-structalias.c (update_alias_info): Likewise. | |
2402 | (merge_smts_into): Likewise. | |
2403 | ||
16302daf MLI |
2404 | 2008-02-26 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
2405 | ||
2406 | PR 34351 | |
2407 | * doc/invoke.texi (-Wall): Add -Wvolatile-register-var. | |
2408 | * c-opts.c (c_common_handle_option): Wall enables | |
2409 | Wvolatile-register-var. | |
2410 | * common.opt: Move Wvolatile-register-var to... | |
2411 | * c.opt: ...here. | |
2412 | ||
e8fc888d MLI |
2413 | 2008-02-26 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
2414 | ||
2415 | * common.opt (Wlarger-than=): New. | |
2416 | * doc/invoke.texi (Warning Options): Replace -Wlarger-than- with | |
2417 | -Wlarger-than=. | |
2418 | * opts.c (common_handle_option): Handle -Wlarger-than=. | |
2419 | * optc-gen.awk: Likewise. | |
2420 | * opth-gen.awk: Likewise. | |
2421 | * stor-layout.c (layout_decl): Use -Wlarger-than= for warning. | |
2422 | * tree-optimize.c (tree_rest_of_compilation): Likewise. | |
2423 | ||
683d6ff9 MLI |
2424 | 2008-02-26 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
2425 | ||
2426 | * c-common.c (match_case_to_enum_1): Add appropriate | |
2427 | OPT_W* parameter to warning. | |
2428 | (c_do_switch_warnings): Likewise. | |
2429 | * c-typeck.c (warning_init): Add one more parameter following | |
2430 | 'warning' function. | |
2431 | (push_init_level): Update call to warning_init. | |
2432 | (pop_init_level): Likewise. | |
2433 | (add_pending_init): Likewise. | |
2434 | (output_init_element: Likewise. | |
2435 | ||
369dcbd9 MLI |
2436 | 2008-02-26 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
2437 | ||
2438 | PR 28322 | |
2439 | * toplev.c (toplev_main): If there are warnings or error, print | |
2440 | errors for ignored options. | |
2441 | * opts.c (ignored_options): New static variable. | |
2442 | (postpone_unknown_option_error): New. | |
2443 | (print_ignored_options): New. | |
2444 | (handle_option): Postpone errors for unknown -Wno-* options. | |
2445 | * opts.h (print_ignored_options): Declare. | |
2446 | ||
23dc794c RS |
2447 | 2008-02-25 Richard Sandiford <rsandifo@nildram.co.uk> |
2448 | ||
2449 | * config/mips/mips.md (loadgp_blockage, blockage): Change type | |
2450 | to "ghost". | |
2451 | ||
381a258b RG |
2452 | 2008-02-25 Richard Guenther <rguenther@suse.de> |
2453 | ||
2454 | Revert: | |
2455 | 2008-02-25 Richard Guenther <rguenther@suse.de> | |
2456 | ||
2457 | * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ... | |
2458 | * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here. | |
2459 | (lookup_decl_from_uid): Declare. | |
2460 | * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ... | |
2461 | * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here. | |
2462 | (decl_for_uid_map): New global hashtable mapping DECL_UID | |
2463 | to the decl tree. | |
2464 | (init_ttree): Allocate it. | |
2465 | (insert_decl_to_uid_decl_map): New helper function. | |
2466 | (make_node_stat): Insert new decls into the map. | |
2467 | (copy_node_stat): Likewise. | |
2468 | (lookup_decl_from_uid): New function. | |
2469 | (print_decl_for_uid_map_statistics): New helper. | |
2470 | (dump_tree_statistics): Call it. | |
2471 | ||
2472 | * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap. | |
2473 | (referenced_var_iterator): Adjust. | |
2474 | (FOR_EACH_REFERENCED_VAR): Adjust. | |
2475 | (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator. | |
2476 | (num_referenced_vars): Adjust. | |
2477 | * tree-flow-inline.h (gimple_referenced_vars): Adjust. | |
2478 | (first_referenced_var): Remove. | |
2479 | (end_referenced_vars_p): Likewise. | |
2480 | (next_referenced_var): Likewise. | |
2481 | (referenced_var_iterator_set): New helper function. | |
2482 | * tree-dfa.c (referenced_var_lookup): Adjust. | |
2483 | (referenced_var_check_and_insert): Likewise. | |
2484 | (remove_referenced_var): Likewise. | |
2485 | * tree-ssa.c (verify_flow_insensitive_alias_info): Use | |
2486 | FOR_EACH_REFERENCED_VAR_IN_BITMAP. | |
2487 | (verify_call_clobbering): Likewise. | |
2488 | (verify_memory_partitions): Likewise. | |
2489 | (init_tree_ssa): Allocate bitmap instead of hashtable for | |
2490 | referenced_vars. | |
2491 | (delete_tree_ssa): Adjust. | |
2492 | * tree-ssa-alias.c (mark_aliases_call_clobbered): Use | |
2493 | FOR_EACH_REFERENCED_VAR_IN_BITMAP. | |
2494 | (compute_tag_properties): Likewise. | |
2495 | (set_initial_properties): Likewise. | |
2496 | (find_partition_for): Likewise. | |
2497 | (update_reference_counts): Likewise. | |
2498 | (dump_may_aliases_for): Likewise. | |
2499 | * tree-ssa-operands.c (add_virtual_operand): Likewise. | |
2500 | (add_call_clobber_ops): Likewise. | |
2501 | (add_call_read_ops): Likewise. | |
2502 | (get_asm_expr_operands): Likewise. | |
2503 | * tree-into-ssa.c (dump_decl_set): Likewise. | |
2504 | (update_ssa): Likewise. | |
2505 | * tree-sra.c (scan_function): Likewise. | |
2506 | (decide_instantiations): Likewise. | |
2507 | (scalarize_parms): Likewise. | |
2508 | * tree-ssa-alias-warnings.c (build_reference_table): Likewise. | |
2509 | (dsa_named_for): Likewise. | |
2510 | * tree-ssa-structalias.c (update_alias_info): Likewise. | |
2511 | (merge_smts_into): Likewise. | |
2512 | ||
89453ec7 JB |
2513 | 2008-02-25 Janne Blomqvist <jb@gcc.gnu.org> |
2514 | ||
2515 | PR fortran/29549 | |
2516 | * doc/invoke.texi (-fcx-limited-range): Document new option. | |
2517 | * toplev.c (process_options): Handle -fcx-fortran-rules. | |
cd7e0bd4 | 2518 | * common.opt: Add documentation for -fcx-fortran-rules. |
89453ec7 | 2519 | |
8cc6d3e0 JB |
2520 | 2008-02-25 Janne Blomqvist <jb@gcc.gnu.org> |
2521 | ||
2522 | PR c/35162 | |
2523 | * doc/invoke.texi (-fcx-limited-range): Correct to be in line with | |
2524 | actual behaviour and C99. | |
2525 | ||
cd679487 BE |
2526 | 2008-02-26 Ben Elliston <bje@au.ibm.com> |
2527 | ||
2528 | * config/rs6000/rs6000.h (ASM_CPU_POWER5_SPEC): Define. | |
2529 | (ASM_CPU_POWER6_SPEC): Likewise. | |
2530 | (ASM_CPU_SPEC): Pass %(asm_cpu_power5) for -mcpu=power5. | |
2531 | Likewise, pass %(asm_cpu_power6) for -mcpu=power6. | |
2532 | (EXTRA_SPECS): Add asm_cpu_power5, asm_cpu_power6 spec strings. | |
2533 | ||
7660c722 RG |
2534 | 2008-02-25 Richard Guenther <rguenther@suse.de> |
2535 | ||
2536 | * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ... | |
2537 | * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here. | |
2538 | (lookup_decl_from_uid): Declare. | |
2539 | * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ... | |
2540 | * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here. | |
2541 | (decl_for_uid_map): New global hashtable mapping DECL_UID | |
2542 | to the decl tree. | |
2543 | (init_ttree): Allocate it. | |
2544 | (insert_decl_to_uid_decl_map): New helper function. | |
2545 | (make_node_stat): Insert new decls into the map. | |
2546 | (copy_node_stat): Likewise. | |
2547 | (lookup_decl_from_uid): New function. | |
2548 | (print_decl_for_uid_map_statistics): New helper. | |
2549 | (dump_tree_statistics): Call it. | |
2550 | ||
2551 | * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap. | |
2552 | (referenced_var_iterator): Adjust. | |
2553 | (FOR_EACH_REFERENCED_VAR): Adjust. | |
2554 | (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator. | |
2555 | (num_referenced_vars): Adjust. | |
2556 | * tree-flow-inline.h (gimple_referenced_vars): Adjust. | |
2557 | (first_referenced_var): Remove. | |
2558 | (end_referenced_vars_p): Likewise. | |
2559 | (next_referenced_var): Likewise. | |
2560 | (referenced_var_iterator_set): New helper function. | |
2561 | * tree-dfa.c (referenced_var_lookup): Adjust. | |
2562 | (referenced_var_check_and_insert): Likewise. | |
2563 | (remove_referenced_var): Likewise. | |
2564 | * tree-ssa.c (verify_flow_insensitive_alias_info): Use | |
2565 | FOR_EACH_REFERENCED_VAR_IN_BITMAP. | |
2566 | (verify_call_clobbering): Likewise. | |
2567 | (verify_memory_partitions): Likewise. | |
2568 | (init_tree_ssa): Allocate bitmap instead of hashtable for | |
2569 | referenced_vars. | |
2570 | (delete_tree_ssa): Adjust. | |
2571 | * tree-ssa-alias.c (mark_aliases_call_clobbered): Use | |
2572 | FOR_EACH_REFERENCED_VAR_IN_BITMAP. | |
2573 | (compute_tag_properties): Likewise. | |
2574 | (set_initial_properties): Likewise. | |
2575 | (find_partition_for): Likewise. | |
2576 | (update_reference_counts): Likewise. | |
2577 | (dump_may_aliases_for): Likewise. | |
2578 | * tree-ssa-operands.c (add_virtual_operand): Likewise. | |
2579 | (add_call_clobber_ops): Likewise. | |
2580 | (add_call_read_ops): Likewise. | |
2581 | (get_asm_expr_operands): Likewise. | |
2582 | * tree-into-ssa.c (dump_decl_set): Likewise. | |
2583 | (update_ssa): Likewise. | |
2584 | * tree-sra.c (scan_function): Likewise. | |
2585 | (decide_instantiations): Likewise. | |
2586 | (scalarize_parms): Likewise. | |
2587 | * tree-ssa-alias-warnings.c (build_reference_table): Likewise. | |
2588 | (dsa_named_for): Likewise. | |
2589 | * tree-ssa-structalias.c (update_alias_info): Likewise. | |
2590 | (merge_smts_into): Likewise. | |
2591 | ||
2e4e39f6 AK |
2592 | 2008-02-25 Andreas Krebbel <krebbel1@de.ibm.com> |
2593 | ||
2594 | PR target/35258 | |
2595 | * cse.c (cse_insn): Avoid creation of overlapping MEMs. | |
2596 | * alias.c (nonoverlapping_memrefs_p): Export for use in other modules. | |
2597 | * alias.h (nonoverlapping_memrefs_p): Likewise. | |
2598 | ||
891984af JB |
2599 | 2008-02-25 Jan Beulich <jbeulich@novell.com> |
2600 | ||
c92712d1 | 2601 | * Makefile.in: Also prefix uses of crt0.o and mcrt0.o with $(T). |
891984af JB |
2602 | * config/i386/netware-libgcc.exp: Add __bswap?i2, |
2603 | __emultls_get_address, __emultls_register_common, | |
2604 | __floatundi?f, and _Unwind_GetIPInfo. | |
2605 | * config/i386/netware.c (gen_stdcall_or_fastcall_decoration): | |
2606 | Sync with config/i386/winnt.c:gen_stdcall_or_fastcall_suffix(). | |
2607 | (gen_regparm_prefix): Likewise. | |
2608 | (i386_nlm_encode_section_info): Sync with | |
2609 | config/i386/winnt.c:i386_pe_encode_section_info(). | |
2610 | (i386_nlm_maybe_mangle_decl_assembler_name): New. | |
2611 | i386_nlm_mangle_decl_assembler_name): New. | |
2612 | (netware_override_options): New. | |
2613 | * config/i386/netware.h (netware_override_options): Declare. | |
2614 | (OVERRIDE_OPTIONS): Re-define to netware_override_options. | |
2615 | (i386_nlm_mangle_decl_assembler_name): Declare. | |
2616 | (TARGET_MANGLE_DECL_ASSEMBLER_NAME): Define. | |
2617 | ||
98266db0 BE |
2618 | 2008-02-25 Ben Elliston <bje@au.ibm.com> |
2619 | ||
2620 | PR other/32948 | |
2621 | * c-decl.c (grokdeclarator): Remove unused local variables | |
2622 | `typedef_type' and `type_as_written'. | |
2623 | * bb-reorder.c | |
2624 | (find_rarely_executed_basic_blocks_and_crossing_edges): Remove | |
2625 | unused local variable `has_hot_blocks'. | |
2626 | (fix_crossing_conditional_branches): Remove unused local variable | |
2627 | `prev_bb'. | |
2628 | ||
93e50125 UB |
2629 | 2008-02-25 Uros Bizjak <ubizjak@gmail.com> |
2630 | ||
2631 | PR middle-end/19984 | |
2632 | * builtins.def (BUILT_IN_NAN): Define as c99 builtin | |
2633 | using DEF_C99_BUILTIN. | |
2634 | (BUILT_IN_NANF): Ditto. | |
2635 | (BUILT_IN_NANL): Ditto. | |
2636 | ||
0de5a32f | 2637 | 2008-02-25 Ayal Zaks <zaks@il.ibm.com> |
433331d4 | 2638 | Revital Eres <eres@il.ibm.com> |
0de5a32f AZ |
2639 | |
2640 | * modulo-sched.c (calculate_must_precede_follow): Address TODO | |
2641 | regarding the order of two dependent insns in the same row. | |
2642 | ||
d4cba6d4 EB |
2643 | 2008-02-25 Eric Botcazou <ebotcazou@adacore.com> |
2644 | ||
2645 | * stor-layout.c (layout_decl): Do not bump the alignment of a | |
2646 | bit-field to more than byte alignment if it is packed. | |
2647 | ||
642639ce DE |
2648 | 2008-02-24 David Edelsohn <edelsohn@gnu.org> |
2649 | ||
2650 | * config/rs6000/rs6000.c (processor_costs): Add cache costs for | |
2651 | e300c2 and e300c3. | |
2652 | ||
faebccf9 DN |
2653 | 2008-02-24 Diego Novillo <dnovillo@google.com> |
2654 | ||
2655 | http://gcc.gnu.org/ml/gcc-patches/2008-02/msg01094.html | |
2656 | ||
2657 | PR 33738 | |
2658 | * tree-vrp.c (vrp_evaluate_conditional): With | |
2659 | -Wtype-limits, emit a warning when comparing against a | |
2660 | constant outside the natural range of OP0's type. | |
2661 | * c.opt (Wtype-limits): Move ... | |
2662 | * common.opt (Wtype-limits): ... here. | |
2663 | ||
88c7f01b | 2664 | 2008-02-24 Edmar Wienskoski <edmar@freescale.com> |
fa41c305 EW |
2665 | |
2666 | * config.gcc (powerpc*-*-*): Add new cores e300c2 and e300c3. | |
2667 | * config/rs6000/e300c2c3.md: New file. | |
2668 | * config/rs6000/rs6000.c (processor_costs): Add new costs for | |
2669 | e300c2 and e300c3. | |
2670 | (rs6000_override_options): Add e300c2 and e300c3 cases to | |
2671 | processor_target_table. Do not allow usage of Altivec or Spe | |
2672 | with e300 cores. Initialize rs6000_cost for e300c2 and e300c3. | |
2673 | (rs6000_issue_rate): Set issue rate for e300c2 and e300c3. | |
2674 | * config/rs6000/rs6000.h (processor_type): Add | |
2675 | PROCESSOR_PPCE300C2 and PROCESSOR_PPCE300C3. | |
2676 | (ASM_CPU_SPEC): Add e300c2 and e300c3. | |
2677 | * config/rs6000/rs6000.md (define_attr "cpu"): Add ppce300c2 | |
2678 | and ppce300c3. Include e300c2c3.md. | |
2679 | ||
153fbec8 DE |
2680 | 2008-02-23 David Edelsohn <edelsohn@gnu.org> |
2681 | ||
2682 | * config/rs6000/rs6000.h (CONSTANT_ALIGNMENT): Use STRICT_ALIGNMENT | |
2683 | instead of TARGET_STRICT_ALIGN. | |
2684 | ||
03d4f106 JM |
2685 | 2008-02-23 Joseph Myers <joseph@codesourcery.com> |
2686 | ||
2687 | * explow.c (memory_address): Assert that the generated address is | |
2688 | valid. | |
2689 | ||
fb220235 FXC |
2690 | 2008-02-23 Francois-Xavier Coudert <coudert@clipper.ens.fr> |
2691 | ||
2692 | PR target/25477 | |
2693 | * config/darwin-protos.h: Add darwin_patch_builtins prototype. | |
2694 | * config/darwin-ppc-ldouble-patch.def: New file. | |
2695 | * config/rs6000/darwin.h (SUBTARGET_INIT_BUILTINS): New macro. | |
2696 | * config/rs6000/rs6000.c (rs6000_init_builtins): Call | |
2697 | SUBTARGET_INIT_BUILTINS if defined. | |
93e50125 UB |
2698 | * config/darwin.c (darwin_patch_builtin, darwin_patch_builtins): |
2699 | New functions. | |
fb220235 | 2700 | |
f79db4f6 AP |
2701 | 2008-02-23 Andrew Pinski <andrew_pinski@playstation.sony.com> |
2702 | ||
2703 | PR rtl-opt/33512 | |
2704 | * simplify-rtx.c (simplify_binary_operation_1): Add simplification | |
2705 | of (and X (ior (not X) Y) and (and (ior (not X) Y) X). | |
2706 | ||
bb1f73c2 AP |
2707 | 2008-02-23 Andrew Pinski <andrew_pinski@playstation.sony.com> |
2708 | ||
2709 | PR pch/35027 | |
2710 | * c-pch.c (c_common_valid_pch): Make the "too short to be a PCH | |
2711 | file" warning condtional on -Winvalid-PCH. | |
2712 | ||
8ddcfde1 DJ |
2713 | 2008-02-23 Daniel Jacobowitz <dan@codesourcery.com> |
2714 | ||
2715 | * expmed.c (extract_bit_field): Always use adjust_address for MEM. | |
2716 | ||
84495fd9 UB |
2717 | 2008-02-23 Uros Bizjak <ubizjak@gmail.com> |
2718 | ||
2719 | PR target/22076 | |
2720 | PR target/34256 | |
2721 | * config/i386/mmx.md (*mov<mode>_internal_rex64): Use "!y" to | |
2722 | prevent reload from using MMX registers. | |
2723 | (*mov<mode>_internal): Ditto. | |
2724 | (*movv2sf_internal_rex64): Ditto. | |
2725 | (*movv2sf_internal): Ditto. | |
2726 | ||
73c17ad2 RW |
2727 | 2008-02-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2728 | ||
2729 | PR documentation/31569 | |
2730 | * doc/install.texi2html: Use makeinfo --no-number-sections. | |
2731 | ||
61dd226f NF |
2732 | 2008-02-22 Nathan Froyd <froydnj@codesourcery.com> |
2733 | ||
2734 | * config/rs6000/rs6000.c (rs6000_legitimize_address): Check to | |
2735 | ensure that we can address an entire entity > 8 bytes. Don't | |
2736 | generate reg+reg addressing for such data. | |
2737 | ||
2165fd38 NF |
2738 | 2008-02-22 Nathan Froyd <froydnj@codesourcery.com> |
2739 | ||
2740 | * config/rs6000/rs6000.h (CONSTANT_ALIGNMENT): Don't overalign | |
2741 | strings when optimizing for size, unless the target cares about | |
2742 | alignment. | |
2743 | ||
ad5ebb34 TT |
2744 | 2008-02-22 Tom Tromey <tromey@redhat.com> |
2745 | ||
2746 | * regclass.c (current_pass): Remove declaration. | |
2747 | ||
34d02d17 AS |
2748 | 2008-02-22 Anatoly Sokolov <aesok@post.ru> |
2749 | ||
2750 | * config/avr/libgcc.S (__RAMPZ__): Define. | |
2751 | (__do_copy_data): Add for devices with 128KB code memory. | |
2752 | ||
a4899c01 NF |
2753 | 2008-02-22 Nathan Froyd <froydnj@codesourcery.com> |
2754 | ||
2755 | * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): | |
2756 | Use spe_abi. | |
2757 | * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Likewise. | |
2758 | ||
fe82487e HPN |
2759 | 2008-02-22 Hans-Peter Nilsson <hp@axis.com> |
2760 | ||
2761 | * config/cris/cris.h (REG_CLASS_FROM_LETTER): Recognize 'b' for | |
2762 | GENNONACR_REGS. | |
2763 | ||
ae311566 RW |
2764 | 2008-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2765 | ||
2766 | PR c/19999 | |
2767 | * c-typeck.c (build_binary_op): Warn about floating point | |
2768 | comparisons if FLOAT_TYPE_P, not only for REAL_TYPE. | |
2769 | ||
a2db2771 JJ |
2770 | 2008-02-21 Janis Johnson <janis187@us.ibm.com> |
2771 | ||
2772 | PR target/34526 | |
2773 | * config/rs6000/rs6000.c (rs6000_altivec_abi): Clarify comment. | |
2774 | (rs6000_explicit_options): Split abi into spe_abi and altivec_abi, | |
2775 | add vrsave. | |
2776 | (rs6000_override_options): Set altivec_abi as default, not override, | |
2777 | for 64-bit GNU/Linux; for 32-bit GNU/Linux default to altivec_abi for | |
2778 | TARGET_ALTIVEC; default to TARGET_ALTIVEC_VRSAVE when AltiVec ABI | |
2779 | is used; use new member spe_abi. | |
2780 | (rs6000_handle_option): Set rs6000_explicit_options.vrsave; use | |
2781 | spe_abi and altivec_abi. | |
2782 | ||
89fd06fb TB |
2783 | 2008-02-22 Tomas Bily <tbily@suse.cz> |
2784 | ||
2785 | * tree-vectorizer.c (vect_is_simple_reduction): Fix comment typo. | |
2786 | ||
703fdf5a RW |
2787 | 2008-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2788 | ||
2789 | PR bootstrap/35273 | |
2790 | * config.build (build_file_translate): Set to `CMD //c' only if | |
2791 | it works. | |
2792 | * Makefile.in (build_file_translate): Improve comment. | |
2793 | ||
0ca16832 JH |
2794 | 2008-02-21 Jan Hubicka <jh@suse.cz> |
2795 | ||
2796 | * predict.def (PRED_TREE_OPCODE_POSITIVE, PRED_TREE_OPCODE_NONEQUAL, | |
2797 | PRED_TREE_OPCODE_POSITIVE, PRED_TREE_OPCODE_NONEQUAL, PRED_CALL, | |
2798 | PRED_TREE_EARLY_RETURN, PRED_NULL_RETURN): Update. | |
2799 | ||
c754abbf MM |
2800 | 2008-02-21 Michael Matz <matz@suse.de> |
2801 | ||
2802 | PR target/35264 | |
2803 | * config/i386/i386.c (ix86_expand_branch): Add missing breaks. | |
2804 | ||
85845bb9 UB |
2805 | 2008-02-21 Uros Bizjak <ubizjak@gmail.com> |
2806 | ||
2807 | * config/i386/i386.md (mov<mode>cc): Macroize expander from movsfcc, | |
2808 | movdfcc and movxfcc using X87MODEF mode iterator and SSE_FLOAT_MODE_P | |
2809 | as insn constraint. | |
2810 | * config/i386/sse.md (<sse>_movup<ssemodesuffixf2c>): Macroize insn | |
2811 | from sse_movups adn sse2_movupd using SSEMODEF2P mode iterator and | |
2812 | SSE_VEC_FLOAT_MODE_P as insn constraint. | |
2813 | (<sse>_movmskp<ssemodesuffixf2c>): Ditto from similar patterns. | |
2814 | (sse4a_movnt<mode>): Macroize insn from sse4a_movntsf and | |
2815 | sse4a_movntdf using MODEF mode iterator. | |
2816 | (sse4a_vmmovnt<mode>): Macroize insn form sse4a_vmmovntv2df and | |
2817 | sse4a_vmmovntv4sf using SSEMODEF2P mode iterator. | |
2818 | (sse4_1_blendp<ssemodesuffixf2c>): Ditto from similar patterns. | |
2819 | (sse4_1_blendvp<ssemodesuffixf2c>): Ditto. | |
2820 | (sse4_1_dpp<ssemodesuffixf2c>): Ditto. | |
2821 | (sse4_1_roundp<ssemodesuffixf2c>): Ditto. | |
2822 | (sse4_1_rounds<ssemodesuffixf2c>): Ditto. | |
2823 | ||
dedd42d5 RG |
2824 | 2008-02-21 Richard Guenther <rguenther@suse.de> |
2825 | ||
2826 | * tree.def (PAREN_EXPR): New tree code. | |
2827 | * fold-const.c (fold_unary): Remove PAREN_EXPR around constants | |
2828 | and PAREN_EXPR. | |
2829 | * tree-pretty-print.c (dump_generic_node): Handle PAREN_EXPR. | |
2830 | * expr.c (expand_expr_real_1): Likewise. | |
2831 | * tree-inline.c (estimate_num_insns_1): Likewise. | |
2832 | * tree-complex.c (expand_complex_move): Likewise. | |
2833 | * tree-vectorizer.c (vect_is_simple_use): Treat PAREN_EXPR (x) | |
2834 | as plain x. | |
2835 | ||
7a3cb3ab KK |
2836 | 2008-02-20 Kaz Kojima <kkojima@gcc.gnu.org> |
2837 | ||
2838 | PR target/35225 | |
2839 | * config/sh/sh.c (find_barrier): Don't go past 'from' argument. | |
2840 | ||
6d4d15b8 KK |
2841 | 2008-02-20 Kaz Kojima <kkojima@gcc.gnu.org> |
2842 | ||
2843 | PR target/35190 | |
2844 | * config/sh/sh.md (jump_compact): Disable for crossing jumps. | |
2845 | ||
2846 | * config/sh/sh.c (find_barrier): Don't go past | |
2847 | NOTE_INSN_SWITCH_TEXT_SECTIONS note. | |
2848 | ||
6d4a8967 DD |
2849 | 2008-02-20 DJ Delorie <dj@redhat.com> |
2850 | ||
2851 | * config/h8300/h8300.md (insv): Force source operand to be a register. | |
2852 | ||
2853 | * config/h8300/h8300.c (h8300_expand_epilogue): Emit return insn | |
2854 | as a jump, not as a plain insn. | |
2855 | ||
a214518f SP |
2856 | 2008-02-20 Seongbae Park <seongbae.park@gmail.com> |
2857 | ||
2858 | * doc/invoke.texi (Warning Options): Add new option | |
2859 | -Wframe-larger-than=. | |
2860 | (-Wframe-larger-than): Document. | |
2861 | ||
2862 | * flags.h (warn_frame_larger_than, frame_larger_than_size): | |
2863 | Add declarations for new option variables. | |
2864 | ||
2865 | * final.c (final_start_function): Check the frame size | |
2866 | before emission and issue a Wframe-larger-than warning. | |
2867 | ||
2868 | * opts.c (warn_frame_larger_than, frame_larger_than_size): | |
2869 | Add definitions for new option variables. | |
2870 | (common_handle_option): Handle new option OPT_Wframe_larger_than_. | |
2871 | ||
2872 | * common.opt (Wframe-larger-than=): New option. | |
2873 | ||
993ac7c7 UB |
2874 | 2008-02-20 Uros Bizjak <ubizjak@gmail.com> |
2875 | ||
2876 | * config/i386/sse.md (<sse>_vmmul<mode>3): Fix typo in asm template. | |
2877 | (<sse>_div<mode>3): Ditto. | |
2878 | (<sse>_vmdiv<mode>3): Ditto. | |
2879 | (<sse>_vmsqrt<mode>2): Ditto. | |
2880 | (*smax<mode>3): Ditto. | |
2881 | (sse5_frcz<mode>2): Ditto. | |
2882 | (sse5_vmfrcz<mode>2): Ditto. Use TARGET_SSE5 instead of TARGET_ROUND | |
2883 | as insn constraint. | |
2884 | ||
4cd8e76f RG |
2885 | 2008-02-20 Richard Guenther <rguenther@suse.de> |
2886 | ||
2887 | PR middle-end/35265 | |
2888 | * builtins.c (validate_arg): If we want an INTEGER_TYPE, | |
2889 | be happy with INTEGRAL_TYPE_P. | |
2890 | ||
41bb1f06 RG |
2891 | 2008-02-20 Richard Guenther <rguenther@suse.de> |
2892 | ||
2893 | * fold-const.c (split_tree): Associate floatig-point expressions | |
2894 | if flag_associative_math is set. | |
2895 | ||
2dc0f633 RG |
2896 | 2008-02-20 Richard Guenther <rguenther@suse.de> |
2897 | ||
2898 | * tree.h (fold_real_zero_addition_p): Declare. | |
2899 | * fold-const.c (fold_real_zero_addition_p): Export. | |
2900 | * tree-ssa-reassoc.c (eliminate_using_constants): Also handle | |
2901 | floating-point operations with zero and one. | |
2902 | ||
1c8bd6a3 PB |
2903 | 2008-02-20 Paolo Bonzini <bonzini@gnu.org> |
2904 | ||
4b40b2a5 UB |
2905 | * doc/install.texi: Correct references to CFLAGS, replacing them |
2906 | with BOOT_CFLAGS. Document flags used during bootstrap for | |
2907 | target libraries. | |
1c8bd6a3 | 2908 | |
d6023b50 UB |
2909 | 2008-02-20 Uros Bizjak <ubizjak@gmail.com> |
2910 | ||
2911 | * config/i386/i386.h (SSE_VEC_FLOAT_MODE_P): New define. | |
2912 | * config/i386/i386.md (*sse_setcc<mode>): Macroize from *sse_setccsf | |
2913 | and *sse_setccdf using MODEF mode iterator and SSE_FLOAT_MODE_P as | |
2914 | insn constraint. | |
2915 | (smin<mode>3): Ditto from similar patterns. | |
2916 | (smax<mode>3): Ditto. | |
2917 | (*ieee_smin<mode>3): Ditto. | |
2918 | (*ieee_smax<mode>3): Ditto. | |
2919 | * config/i386/sse.md (sse): New mode attribute. | |
2920 | (mov<mode>): Macroize expander from movv4sf and movv2df using | |
2921 | SSEMODEF2P mode iterator. | |
2922 | (<sse>_movnt<mode>): Ditto from similar patterns. Use | |
2923 | SSE_VEC_FLOAT_MODE_P as insn constraint. | |
2924 | (storent<mode>): Ditto. | |
2925 | (storent<mode>): Macroize expander from storentsf and storentdf using | |
2926 | MODEF mode iterator. | |
2927 | (neg<mode>2): Macroize from negv4sf2 and negv2df2 using SSEMODEF2P | |
2928 | mode iterator and SSE_VEC_FLOAT_MODE_P as insn constraint. | |
2929 | (abs<mode>2): Ditto from similar patterns. | |
2930 | (add<mode>3, *add<mode>3, <sse>_vmadd<mode>3): Ditto. | |
2931 | (sub<mode>3, *sub<mode>3, <sse>_vmsub<mode>3): Ditto. | |
2932 | (<sse>_div<mode>3, <sse>_vmdiv<mode>3): Ditto. | |
2933 | (<sse>_vmsqrt<mode>2): Ditto. | |
2934 | (smin<mode>3, *smin<mode>3_finite, *smin<mode>3) | |
2935 | (<sse>_vmsmin<mode>3, *ieee_smin<mode>3): Ditto. | |
2936 | (smax<mode>3, *smax<mode>3_finite, *smax<mode>3) | |
2937 | (<sse>_vmsmax<mode>3, *ieee_smax<mode>3): Ditto. | |
2938 | (<sse>_maskcmp<mode>3): Macroize from sse_maskcmpv4sf3, | |
2939 | sse_maskcmpsf3, sse2_maskcmpv2df3 and sse2_maskcmpdf3 using SSEMODEF4 | |
2940 | mode iterator. Use SSE_FLOAT_MODE_P with SSE_VEC_FLOAT_MODE_P as | |
2941 | insn constraint. | |
2942 | (<sse>_comi): Macroize from sse_comi and sse2_comi using MODEF mode | |
2943 | iterator and SSE_FLOAT_MODE_P as insn constraint. | |
2944 | (<sse>_ucomi): Ditto from similar patterns. | |
2945 | (<sse>_vmmaskcmp<mode>3): Macroize from sse_vmmaskcmpv4sf3 and | |
2946 | sse2_vmmaskcmpv2df3 using SSEMODEF2P mode iterator and | |
2947 | SSE_VEC_FLOAT_MODE_P as insn constraint. | |
2948 | (vcond<mode>): Ditto from similar patterns. | |
2949 | (and<mode>3, *and<mode>3): Ditto. | |
2950 | (<sse>_nand<mode>3): Ditto. | |
2951 | (ior<mode>3, *ior<mode>3): Ditto. | |
2952 | (xor<mode>3, *xor<mode>3): Ditto. | |
2953 | (*and<mode>3): Macroize from *andsf3 and *anddf3 using MODEF mode | |
2954 | iterator and SSE_FLOAT_MODE_P as insn constraint. | |
2955 | (*nand<mode>3): Ditto from similar patterns. | |
2956 | (*ior<mode>3): Ditto. | |
2957 | (*xor<mode>3): Ditto. | |
2958 | ||
76a893cf IR |
2959 | 2008-02-20 Ira Rosen <irar@il.ibm.com> |
2960 | ||
2961 | * config/spu/spu.md (vec_unpacku_hi_v8hi, vec_unpacku_lo_v8hi, | |
2962 | vec_unpacks_hi_v8hi, vec_unpacks_lo_v8hi, vec_unpacku_hi_v16qi, | |
2963 | vec_unpacku_lo_v16qi, vec_unpacks_lo_v16qi): Implement. | |
2964 | ||
daac0317 JH |
2965 | 2008-02-19 Jan Hubicka <jh@suse.cz> |
2966 | ||
a8971bdb UB |
2967 | * predict.c (tree_bb_level_predictions): Remove variable next |
2968 | mistakely introduced by previous commit. | |
daac0317 | 2969 | |
3e4b9ad0 JH |
2970 | 2008-02-19 Jan Hubicka <jh@suse.cz> |
2971 | ||
2972 | * predict.c (predict_paths_leading_to): Rewrite. | |
2973 | (predict_paths_for_bb): New. | |
2974 | (tree_bb_level_predictions): Update call of predict_paths_leading_to. | |
2975 | ||
a0e527e3 RW |
2976 | 2008-02-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2977 | ||
2978 | PR bootstrap/35218 | |
2979 | * Makefile.in (build_file_translate): New. | |
2980 | (gcc-vers.texi): Use it for translating $(abs_srcdir). | |
2981 | * config.build (build_file_translate): Set to `CMD //c' on MinGW. | |
2982 | * configure.ac (build_file_translate): Substitute it. | |
2983 | * configure: Regenerate. | |
2984 | ||
9d5cee3d JH |
2985 | 2008-02-19 Jan Hubicka <jh@suse.cz> |
2986 | ||
2987 | PR rtl-optimization/34408 | |
3e4b9ad0 JH |
2988 | * see.c (see_def_extension_not_merged): Copy subreg so we don't have |
2989 | invalid sharing. | |
9d5cee3d | 2990 | |
8723e2fe JH |
2991 | 2008-02-19 Jan Hubicka <jh@suse.cz> |
2992 | ||
2993 | PR middle-end/28779 | |
3e4b9ad0 JH |
2994 | * tree-inline.c (estimate_num_insns_1): Fix counting of cost of |
2995 | call_expr. | |
8723e2fe | 2996 | |
5ba5440f L |
2997 | 2008-02-19 H.J. Lu <hongjiu.lu@intel.com> |
2998 | ||
2999 | PR Ada/35186 | |
3000 | * config/i386/i386-modes.def: Revert the last DI alignment | |
3001 | change until Ada people can look into it. | |
3002 | ||
c01c261d NC |
3003 | 2008-02-19 Nick Clifton <nickc@redhat.com> |
3004 | ||
3005 | * opts.c (print_specific_help): Fix typo in --help text. | |
3006 | ||
2e834acb JJ |
3007 | 2008-02-19 Jakub Jelinek <jakub@redhat.com> |
3008 | ||
3009 | PR target/35239 | |
3010 | * config/i386/cpuid.h (__cpuid, __get_cpuid_max): Use special | |
3011 | 32-bit inline asm without asm alternatives for host GCC < 3.0. | |
3012 | ||
9cadd7f7 RG |
3013 | 2008-02-19 Richard Guenther <rguenther@suse.de> |
3014 | ||
3015 | PR tree-optimization/34989 | |
3016 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Re-structure. | |
3017 | Allow propagation to INDIRECT_REF if we can simplify only. | |
3018 | ||
ffc30173 MLI |
3019 | 2008-02-19 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
3020 | ||
3021 | * c-common.c (warn_for_collisions_1): Use appropriate option when | |
3022 | warning. | |
3023 | ||
b3eaaf1a NC |
3024 | 2008-02-19 Nick Clifton <nickc@redhat.com> |
3025 | ||
3026 | PR other/31349 | |
a8971bdb | 3027 | * opts.c (undocumented_msg): Leave blank unless checking is enabled. |
b3eaaf1a NC |
3028 | (handle_options): Fix indentation. |
3029 | (print_filtered_help): If no language-specific options were | |
3030 | displayed tell the user how to list all the options supported by | |
3031 | the language's front-end. | |
3032 | (print_specific_help): Fix indentation and remove duplicate line. | |
3033 | (common_handle_option): Handle the -v option. | |
3034 | For --help enable the display of undocumented options if the -v | |
3035 | switch has been included on the command line. | |
3036 | For --help= check for overlaps in the arguments between the option | |
3037 | classes and the language names and issue a warning when they | |
3038 | cannot be disambiguated. | |
3039 | * c.opt (v): Pass on to the common option handler. | |
3040 | ||
de82c453 RE |
3041 | 2008-02-19 Revital Eres <eres@il.ibm.com> |
3042 | ||
3043 | * modulo-sched.c (sms_schedule): Change dump message when | |
3044 | create_ddg function fails. | |
3045 | (try_scheduling_node_in_cycle): Rename row to cycle. | |
3046 | (print_partial_schedule): Rename CYCLE to ROW. | |
3047 | ||
32159434 | 3048 | 2008-02-19 Christian Bruel <christian.bruel@st.com> |
a8971bdb UB |
3049 | Zdenek Dvorak <ook@ucw.cz> |
3050 | ||
3051 | * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Check step alignment. | |
3052 | ||
0e93e1b4 UB |
3053 | 2008-02-19 Uros Bizjak <ubizjak@gmail.com> |
3054 | ||
3055 | PR target/33555 | |
3056 | * config/i386/i386.md (*x86_movsicc_0_m1_se): New insn pattern. | |
3057 | (*x86_movdicc_0_m1_se): Ditto. | |
3058 | ||
02d353cf UB |
3059 | 2008-02-19 Uros Bizjak <ubizjak@gmail.com> |
3060 | ||
3061 | * config/i386/sfp-machine.h (__gcc_CMPtype): New typedef. | |
3062 | (CMPtype): Define as __gcc_CMPtype. | |
3063 | * config/rs6000/sfp-machine.h (__gcc_CMPtype): New typedef. | |
3064 | (CMPtype): Define as __gcc_CMPtype. | |
3065 | ||
35dee980 HPN |
3066 | 2008-02-19 Hans-Peter Nilsson <hp@axis.com> |
3067 | ||
3068 | Support valgrind 3.3 for --enable-checking=valgrind. | |
3069 | * system.h: Consolidate ENABLE_VALGRIND_CHECKING-dependent defines | |
3070 | here. | |
3071 | [!VALGRIND_MAKE_MEM_NOACCESS]: Define as VALGRIND_MAKE_NOACCESS. | |
3072 | [!VALGRIND_MAKE_MEM_DEFINED]: Define as VALGRIND_MAKE_READABLE. | |
3073 | [!VALGRIND_MAKE_MEM_UNDEFINED]: Define as VALGRIND_MAKE_WRITABLE. | |
3074 | * ggc-common.c: Remove ENABLE_VALGRIND_CHECKING-dependent defines. | |
3075 | Replace use of VALGRIND_MAKE_READABLE, VALGRIND_MAKE_WRITABLE, and | |
3076 | VALGRIND_MAKE_NOACCESS with VALGRIND_MAKE_MEM_DEFINED, | |
3077 | VALGRIND_MAKE_MEM_UNDEFINED, and VALGRIND_MAKE_MEM_NOACCESS | |
3078 | respectively. | |
3079 | * ggc-zone.c: Similar. | |
3080 | * ggc-page.c: Similar. | |
3081 | ||
27e03cf1 PB |
3082 | 2008-02-19 Paul Brook <paul@codesourcery.com> |
3083 | ||
3084 | PR target/35071 | |
3085 | * config/arm/ieee754-df.S: Fix do_it typo. | |
3086 | * config/arm/ieee754-sf.S: Fix do_it typo. | |
3087 | ||
287a7d41 L |
3088 | 2008-02-18 H.J. Lu <hongjiu.lu@intel.com> |
3089 | ||
3090 | PR target/35189 | |
3091 | * config/i386/i386.c (OPTION_MASK_ISA_MMX_SET): New. | |
3092 | (OPTION_MASK_ISA_3DNOW_SET): Likewise. | |
3093 | (OPTION_MASK_ISA_SSE_SET): Likewise. | |
3094 | (OPTION_MASK_ISA_SSE2_SET): Likewise. | |
3095 | (OPTION_MASK_ISA_SSE3_SET): Likewise. | |
3096 | (OPTION_MASK_ISA_SSSE3_SET): Likewise. | |
3097 | (OPTION_MASK_ISA_SSE4_1_SET): Likewise. | |
3098 | (OPTION_MASK_ISA_SSE4_2_SET): Likewise. | |
3099 | (OPTION_MASK_ISA_SSE4_SET): Likewise. | |
3100 | (OPTION_MASK_ISA_SSE4A_SET): Likewise. | |
3101 | (OPTION_MASK_ISA_SSE5_SET): Likewise. | |
3102 | (OPTION_MASK_ISA_3DNOW_A_UNSET): Likewise. | |
3103 | (OPTION_MASK_ISA_MMX_UNSET): Updated. | |
3104 | (OPTION_MASK_ISA_3DNOW_UNSET): Updated. | |
3105 | (OPTION_MASK_ISA_SSE_UNSET): Likewise. | |
3106 | (OPTION_MASK_ISA_SSE3_UNSET): Likewise. | |
3107 | (OPTION_MASK_ISA_SSSE3_UNSET): Likewise. | |
3108 | (OPTION_MASK_ISA_SSE4_1_UNSET): Likewise. | |
3109 | (OPTION_MASK_ISA_SSE4_2_UNSET): Likewise. | |
3110 | (OPTION_MASK_ISA_SSE4A_UNSET): Likewise. | |
3111 | (OPTION_MASK_ISA_SSE5_UNSET): Likewise. | |
3112 | (OPTION_MASK_ISA_SSE4): Removed. | |
3113 | (ix86_handle_option): Turn on bits in ix86_isa_flags and | |
3b509e33 | 3114 | ix86_isa_flags_explicit with OPTION_MASK_ISA_XXX_SET for -mXXX. |
287a7d41 L |
3115 | (override_options): Don't turn on implied SSE/MMX bits in |
3116 | ix86_isa_flags. | |
3117 | ||
feaffcaa L |
3118 | 2008-02-18 H.J. Lu <hongjiu.lu@intel.com> |
3119 | ||
3120 | * config/i386/i386-modes.def: Use 4 byte alignment on DI for | |
3121 | 32bit host. | |
3122 | ||
b2ae828d JY |
3123 | 2008-02-18 Joey Ye <joey.ye@intel.com> |
3124 | ||
3125 | PR middle-end/34921 | |
3126 | * tree-nested.c (insert_field_into_struct): Set type alignment | |
3127 | to field alignment if the former is less than the latter. | |
3128 | ||
8d855c3d JJ |
3129 | 2008-02-18 Jakub Jelinek <jakub@redhat.com> |
3130 | ||
3131 | * BASE-VER: Set to 4.4.0. | |
3132 | ||
923158be RW |
3133 | 2008-02-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
3134 | ||
3135 | * doc/c-tree.texi: Use @dots{} and @enddots{} where appropriate. | |
3136 | * doc/cfg.texi: Likewise. | |
3137 | * doc/extend.texi: Likewise. | |
3138 | * doc/gty.texi: Likewise. | |
3139 | * doc/invoke.texi: Likewise. | |
3140 | * doc/loop.texi: Likewise. | |
3141 | * doc/md.texi: Likewise. | |
3142 | * doc/passes.texi: Likewise. | |
3143 | * doc/rtl.texi: Likewise. | |
3144 | * doc/sourcebuild.texi: Likewise. | |
3145 | * doc/tm.texi: Likewise. | |
3146 | * doc/tree-ssa.texi: Likewise. | |
3147 | ||
f0a77246 RG |
3148 | 2008-02-17 Richard Guenther <rguenther@suse.de> |
3149 | ||
3150 | PR middle-end/35227 | |
3151 | * tree-complex.c (init_parameter_lattice_values): Handle parameters | |
3152 | without default definition. | |
3153 | ||
e09deb14 RG |
3154 | 2008-02-17 Richard Guenther <rguenther@suse.de> |
3155 | ||
3156 | PR tree-optimization/35231 | |
3157 | * tree-vrp.c (register_edge_assert_for): Do not assume A == 0 | |
3158 | if A | B != 1. | |
3159 | ||
e6528d32 UB |
3160 | 2008-02-17 Uros Bizjak <ubizjak@gmail.com> |
3161 | ||
3162 | Revert: | |
e6528d32 UB |
3163 | 2008-02-15 Uros Bizjak <ubizjak@gmail.com> |
3164 | * config/i386/sfp-machine.h (CMPtype): Define as typedef using | |
3165 | libgcc_cmp_return mode. | |
3166 | ||
93e052a8 MLI |
3167 | 2008-02-16 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
3168 | ||
3169 | PR c/28368 | |
3170 | * doc/invoke.texi (-std): Clarify description of -std= and -ansi. | |
3171 | ||
2a49e6f8 RC |
3172 | 2008-02-16 Ralf Corsepius <ralf.corsepius@rtems.org> |
3173 | ||
3174 | * config/m68k/t-rtems (M68K_MLIB_CPU): Add 5208, 5307, 5407, 5475 | |
3175 | multilibs. | |
3176 | ||
0ee2ea09 RW |
3177 | 2008-02-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
3178 | ||
3179 | * doc/c-tree.texi: Use `@.' where appropriate. | |
3180 | * doc/extend.texi: Likewise. | |
3181 | * doc/install.texi: Likewise. | |
3182 | * doc/invoke.texi: Likewise. | |
3183 | * doc/loop.texi: Likewise. | |
3184 | * doc/makefile.texi: Likewise. | |
3185 | * doc/md.texi: Likewise. | |
3186 | * doc/passes.texi: Likewise. | |
3187 | * doc/standards.texi: Likewise. | |
3188 | * doc/tm.texi: Likewise. | |
3189 | ||
ac84c062 JJ |
3190 | 2008-02-15 Jakub Jelinek <jakub@redhat.com> |
3191 | ||
3192 | PR middle-end/35196 | |
3193 | * omp-low.c (expand_omp_for_generic): Don't initialize fd->v | |
3194 | in entry_bb. | |
3195 | (expand_omp_for_static_nochunk): Initialize fd->v in seq_start_bb | |
3196 | rather than in entry_bb. | |
3197 | ||
6a9e8571 UB |
3198 | 2008-02-15 Uros Bizjak <ubizjak@gmail.com> |
3199 | ||
3200 | * config/i386/sfp-machine.h (CMPtype): Define as typedef using | |
3201 | libgcc_cmp_return mode. | |
3202 | ||
6837b3b8 JJ |
3203 | 2008-02-15 Jakub Jelinek <jakub@redhat.com> |
3204 | ||
3205 | PR middle-end/35130 | |
3206 | * tree-nested.c (convert_call_expr): Put FRAME.* vars into | |
3207 | OMP_CLAUSE_SHARED rather than OMP_CLAUSE_FIRSTPRIVATE clause. | |
3208 | ||
2e58df6e | 3209 | 2008-02-15 Richard Guenther <rguenther@suse.de> |
6a9e8571 | 3210 | Zdenek Dvorak <ook@ucw.cz> |
2e58df6e RG |
3211 | |
3212 | PR tree-optimization/35164 | |
3213 | * tree-flow.h (stmt_references_abnormal_ssa_name): Declare. | |
3214 | * tree-dfa.c (stmt_references_abnormal_ssa_name): New function. | |
3215 | * tree-ssa-forwprop.c (tree_ssa_forward_propagate_single_use_vars): | |
3216 | Only propagate addresses which do not have abnormal SSA_NAMEs | |
3217 | in their operands. | |
3218 | ||
206598fb JM |
3219 | 2008-02-15 Joseph Myers <joseph@codesourcery.com> |
3220 | ||
3221 | PR target/35088 | |
3222 | * config/m68k/m68k.h (DWARF_CIE_DATA_ALIGNMENT): Define. | |
3223 | ||
18168b3f JH |
3224 | 2008-02-15 Jan Hubicka <jh@suse.cz> |
3225 | ||
3226 | PR middle-end/35149 | |
3227 | * ipa.c (cgraph_remove_unreachable_nodes): Clear local.inlinable flag. | |
3228 | ||
6f6b8f81 UB |
3229 | 2008-02-15 Uros Bizjak <ubizjak@gmail.com> |
3230 | ||
3231 | PR middle-end/34621 | |
3232 | * function.c (pad_to_arg_alignment): Remove test for STACK_BOUNDARY | |
3233 | when calculating alignment_pad. | |
3234 | ||
979c67a5 UB |
3235 | 2008-02-15 Uros Bizjak <ubizjak@gmail.com> |
3236 | ||
3237 | * config/i386/i386.h (CLEAR_RATIO): Use MIN macro. | |
3238 | (WIDEST_HARDWARE_FP_SIZE): Use LONG_DOUBLE_TYPE_SIZE define. | |
3239 | * config/i386/darwin.h (PREFERRED_STACK_BOUNDARY): Use MAX macro | |
3240 | and STACK_BOUNDARY define. | |
3241 | ||
101e174d DS |
3242 | 2008-02-14 Danny Smith <dannysmith@users.sourceforge.net> |
3243 | ||
3244 | PR preprocessor/35061 | |
3245 | * c-pragma.c (handle_pragma_pop_macro): Check that | |
3246 | pushed_macro_table has been allocated. | |
3247 | ||
928bc34f EB |
3248 | 2008-02-14 Eric Botcazou <ebotcazou@adacore.com> |
3249 | ||
3250 | PR middle-end/35136 | |
3251 | * gimplify.c (force_gimple_operand_bsi): Revert 2008-02-12 change. | |
3252 | (force_gimple_operand): Likewise. | |
3253 | * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Add new cases | |
3254 | for TARGET_MEM_REF and CONVERT_EXPR/NON_LVALUE_EXPR/NOP_EXPR. | |
3255 | Also recurse on the operand for regular VIEW_CONVERT_EXPRs. | |
3256 | (find_interesting_uses_address): Check addressability and alignment | |
3257 | of the base expression only after substituting bases of IVs into it. | |
3258 | ||
a5bfb13a MM |
3259 | 2008-02-14 Michael Matz <matz@suse.de> |
3260 | ||
3261 | PR target/34930 | |
3262 | * function.c (instantiate_virtual_regs_in_insn): Reload address | |
3263 | before falling back to reloading the whole operand. | |
3264 | ||
b49326f1 AK |
3265 | 2008-02-14 Andreas Krebbel <krebbel1@de.ibm.com> |
3266 | ||
3267 | * config/s390/s390.c (s390_mainpool_start): Emit the pool | |
3268 | before the first section switch note. | |
3269 | ||
021efafc RW |
3270 | 2008-02-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
3271 | ||
346341a4 RW |
3272 | * doc/bugreport.texi: Update copyright years. |
3273 | * doc/c-tree.texi: Likewise. | |
3274 | * doc/cfg.texi: Likewise. | |
3275 | * doc/cpp.texi: Likewise. | |
3276 | * doc/cppinternals.texi: Likewise. | |
3277 | * doc/fragments.texi: Likewise. | |
3278 | * doc/frontends.texi: Likewise. | |
3279 | * doc/gcc.texi: Likewise. | |
3280 | * doc/gty.texi: Likewise. | |
3281 | * doc/hostconfig.texi: Likewise. | |
3282 | * doc/implement-c.texi: Likewise. | |
3283 | * doc/libgcc.texi: Likewise. | |
3284 | * doc/loop.texi: Likewise. | |
3285 | * doc/makefile.texi: Likewise. | |
3286 | * doc/options.texi: Likewise. | |
3287 | * doc/passes.texi: Likewise. | |
3288 | * doc/rtl.texi: Likewise. | |
3289 | * doc/sourcebuild.texi: Likewise. | |
3290 | * doc/standards.texi: Likewise. | |
3291 | * doc/tree-ssa.texi: Likewise. | |
3292 | * doc/trouble.texi: Likewise. | |
3293 | ||
021efafc RW |
3294 | * doc/extend.texi: Use @: or add comma where appropriate. |
3295 | * doc/invoke.texi: Likewise. | |
3296 | * doc/tm.texi: Likewise. | |
3297 | ||
583da60a AM |
3298 | 2008-02-14 Alan Modra <amodra@bigpond.net.au> |
3299 | ||
3300 | PR target/34393 | |
3301 | * config/rs6000/rs6000.md (restore_stack_block): Force operands[1] | |
3302 | to a reg. | |
3303 | ||
2a6627c2 JN |
3304 | 2008-02-14 Jesper Nilsson <jesper.nilsson@axis.com> |
3305 | ||
3306 | * doc/md.texi (clz, ctz): Add reference. | |
3307 | * doc/rtl.texi (clz, ctz): Likewise. | |
3308 | ||
1b0c753a RW |
3309 | 2008-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
3310 | ||
3311 | PR other/35148 | |
3312 | * Makefile.in (gcc-vers.texi): Use abs_srcdir for the value of | |
3313 | srcdir. | |
3314 | ||
03870a04 AK |
3315 | 2008-02-13 Andreas Krebbel <krebbel1@de.ibm.com> |
3316 | ||
3317 | * config/s390/s390.c (struct constant_pool): New field | |
3318 | emit_pool_after added. | |
3319 | (s390_mainpool_start): Set the emit_pool_after flag according | |
3320 | to the section switch notes. | |
3321 | (s390_mainpool_finish): Consider emit_pool_after when emitting | |
3322 | the literal pool at the end of the function. | |
3323 | (s390_chunkify_start): Force literal pool splits at section | |
3324 | switch notes. | |
3325 | ||
be71b673 MM |
3326 | 2008-02-13 Michael Matz <matz@suse.de> |
3327 | ||
3328 | PR debug/35065 | |
3329 | * var-tracking.c (clobber_variable_part): Correctly traverse the | |
3330 | list. | |
3331 | ||
fed39e22 MLI |
3332 | 2008-02-13 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
3333 | ||
3334 | PR 29673 | |
3335 | * doc/invoke.texi (Debugging Options): Remove -fdump-tree-inlined. | |
3336 | Add -fdump-ipa-inline. | |
3337 | * tree-dump.c (dump_files): Remove tree-inlined dump. | |
3338 | * tree-pass.h (tree_dump_index): Remove TDI_inlined. | |
3339 | ||
8665227f RG |
3340 | 2008-02-12 Richard Guenther <rguenther@suse.de> |
3341 | ||
3342 | PR tree-optimization/35171 | |
3343 | * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Deal with | |
3344 | default defs. | |
3345 | ||
8f768a5a RG |
3346 | 2008-02-12 Richard Guenther <rguenther@suse.de> |
3347 | ||
3348 | PR middle-end/35163 | |
3349 | * fold-const.c (fold_widened_comparison): Use get_unwidened in | |
3350 | value-preserving mode. Disallow final truncation. | |
3351 | ||
81186f7b EB |
3352 | 2008-02-12 Eric Botcazou <ebotcazou@adacore.com> |
3353 | ||
3354 | PR middle-end/35136 | |
3355 | * gimplify.c (force_gimple_operand_bsi): Move SSA renaming | |
3356 | code from here to... | |
3357 | (force_gimple_operand): ...here. | |
3358 | ||
d7b8033f JJ |
3359 | 2008-02-12 Jakub Jelinek <jakub@redhat.com> |
3360 | ||
e4521d11 JJ |
3361 | PR c++/35144 |
3362 | * tree-sra.c (sra_build_assignment): fold_convert SRC if copying | |
3363 | non-compatible pointers. | |
3364 | (generate_element_copy): If SRC and DST are RECORD_TYPEs with | |
3365 | different FIELD_DECLs, try harder by comparing field offsets, sizes | |
3366 | and types. | |
3367 | ||
d7b8033f JJ |
3368 | PR inline-asm/35160 |
3369 | * function.c (match_asm_constraints_1): Don't replace the same input | |
3370 | multiple times. | |
3371 | ||
d6f77715 AS |
3372 | 2008-02-12 Anatoly Sokolov <aesok@post.ru> |
3373 | ||
3374 | * config/avr/avr.h (AVR_HAVE_RAMPZ): Define. | |
3375 | * config/avr/avr.c (expand_prologue): Save RAMPZ register. | |
3376 | (expand_epilogue): Restore RAMPZ register. | |
3377 | * config/avr/avr.md (RAMPZ_ADDR): New constant. | |
3378 | ||
35b35fd0 KT |
3379 | 2008-02-11 Kai Tietz <kai.tietz@onevision.com> |
3380 | ||
40049ccc | 3381 | * config/i386/cygwin.asm: (__alloca): Correct calling |
35b35fd0 KT |
3382 | convention and alignment. |
3383 | (__chkstk): Force 8 byte stack alignment. | |
3384 | ||
a6e2d112 | 3385 | 2008-02-11 Uros Bizjak <ubizjak@gmail.com> |
f8c5cff4 | 3386 | Richard Guenther <rguenther@suse.de> |
a6e2d112 UB |
3387 | |
3388 | PR tree-optimization/33992 | |
3389 | * tree-ssa-loop-im.c (rewrite_bittest): Fixup the type of | |
3390 | the zero we compare against. | |
3391 | ||
40049ccc UB |
3392 | 2008-02-10 Danny Smith <dannysmith@users.sourceforge.net> |
3393 | ||
3394 | PR libfortran/35063 | |
3395 | * gthr-win32.h (__gthread_mutex_destroy_function): New function | |
3396 | to CloseHandle after unlocking to prevent accumulation of handle | |
3397 | count. | |
3398 | ||
4d811a05 JDA |
3399 | 2008-02-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3400 | ||
3401 | PR middle_end/34150 | |
3402 | * pa.c (legitimize_pic_address): Add REG_EQUAL note on sets with a | |
3403 | pic_label_operand source. Similarly, add a REG_LABEL_OPERAND note | |
3404 | and update LABEL_NUSES during and after reload. | |
3405 | ||
e37f6a49 SB |
3406 | 2008-02-08 Steven Bosscher <stevenb.gcc@gmail.com> |
3407 | ||
3408 | PR middle-end/34627 | |
a3395528 | 3409 | * combine.c (simplify_if_then_else): Make sure the comparison is |
e37f6a49 SB |
3410 | against const0_rtx when simplifying to (abs x) or (neg (abs X)). |
3411 | ||
34917a10 RS |
3412 | 2008-02-08 Richard Sandiford <rsandifo@nildram.co.uk> |
3413 | ||
3414 | PR bootstrap/35051 | |
3415 | * double-int.h: Don't include gmp.h for GENERATOR_FILEs. | |
3416 | (mpz_set_double_int, mpz_get_double_int): Hide from GENERATOR_FILEs. | |
3417 | * real.h: Don't include gmp.h or mpfr.h for GENERATOR_FILEs. | |
3418 | (real_from_mpfr, mpfr_from_real): Hide from GENERATOR_FILEs. | |
3419 | * tree.h (get_type_static_bounds): Likewise. | |
3420 | ||
670b0231 RW |
3421 | 2008-02-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
3422 | ||
3423 | * doc/invoke.texi (Option Summary, C++ Dialect Options) | |
3424 | (Objective-C and Objective-C++ Dialect Options, Warning Options): | |
3425 | Make -Wfoo language annotations match what the compiler outputs. | |
3426 | ||
069c47ee SL |
3427 | 2008-02-08 Sa Liu <saliu@de.ibm.com> |
3428 | ||
3429 | * config/spu/spu-builtins.def: Fixed wrong parameter type in spu | |
3430 | intrinsics spu_convts, spu_convtu, spu_convtf. | |
3431 | * testsuite/gcc.target/spu/intrinsics-3.c: New. Test error messages. | |
3432 | ||
ccd2a21e HPN |
3433 | 2008-02-08 Hans-Peter Nilsson <hp@axis.com> |
3434 | ||
3435 | * doc/extend.texi (Function Attributes) <noinline>: Mention | |
3436 | asm ("") as method to keep calls. | |
3437 | ||
af47e6ac MLI |
3438 | 2008-02-07 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
3439 | ||
3440 | PR other/32754 | |
3441 | * doc/options.texi (Options): Replace references to opts.sh with | |
3442 | optc-gen.awk. | |
3443 | * opts-common.c: Likewise. | |
3444 | * optc-gen.awk: Likewise. | |
3445 | ||
96e2afa8 AK |
3446 | 2008-02-07 Andreas Krebbel <krebbel1@de.ibm.com> |
3447 | ||
3448 | * config/s390/s390.h (FUNCTION_ARG_REGNO_P): Fix fprs for 64 bit. | |
3449 | ||
3450 | 2008-02-07 Richard Henderson <rth@redhat.com> | |
32891ff6 RH |
3451 | |
3452 | PR rtl-opt/33410 | |
3453 | * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use an | |
3454 | EXPR_LIST for the REG_EQUAL instead of a comparison with a | |
3455 | funny mode. | |
3456 | ||
c4ae80d9 UB |
3457 | 2008-02-07 Uros Bizjak <ubizjak@gmail.com> |
3458 | ||
3459 | PR tree-optimization/35085 | |
3460 | * tree-ssa-reassoc.c (rewrite_expr_tree): Enable destructive update | |
3461 | for operand entry oe2 in addition to operand entry oe3 in order to | |
3462 | expose more opportunities for vectorizer sum reduction. | |
3463 | ||
72fb133f KG |
3464 | 2008-02-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3465 | ||
3466 | PR other/35107 | |
3467 | * Makefile.in (LIBS): Remove $(GMPLIBS). | |
3468 | (cc1-dummy, cc1): Add $(GMPLIBS). | |
3469 | ||
20a415f8 JH |
3470 | 2008-02-06 Jan Hubicka <jh@suse.cz> |
3471 | ||
88b089d5 | 3472 | PR target/23322 |
20a415f8 JH |
3473 | * i386.md (moddf_integer): Do not produce partial memory stalls for |
3474 | targets where it hurts. | |
3475 | ||
cc8d36a1 UB |
3476 | 2008-02-06 Uros Bizjak <ubizjak@gmail.com> |
3477 | ||
3478 | PR target/35083 | |
3479 | * optabs.c (expand_float): Do not check for decimal modes when | |
3480 | expanding unsigned integer through signed conversion. | |
3481 | ||
2ccd9cb2 NC |
3482 | 2008-02-06 Nick Clifton <nickc@redhat.com> |
3483 | ||
3484 | * config/stormy16/stormy16.md (eqbranchsi): Replace a match_dup | |
3485 | inside the clobber with a match_operand and duplicated operand | |
3486 | number in the constraint. | |
3487 | (ineqbranchsi): Delete redundant comment. | |
3488 | ||
ecb2366e RC |
3489 | 2008-02-06 Ralf Corsepius <ralf.corsepius@rtems.org> |
3490 | ||
448b96d0 RC |
3491 | * config/arm/rtems-elf.h (TARGET_OS_CPP_BUILTINS): Add |
3492 | builtin_define ("__USE_INIT_FINI__"). | |
3493 | * config/h8300/t-rtems (MULTILIB_OPTION,MULTILIB_DIRNAMES): Add | |
3494 | -msx multilibs. | |
ecb2366e RC |
3495 | * gthr-rtems.h: Remove __GTHREAD_MUTEX_INIT. |
3496 | ||
ccd4e386 RW |
3497 | 2008-02-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
3498 | ||
3499 | PR documentation/30330 | |
3500 | * doc/invoke.texi (C++ Dialect Options) | |
3501 | (Objective-C and Objective-C++ Dialect Options, Warning Options): | |
3502 | For each warning option -Wfoo that allows -Wno-foo, ensure both | |
3503 | -Wfoo and -Wno-foo are listed in the option index. Fix index | |
3504 | entry of -Wswitch-default, index -Wnormalized= including the | |
3505 | `=', and -Wlarger-than-@var{len} including @var{len}. | |
3506 | ||
def7425b UB |
3507 | 2008-02-05 Uros Bizjak <ubizjak@gmail.com> |
3508 | ||
3509 | * config/i386/i386.md (floatunssisf2): Use | |
3510 | ix86_expand_convert_uns_sisf_sse also for TARGET_SSE. | |
3511 | (floatunssi<mode>2): Rename from floatunssisf2 and floatunssidf2. | |
3512 | Macroize expander using MODEF mode iterator. | |
3513 | ||
c1e7d240 DN |
3514 | 2008-02-05 Diego Novillo <dnovillo@google.com> |
3515 | ||
3516 | http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00140.html | |
3517 | ||
3518 | PR 33738 | |
def7425b | 3519 | * tree-vrp.c (vrp_evaluate_conditional): Revert fix for PR 33738. |
c1e7d240 | 3520 | |
3a204175 KG |
3521 | 2008-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3522 | ||
3523 | PR other/35070 | |
3524 | * toplev.c (print_version): Honor `indent' for GMP/MPFR warnings. | |
3525 | ||
7074bc2e L |
3526 | 2008-02-05 H.J. Lu <hongjiu.lu@intel.com> |
3527 | ||
3528 | PR target/35084 | |
3529 | * config/i386/i386.c (ix86_function_sseregparm): Add an arg | |
3530 | to indicate if a message should be generated. | |
3531 | (init_cumulative_args): Updated. | |
3532 | (function_value_32): Likewise. | |
3533 | ||
0f5098ae JM |
3534 | 2008-02-05 Joseph Myers <joseph@codesourcery.com> |
3535 | ||
3536 | * doc/include/texinfo.tex: Update to version 2008-02-04.16. | |
3537 | ||
4a534152 UB |
3538 | 2008-02-05 Uros Bizjak <ubizjak@gmail.com> |
3539 | ||
3540 | PR target/35083 | |
3541 | * config/i386/i386.md (floatunsisf2): Enable for TARGET_SSE_MATH only. | |
3542 | Call ix86_expand_convert_uns_sisf_sse for TARGET_SSE2. | |
3543 | ||
3467b230 DN |
3544 | 2008-02-04 Diego Novillo <dnovillo@google.com> |
3545 | ||
3546 | http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00110.html | |
3547 | ||
3548 | PR 33738 | |
3549 | * tree-vrp.c (vrp_evaluate_conditional): With | |
3550 | -Wtype-limits, emit a warning when comparing against a | |
3551 | constant outside the natural range of OP0's type. | |
3552 | ||
22199fd2 RG |
3553 | 2008-02-04 Richard Guenther <rguenther@suse.de> |
3554 | ||
3555 | PR middle-end/33631 | |
3556 | * expr.c (count_type_elements): Give for unions instead of | |
3557 | guessing. | |
3558 | ||
1a1640db RG |
3559 | 2008-02-04 Richard Guenther <rguenther@suse.de> |
3560 | ||
3561 | PR middle-end/35043 | |
3562 | * gimplify.c (gimplify_init_ctor_eval): Convert array indices | |
3563 | to TYPE_DOMAINs base type instead of using bitsizetype here. | |
3564 | ||
0fcedd9c JM |
3565 | 2008-02-03 Jason Merrill <jason@redhat.com> |
3566 | ||
3567 | * print-tree.c (print_node) [CONSTRUCTOR]: Print elements. | |
3568 | ||
a31cfd58 RW |
3569 | 2008-02-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
3570 | ||
3571 | PR other/29972 | |
3572 | * doc/invoke.texi (C++ Dialect Options, Optimize Options) | |
3573 | (HPPA Options, i386 and x86-64 Options, IA-64 Options) | |
3574 | (RS/6000 and PowerPC Options): Fix typos and markup. | |
3575 | * doc/passes.texi (Tree-SSA passes): Likewise. | |
3576 | ||
6994f254 MM |
3577 | 2008-02-02 Michael Matz <matz@suse.de> |
3578 | ||
3579 | PR target/35045 | |
3580 | * postreload-gcse.c (record_last_reg_set_info_regno): Renamed | |
3581 | from record_last_reg_set_info. | |
3582 | (record_last_reg_set_info): Take an RTX argument, iterate over all | |
3583 | constituent hardregs. | |
3584 | (record_last_set_info, record_opr_changes): Change calls to | |
3585 | new signature or to record_last_reg_set_info_regno. | |
3586 | ||
27f56cb1 GP |
3587 | 2008-02-02 Gerald Pfeifer <gerald@pfeifer.com> |
3588 | ||
3589 | * doc/extend.texi (X86 Built-in Functions): Fix grammar. | |
3590 | ||
3e836a31 HPN |
3591 | 2008-02-01 Hans-Peter Nilsson <hp@axis.com> |
3592 | ||
3593 | PR rtl-optimization/34773 | |
3594 | * reg-notes.def (EQUAL): Mention significance of combination of | |
3595 | REG_EQUAL and REG_RETVAL. | |
3596 | * fwprop.c (try_fwprop_subst): Don't add REG_EQUAL to an | |
3597 | insn that has a REG_RETVAL. | |
3598 | ||
d5be1dd4 RS |
3599 | 2008-02-01 Roger Sayle <roger@eyesopen.com> |
3600 | ||
3601 | PR bootstrap/33781 | |
3602 | * configure.ac (--enable-fixed-point): Disable unless explicitly | |
3603 | requested on IRIX. | |
3604 | * configure: Regenerate. | |
3605 | ||
7c9c2f2a RG |
3606 | 2008-02-01 Richard Guenther <rguenther@suse.de> |
3607 | ||
3608 | PR other/35042 | |
3609 | * invoke.texi (-finline-limit): Remove no longer true parts | |
3610 | of the documentation. Note that there is no default value. | |
3611 | ||
a18c20ec AP |
3612 | 2008-02-01 Andrew Pinski <pinskia@gmail.com> |
3613 | Mark Mitchell <mark@codesourcery.com> | |
3614 | Ben Elliston <bje@au.ibm.com> | |
3615 | ||
3616 | PR c/29326 | |
3617 | * doc/extend.texi (Other Builtins): Document. | |
3618 | ||
dc9a511d TB |
3619 | 2008-01-31 Tom Browder <tom.browder@gmail.com> |
3620 | ||
3621 | * doc/c-tree.texi (Types): Fix grammar. | |
3622 | (Expression trees): Ditto. | |
3623 | * doc/passes.texi (Tree-SSA passes): Ditto. | |
3624 | ||
3625 | * doc/configterms.texi (Configure Terms): Fix typo. | |
3626 | * doc/cpp.texi (Common Predefined Macros): Ditto. | |
3627 | * doc/md.texi (Machine Constraints): Ditto. | |
3628 | ||
3629 | * doc/makefile.texi (Makefile): Add comma. | |
3630 | ||
5dc81ee9 TB |
3631 | 2008-01-31 Tom Browder <tom.browder@gmail.com> |
3632 | Gerald Pfeifer <gerald@pfeifer.com> | |
3633 | ||
3634 | * doc/sourcebuild.texi (Front End): Remove references to CVS | |
3635 | and CVSROOT/modules. | |
3636 | (Texinfo Manuals): Replace reference to CVS by one to SVN. | |
3637 | (Back End): Remove reference to CVS. | |
3638 | ||
5ca3d30c RS |
3639 | 2008-01-31 Richard Sandiford <rsandifo@nildram.co.uk> |
3640 | ||
3641 | PR target/34900 | |
3642 | * config/mips/mips.c (gen_load_const_gp): New function, taking a | |
3643 | comment from... | |
3644 | (mips16_gp_pseudo_reg): ...here. | |
3645 | * config/mips/mips.md (load_const_gp): Replace with... | |
3646 | (load_const_gp_<mode>): ...this :P-based insn. | |
3647 | ||
89fe7f1b MLI |
3648 | 2008-01-31 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
3649 | ||
3650 | * doc/invoke.texi (-ansi): Mention explicitly corresponding -std= | |
3651 | options. Minor fixes. | |
3652 | (-std): Move reference to standards closer to where language | |
3653 | standards are first mentioned. | |
3654 | ||
1f7f6676 RS |
3655 | 2008-01-31 Richard Sandiford <rsandifo@nildram.co.uk> |
3656 | ||
3657 | PR rtl-optimization/34995 | |
3658 | * reload.c (alternative_allows_const_pool_ref): Take an rtx | |
3659 | parameter and return a bool. If the rtx parameter is nonnull, | |
3660 | check that it satisfies an EXTRA_MEMORY_CONSTRAINT. | |
3661 | (find_reloads): Update call accordingly. Pass the new operand | |
3662 | if it needed no address reloads, otherwise pass null. | |
3663 | ||
2ae7b972 RH |
3664 | 2008-01-30 Richard Henderson <rth@redhat.com> |
3665 | ||
3666 | PR c/34993 | |
3667 | * tree.c (build_type_attribute_qual_variant): Skip TYPE_DOMAIN | |
3668 | for unbounded arrays. | |
3669 | ||
493f36a7 SR |
3670 | 2008-01-30 Silvius Rus <rus@google.com> |
3671 | ||
3672 | * config/i386/xmmintrin.h (_mm_prefetch): Add const to first arg. | |
3673 | ||
d6951cae JH |
3674 | 2008-01-30 Jan Hubicka <jh@suse.cz> |
3675 | ||
3676 | PR target/34982 | |
3677 | * i386.c (init_cumulative_args): Use real function declaration when | |
3678 | calling locally. | |
3679 | ||
f36a5a88 RS |
3680 | 2008-01-30 Richard Sandiford <rsandifo@nildram.co.uk> |
3681 | ||
3682 | PR rtl-optimization/34998 | |
3683 | * global.c (build_insn_chain): Treat non-subreg_lowpart | |
3684 | SUBREGs of pseudos as clobbering all the words covered by the | |
3685 | SUBREG, not just all the bytes. | |
3686 | * ra-conflict.c (clear_reg_in_live): Likewise. Take the | |
3687 | original df_ref rather than an extract parameter. | |
3688 | (global_conflicts): Update call accordingly. | |
3689 | ||
393c0058 AK |
3690 | 2008-01-30 Andreas Krebbel <krebbel1@de.ibm.com> |
3691 | ||
3692 | * config/s390/fixdfdi.h (__fixunstfdi, __fixtfdi): Rearrange | |
3693 | the overflow check to make it easier to read. | |
3694 | (__fixtfdi): Change the type of the ll member in union | |
3695 | long_double to UDItype_x. | |
3696 | ||
1033ffa8 JJ |
3697 | 2008-01-30 Jakub Jelinek <jakub@redhat.com> |
3698 | ||
2bafad93 JJ |
3699 | PR middle-end/34969 |
3700 | * cgraph.h (cgraph_update_edges_for_call_stmt): New prototype. | |
3701 | * cgraph.c (cgraph_update_edges_for_call_stmt): New function. | |
3702 | * tree-inline.c (fold_marked_statements): Call | |
3703 | cgraph_update_edges_for_call_stmt if folding a call statement. | |
3704 | * cgraphunit.c (verify_cgraph_node): Set cfun to this_cfun for | |
3705 | debug_generic_stmt calls, reset it back afterwards. | |
3706 | ||
1033ffa8 JJ |
3707 | PR c/35017 |
3708 | * c-decl.c (start_decl): Don't pedwarn about TREE_READONLY | |
3709 | static decls. | |
3710 | * c-typeck.c (build_external_ref): Don't pedwarn about | |
3711 | static vars in current function's scope. | |
3712 | ||
ed32d842 JM |
3713 | 2008-01-29 Joseph Myers <joseph@codesourcery.com> |
3714 | ||
3715 | * config.gcc (i[34567]86-*-nto-qnx*): Remove deprecation. | |
3716 | ||
ea429753 BF |
3717 | 2008-01-29 Bernhard Fischer <aldot@gcc.gnu.org> |
3718 | ||
3719 | PR c/35002 | |
3720 | * ipa-struct-reorg.c: Fix spelling. | |
3721 | * params.def: Ditto. | |
3722 | ||
4f5c64b8 RG |
3723 | 2008-01-29 Richard Guenther <rguenther@suse.de> |
3724 | ||
3725 | PR middle-end/35006 | |
3726 | * tree-inline.h (struct copy_body_data): Add remapping_type_depth | |
3727 | field. | |
3728 | * tree-inline.c (remap_type): Increment remapping_type_depth | |
3729 | around remapping types. | |
3730 | (copy_body_r): Only add referenced variables if they are referenced | |
3731 | from code, not types. | |
3732 | ||
7b3e2d46 DG |
3733 | 2008-01-29 Douglas Gregor <doug.gregor@gmail.com> |
3734 | ||
3735 | PR c++/34055 | |
3736 | PR c++/34103 | |
3737 | PR c++/34219 | |
3738 | PR c++/34606 | |
3739 | PR c++/34753 | |
3740 | PR c++/34754 | |
3741 | PR c++/34755 | |
3742 | PR c++/34919 | |
3743 | PR c++/34961 | |
3744 | * c-pretty-print.c (pp_c_type_qualifier_list): Don't try to print | |
3745 | qualifiers for an ERROR_MARK_NODE or a NULL_TREE. | |
3746 | ||
12720317 AH |
3747 | 2008-01-28 Andy Hutchinson <hutchinsonandy@netscape.net> |
3748 | ||
3749 | PR target/34412 | |
3750 | * config/avr/avr.c (expand_prologue): Use correct QI mode frame | |
3751 | pointer for tiny stack. | |
3752 | ||
b814cc0a BF |
3753 | 2008-01-28 Bernhard Fischer <aldot@gcc.gnu.org> |
3754 | ||
3755 | * doc/tree-ssa.texi: Add cindex PHI nodes and improve wording. | |
3756 | ||
f46ff798 BF |
3757 | 2008-01-28 Bernhard Fischer <aldot@gcc.gnu.org> |
3758 | ||
3759 | * config/vx-common.h: Fix typo in comment. | |
3760 | ||
e8b0eabc ILT |
3761 | 2008-01-28 Ian Lance Taylor <iant@google.com> |
3762 | ||
3763 | PR c++/34862 | |
3764 | PR c++/33407 | |
3765 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't | |
3766 | coalesce pointers if they have different DECL_NO_TBAA_P values. | |
3767 | * tree-ssa-copy.c (may_propagate_copy): Don't propagate copies | |
3768 | between variables with different DECL_NO_TBAA_P values. | |
3769 | ||
2aa42e6e NF |
3770 | 2008-01-28 Nathan Froyd <froydnj@codesourcery.com> |
3771 | ||
3772 | PR 31535 | |
3773 | * config/rs6000/rs6000.c (small_data_operand): Vectors and floats | |
3774 | are not legitimate small data references on SPE targets. | |
3775 | ||
4e2e9e9b DD |
3776 | 2008-01-28 David Daney <ddaney@avtrex.com> |
3777 | ||
3778 | * doc/install.texi (mips-*-*): Recommend binutils 2.18. | |
3779 | ||
a26c7632 DD |
3780 | 2008-01-28 David Daney <ddaney@avtrex.com> |
3781 | ||
3782 | * doc/install.texi (--disable-libgcj-bc): Reword documentation. | |
3783 | ||
4f605349 JM |
3784 | 2008-01-27 Joseph Myers <joseph@codesourcery.com> |
3785 | ||
3786 | * config.gcc (strongarm*-*, ep9312*-*, xscale*-*, parisc*-*, | |
3787 | m680[012]0-*, *-*-beos*, *-*-kaos*, *-*-linux*aout*, | |
3788 | *-*-linux*libc1*, *-*-solaris2.[0-6], *-*-solaris2.[0-6].*, | |
3789 | *-*-sysv*, *-*-windiss*, alpha*-*-unicosmk*, cris-*-aout, | |
3790 | hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*, | |
3791 | i[34567]86-sequent-ptx4*, i[34567]86-*-nto-qnx*, | |
3792 | i[34567]86-*-sco3.2v5*, i[34567]86-*-uwin*, powerpc-*-chorusos*, | |
3793 | vax-*-bsd*, vax-*-ultrix*): Mark obsolete. | |
3794 | ||
9e148d6a BF |
3795 | 2008-01-27 Bernhard Fischer <aldot@gcc.gnu.org> |
3796 | ||
3797 | * basic-block.h (condjump_equiv_p): Fix comment. | |
3798 | ||
f749d3c6 BF |
3799 | 2008-01-27 Bernhard Fischer <aldot@gcc.gnu.org> |
3800 | ||
3801 | * tree-pretty-print.c (print_generic_decl, print_generic_stmt, | |
3802 | print_generic_stmt_indented): Fix comment. | |
3803 | ||
fed6d628 BF |
3804 | 2008-01-27 Bernhard Fischer <aldot@gcc.gnu.org> |
3805 | ||
3806 | * configure.ac (__stack_chk_fail): Add detecion for availability | |
3807 | of SSP in uClibc by checking if __UCLIBC_HAS_SSP__ is defined. | |
3808 | * configure: Regenerate. | |
3809 | ||
c01e4479 MK |
3810 | 2008-01-26 Maxim Kuvyrkov <maxim@codesourcery.com> |
3811 | ||
3812 | PR middle-end/34688 | |
3813 | * final.c (output_addr_const): Handle TRUNCATE. | |
3814 | ||
6e8c65f6 ZD |
3815 | 2008-01-26 Zdenek Dvorak <ook@ucw.cz> |
3816 | ||
3817 | PR target/34711 | |
3818 | * tree-ssa-loop-ivopts.c (comp_cost): New type. | |
3819 | (zero_cost, infinite_cost): New constants. | |
3820 | (struct cost_pair): Change type of cost to comp_cost. | |
3821 | (struct iv_ca): Change type of cand_use_cost and cost to comp_cost. | |
3822 | (new_cost, add_costs, sub_costs, compare_costs, infinite_cost_p): | |
3823 | New functions. | |
3824 | (set_use_iv_cost, force_expr_to_var_cost, force_var_cost, | |
3825 | split_address_cost, ptr_difference_cost, difference_cost, | |
3826 | get_computation_cost_at, get_computation_cost, | |
3827 | determine_use_iv_cost_generic, determine_use_iv_cost_address, | |
3828 | determine_use_iv_cost_condition, determine_use_iv_costs, | |
3829 | cheaper_cost_pair, iv_ca_recount_cost, iv_ca_set_no_cp, | |
3830 | iv_ca_set_cp, iv_ca_cost, iv_ca_new, iv_ca_dump, iv_ca_extend, | |
3831 | iv_ca_narrow, iv_ca_prune, try_improve_iv_set, find_optimal_iv_set): | |
3832 | Change type of cost to comp_cost. | |
3833 | (determine_iv_cost): Increase cost of non-original ivs, instead | |
3834 | of decreasing the cost of original ones. | |
3835 | (get_address_cost): Indicate the complexity of the addressing mode | |
3836 | in comp_cost. | |
3837 | (try_add_cand_for): Prefer using ivs not specific to some object. | |
3838 | * tree-flow.h (force_expr_to_var_cost): Declaration removed. | |
3839 | ||
c01e4479 | 3840 | 2008-01-26 Peter Bergner <bergner@vnet.ibm.com> |
e41b2a33 PB |
3841 | Janis Johnson <janis187@us.ibm.com> |
3842 | ||
3843 | PR target/34814 | |
3844 | * doc/tm.texi (TARGET_EXPAND_TO_RTL_HOOK): Document. | |
3845 | (TARGET_INSTANTIATE_DECLS): Likewise. | |
3846 | * target.h (expand_to_rtl_hook): New target hook. | |
3847 | (instantiate_decls): Likewise. | |
3848 | * function.c (instantiate_decl): Make non-static. Rename to... | |
3849 | (instantiate_decl_rtl): ... this. | |
3850 | (instantiate_expr): Use instantiate_decl_rtl. | |
3851 | (instantiate_decls_1): Likewise. | |
3852 | (instantiate_decls): Likewise. | |
3853 | (instantiate_virtual_regs: Call new instantiate_decls taget hook. | |
3854 | * function.h (instantiate_decl_rtl): Add prototype. | |
3855 | * cfgexpand.c (target.h): New include. | |
3856 | (tree_expand_cfg): Call new expand_to_rtl_hook target hook. | |
3857 | * target-def.h (TARGET_EXPAND_TO_RTL_HOOK): New define. | |
3858 | (TARGET_INSTANTIATE_DECLS): Likewise. | |
3859 | (TARGET_INITIALIZER): New target hooks added. | |
3860 | * config/rs6000/rs6000-protos.h (rs6000_secondary_memory_needed_rtx): | |
3861 | New prototype. | |
3862 | * config/rs6000/rs6000.c (tree-flow.h): New include. | |
3863 | (machine_function): Add sdmode_stack_slot field. | |
3864 | (rs6000_alloc_sdmode_stack_slot): New function. | |
3865 | (rs6000_instantiate_decls): Likewise. | |
3866 | (rs6000_secondary_memory_needed_rtx): Likewise. | |
3867 | (rs6000_check_sdmode): Likewise. | |
3868 | (TARGET_EXPAND_TO_RTL_HOOK): Target macro defined. | |
3869 | (TARGET_INSTANTIATE_DECLS): Likewise. | |
3870 | (rs6000_hard_regno_mode_ok): Allow SDmode. | |
3871 | (num_insns_constant): Likewise. Handle _Decimal32 constants. | |
3872 | (rs6000_emit_move): Handle SDmode. | |
3873 | (function_arg_advance): Likewise. | |
3874 | (function_arg): Likewise. | |
3875 | (rs6000_gimplify_va_arg): Likewise. Add special handling of | |
3876 | SDmode var args for 32-bit compiles. | |
3877 | (rs6000_secondary_reload_class): Handle SDmode. | |
3878 | (rs6000_output_function_epilogue): Likewise. | |
3879 | (rs6000_function_value): Simplify if statement. | |
3880 | (rs6000_libcall_value): Likewise. | |
3881 | * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Handle SDmode. | |
3882 | (SECONDARY_MEMORY_NEEDED_RTX): Add define. | |
3883 | * config/rs6000/dfp.md (movsd): New define_expand and splitter. | |
3884 | (movsd_hardfloat): New define_insn. | |
3885 | (movsd_softfloat): Likewise. | |
3886 | (movsd_store): Likewise. | |
3887 | (movsd_load): Likewise. | |
3888 | (extendsddd2): Likewise. | |
3889 | (extendsdtd2): Likewise. | |
3890 | (truncddsd2): Likewise. | |
3891 | (movdd_hardfloat64): Fixup comment. | |
3892 | (UNSPEC_MOVSD_LOAD): New constant. | |
3893 | (UNSPEC_MOVSD_STORE): Likewise. | |
3894 | ||
6f536f74 JJ |
3895 | 2008-01-26 Jakub Jelinek <jakub@redhat.com> |
3896 | ||
3897 | PR c++/34965 | |
3898 | * c-pretty-print.c (pp_c_exclusive_or_expression): Handle | |
3899 | TRUTH_XOR_EXPR. | |
3900 | (pp_c_logical_and_expression): Handle TRUTH_AND_EXPR. | |
3901 | (pp_c_logical_or_expression): Handle TRUTH_OR_EXPR. | |
3902 | (pp_c_expression): Handle TRUTH_AND_EXPR, TRUTH_OR_EXPR | |
3903 | and TRUTH_XOR_EXPR. | |
3904 | ||
ba6a1b78 DE |
3905 | 2008-01-26 David Edelsohn <edelsohn@gnu.org> |
3906 | ||
3907 | PR target/34794 | |
3908 | * config.gcc: Separate AIX 5.3 from AIX 6.1. | |
3909 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define | |
3910 | __LONGDOUBLE128 too. | |
3911 | * config/rs6000/aix61.h: New file. | |
3912 | ||
1230d7f8 RS |
3913 | 2008-01-26 Richard Sandiford <rsandifo@nildram.co.uk> |
3914 | ||
3915 | PR rtl-optimization/34959 | |
3916 | * optabs.c (expand_unop): In libcall notes, give ffs, clz, ctz, | |
3917 | popcount and parity rtxes the same mode as their operand. | |
3918 | Truncate or extend the result to the return value's mode | |
3919 | if necessary. | |
3920 | ||
dbc90b65 RS |
3921 | 2008-01-26 Richard Sandiford <rsandifo@nildram.co.uk> |
3922 | ||
3923 | PR target/34981 | |
3924 | * config/mips/mips-protos.h (mips_expand_call): Return an rtx. | |
3925 | * config/mips/mips.h (FIRST_PSEUDO_REGISTER): Rename FAKE_CALL_REGNO | |
3926 | to GOT_VERSION_REGNUM. | |
3927 | (CALL_REALLY_USED_REGISTERS): Set the GOT_VERSION_REGNUM entry to 0. | |
3928 | (EPILOGUE_USES): Include GOT_VERSION_REGNUM if TARGET_USE_GOT. | |
3929 | * config/mips/mips.c (mips_emit_call_insn): New function. | |
3930 | (mips_call_tls_get_addr): Call mips_expand_call directly. | |
3931 | (mips16_copy_fpr_return_value): Use mips_emit_call_insn rather than | |
3932 | emit_call_insn. | |
3933 | (mips16_build_call_stub): Likewise. Return the call insn or null. | |
3934 | (mips_expand_call): Update the call to mips16_build_call_stub | |
3935 | accordingly and a remove redundant condition. Assert that MIPS16 | |
3936 | stubs do not use lazy binding. Use mips_emit_call_insn and return | |
3937 | the call insn. | |
3938 | (mips_extra_live_on_entry): Include GOT_VERSION_REGNUM if | |
3939 | TARGET_USE_GOT. | |
3940 | (mips_hard_regno_mode_ok_p): Allow SImode for GOT_VERSION_REGNUM. | |
3941 | (mips_avoid_hazard): Remove hazard_set handling. | |
3942 | * config/mips/mips.md (UNSPEC_EH_RECEIVER): Rename to... | |
3943 | (UNSPEC_RESTORE_GP): ...this. | |
3944 | (UNSPEC_SET_GOT_VERSION, UNSPEC_UPDATE_GOT_VERSION): New constants. | |
3945 | (FAKE_CALL_REGNO): Rename to... | |
3946 | (GOT_VERSION_REGNUM): ...this. | |
3947 | (type): Add "ghost" value. Add an associated insn reservation. | |
3948 | (hazard_set): Remove. | |
3949 | (exception_receiver): Rename to... | |
3950 | (restore_gp): ...this and update the unspec identifier accordingly. | |
3951 | (exception_receiver, nonlocal_got_receiver): New expanders. | |
3952 | (load_call<mode>): Use GOT_VERSION_REGNUM. Don't set | |
3953 | FAKE_CALL_REGNO. Remove hazard_set attribute. | |
3954 | (set_got_version, update_got_version): New patterns. | |
3955 | ||
763a27ee DS |
3956 | 2008-01-26 Danny Smith <dannysmith@users.sourceforge.net> |
3957 | ||
3958 | PR target/34970 | |
3959 | * config/i386/cygming.h (ASM_OUTPUT_LABELREF): Define. | |
3960 | ||
3725c0ca JM |
3961 | 2008-01-25 Joseph Myers <joseph@codesourcery.com> |
3962 | ||
3963 | PR other/31955 | |
3964 | * doc/install.texi2html: Generate gcc-vers.texi. | |
3965 | ||
0288980f DD |
3966 | 2008-01-25 DJ Delorie <dj@redhat.com> |
3967 | ||
3968 | * config/m32c/m32c.h (ASM_PREFERRED_EH_DATA_FORMAT): Define. | |
3969 | ||
8d8da227 JM |
3970 | 2008-01-25 Joseph Myers <joseph@codesourcery.com> |
3971 | ||
3972 | * config/c4x: Remove directory. | |
3973 | * config.gcc (crx-*, mt-*): Mark obsolete. | |
3974 | (c4x-*, tic4x-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*, tic4x-*, | |
3975 | h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*, | |
3976 | sh-*-rtemscoff*): Remove cases. | |
3977 | * defaults.h (C4X_FLOAT_FORMAT): Remove. | |
3978 | * real.c (encode_c4x_single, decode_c4x_single, | |
3979 | encode_c4x_extended, decode_c4x_extended, c4x_single_format, | |
3980 | c4x_extended_format): Remove. | |
3981 | * real.h (c4x_single_format, c4x_extended_format): Remove. | |
3982 | * doc/extend.texi (interrupt, naked): Remove mention of attributes | |
3983 | on C4x. | |
3984 | (Pragmas): Remove comment about c4x pragmas. | |
3985 | * doc/install.texi (c4x): Remove target-specific instructions. | |
3986 | * doc/invoke.texi (TMS320C3x/C4x Options): Remove. | |
3987 | * doc/md.texi (Machine Constraints): Remove C4x documentation. | |
3988 | * doc/tm.texi (MEMBER_TYPE_FORCES_BLK, c_register_pragma): Do not | |
3989 | refer to C4x source files as examples. | |
3990 | (C4X_FLOAT_FORMAT): Remove documentation. | |
3991 | ||
fb7c3b05 BS |
3992 | 2008-01-25 Bernd Schmidt <bernd.schmidt@analog.com> |
3993 | ||
3994 | * config/bfin/bfin.c (override_options): Reorder tests so that | |
3995 | flag_pic gets enabled for -msep-data. | |
3996 | ||
dd3b33d7 RG |
3997 | 2008-01-25 Richard Guenther <rguenther@suse.de> |
3998 | ||
3999 | PR middle-end/32244 | |
4000 | * expr.c (expand_expr_real_1): Reduce result of LSHIFT_EXPR | |
4001 | to its bitfield precision if required. | |
4002 | ||
c256730c JJ |
4003 | 2008-01-25 Jakub Jelinek <jakub@redhat.com> |
4004 | ||
4005 | PR middle-end/33880 | |
4006 | * tree-nested.c (walk_omp_for): New function. | |
4007 | (convert_nonlocal_reference, convert_local_reference): Call | |
4008 | walk_omp_for on OMP_FOR. | |
4009 | (convert_call_expr): Call walk_body on OMP_FOR's | |
4010 | OMP_FOR_PRE_INIT_BODY. | |
4011 | ||
59805c3b RG |
4012 | 2008-01-25 Richard Guenther <rguenther@suse.de> |
4013 | ||
4014 | PR tree-optimization/34966 | |
4015 | * tree-ssa-math-opts.c (execute_cse_sincos_1): For all but | |
4016 | default defs and PHI_NODEs we have to insert after the | |
4017 | defining statement. | |
4018 | ||
f84fe9b6 NC |
4019 | 2008-01-24 Nick Clifton <nickc@redhat.com> |
4020 | ||
4021 | * config/stormy16/stormy16-lib2.c (MIN_UNITS_PER_WORD): | |
4022 | Provide a default definition. | |
4023 | (LIBGCC2_UNITS_PER_WORD): Likewise. | |
4024 | ||
4025 | * config/stormy16/stormy16.c: Include df.h for the prototype | |
4026 | for df_regs_ever_live_p. | |
4027 | (xstormy16_expand_builtin_va_start): Convert the stack offset | |
4028 | into a component_ref and then use POINTER_PLUS_EXPR to add it | |
4029 | to the incoming_virtual_args_rtx. | |
4030 | (xstormy16_gimplify_va_arg_expr): Rename to | |
4031 | xstormy16_gimplify_va_arg_expr. | |
4032 | Use POINTER_PLUS_EXPR when performing pointer arithmetic. | |
4033 | (TARGET_GIMPLIFY_VA_ARG_EXPR): Use renamed | |
4034 | xstormy16_gimplify_va_arg_expr. | |
4035 | Fix up some formatting issues. | |
4036 | ||
4037 | * config/stormy16/stormy16.c: (xstormy16_carry_plus_operand): | |
4038 | Move to predicates.md. | |
4039 | (xs_hi_general_operand): Likewise. | |
4040 | (xs_hi_nonmemory_operand): Likewise. | |
4041 | * config/stormy16/predicates.md: | |
4042 | (xstormy16_carry_plus_operand): New predicate. | |
4043 | (xs_hi_general_operand): New predicate. | |
4044 | (xs_hi_nonmemory_operand): New predicate. | |
4045 | * config/stormy16/stormy16-protos.h: | |
4046 | (xstormy16_carry_plus_operand): Delete prototype. | |
4047 | (xs_hi_general_operand): Likewise. | |
4048 | (xs_hi_nonmemory_operand): Likewise. | |
4049 | ||
4050 | * config/storm16/stormy16.md (addhi3): Remove earlyclobber | |
4051 | modifiers as they are no longer needed and they can trigger | |
4052 | reload spill failures. | |
4053 | ||
4054 | * config/storm16/stormy16.md (ineqbranchsi): Replace match_dup | |
4055 | with a match_operand in order to help reload. | |
4056 | ||
4057 | * config/storm16/stormy16.md (movhi_internal): Replace 'r' | |
4058 | constraint with 'e' for the 8th alternative as this version of | |
4059 | the mov.w instruction only accepts the lower 8 registers. | |
4060 | ||
d1f0728e UB |
4061 | 2008-01-25 Uros Bizjak <ubizjak@gmail.com> |
4062 | ||
4063 | PR target/34856 | |
4064 | * simplifx-rtx.c (simplify_const_binary_operation) [VEC_CONCAT]: | |
4065 | Consider only CONST_INT, CONST_DOUBLE and CONST_FIXED as constant | |
4066 | vector elements. | |
4067 | ||
80e67011 JJ |
4068 | 2008-01-25 Jakub Jelinek <jakub@redhat.com> |
4069 | ||
4070 | PR middle-end/33333 | |
4071 | * gimplify.c (gimplify_omp_for): Gimplify OMP_FOR_PRE_BODY. | |
4072 | ||
1525f2c3 GO |
4073 | 2008-01-25 Golovanevsky Olga <olga@il.ibm.com> |
4074 | ||
4075 | * ipa-struct-reorg.c (remove_str_allocs_in_func, remove_str_allocs): | |
4076 | New functions. | |
4077 | (remove_structure): Update allocations list before removing structure. | |
4078 | ||
bd91d743 OG |
4079 | 2008-01-25 Golovanevsky Olga <olga@il.ibm.com> |
4080 | ||
4081 | * ipa-struct-reorg.c (is_safe_cond_expr, | |
4082 | create_new_stmts_for_cond_expr): Use integer_zerop function, | |
4083 | that recognize not only zero-pointer, but zero-integer too. | |
4084 | ||
ae7a8ebc BE |
4085 | 2008-01-25 Ben Elliston <bje@au.ibm.com> |
4086 | ||
4087 | PR other/22232 | |
4088 | * fixproto: Escape "." in sed expression that strips leading "./". | |
4089 | ||
3371362c L |
4090 | 2008-01-24 H.J. Lu <hongjiu.lu@intel.com> |
4091 | ||
4092 | PR driver/34904 | |
4093 | * gcc.c (SWITCH_OK): Removed. | |
4094 | (SWITCH_LIVE): Changed to bit. | |
4095 | (SWITCH_FALSE): Likewise. | |
4096 | (SWITCH_IGNORE): Likewise. | |
4097 | (switchstr): Change live_cond to unsigned int. | |
4098 | (process_command): Replace SWITCH_OK with 0. | |
4099 | (do_self_spec): Likewise. | |
4100 | (set_collect_gcc_options): Check the SWITCH_IGNORE bit. | |
4101 | (give_switch): Likewise. | |
4102 | (used_arg): Likewise. | |
4103 | (do_spec_1): Set the SWITCH_IGNORE bit. | |
4104 | (check_live_switch): Check both SWITCH_LIVE and SWITCH_FALSE | |
4105 | bits. Set the SWITCH_LIVE bit. | |
4106 | ||
5f1b2ee6 AK |
4107 | 2008-01-24 Andreas Krebbel <krebbel1@de.ibm.com> |
4108 | ||
4109 | * config/s390/s390.h (MOVE_RATIO): Define new target macro. | |
4110 | ||
986d97ed RS |
4111 | 2008-01-24 Richard Sandiford <rsandifo@nildram.co.uk> |
4112 | ||
4113 | PR tree-optimization/34472 | |
4114 | * ipa-struct-reorg.c (safe_cond_expr_check): Change the DATA | |
4115 | parameter to a "bool *" and set *DATA to false if there is | |
4116 | an unsafe access. Do not delete the structure here. | |
4117 | (check_cond_exprs): Delete it here instead. | |
4118 | (check_cond_exprs, exclude_cold_structs): Do not increase | |
4119 | I when removing a structure. | |
4120 | ||
fcc44808 UB |
4121 | 2008-01-24 Uros Bizjak <ubizjak@gmail.com> |
4122 | ||
4123 | PR target/34856 | |
4124 | * config/i386/i386.c (ix86_expand_vector_init): Consider only | |
4125 | CONST_INT, CONST_DOUBLE and CONST_FIXED as constant vector elements. | |
4126 | ||
134c2de3 JJ |
4127 | 2008-01-24 Jakub Jakub Jelinek <jakub@redhat.com> |
4128 | ||
4129 | PR middle-end/34934 | |
4130 | * tree-stdarg.c (reachable_at_most_once): Use VEC vector instead of | |
4131 | a fixed vector for stack. | |
4132 | ||
89bf8683 BE |
4133 | 2008-01-24 Ben Elliston <bje@au.ibm.com> |
4134 | ||
4135 | PR c++/25701 | |
4136 | * doc/gcc.texi (Software development): Add a direntry for g++. | |
4137 | ||
02a4bca9 HPN |
4138 | 2008-01-23 Hans-Peter Nilsson <hp@axis.com> |
4139 | ||
6c660aeb HPN |
4140 | * config/cris/cris.h (CC1PLUS_SPEC, OPTIMIZATION_OPTIONS): Drop |
4141 | stale and straggling -fforce-addr comments above. | |
4142 | ||
02a4bca9 HPN |
4143 | * config/cris/cris.h (CRIS_SUBTARGET_VERSION, TARGET_VERSION): Don't |
4144 | define. | |
4145 | * config/cris/linux.h (CRIS_SUBTARGET_VERSION): Don't define. | |
4146 | * config/cris/aout.h (CRIS_SUBTARGET_VERSION): Don't define. | |
4147 | ||
b4da9f9d MM |
4148 | 2008-01-23 Michael Matz <matz@suse.de> |
4149 | ||
4150 | PR debug/34895 | |
4151 | * dwarf2out.c (force_type_die): Use modified_type_die instead of | |
4152 | gen_type_die. | |
4153 | ||
1b7af7b0 AK |
4154 | 2008-01-23 Andreas Krebbel <krebbel1@de.ibm.com> |
4155 | ||
4156 | * ipa-struct-reorg.c (create_new_malloc): Use pointer type as | |
4157 | malloc result type. | |
4158 | ||
19298da4 AS |
4159 | 2008-01-23 Anatoly Sokolov <aesok@post.ru> |
4160 | ||
4161 | * config/avr/avr.c (avr_current_arch): New variable. | |
4162 | (avr_arch_types): Add 'avr31' and 'avr51' entries. | |
4163 | (avr_arch): Add 'ARCH_AVR31' and 'ARCH_AVR51'. | |
4164 | (avr_mcu_types): Add 'avr31' and 'avr51' architectures. | |
4165 | (avr_override_options): Init 'avr_current_arch'. | |
4166 | (base_arch_s): Move from here... | |
4167 | * config/avr/avr.h (base_arch_s): ... here. Add new members | |
4168 | 'have_elpm', 'have_elpmx', 'have_eijmp_eicall', 'reserved'. Rename | |
4169 | 'mega' to 'have_jmp_call'. | |
4170 | (TARGET_CPU_CPP_BUILTINS): Define "__AVR_HAVE_JMP_CALL__", | |
4171 | "__AVR_HAVE_RAMPZ__", "__AVR_HAVE_ELPM__" and "__AVR_HAVE_ELPMX__" | |
4172 | macros. | |
4173 | (LINK_SPEC, CRT_BINUTILS_SPECS, ASM_SPEC): Add 'avr31' and 'avr51' | |
4174 | architectures. | |
4175 | * config/avr/t-avr (MULTILIB_OPTIONS, MULTILIB_DIRNAMES, | |
4176 | MULTILIB_MATCHES): (Ditto.). | |
4177 | ||
b86b3ea3 RG |
4178 | 2008-01-23 Richard Guenther <rguenther@suse.de> |
4179 | ||
4180 | PR middle-end/31529 | |
4181 | * cgraphunit.c (cgraph_reset_node): Always mark the node | |
4182 | not reachable if it is not queued already. | |
4183 | ||
fa8d4a0f BS |
4184 | 2008-01-23 Bernd Schmidt <bernd.schmidt@analog.com> |
4185 | ||
4186 | * config/bfin/bfin-protos.h (WA_RETS, ENABLE_WA_RETS): New macros. | |
4187 | * config/bfin/bfin.c (bfin_cpus): Add WA_RETS everywhere. | |
4188 | (cputype_selected): New static variable. | |
4189 | (bfin_handle_option): Set it if -mcpu is used. | |
4190 | (override_option): Select default set of workarounds if no cpu type | |
4191 | selected on the command line. | |
4192 | (workaround_rts_anomaly): Only run if ENABLE_WA_RETS. | |
64882649 BS |
4193 | |
4194 | From Michael Frysinger <michael.frysinger@analog.com> | |
4195 | * config/bfin/bfin-protos.h (enum bfin_cpu_type): Add | |
4196 | BFIN_CPU_BF547, BFIN_CPU_BF523, BFIN_CPU_BF524, and BFIN_CPU_BF526. | |
4197 | ||
4198 | * config/bfin/elf.h (LIB_SPEC): Use proper linker script | |
4199 | for bf547, bf523, bf524, and bf526. | |
4200 | * config/bfin/bfin.c (bfin_cpus[]): Add bf547, bf523, bf524, and | |
4201 | bf526. | |
4202 | * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define | |
4203 | __ADSPBF523__ for bf523, __ADSPBF524__ for bf524, | |
4204 | __ADSPBF526__ for bf526, __ADSPBF52x__ for all three, as well as | |
4205 | __ADSPBF547__ and __ADSPBF54x__ for bf547. | |
4206 | * doc/invoke.texi (Blackfin Options): Document that | |
4207 | -mcpu now accept bf547, bf523, bf524, and bf526. | |
4208 | ||
df1a98ae EB |
4209 | 2008-01-22 Eric Botcazou <ebotcazou@adacore.com> |
4210 | ||
4211 | PR rtl-optimization/34628 | |
4212 | * combine.c (try_combine): Stop and undo after the first combination | |
4213 | if an autoincrement side-effect on the first insn has effectively | |
4214 | been lost. | |
4215 | ||
1a23970d DE |
4216 | 2008-01-22 David Edelsohn <edelsohn@gnu.org> |
4217 | ||
4218 | PR target/34529 | |
4219 | * config/rs6000/rs6000.c (rs6000_legitimate_offset_address_p): | |
4220 | Offset addresses are not valid for Altivec or paired float modes. | |
4221 | ||
42a89d2d JJ |
4222 | 2008-01-22 Jakub Jelinek <jakub@redhat.com> |
4223 | ||
61c3a446 JJ |
4224 | PR c++/34607 |
4225 | * c-parser.c (c_parser_omp_for_loop): Don't call c_finish_omp_for | |
4226 | if DECL_INITIAL (decl) is error_mark_node. | |
4227 | ||
270e749d JJ |
4228 | PR c++/34914 |
4229 | * c-common.c (handle_vector_size_attribute): Only allow | |
4230 | integral, scalar float and fixed point types. Handle OFFSET_TYPE | |
4231 | the same way as pointer, array etc. types. | |
4232 | * tree.c (reconstruct_complex_type): Handle OFFSET_TYPE. | |
4233 | ||
42a89d2d JJ |
4234 | PR c++/34917 |
4235 | * tree.c (build_type_attribute_qual_variant): Call | |
4236 | build_qualified_type if attributes are equal, but quals are not. | |
4237 | ||
027b740e MLI |
4238 | 2008-01-22 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
4239 | ||
4240 | PR 32102 | |
4241 | * doc/invoke.texi (-Wall): -Wall enables -Wstrict-overflow=1. | |
4242 | * flags.h (warn_strict_aliasing): Remove. | |
4243 | (warn_strict_overflow): Remove. | |
4244 | * opts.c (warn_strict_aliasing): Remove. | |
4245 | (warn_strict_overflow): Remove. | |
4246 | * c-opts.c (c_common_handle_option): -Wall only sets | |
4247 | -Wstrict-aliasing or -Wstrict-overflow if they are uninitialized. | |
4248 | (c_common_post_options): Give default values to -Wstrict-aliasing | |
4249 | and -Wstrict-overflow if they are uninitialized. | |
4250 | * common.opt (Wstrict-aliasing): Specify Var and Init. | |
4251 | (Wstrict-overflow): Likewise. | |
4252 | ||
963acd6f KZ |
4253 | 2008-01-22 Kenneth Zadeck <zadeck@naturalbridge.com> |
4254 | ||
4255 | PR rtl-optimization/26854 | |
4256 | PR rtl-optimization/34400 | |
4257 | PR rtl-optimization/34884 | |
4258 | * ddg.c (create_ddg_dep_from_intra_loop_link): Use | |
4259 | DF_RD->gen. | |
4260 | * df.h (df_changeable_flags.DF_RD_NO_TRIM): Deleted | |
4261 | (df_rd_bb_info.expanded_lr_out): Deleted | |
4262 | * loop_invariant.c (find_defs): Deleted DF_RD_NO_TRIM flag. | |
4263 | * loop_iv.c (iv_analysis_loop_init): Ditto. * df-problems.c | |
4264 | (df_rd_free_bb_info, df_rd_alloc, df_rd_confluence_n, | |
4265 | df_rd_bb_local_compute, df_rd_transfer_function, df_rd_free): | |
4266 | Removed code to allocate, initialize or free expanded_lr_out. | |
4267 | (df_rd_bb_local_compute_process_def): Restructured to make more | |
4268 | understandable. | |
4269 | (df_rd_confluence_n): Removed code to no apply invalidate_by_call | |
4270 | sets if the sets are being trimmed. | |
4271 | ||
115e6e55 L |
4272 | 2008-01-22 H.J. Lu <hongjiu.lu@intel.com> |
4273 | ||
4274 | PR bootstrap/32287 | |
4275 | * configure.ac (ld_vers): Support GNU linker version xx.xx.* | |
4276 | (as_vers): Likewise. | |
4277 | * configure: Regenerated. | |
4278 | ||
f9d02384 MLI |
4279 | 2008-01-22 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
4280 | ||
4281 | PR middle-end/33092 | |
4282 | * tree-pass.h (pass_build_alias): New pass. | |
4283 | * tree-ssa-alias.c (gate_build_alias): New. | |
4284 | (pass_build_alias): New. | |
4285 | * passes.c (init_optimization_passes): Add pass_build_alias after | |
4286 | pass_create_structure_vars. | |
4287 | ||
0387c142 WG |
4288 | 2008-01-22 Wolfgang Gellerich <gellerich@de.ibm.com> |
4289 | ||
4290 | * config/s390/s390.h (S390_TDC_POSITIVE_NORMALIZED_NUMBER): | |
4291 | Renamed to S390_TDC_POSITIVE_NORMALIZED_BFP_NUMBER. | |
4292 | (S390_TDC_NEGATIVE_NORMALIZED_NUMBER): Renamed to | |
4293 | S390_TDC_NEGATIVE_NORMALIZED_BFP_NUMBER. | |
4294 | (S390_TDC_POSITIVE_DENORMALIZED_NUMBER): Renamed to | |
4295 | S390_TDC_POSITIVE_DENORMALIZED_BFP_NUMBER. | |
4296 | (S390_TDC_NEGATIVE_DENORMALIZED_NUMBER): Renamed to | |
4297 | S390_TDC_NEGATIVE_DENORMALIZED_BFP_NUMBER. | |
4298 | (S390_TDC_POSITIVE_NORMALIZED_BFP_NUMBER): New constant. | |
4299 | (S390_TDC_NEGATIVE_NORMALIZED_BFP_NUMBER): New constant. | |
4300 | (S390_TDC_POSITIVE_DENORMALIZED_BFP_NUMBER): New constant. | |
4301 | (S390_TDC_NEGATIVE_DENORMALIZED_BFP_NUMBER): New constant. | |
4302 | * config/s390/s390.md (FP_ALL): New mode iterator. | |
4303 | (_d): New mode attribute. | |
4304 | ("*signbit<mode>2>"): Changed mode of first operand. | |
4305 | ("isinf<mode>2"): Changed mode of first operand. | |
4306 | ("*TDC_insn"): Adaptation for DFP modes. | |
4307 | ||
1d4f5374 BE |
4308 | 2008-01-22 Ben Elliston <bje@au.ibm.com> |
4309 | ||
4310 | * tree.c (check_qualified_type): Improve function description. | |
4311 | ||
33b45227 JM |
4312 | 2008-01-21 Jason Merrill <jason@redhat.com> |
4313 | ||
4314 | PR c++/34196 | |
4315 | * tree.h (TRY_CATCH_IS_CLEANUP): New macro. | |
4316 | * tree-eh.c (honor_protect_cleanup_actions): Strip TRY_CATCH_EXPR | |
4317 | if it is set. | |
4318 | ||
79e168da DD |
4319 | 2008-01-21 DJ Delorie <dj@redhat.com> |
4320 | ||
4321 | * doc/tm.texi (HARD_REGNO_NREGS): Note that this macro must not | |
4322 | return zero. | |
4323 | ||
bb0c55f6 RG |
4324 | 2008-01-21 Richard Guenther <rguenther@suse.de> |
4325 | ||
4326 | PR middle-end/34856 | |
4327 | * tree-cfg.c (verify_expr): Allow all invariant expressions | |
4328 | instead of just constant class ones as reference argument. | |
4329 | * tree-ssa-loop-im.c (for_each_index): Handle CONSTRUCTOR | |
4330 | like any other constant. | |
4331 | * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Likewise. | |
4332 | ||
94c54fea L |
4333 | 2008-01-21 H.J. Lu <hongjiu.lu@intel.com> |
4334 | ||
4335 | * regmove.c (fixup_match_1): Update call crossed frequencies. | |
4336 | ||
c54e3854 RG |
4337 | 2008-01-21 Richard Guenther <rguenther@suse.de> |
4338 | ||
4339 | PR c/34885 | |
4340 | * tree-inline.c (setup_one_parameter): Deal with mismatched | |
4341 | types using a VIEW_CONVERT_EXPR. | |
4342 | ||
b158b5c6 AD |
4343 | 2008-01-21 Alon Dayan <alond@il.ibm.com> |
4344 | Olga Golovanevsky <olga@il.ibm.com> | |
4345 | ||
4346 | PR tree-optimization/34701 | |
4347 | * ipa-struct-reorg.c (gen_size): Fix the malloc parameter calculation | |
4348 | when the structure size is not a power of 2. | |
4349 | ||
604f825c KZ |
4350 | 2008-01-20 Kenneth Zadeck <zadeck@naturalbridge.com> |
4351 | ||
4352 | * doc/install.texi: Add doc for --enable-checking=df. | |
4353 | ||
539c54ba KK |
4354 | 2008-01-20 Kaz Kojima <kkojima@gcc.gnu.org> |
4355 | ||
4356 | PR rtl-optimization/34808 | |
4357 | * emit-rtl.c (try_split): Handle REG_RETVAL notes. | |
4358 | ||
ecff8c1c RS |
4359 | 2008-01-20 Richard Sandiford <rsandifo@nildram.co.uk> |
4360 | ||
4361 | * global.c (find_reg): Only compute EH_RETURN_DATA_REGNO once per | |
4362 | input. | |
4363 | ||
2b49e1a0 KZ |
4364 | 2008-01-19 Kenneth Zadeck <zadeck@naturalbridge.com> |
4365 | ||
4366 | PR rtl-optimization/26854 | |
4367 | PR rtl-optimization/34400 | |
4368 | * ddg.c (create_ddg_dep_from_intra_loop_link): Do not use | |
4369 | DF_RD->gen. | |
4370 | * df.h (df_changeable_flags.DF_RD_NO_TRIM): New. | |
4371 | (df_rd_bb_info.expanded_lr_out): New. | |
4372 | * loop_invariant.c (find_defs): Added DF_RD_NO_TRIM flag. | |
4373 | * loop_iv.c (iv_analysis_loop_init): Ditto. | |
4374 | * df-problems.c (df_rd_free_bb_info, df_rd_alloc, df_rd_confluence_n, | |
4375 | df_rd_bb_local_compute, df_rd_transfer_function, df_rd_free): | |
4376 | Added code to allocate, initialize or free expanded_lr_out. | |
4377 | (df_rd_bb_local_compute_process_def): Restructured to make | |
4378 | more understandable. | |
4379 | (df_rd_confluence_n): Add code to do nothing with fake edges and | |
4380 | code to no apply invalidate_by_call sets if the sets are being trimmed. | |
4381 | (df_lr_local_finalize): Renamed to df_lr_finalize. | |
4382 | (df_live_local_finalize): Renamed to df_live_finalize. | |
4383 | ||
0decaff6 RS |
4384 | 2008-01-20 Richard Sandiford <rsandifo@nildram.co.uk> |
4385 | ||
4386 | PR target/34831 | |
4387 | * config/mips/mips.md (div<mode>3): Use <recip_condition> when | |
4388 | deciding whether to use reciprocal instructions. | |
4389 | ||
d0b9dbd5 UB |
4390 | 2008-01-19 Uros Bizjak <ubizjak@gmail.com> |
4391 | ||
4392 | * dwarf2out.c (dwarf2out_switch_text_section): Do not call | |
4393 | dwarf2out_note_section_used if cold_text_section is NULL. | |
4394 | ||
135a171d JJ |
4395 | 2008-01-19 Jakub Jelinek <jakub@redhat.com> |
4396 | ||
4397 | PR gcov-profile/34610 | |
4398 | * tree-cfg.c (make_edges): Mark both outgoing edges from | |
4399 | OMP_CONTINUE and from OMP_FOR as EDGE_ABNORMAL. | |
4400 | * omp-low.c (expand_omp_for): Clear EDGE_ABNORMAL bits | |
4401 | from OMP_FOR and OMP_CONTINUE outgoing edges. | |
4402 | ||
4403 | * tree-profile.c (tree_profiling): Return early if | |
4404 | cfun->after_tree_profile != 0. Set cfun->after_tree_profile | |
4405 | at the end. | |
4406 | * omp-low.c (expand_omp_parallel): Copy after_tree_profile | |
4407 | from cfun to child_cfun. | |
4408 | * function.h (struct function): Add after_tree_profile bit. | |
4409 | ||
0a84fec6 AS |
4410 | 2008-01-19 Anatoly Sokolov <aesok@post.ru> |
4411 | ||
4412 | * config/avr/avr.S (_exit): Disable interrupt. | |
4413 | ||
5aa52064 KZ |
4414 | 2008-01-18 Kenneth Zadeck <zadeck@naturalbridge.com> |
4415 | Steven Bosscher <stevenb.gcc@gmail.com> | |
4416 | ||
4417 | PR rtl-optimization/26854 | |
4418 | PR rtl-optimization/34400 | |
4419 | * df-problems.c (df_live_scratch): New scratch bitmap. | |
4420 | (df_live_alloc): Allocate df_live_scratch when doing df_live. | |
4421 | (df_live_reset): Clear the proper bitmaps. | |
4422 | (df_live_bb_local_compute): Only process the artificial defs once | |
4423 | since the order is not important. | |
4424 | (df_live_init): Init the df_live sets only with the variables | |
4425 | found live by df_lr. | |
4426 | (df_live_transfer_function): Use the df_lr sets to prune the | |
4427 | df_live sets as they are being computed. | |
4428 | (df_live_free): Free df_live_scratch. | |
4429 | ||
28a08168 ILT |
4430 | 2008-01-18 Ian Lance Taylor <iant@google.com> |
4431 | ||
4432 | * common.opt: Add fmerge-debug-strings. | |
4433 | * dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Test | |
4434 | flag_merge_debug_strings rather than flag_merge_constants. | |
4435 | * doc/invoke.texi (Option Summary): Mention | |
4436 | -fmerge-debug-strings. | |
4437 | (Debugging Options): Document -fmerge-debug-strings. | |
4438 | ||
1ea193c2 ILT |
4439 | 2008-01-18 Ian Lance Taylor <iant@google.com> |
4440 | ||
4441 | PR c++/33407 | |
4442 | * tree.h (DECL_IS_OPERATOR_NEW): Define. | |
4443 | (struct tree_function_decl): Add new field operator_new_flag. | |
4444 | * tree-inline.c (expand_call_inline): When inlining a call to | |
4445 | operator new, force the return value to go into a variable, and | |
4446 | set DECL_NO_TBAA_P on that variable. | |
4447 | * c-decl.c (merge_decls): Merge DECL_IS_OPERATOR_NEW flag. | |
4448 | ||
74ab34d3 UB |
4449 | 2008-01-18 Uros Bizjak <ubizjak@gmail.com> |
4450 | ||
4451 | PR debug/34484 | |
4452 | * dwarf2out.c (dwarf2out_switch_text_section): Do not guard with | |
4453 | DWARF2_DEBUGGING_INFO. | |
4454 | (dwarf2out_note_section_used): Ditto. Add prototype. | |
4455 | (have_multiple_function_sections, text_section_used, | |
4456 | cold_text_section_used, *cold_text_sections): Move declarations | |
4457 | before their uses. | |
4458 | ||
9a75e92d | 4459 | 2008-01-17 Bob Wilson <bob.wilson@acm.org> |
6c633d45 BW |
4460 | |
4461 | * config/xtensa/unwind-dw2-xtensa.h (_Unwind_FrameState): Remove pc | |
4462 | field and add signal_ra. | |
4463 | * config/xtensa/unwind-dw2-xtensa.c (uw_frame_state_for): Remove | |
4464 | assignments to frame state pc. Move end of stack check after | |
4465 | MD_FALLBACK_FRAME_STATE_FOR. | |
4466 | (uw_update_context_1): Use frame state signal_regs if set, instead | |
4467 | of checking signal_frame flag. | |
4468 | (uw_update_context): Use frame state signal_ra if set. | |
4469 | * config/xtensa/linux.h (MD_UNWIND_SUPPORT): Define. | |
4470 | * config/xtensa/linux-unwind.h: New file. | |
4471 | ||
9a75e92d | 4472 | 2008-01-18 Bernhard Fischer <aldot@gcc.gnu.org> |
4117d6f7 BF |
4473 | |
4474 | * modulo-sched.c (get_sched_window): Fix comment typo. | |
4475 | ||
fae25b37 AM |
4476 | 2008-01-17 Andrew MacLeod <amacleod@redhat.com> |
4477 | ||
4478 | PR tree-optimization/34648 | |
4479 | * tree-ssa-sccvn.c (visit_use): Expressions which can throw are varying. | |
4480 | ||
2e152e16 AS |
4481 | 2008-01-17 Anatoly Sokolov <aesok@post.ru> |
4482 | ||
4483 | * config/avr/avr.h (LINK_SPEC): Support -mrelax and -mpmem-wrap-around. | |
4484 | * config/avr/avr.opt (mrelax, mpmem-wrap-around): Add. | |
4485 | ||
185082a7 SP |
4486 | 2008-01-17 Seongbae Park <seongbae.park@gmail.com> |
4487 | ||
4488 | PR rtl-optimization/34400 | |
4489 | * df-core.c (df_worklist_dataflow_overeager, | |
4490 | df_worklist_dataflow_doublequeue): New functions. | |
4491 | (df_worklist_dataflow): Two different worklist solvers. | |
4492 | * params.def (PARAM_DF_DOUBLE_QUEUE_THRESHOLD_FACTOR): | |
4493 | New param. | |
4494 | ||
01a550c2 SP |
4495 | 2008-01-16 Sebastian Pop <sebastian.pop@amd.com> |
4496 | ||
4497 | PR testsuite/34821 | |
4498 | * doc/invoke.texi: Document the dependence on pthread for fopenmp | |
4499 | and ftree-parallelize-loops. | |
4500 | ||
80663107 MN |
4501 | 2008-01-17 Mircea Namolaru <namolaru@il.ibm.com> |
4502 | ||
4503 | PR rtl-optimization/34826 | |
4504 | * loop-doloop (doloop_modify): Update the REG_BR_PROB note. | |
4505 | ||
599824d2 AK |
4506 | 2008-01-17 Andreas Krebbel <krebbel1@de.ibm.com> |
4507 | ||
4508 | * global.c (find_reg): Mark the eh regs as used if necessary. | |
4509 | * ra-conflict.c (global_conflicts): Set no_eh_reg flag. | |
4510 | * ra.h (struct allocno): no_eh_reg field added. Changed | |
4511 | no_stack_reg type to bitfield. | |
4512 | ||
9328dd57 EB |
4513 | 2008-01-17 Eric Botcazou <ebotcazou@adacore.com> |
4514 | ||
4515 | * tree.c (substitute_in_expr): Add missing 'break'. | |
4516 | ||
8a5b57cd RG |
4517 | 2008-01-17 Richard Guenther <rguenther@suse.de> |
4518 | ||
4519 | PR tree-optimization/34825 | |
4520 | * tree-ssa-math-opts.c (is_division_by): Do not recognize | |
4521 | x / x as division to handle. | |
4522 | ||
e7ce29e7 JDA |
4523 | 2008-01-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
4524 | ||
4525 | * pa64-hpux.h (LIB_SPEC): Add "-lpthread" in shared links if "-mt" or | |
4526 | "-pthread" is specified. | |
4527 | * pa-hpux11.h (LIB_SPEC): Likewise. | |
4528 | ||
9a75e92d | 4529 | 2008-01-16 Janis Johnson <janis187@us.ibm.com> |
37b87a3a JJ |
4530 | Peter Bergner <bergner@vnet.ibm.com> |
4531 | ||
4532 | PR rtl-optimization/33796 | |
4533 | * sparseset.c (sparseset_alloc): Use xcalloc rather than xmalloc. | |
4534 | ||
6595ec51 JDA |
4535 | 2008-01-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
4536 | ||
4537 | PR libgfortran/34699 | |
4538 | * pa-hpux.h (LINK_SPEC): Only search /lib/pa1.1 and /usr/lib/pa1.1 on | |
4539 | static links. | |
4540 | * pa-hpux10.h (LINK_SPEC): Likewise. | |
4541 | * pa-hpux11.h (LINK_SPEC): Don't search /lib/pa1.1 and /usr/lib/pa1.1. | |
4542 | ||
bdb55eae RG |
4543 | 2008-01-16 Richard Guenther <rguenther@suse.de> |
4544 | ||
4545 | PR middle-end/32628 | |
4546 | * fold-const.c (fold_convert_const_int_from_int): Do not | |
4547 | set overflow if that occured only because of a sign extension | |
4548 | change when converting from/to a sizetype with the same | |
4549 | precision and signedness. | |
4550 | ||
2e2c7ce2 UB |
4551 | 2008-01-16 Uros Bizjak <ubizjak@gmail.com> |
4552 | ||
4553 | PR debug/34249 | |
4554 | * dwarf2out.c (output_call_frame_info): Move output of FDE initial | |
4555 | location address to the correct place. Update copyright year. | |
4556 | ||
d49c149d SP |
4557 | 2008-01-16 Sebastian Pop <sebastian.pop@amd.com> |
4558 | ||
4559 | * lambda-code.c (lambda_transform_legal_p): Handle the case of | |
4560 | no dependences in the dependence_relations vector. | |
4561 | ||
a03c6d64 JH |
4562 | 2008-01-16 Jan Hubicka <jh@suse.cz> |
4563 | ||
4564 | PR rtl-optimization/31396 | |
4565 | * regstat.c (regstat_bb_compute_ri): Compute FREQ_CALLS_CROSSED. | |
4566 | * cfg.c (dump_reg_info): Print it. | |
4567 | * regs.h (struct reg_info_t): add freq_calls_crossed. | |
4568 | (REG_FREQ_CALLS_CROSSED): New macro. | |
4569 | * global.c (global_alloc): Compute freq_calls_crossed for allocno. | |
4570 | (find_reg): Update call of CALLER_SAVE_PROFITABLE. | |
4571 | * regmove.c (optimize_reg_copy_1, optimize_reg_copy_2, fixup_match_2, | |
4572 | regmove_optimize): Update call crossed frequencies. | |
4573 | * local-alloc.c (struct qty): Add freq_calls_crossed. | |
4574 | (alloc_qty): Copute freq_calls_crossed. | |
4575 | (update_equiv_regs, combine_regs): Update REG_FREQ_CALLS_CROSSED. | |
4576 | (find_free_reg): Update call of CALLER_SAVE_PROFITABLE. | |
4577 | * ra.h (struct allocno): Add freq_calls_crossed. | |
4578 | ||
daf49354 SP |
4579 | 2008-01-16 Sebastian Pop <sebastian.pop@amd.com> |
4580 | ||
4581 | * gcc.c (LINK_COMMAND_SPEC): Add includes and link options for | |
4582 | libgomp when compiling with ftree-parallelize-loops. | |
4583 | (GOMP_SELF_SPECS): Add -pthread for ftree-parallelize-loops. | |
4584 | ||
a1a5996d RG |
4585 | 2008-01-16 Richard Guenther <rguenther@suse.de> |
4586 | ||
4587 | PR tree-optimization/34769 | |
4588 | * tree-data-ref.c (initialize_matrix_A): Revert fix for PR34458. | |
4589 | * tree.c (int_cst_value): Instead make this function more | |
4590 | permissive in what it accepts as valid input. Document this | |
4591 | function always sign-extends the value. | |
4592 | ||
de4af523 | 4593 | 2008-01-16 Jakub Jelinek <jakub@redhat.com> |
d0b9dbd5 | 4594 | Richard Guenther <rguenther@suse.de> |
de4af523 JJ |
4595 | |
4596 | PR c/34668 | |
4597 | * gimplify.c (fold_indirect_ref_rhs): Rename to ... | |
4598 | (gimple_fold_indirect_ref_rhs): ... this. | |
4599 | (gimple_fold_indirect_ref): New function with foldings | |
4600 | that preserve lvalueness. | |
4601 | (gimplify_modify_expr_rhs): Call gimple_fold_indirect_ref_rhs. | |
4602 | * tree-flow.h (gimple_fold_indirect_ref): Declare. | |
4603 | * tree-inline.c (copy_body_r): Use gimple_fold_indirect_ref | |
4604 | to fold an INDIRECT_REF, fall back to the old use of | |
4605 | fold_indirect_ref_1. | |
4606 | ||
6935bae7 SP |
4607 | 2008-01-16 Sebastian Pop <sebastian.pop@amd.com> |
4608 | ||
4609 | * tree-data-ref.c (subscript_dependence_tester_1): Call | |
4610 | free_conflict_function. | |
4611 | (compute_self_dependence): Same. | |
4612 | ||
a4b6974e UB |
4613 | 2008-01-16 Uros Bizjak <ubizjak@gmail.com> |
4614 | ||
4615 | PR debug/34249 | |
4616 | * debug.h (dwarf2out_switch_text_section): Move declaration from ... | |
4617 | * dwarf2out.c (dwarf2out_switch_text_section): ... here. Make | |
4618 | function global. | |
4619 | * final.c (final_scan_insn) [NOTE_INSN_SWITCH_TEXT_SECTIONS]: | |
4620 | Depending on dwarf2out_do_frame, call dwarf2out_switch_text_section | |
4621 | for DWARF2_UNWIND_INFO targets. | |
4622 | ||
eb1387a0 RG |
4623 | 2008-01-16 Richard Guenther <rguenther@suse.de> |
4624 | ||
4625 | PR c/34768 | |
4626 | * c-typeck.c (common_pointer_type): Do not merge inconsistent | |
4627 | type qualifiers for function types. | |
4628 | ||
9326236d JD |
4629 | 2008-01-15 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
4630 | ||
4631 | * tree-parloops.c (gen_parallel_loop): Fix ommision of declaration for | |
4632 | loop_iterator li from previous commit. | |
4633 | ||
4634 | 2008-01-15 Sebastian Pop <sebastian.pop@amd.com> | |
92a6bdbd SP |
4635 | |
4636 | * tree-parloops.c (gen_parallel_loop): Free loop bound estimations. | |
4637 | ||
1d4af1e8 SP |
4638 | 2008-01-12 Sebastian Pop <sebastian.pop@amd.com> |
4639 | ||
4640 | * tree-parloops.c (loop_has_blocks_with_irreducible_flag): New. | |
4641 | (parallelize_loops): Don't parallelize irreducible components. | |
4642 | ||
8103eebf MLI |
4643 | 2008-01-14 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
4644 | ||
4645 | PR c++/24924 | |
4646 | * c-opts (c_common_post_options): Do not enable CPP | |
4647 | flag_pedantic_errors by default. | |
4648 | ||
d556d181 EB |
4649 | 2008-01-14 Eric Botcazou <ebotcazou@adacore.com> |
4650 | ||
4651 | PR rtl-optimization/31944 | |
4652 | * cse.c (remove_pseudo_from_table): New function. | |
4653 | (merge_equiv_classes): Use above function to remove pseudo-registers. | |
4654 | (invalidate): Likewise. | |
4655 | ||
726612d2 RG |
4656 | 2008-01-13 Richard Guenther <rguenther@suse.de> |
4657 | ||
4658 | PR middle-end/34601 | |
4659 | * emit-rtl.c (set_reg_attrs_for_decl_rtl): Use DECL_MODE | |
4660 | instead of TYPE_MODE to deal with calls from expand_one_error_var. | |
4661 | ||
51134e52 UB |
4662 | 2008-01-13 Uros Bizjak <ubizjak@gmail.com> |
4663 | ||
4664 | * gcse.c (cprop_jump): Call validate_unshare_change instead of | |
4665 | validate_change to unshare the source of the PC set. | |
4666 | ||
3097760b JH |
4667 | 2008-01-12 Jan Hubicka <jh@suse.cz> |
4668 | ||
4669 | PR middle-end/32135 | |
4670 | * tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Do not construct | |
4671 | references above array bounds. This might trigger bounds checks for | |
4672 | pointers to arrays. | |
4673 | ||
42b22da8 SP |
4674 | 2008-01-12 Sebastian Pop <sebastian.pop@amd.com> |
4675 | ||
4676 | * tree-ssa-ter.c (free_temp_expr_table): Free num_in_part and | |
4677 | new_replaceable_dependencies. | |
4678 | ||
5db2e9ca DK |
4679 | 2008-01-12 Doug Kwan <dougkwan@google.com> |
4680 | ||
4681 | * c-decl.c: (grokdeclarator): Use OPT_Wignored_qualifiers | |
4682 | instead of OPT_Wreturn_type in warning due to ignored return type | |
4683 | qualifiers. | |
4684 | * c-opt.c (c_common_post_option): Add -Wignored-qualifiers to | |
4685 | options included in -Wextra. | |
4686 | * c.opt: New option -Wignored_qualifiers. | |
4687 | * doc/invoke.texi (Warning Options, -Wextra): Add new option | |
4688 | -Wignore_qualifiers. | |
4689 | (-Wignored-qualifiers): Document. | |
4690 | (-Wreturn-type): Remove description of functionality now handled | |
4691 | by -Wignored-qualifiers. | |
4692 | ||
52ef2874 EB |
4693 | 2008-01-12 Eric Botcazou <ebotcazou@adacore.com> |
4694 | ||
4695 | PR ada/33788 | |
4696 | * fold-const.c (fold_unary) <VIEW_CONVERT_EXPR>: Fold an existing | |
4697 | NOP_EXPR if it is between integral types with the same precision. | |
4698 | ||
a60b56a4 JH |
4699 | 2008-01-12 Jan Hubicka <jh@suse.cz> |
4700 | ||
4701 | PR other/28023 | |
4702 | * invoke.texi (max-inline-recursive-depth): Fix default value. | |
4703 | ||
29ac1d9a ZD |
4704 | 2008-01-12 Zdenek Dvorak <ook@ucw.cz> |
4705 | ||
4706 | * tree-parloops.c (transform_to_exit_first_loop): Cast nit to the | |
4707 | correct type. | |
4708 | ||
166b25dc BW |
4709 | 2008-01-11 Bob Wilson <bob.wilson@acm.org> |
4710 | ||
4711 | * config/xtensa/xtensa.c (override_options): Set flag_shlib. | |
4712 | ||
ad8151b7 JW |
4713 | 2008-01-11 James E. Wilson <wilson@specifix.com> |
4714 | ||
4715 | PR target/26015 | |
4716 | * config/vax/elf.h (FRAME_POINTER_CFA_OFFSET): Define. | |
4717 | ||
0d40cc60 AS |
4718 | 2008-01-11 Anatoly Sokolov <aesok@post.ru> |
4719 | ||
4720 | * config/avr/avr.c (expand_prologue, expand_epilogue): Don't | |
4721 | save/restore frame pointer register and don't use 'call-prologues' | |
4722 | optimization in function with "OS_task" attribute. | |
4723 | ||
15af420d EB |
4724 | 2008-01-11 Eric Botcazou <ebotcazou@adacore.com> |
4725 | ||
4726 | PR middle-end/31309 | |
4727 | * expr.c (copy_blkmode_from_reg): Use a mode suited to the size | |
4728 | when copying to memory. | |
4729 | ||
c1e3e2d9 SB |
4730 | 2008-01-11 Steven Bosscher <stevenb.gcc@gmail.com> |
4731 | ||
4732 | PR rtl-optimization/30905 | |
4733 | * cfgcleanup.c: Include dce.h | |
4734 | (crossjumps_occured): New global variable. | |
4735 | (try_crossjump_bb): Exit loop after finding a fallthru edge. | |
4736 | If something changed, set crossjumps_occured to true. | |
4737 | (try_optimize_cfg): Clear crossjumps_occured at the beginning. | |
4738 | Don't add/remove fake edges to exit here... | |
4739 | (cleanup_cfg): ...but do it here, when crossjumping. | |
4740 | Run a fast DCE when successful crossjumps occured in the latest | |
4741 | iteration of try_optimize_cfg. | |
4742 | ||
8d0eca24 RG |
4743 | 2008-01-11 Richard Guenther <rguenther@suse.de> |
4744 | ||
4745 | * tree-ssa-sccvn.c (struct vn_binary_op_s): Move hashcode near opcode. | |
4746 | (struct vn_unary_op_s): Likewise. | |
4747 | (vn_reference_insert): Free old reference on hash collision. | |
4748 | ||
acfb3980 RA |
4749 | 2008-01-10 Raksit Ashok <raksit@google.com> |
4750 | ||
4751 | PR rtl-optimization/27971 | |
31bfe034 RA |
4752 | * combine.c (find_split_point): Split PLUS expressions which are |
4753 | inside a MEM rtx, and whose first operand is complex. | |
acfb3980 | 4754 | |
b8a669d0 DD |
4755 | 2008-01-10 DJ Delorie <dj@redhat.com> |
4756 | ||
4757 | * config/m32c/m32c.c (m32c_hard_regno_nregs_1): Renamed from... | |
4758 | (m32c_hard_regno_nregs): ...this, which is now a wrapper. | |
4759 | (m32c_hard_regno_ok): Call the underlying function. | |
4760 | ||
d0f76c4b RG |
4761 | 2008-01-10 Richard Guenther <rguenther@suse.de> |
4762 | ||
4763 | PR middle-end/34683 | |
4764 | * tree-cfg.c (tree_merge_blocks): Do not go through the | |
4765 | full-blown folding and stmt updating path if we just deal | |
4766 | with virtual operands. | |
4767 | * tree-ssa-copy.c (may_propagate_copy): Do not short-cut | |
4768 | test for abnormal SSA_NAMEs. | |
4769 | ||
90d12f1f AK |
4770 | 2008-01-10 Andreas Krebbel <krebbel1@de.ibm.com> |
4771 | ||
4772 | PR middle-end/34641 | |
4773 | * reload.c (push_reload): Add assertions. All constants from | |
4774 | reg_equiv_constant should have been used for replacing the respective | |
4775 | pseudo earlier. | |
4776 | (find_reloads_address): Invoke find_reloads_address_part for | |
4777 | constant taken from the reg_equiv_constant array. | |
4778 | ||
71ae8557 SB |
4779 | 2008-01-10 Steven Bosscher <stevenb.gcc@gmail.com> |
4780 | ||
4781 | * tree-ssa-sccvn.h (struct vn_ssa_aux): Make the most accessed | |
4782 | field (valnum) the first in the struct. Replace bools with | |
4783 | unit bit fields. | |
4784 | ||
125e025e RG |
4785 | 2008-01-10 Richard Guenther <rguenther@suse.de> |
4786 | ||
4787 | PR tree-optimization/34651 | |
4788 | * tree-sra.c (sra_build_assignment): Sanitize. Use the correct | |
4789 | types and ordering for masking and converting. | |
4790 | ||
64cbaace SP |
4791 | 2008-01-09 Sebastian Pop <sebastian.pop@amd.com> |
4792 | ||
4793 | PR tree-optimization/34017 | |
4794 | * lambda-code.c (lambda_loopnest_to_gcc_loopnest): Generate code | |
4795 | also for PHI_NODE expressions. | |
4796 | ||
88743d3a JH |
4797 | 2008-01-09 Jan Hubicka <jh@suse.cz> |
4798 | ||
4799 | PR tree-optimization/34708 | |
4800 | * tree-inline.c (estimate_num_insns_1): Compute cost of SWITCH_EXPR | |
4801 | based on number of case labels. | |
4802 | (init_inline_once): Remove switch_cost. | |
4803 | * tree-inline.h (eni_weights_d): Remove switch_cost. | |
4804 | ||
c3e203cf RG |
4805 | 2008-01-09 Richard Guenther <rguenther@suse.de> |
4806 | Andrew Pinski <andrew_pinski@playstation.sony.com> | |
4807 | ||
4808 | PR middle-end/30132 | |
4809 | * gimplify.c (gimplify_cond_expr): Do not create an addressable | |
4810 | temporary if an rvalue is ok or an lvalue is not required. | |
4811 | ||
def49dd7 RG |
4812 | 2008-01-09 Richard Guenther <rguenther@suse.de> |
4813 | ||
4814 | PR middle-end/34458 | |
4815 | * tree-data-ref.c (initialize_matrix_A): Use tree_low_cst, | |
4816 | adjust return type. | |
4817 | ||
cbad2e09 RG |
4818 | 2008-01-09 Richard Guenther <rguenther@suse.de> |
4819 | ||
4820 | PR middle-end/34679 | |
4821 | * tree.c (host_integerp): Check for sizetype only if the | |
4822 | type is an integer type. | |
4823 | ||
59e5c37d SB |
4824 | 2008-01-09 Steven Bosscher <stevenb.gcc@gmail.com> |
4825 | ||
4826 | PR debug/26364 | |
4827 | * opts.c (decode_options): Disable inlining of functions called | |
4828 | once if not in unit-at-a-time mode. | |
4829 | ||
712db60e AO |
4830 | 2008-01-09 Alexandre Oliva <aoliva@redhat.com> |
4831 | ||
4832 | * Makefile.in (dse.o): Remove duplicate $(RECOG_H) dependency. | |
4833 | ||
3fe2f42a RG |
4834 | 2008-01-08 Richard Guenther <rguenther@suse.de> |
4835 | ||
4836 | PR middle-end/31863 | |
4837 | * tree-ssa-structalias.c (push_fields_onto_fieldstack): Bail | |
4838 | out early if the result will be unused. | |
4839 | ||
4d869718 UB |
4840 | 2008-01-08 Uros Bizjak <ubizjak@gmail.com> |
4841 | ||
4842 | PR target/34709 | |
4843 | Revert: | |
4844 | ||
4845 | 2008-01-05 Uros Bizjak <ubizjak@gmail.com> | |
4846 | * config/i386/i386.c (ix86_builtin_reciprocal): Remove check | |
4847 | for TARGET_RECIP. | |
4848 | ||
cedbd764 JS |
4849 | 2008-01-08 Jan Sjodin <jan.sjodin@amd.com> |
4850 | ||
4d869718 UB |
4851 | * config/i386/i386.c (k8_cost, amdfam10_cost): Branch costs |
4852 | for vectorization tuned. | |
cedbd764 | 4853 | |
a9990582 RG |
4854 | 2008-01-08 Richard Guenther <rguenther@suse.de> |
4855 | ||
4856 | PR tree-optimization/34683 | |
4857 | * tree-ssa-operands.c (operand_build_cmp): Export. | |
4858 | * tree-ssa-operands.h (operand_build_cmp): Declare. | |
4859 | * tree-vn.c (vuses_compare): Remove. | |
4860 | (sort_vuses): Use operand_build_cmp. | |
4861 | (sort_vuses_heap): Likewise. | |
4862 | * tree-ssa-sccvn.c (vuses_to_vec): Use VEC_reserve, not VEC_alloc | |
4863 | to re-use old VEC if available. Do not sort already sorted VUSEs. | |
4864 | (vdefs_to_vec): Do not sort already sorted VDEFs. | |
4865 | ||
c90eee44 JJ |
4866 | 2008-01-08 Jakub Jelinek <jakub@redhat.com> |
4867 | ||
4868 | PR middle-end/34694 | |
4869 | * omp-low.c (copy_var_decl): Copy also DECL_SOURCE_LOCATION. | |
4870 | ||
8bce96f5 UB |
4871 | 2008-01-08 Uros Bizjak <ubizjak@gmail.com> |
4872 | ||
4873 | PR target/34702 | |
4874 | * doc/invoke.texi (i386 and x86-64 Options) [mrecip]: Document | |
4875 | limitations of reciprocal sequences on x86 targets. | |
4876 | ||
4eefcc98 RG |
4877 | 2008-01-08 Richard Guenther <rguenther@suse.de> |
4878 | ||
4879 | PR tree-optimization/34683 | |
4880 | * tree-flow-inline.h (var_ann): Remove overzealous asserts. | |
4881 | ||
b69d564b JJ |
4882 | 2008-01-07 Jakub Jelinek <jakub@redhat.com> |
4883 | ||
4884 | PR target/34622 | |
4885 | * config/darwin.c (darwin_mergeable_string_section): Don't use | |
4886 | .cstring if int_size_in_bytes != TREE_STRING_LENGTH. | |
4887 | ||
6b761851 UB |
4888 | 2008-01-07 Uros Bizjak <ubizjak@gmail.com> |
4889 | ||
4890 | PR target/34682 | |
4891 | * config/i386/i386.md (neg<mode>2): Rename from negsf2, negdf2 and | |
4892 | negxf2. Macroize expander using X87MODEF mode iterator. Change | |
4893 | predicates of op0 and op1 to register_operand. | |
8bce96f5 UB |
4894 | (abs<mode>2): Rename from abssf2, absdf2 and negxf2. Macroize |
4895 | expander using X87MODEF mode iterator. Change predicates of | |
4896 | op0 and op1 to register_operand. | |
6b761851 UB |
4897 | ("*absneg<mode>2_mixed", "*absneg<mode>2_sse"): Rename from |
4898 | corresponding patterns and macroize using MODEF macro. Change | |
4899 | predicates of op0 and op1 to register_operand and remove | |
4900 | "m" constraint. Disparage "r" alternative with "!". | |
4901 | ("*absneg<mode>2_i387"): Rename from corresponding patterns and | |
4902 | macroize using X87MODEF macro. Change predicates of op0 and op1 | |
4903 | to register_operand and remove "m" constraint. Disparage "r" | |
4904 | alternative with "!". | |
4905 | (absneg splitter with memory operands): Remove. | |
4906 | ("*neg<mode>2_1", "*abs<mode>2_1"): Rename from corresponding | |
4907 | patterns and macroize using X87MODEF mode iterator. | |
4908 | * config/i386/sse.md (negv4sf2, absv4sf2, neg2vdf2, absv2df2): | |
4909 | Change predicate of op1 to register_operand. | |
4910 | * config/i386/i386.c (ix86_expand_fp_absneg_operator): Remove support | |
8bce96f5 | 4911 | for memory operands. |
6b761851 | 4912 | |
5ca0373f NF |
4913 | 2008-01-07 Nathan Froyd <froydnj@codesourcery.com> |
4914 | ||
4915 | * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add clause for mcpu=8548. | |
4916 | ||
2eac9a76 RG |
4917 | 2008-01-07 Richard Guenther <rguenther@suse.de> |
4918 | ||
4919 | * basic-block.h (struct edge_def): Pair dest_idx with goto_locus | |
4920 | fields. | |
4921 | ||
b61ea03d RG |
4922 | 2008-01-07 Richard Guenther <rguenther@suse.de> |
4923 | ||
4924 | PR tree-optimization/34683 | |
4925 | * tree-ssa-sccvn.c (vuses_to_vec): Pre-allocate the vector of | |
4926 | VOPs of the needed size to save memory. Use VEC_quick_push | |
4927 | to save compile-time. | |
4928 | (vdefs_to_vec): Likewise. | |
4929 | ||
c4bd75cd | 4930 | 2008-01-07 Sa Liu <saliu@de.ibm.com> |
b61ea03d | 4931 | |
6b761851 UB |
4932 | * config/spu/spu.md (divdf3): Genetate inline code for double |
4933 | division. The implementation doesn't handle INF or NAN, therefore it | |
4934 | only applies when -ffinite-math-only is given. | |
c4bd75cd | 4935 | |
ba551ec2 PC |
4936 | 2008-01-06 Paolo Carlini <pcarlini@suse.de> |
4937 | ||
4938 | PR libstdc++/34680 | |
4939 | * c-cppbuiltin.c (c_cpp_builtins): Define __GXX_RTTI, if appropriate. | |
4940 | * doc/cpp.texi ([Common Predefined Macros]): Document. | |
4941 | ||
43db7979 UB |
4942 | 2008-01-06 Uros Bizjak <ubizjak@gmail.com> |
4943 | ||
4944 | * config/i386/i386.c (ix86_emit_swsqrtsf): Use negative constants in | |
4945 | order to use commutative addition instead of subtraction. | |
4946 | ||
2c460d12 RE |
4947 | 2008-01-06 Andrew Pinski <andrew_pinski@playstation.sony.com> |
4948 | Mircea Namolaru <namolaru@il.ibm.com> | |
4949 | Vladimir Yanovsky <yanov@il.ibm.com> | |
4950 | Revital Eres <eres@il.ibm.com> | |
4951 | ||
4952 | PR tree-optimization/34263 | |
4953 | * tree-outof-ssa.c (process_single_block_loop_latch, | |
4954 | contains_tree_r): New functions. | |
4955 | (analyze_edges_for_bb): Call process_single_block_loop_latch | |
4956 | function to empty single-basic-block latch block if possible. | |
4957 | ||
5a37a60c UB |
4958 | 2008-01-05 Uros Bizjak <ubizjak@gmail.com> |
4959 | ||
4960 | * config/i386/i386.c (ix86_builtin_reciprocal): Remove check | |
4961 | for TARGET_RECIP. | |
4962 | (ix86_emit_swsqrtsf): Do not filter out infinity for rsqrt expansion. | |
4963 | ||
1a8a3a5e RS |
4964 | 2008-01-05 Richard Sandiford <rsandifo@nildram.co.uk> |
4965 | ||
4966 | * c-omp.c (check_omp_for_incr_expr): Handle CONVERT_EXPR. | |
4967 | ||
2a4430a6 RS |
4968 | 2008-01-05 Richard Sandiford <rsandifo@nildram.co.uk> |
4969 | ||
4970 | * config/mips/mips.c (mips_in_small_data_p): Reinstate size > 0 check. | |
4971 | ||
58fcda21 JJ |
4972 | 2008-01-05 Jakub Jelinek <jakub@redhat.com> |
4973 | ||
4974 | PR tree-optimization/34618 | |
4975 | * tree-outof-ssa.c (create_temp): Copy over DECL_GIMPLE_REG_P | |
4976 | flag from T. | |
4977 | ||
f1bf33ce UB |
4978 | 2008-01-05 Uros Bizjak <ubizjak@gmail.com> |
4979 | ||
4980 | PR target/34673 | |
4981 | * config/i386/i386.c (ix86_emit_swsqrtsf): Swap input operands | |
4982 | in the call to gen_rtx_NE. Remove unneeded VECTOR_MODE_P check. | |
4983 | Update copyright year. | |
4984 | ||
4985 | * config/i386/i386.md (rsqrtsf2): Enable for TARGET_SSE_MATH. | |
4986 | Update copyright year. | |
4987 | * config/i386/sse.md (rsqrtv4sf2): Ditto. Unconditionally expand | |
4988 | using NR fixup. | |
4989 | ||
12a6309e ZZ |
4990 | 2008-01-05 Zhouyi Zhou <zhouzhouyi@FreeBSD.org> |
4991 | ||
4992 | * tree-vrp.c (find_conditional_asserts): Remove redundant check that | |
4993 | edge does not point to current bb before changing need_assert. | |
4994 | ||
bdb69bee RG |
4995 | 2008-01-04 Richard Guenther <rguenther@suse.de> |
4996 | ||
4997 | PR middle-end/34029 | |
4998 | * tree-cfg.c (verify_expr): Do not look inside ADDR_EXPRs | |
4999 | for verifying purposes if they are is_gimple_min_invariant. | |
5000 | ||
ffed8a01 AH |
5001 | 2008-01-04 Aldy Hernandez <aldyh@redhat.com> |
5002 | ||
5003 | PR tree-optimization/34448 | |
5004 | PR tree-optimization/34465 | |
5005 | * gimplify.c (gimplify_init_constructor): Add new parameter | |
5006 | notify_temp_creation. Use it. | |
5007 | (gimplify_modify_expr_rhs): Take volatiles into account when | |
5008 | optimizing constructors. | |
5009 | Do not optimize constructors if gimplify_init_constructor will dump to | |
5010 | memory. | |
5011 | * gcc.dg/tree-ssa/pr32901.c: Tests const volatiles. | |
5012 | * gcc.c-torture/compile/pr34448.c: New. | |
5013 | ||
b5ca517c JJ |
5014 | 2008-01-04 Jakub Jelinek <jakub@redhat.com> |
5015 | ||
5016 | PR gcov-profile/34609 | |
5017 | * tree-inline.c (declare_return_variable): Set TREE_ADDRESSABLE on | |
5018 | return_slot if result is TREE_ADDRESSABLE. | |
5019 | ||
6a3d1d49 RS |
5020 | 2008-01-04 Richard Sandiford <rsandifo@nildram.co.uk> |
5021 | ||
5022 | * config/mips/mips.md (sqrt_condition): Tweak comment. | |
5023 | (recip_condition): Likewise. Require TARGET_FLOAT64 for DFmode. | |
5024 | ||
6fc3c3c0 TT |
5025 | 2008-01-03 Tom Tromey <tromey@redhat.com> |
5026 | ||
b5ca517c | 5027 | PR c/34457 |
6fc3c3c0 TT |
5028 | * c-common.c (c_type_hash): Handle VLAs. |
5029 | ||
045685a9 JH |
5030 | 2008-01-03 Jan Hubicka <jh@suse.cz> |
5031 | ||
5032 | PR tree-optimization/31081 | |
5033 | * tree-inline.c (remap_ssa_name): Initialize uninitialized SSA vars to | |
5034 | 0 when inlining and not inlining to first basic block. | |
5035 | (remap_decl): When var is initialized to 0, don't set default_def. | |
5036 | (expand_call_inline): Set entry_bb. | |
5037 | * tree-inline.h (copy_body_data): Add entry_bb. | |
5038 | ||
2092ee7d JJ |
5039 | 2008-01-03 Jakub Jelinek <jakub@redhat.com> |
5040 | ||
cac67c08 JJ |
5041 | PR c++/34619 |
5042 | * cgraphunit.c (cgraph_build_static_cdtor): set_cfun back to NULL | |
5043 | before returning. | |
5044 | ||
2092ee7d JJ |
5045 | PR tree-optimization/29484 |
5046 | * tree-inline.c (inline_forbidden_p_2): New function. | |
5047 | (inline_forbidden_p): Disallow inlining if some static var | |
5048 | has an address of a local LABEL_DECL in its initializer. | |
5049 | * doc/extend.texi (Labels as Values): Document &&foo behaviour | |
5050 | vs. inlining. | |
5051 | ||
2726bafe | 5052 | 2008-01-03 Sebastian Pop <sebastian.pop@amd.com> |
097392de SP |
5053 | |
5054 | PR tree-optimization/34635 | |
5055 | * tree-data-ref.c (add_other_self_distances): Make sure that the | |
5056 | evolution step is constant. | |
5057 | ||
99819c63 JJ |
5058 | 2008-01-03 Jakub Jelinek <jakub@redhat.com> |
5059 | ||
5060 | PR middle-end/34608 | |
12a6309e | 5061 | * omp-low.c (expand_omp_parallel): Purge dead EH edges in the child fn. |
99819c63 | 5062 | |
1463dfa4 RS |
5063 | 2008-01-02 Richard Sandiford <rsandifo@nildram.co.uk> |
5064 | ||
5065 | * tree-sra.c (scalarize_init): Insert the generate_element_init | |
5066 | statements after the generate_element_zero statements. | |
5067 | ||
ee6ec666 RG |
5068 | 2008-01-02 Richard Guenther <rguenther@suse.de> |
5069 | ||
5070 | PR middle-end/34093 | |
5071 | PR middle-end/31976 | |
5072 | * tree-ssa-operands.c (ssa_operand_alloc): Also allocate a buffer | |
5073 | for very large number of operands instead of ICEing. | |
5074 | ||
6893e828 AN |
5075 | 2008-01-02 Arthur Norman <acn1@cam.ac.uk> |
5076 | ||
12a6309e | 5077 | PR target/34013 |
d0fb20be | 5078 | * config/i386/i386.c (ix86_expand_prologue): Save red-zone |
6893e828 AN |
5079 | while stack probing. |
5080 | ||
1a7817e4 DG |
5081 | 2008-01-01 Douglas Gregor <doug.gregor@gmail.com> |
5082 | ||
6893e828 | 5083 | * c-opts.c (sanitize_cpp_opts): Don't warn about "long long" when |
12a6309e | 5084 | in C++0x mode. |
1a7817e4 | 5085 | |
882e337b VR |
5086 | 2008-01-01 Volker Reichelt <v.reichelt@netcologne.de> |
5087 | ||
5088 | PR libmudflap/26442 | |
5089 | * tree-mudflap.c (mx_register_decls): Guard warning by | |
5090 | !DECL_ARTIFICIAL check. | |
5091 | ||
f02ffa12 JJ |
5092 | 2008-01-01 Jakub Jelinek <jakub@redhat.com> |
5093 | ||
5094 | * config/i386/sse.md (sse5_pperm, sse5_pperm_pack_v2di_v4si, | |
5095 | sse5_pperm_pack_v4si_v8hi, sse5_pperm_pack_v8hi_v16qi, | |
5096 | sse5_perm<mode>): Fix constraints. |