comparison gcc/ChangeLog @ 0:a06113de4d67

first commit
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Fri, 17 Jul 2009 14:47:48 +0900
parents
children 58ad6c70ea60
comparison
equal deleted inserted replaced
-1:000000000000 0:a06113de4d67
1 2009-04-21 Release Manager
2
3 * GCC 4.4.0 released.
4
5 2009-04-20 Anatoly Sokolov <aesok@post.ru>
6
7 * config/avr/avr.md (*rotlsi3_8, *rotlsi3_16, *rotlsi3_24 ): Check
8 whether operands 0 and 1 overlaps.
9
10 2009-04-20 Ira Rosen <irar@il.ibm.com>
11
12 PR tree-optimization/39675
13 * tree-vect-transform.c (vect_transform_loop): Remove currently
14 redundant check of the return code of vect_schedule_slp. Check that
15 stmt_vec_info still exists for the statement, before checking its
16 vectorization type.
17
18 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
19
20 * config.gcc: Add soft-fp/t-softfp and i386/t-linux to tmake_file
21 for i[34567]86-*-kfreebsd*-gnu*, x86_64-*-kfreebsd*-gnu*.
22
23 2009-04-16 Kaz Kojima <kkojima@gcc.gnu.org>
24
25 Backport from mainline:
26 PR target/39767
27 * config/sh/predicates.md (arith_operand): Check if the operand
28 of TRUNCATE is a REG.
29
30 2009-04-15 Richard Guenther <rguenther@suse.de>
31
32 Backport from mainline:
33 PR tree-optimization/39764
34 * tree-ssa-ccp.c (get_value): Canonicalize value with
35 canonicalize_float_value.
36
37 2009-04-14 H.J. Lu <hongjiu.lu@intel.com>
38
39 Backport from mainline:
40 2009-04-09 H.J. Lu <hongjiu.lu@intel.com>
41
42 PR target/39678
43 * config/i386/i386.c (classify_argument): Handle SCmode with
44 (bit_offset % 64) != 0.
45
46 2009-04-14 Uros Bizjak <ubizjak@gmail.com>
47
48 Backport from mainline:
49 2009-04-12 Uros Bizjak <ubizjak@gmail.com>
50
51 PR target/39740
52 * config/alpha/predicates.md (local_symbolic_operand): Return 1 for
53 offseted label references.
54
55 2009-04-11 Richard Guenther <rguenther@suse.de>
56
57 PR tree-optimization/39713
58 * tree-ssa-sccvn.c (vn_get_expr_for): Make sure built
59 reference trees have SSA_NAME operands.
60
61 2009-04-10 H.J. Lu <hongjiu.lu@intel.com>
62
63 Backport from mainline:
64 2009-04-10 H.J. Lu <hongjiu.lu@intel.com>
65
66 * config/rs6000/darwin-vecsave.asm: Remove extra "*/".
67
68 2009-04-09 Nick Clifton <nickc@redhat.com>
69
70 * unwind-compat.c: Change copyright header to refer to version
71 3 of the GNU General Public License with version 3.1 of the
72 GCC Runtime Library Exception and to point readers at the
73 COPYING3 and COPYING3.RUNTIME files and the FSF's license web
74 page.
75 * config/alpha/crtfastmath.c: Likewise.
76 * config/alpha/linux-unwind.h: Likewise.
77 * config/alpha/qrnnd.asm: Likewise.
78 * config/alpha/vms-crt0-64.c: Likewise.
79 * config/alpha/vms-crt0.c: Likewise.
80 * config/alpha/vms-dwarf2.asm: Likewise.
81 * config/alpha/vms-dwarf2eh.asm: Likewise.
82 * config/alpha/vms-psxcrt0-64.c: Likewise.
83 * config/alpha/vms-psxcrt0.c: Likewise.
84 * config/alpha/vms_tramp.asm: Likewise.
85 * config/arc/initfini.c: Likewise.
86 * config/arc/lib1funcs.asm: Likewise.
87 * config/arm/bpabi-v6m.S: Likewise.
88 * config/arm/bpabi.S: Likewise.
89 * config/arm/bpabi.c: Likewise.
90 * config/arm/crti.asm: Likewise.
91 * config/arm/crtn.asm: Likewise.
92 * config/arm/ieee754-df.S: Likewise.
93 * config/arm/ieee754-sf.S: Likewise.
94 * config/arm/lib1funcs.asm: Likewise.
95 * config/arm/libunwind.S: Likewise.
96 * config/arm/linux-atomic.c: Likewise.
97 * config/arm/mmintrin.h: Likewise.
98 * config/arm/pr-support.c: Likewise.
99 * config/arm/unaligned-funcs.c: Likewise.
100 * config/arm/unwind-arm.c: Likewise.
101 * config/arm/unwind-arm.h: Likewise.
102 * config/avr/libgcc.S: Likewise.
103 * config/bfin/crti.s: Likewise.
104 * config/bfin/crtlibid.s: Likewise.
105 * config/bfin/crtn.s: Likewise.
106 * config/bfin/lib1funcs.asm: Likewise.
107 * config/bfin/linux-unwind.h: Likewise.
108 * config/cris/arit.c: Likewise.
109 * config/cris/cris_abi_symbol.c: Likewise.
110 * config/darwin-64.c: Likewise.
111 * config/darwin-crt2.c: Likewise.
112 * config/darwin-crt3.c: Likewise.
113 * config/darwin.h: Likewise.
114 * config/dbxelf.h: Likewise.
115 * config/dfp-bit.c: Likewise.
116 * config/dfp-bit.h: Likewise.
117 * config/elfos.h: Likewise.
118 * config/fixed-bit.c: Likewise.
119 * config/fixed-bit.h: Likewise.
120 * config/fp-bit.c: Likewise.
121 * config/fp-bit.h: Likewise.
122 * config/fr30/crti.asm: Likewise.
123 * config/fr30/crtn.asm: Likewise.
124 * config/fr30/lib1funcs.asm: Likewise.
125 * config/freebsd-spec.h: Likewise.
126 * config/frv/cmovd.c: Likewise.
127 * config/frv/cmovh.c: Likewise.
128 * config/frv/cmovw.c: Likewise.
129 * config/frv/frvbegin.c: Likewise.
130 * config/frv/frvend.c: Likewise.
131 * config/frv/lib1funcs.asm: Likewise.
132 * config/h8300/clzhi2.c: Likewise.
133 * config/h8300/crti.asm: Likewise.
134 * config/h8300/crtn.asm: Likewise.
135 * config/h8300/ctzhi2.c: Likewise.
136 * config/h8300/fixunssfsi.c: Likewise.
137 * config/h8300/lib1funcs.asm: Likewise.
138 * config/h8300/parityhi2.c: Likewise.
139 * config/h8300/popcounthi2.c: Likewise.
140 * config/i386/ammintrin.h: Likewise.
141 * config/i386/att.h: Likewise.
142 * config/i386/avxintrin.h: Likewise.
143 * config/i386/biarch64.h: Likewise.
144 * config/i386/bmmintrin.h: Likewise.
145 * config/i386/cpuid.h: Likewise.
146 * config/i386/cross-stdarg.h: Likewise.
147 * config/i386/crtfastmath.c: Likewise.
148 * config/i386/crtprec.c: Likewise.
149 * config/i386/cygming-crtbegin.c: Likewise.
150 * config/i386/cygming-crtend.c: Likewise.
151 * config/i386/cygwin.asm: Likewise.
152 * config/i386/emmintrin.h: Likewise.
153 * config/i386/gmm_malloc.h: Likewise.
154 * config/i386/gthr-win32.c: Likewise.
155 * config/i386/i386.h: Likewise.
156 * config/i386/immintrin.h: Likewise.
157 * config/i386/linux-unwind.h: Likewise.
158 * config/i386/linux64.h: Likewise.
159 * config/i386/mm3dnow.h: Likewise.
160 * config/i386/mmintrin-common.h: Likewise.
161 * config/i386/mmintrin.h: Likewise.
162 * config/i386/nmmintrin.h: Likewise.
163 * config/i386/pmm_malloc.h: Likewise.
164 * config/i386/pmmintrin.h: Likewise.
165 * config/i386/smmintrin.h: Likewise.
166 * config/i386/sol2-c1.asm: Likewise.
167 * config/i386/sol2-ci.asm: Likewise.
168 * config/i386/sol2-cn.asm: Likewise.
169 * config/i386/sol2-gc1.asm: Likewise.
170 * config/i386/tmmintrin.h: Likewise.
171 * config/i386/unix.h: Likewise.
172 * config/i386/w32-unwind.h: Likewise.
173 * config/i386/wmmintrin.h: Likewise.
174 * config/i386/x86-64.h: Likewise.
175 * config/i386/x86intrin.h: Likewise.
176 * config/i386/xmmintrin.h: Likewise.
177 * config/ia64/crtbegin.asm: Likewise.
178 * config/ia64/crtend.asm: Likewise.
179 * config/ia64/crtfastmath.c: Likewise.
180 * config/ia64/crti.asm: Likewise.
181 * config/ia64/crtn.asm: Likewise.
182 * config/ia64/fde-glibc.c: Likewise.
183 * config/ia64/lib1funcs.asm: Likewise.
184 * config/ia64/linux-unwind.h: Likewise.
185 * config/ia64/quadlib.c: Likewise.
186 * config/ia64/unwind-ia64.c: Likewise.
187 * config/linux.h: Likewise.
188 * config/m32c/m32c-lib1.S: Likewise.
189 * config/m32c/m32c-lib2.c: Likewise.
190 * config/m32r/initfini.c: Likewise.
191 * config/m68hc11/larith.asm: Likewise.
192 * config/m68hc11/m68hc11-crt0.S: Likewise.
193 * config/m68k/cf.md: Likewise.
194 * config/m68k/crti.s: Likewise.
195 * config/m68k/crtn.s: Likewise.
196 * config/m68k/lb1sf68.asm: Likewise.
197 * config/m68k/linux-unwind.h: Likewise.
198 * config/mcore/crti.asm: Likewise.
199 * config/mcore/crtn.asm: Likewise.
200 * config/mcore/lib1.asm: Likewise.
201 * config/mips/linux-unwind.h: Likewise.
202 * config/mips/loongson.h: Likewise.
203 * config/mips/mips16.S: Likewise.
204 * config/mmix/crti.asm: Likewise.
205 * config/mmix/crtn.asm: Likewise.
206 * config/pa/fptr.c: Likewise.
207 * config/pa/hpux-unwind.h: Likewise.
208 * config/pa/lib2funcs.asm: Likewise.
209 * config/pa/linux-atomic.c: Likewise.
210 * config/pa/linux-unwind.h: Likewise.
211 * config/pa/milli64.S: Likewise.
212 * config/pa/quadlib.c: Likewise.
213 * config/pa/stublib.c: Likewise.
214 * config/picochip/libgccExtras/adddi3.asm: Likewise.
215 * config/picochip/libgccExtras/ashlsi3.asm: Likewise.
216 * config/picochip/libgccExtras/ashlsi3.c: Likewise.
217 * config/picochip/libgccExtras/ashrsi3.asm: Likewise.
218 * config/picochip/libgccExtras/ashrsi3.c: Likewise.
219 * config/picochip/libgccExtras/cmpsi2.asm: Likewise.
220 * config/picochip/libgccExtras/divmod15.asm: Likewise.
221 * config/picochip/libgccExtras/divmodhi4.asm: Likewise.
222 * config/picochip/libgccExtras/divmodsi4.asm: Likewise.
223 * config/picochip/libgccExtras/longjmp.asm: Likewise.
224 * config/picochip/libgccExtras/lshrsi3.asm: Likewise.
225 * config/picochip/libgccExtras/lshrsi3.c: Likewise.
226 * config/picochip/libgccExtras/parityhi2.asm: Likewise.
227 * config/picochip/libgccExtras/popcounthi2.asm: Likewise.
228 * config/picochip/libgccExtras/setjmp.asm: Likewise.
229 * config/picochip/libgccExtras/subdi3.asm: Likewise.
230 * config/picochip/libgccExtras/ucmpsi2.asm: Likewise.
231 * config/picochip/libgccExtras/udivmodhi4.asm: Likewise.
232 * config/picochip/libgccExtras/udivmodsi4.asm: Likewise.
233 * config/rs6000/750cl.h: Likewise.
234 * config/rs6000/altivec.h: Likewise.
235 * config/rs6000/biarch64.h: Likewise.
236 * config/rs6000/crtresfpr.asm: Likewise.
237 * config/rs6000/crtresgpr.asm: Likewise.
238 * config/rs6000/crtresxfpr.asm: Likewise.
239 * config/rs6000/crtresxgpr.asm: Likewise.
240 * config/rs6000/crtsavfpr.asm: Likewise.
241 * config/rs6000/crtsavgpr.asm: Likewise.
242 * config/rs6000/darwin-asm.h: Likewise.
243 * config/rs6000/darwin-fallback.c: Likewise.
244 * config/rs6000/darwin-fpsave.asm: Likewise.
245 * config/rs6000/darwin-ldouble.c: Likewise.
246 * config/rs6000/darwin-tramp.asm: Likewise.
247 * config/rs6000/darwin-unwind.h: Likewise.
248 * config/rs6000/darwin-vecsave.asm: Likewise.
249 * config/rs6000/darwin-world.asm: Likewise.
250 * config/rs6000/e500crtres32gpr.asm: Likewise.
251 * config/rs6000/e500crtres64gpr.asm: Likewise.
252 * config/rs6000/e500crtres64gprctr.asm: Likewise.
253 * config/rs6000/e500crtrest32gpr.asm: Likewise.
254 * config/rs6000/e500crtrest64gpr.asm: Likewise.
255 * config/rs6000/e500crtresx32gpr.asm: Likewise.
256 * config/rs6000/e500crtresx64gpr.asm: Likewise.
257 * config/rs6000/e500crtsav32gpr.asm: Likewise.
258 * config/rs6000/e500crtsav64gpr.asm: Likewise.
259 * config/rs6000/e500crtsav64gprctr.asm: Likewise.
260 * config/rs6000/e500crtsavg32gpr.asm: Likewise.
261 * config/rs6000/e500crtsavg64gpr.asm: Likewise.
262 * config/rs6000/e500crtsavg64gprctr.asm: Likewise.
263 * config/rs6000/eabi-ci.asm: Likewise.
264 * config/rs6000/eabi-cn.asm: Likewise.
265 * config/rs6000/eabi.asm: Likewise.
266 * config/rs6000/linux-unwind.h: Likewise.
267 * config/rs6000/linux64.h: Likewise.
268 * config/rs6000/paired.h: Likewise.
269 * config/rs6000/paired.md: Likewise.
270 * config/rs6000/ppc64-fp.c: Likewise.
271 * config/rs6000/ppu_intrinsics.h: Likewise.
272 * config/rs6000/rs6000.h: Likewise.
273 * config/rs6000/si2vmx.h: Likewise.
274 * config/rs6000/sol-ci.asm: Likewise.
275 * config/rs6000/sol-cn.asm: Likewise.
276 * config/rs6000/spe.h: Likewise.
277 * config/rs6000/spu2vmx.h: Likewise.
278 * config/rs6000/sysv4.h: Likewise.
279 * config/rs6000/tramp.asm: Likewise.
280 * config/rs6000/vec_types.h: Likewise.
281 * config/s390/linux-unwind.h: Likewise.
282 * config/s390/tpf-unwind.h: Likewise.
283 * config/score/crti.asm: Likewise.
284 * config/score/crtn.asm: Likewise.
285 * config/sh/crt1.asm: Likewise.
286 * config/sh/crti.asm: Likewise.
287 * config/sh/crtn.asm: Likewise.
288 * config/sh/divtab-sh4-300.c: Likewise.
289 * config/sh/divtab-sh4.c: Likewise.
290 * config/sh/divtab.c: Likewise.
291 * config/sh/lib1funcs-4-300.asm: Likewise.
292 * config/sh/lib1funcs-Os-4-200.asm: Likewise.
293 * config/sh/lib1funcs.asm: Likewise.
294 * config/sh/lib1funcs.h: Likewise.
295 * config/sh/linux-atomic.asm: Likewise.
296 * config/sh/linux-unwind.h: Likewise.
297 * config/sh/shmedia.h: Likewise.
298 * config/sh/sshmedia.h: Likewise.
299 * config/sh/ushmedia.h: Likewise.
300 * config/sparc/crtfastmath.c: Likewise.
301 * config/sparc/linux-unwind.h: Likewise.
302 * config/sparc/sol2-c1.asm: Likewise.
303 * config/sparc/sol2-ci.asm: Likewise.
304 * config/sparc/sol2-cn.asm: Likewise.
305 * config/spu/divmodti4.c: Likewise.
306 * config/spu/divv2df3.c: Likewise.
307 * config/spu/float_disf.c: Likewise.
308 * config/spu/float_unsdidf.c: Likewise.
309 * config/spu/float_unsdisf.c: Likewise.
310 * config/spu/float_unssidf.c: Likewise.
311 * config/spu/mfc_multi_tag_release.c: Likewise.
312 * config/spu/mfc_multi_tag_reserve.c: Likewise.
313 * config/spu/mfc_tag_release.c: Likewise.
314 * config/spu/mfc_tag_reserve.c: Likewise.
315 * config/spu/mfc_tag_table.c: Likewise.
316 * config/spu/multi3.c: Likewise.
317 * config/spu/spu_internals.h: Likewise.
318 * config/spu/spu_intrinsics.h: Likewise.
319 * config/spu/spu_mfcio.h: Likewise.
320 * config/spu/vec_types.h: Likewise.
321 * config/spu/vmx2spu.h: Likewise.
322 * config/stormy16/stormy16-lib2.c: Likewise.
323 * config/svr4.h: Likewise.
324 * config/sync.c: Likewise.
325 * config/v850/lib1funcs.asm: Likewise.
326 * config/vxlib-tls.c: Likewise.
327 * config/vxlib.c: Likewise.
328 * config/vxworks-dummy.h: Likewise.
329 * config/xtensa/crti.asm: Likewise.
330 * config/xtensa/crtn.asm: Likewise.
331 * config/xtensa/ieee754-df.S: Likewise.
332 * config/xtensa/ieee754-sf.S: Likewise.
333 * config/xtensa/lib1funcs.asm: Likewise.
334 * config/xtensa/lib2funcs.S: Likewise.
335 * config/xtensa/linux-unwind.h: Likewise.
336 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
337 * config/xtensa/unwind-dw2-xtensa.h: Likewise.
338 * coretypes.h: Likewise.
339 * crtstuff.c: Likewise.
340 * defaults.h: Likewise.
341 * dwarf2.h: Likewise.
342 * emutls.c: Likewise.
343 * gbl-ctors.h: Likewise.
344 * gcov-io.h: Likewise.
345 * ginclude/float.h: Likewise.
346 * ginclude/iso646.h: Likewise.
347 * ginclude/stdarg.h: Likewise.
348 * ginclude/stdbool.h: Likewise.
349 * ginclude/stddef.h: Likewise.
350 * ginclude/stdfix.h: Likewise.
351 * ginclude/tgmath.h: Likewise.
352 * gthr-aix.h: Likewise.
353 * gthr-dce.h: Likewise.
354 * gthr-gnat.c: Likewise.
355 * gthr-gnat.h: Likewise.
356 * gthr-lynx.h: Likewise.
357 * gthr-mipssde.h: Likewise.
358 * gthr-nks.h: Likewise.
359 * gthr-posix.c: Likewise.
360 * gthr-posix.h: Likewise.
361 * gthr-posix95.h: Likewise.
362 * gthr-rtems.h: Likewise.
363 * gthr-single.h: Likewise.
364 * gthr-solaris.h: Likewise.
365 * gthr-tpf.h: Likewise.
366 * gthr-vxworks.h: Likewise.
367 * gthr-win32.h: Likewise.
368 * gthr.h: Likewise.
369 * libgcc2.c: Likewise.
370 * libgcc2.h: Likewise.
371 * libgcov.c: Likewise.
372 * tsystem.h: Likewise.
373 * typeclass.h: Likewise.
374 * unwind-c.c: Likewise.
375 * unwind-compat.h: Likewise.
376 * unwind-dw2-fde-compat.c: Likewise.
377 * unwind-dw2-fde-darwin.c: Likewise.
378 * unwind-dw2-fde-glibc.c: Likewise.
379 * unwind-dw2-fde.c: Likewise.
380 * unwind-dw2-fde.h: Likewise.
381 * unwind-dw2.c: Likewise.
382 * unwind-dw2.h: Likewise.
383 * unwind-generic.h: Likewise.
384 * unwind-pe.h: Likewise.
385 * unwind-sjlj.c: Likewise.
386 * unwind.inc: Likewise.
387 * config/arm/neon-gen.ml: Change generated copyright header to
388 refer to version 3 of the GNU General Public License with
389 version 3.1 of the GCC Runtime Library Exception and to point
390 readers at the COPYING3 and COPYING3.RUNTIME files and the
391 FSF's license web page.
392 * config/arm/arm_neon.h: Regenerate.
393
394 2009-04-09 Jakub Jelinek <jakub@redhat.com>
395
396 * config/cris/cris.md: Change copyright header to refer to version
397 3 of the GNU General Public License.
398 * doc/install.texi2html: Change copyright header to refer to version
399 3 of the GNU General Public License and to point readers at the
400 COPYING3 file and the FSF's license web page.
401
402 2009-04-08 Jakub Jelinek <jakub@redhat.com>
403
404 PR middle-end/39573
405 * omp-low.c (expand_omp_taskreg): Finalize taskreg static local_decls
406 variables.
407
408 2009-04-08 David Ayers <ayers@fsfe.org>
409
410 PR objc/27377
411 * c-typeck.c (build_conditional_expr): Emit ObjC warnings
412 by calling objc_compare_types and surpress warnings about
413 incompatible C pointers that are compatible ObjC pointers.
414
415 2009-04-07 Alan Modra <amodra@bigpond.net.au>
416
417 PR target/39634
418 * config.gcc (powerpc-*-linux*): Include soft-fp/t-softfp after
419 rs6000/t-linux64.
420
421 2009-04-04 Richard Earnshaw <rearnsha@arm.com>
422
423 PR target/39501
424 * arm.md (movsfcc): Disable if not TARGET_HARD_FLOAT.
425 * testsuite/gcc.c-torture/execute/pr39501.c: New file.
426 * testsuite/gcc.c-torture/execute/pr39501.x: New file.
427
428 2009-04-04 Jakub Jelinek <jakub@redhat.com>
429
430 * unwind-dw2.h (_Unwind_FrameState): Add REG_UNDEFINED enum value.
431 * unwind-dw2.c (execute_cfa_program): Set how to REG_UNDEFINED
432 instead of REG_UNSAVED for DW_CFA_undefined.
433 (uw_update_context_1): Handle REG_UNDEFINED the same as REG_UNSAVED.
434 (uw_update_context): If RA column is REG_UNDEFINED, mark it as
435 outermost frame.
436
437 2009-04-02 Ira Rosen <irar@il.ibm.com>
438
439 PR tree-optimization/39595
440 * tree-vect-analyze.c (vect_build_slp_tree): Check that the size of
441 interleaved loads group is not greater than the SLP group size.
442
443 2009-04-01 Eric Botcazou <ebotcazou@adacore.com>
444
445 PR rtl-optimization/39588
446 * combine.c (merge_outer_ops): Do not set the constant when this
447 is not necessary.
448 (simplify_shift_const_1): Do not modify it either in this case.
449
450 2009-04-01 Steven Bosscher <steven@gcc.gnu.org>
451
452 * config/ia64/ia64.c (ia64_handle_option): Inform user that Itanium1
453 tuning is deprecated if -mtune value is set to an Itanium1 variant.
454
455 2009-04-01 Jakub Jelinek <jakub@redhat.com>
456
457 PR target/39226
458 * config/rs6000/rs6000.md (andsi3_internal5_nomc,
459 anddi3_internal2_nomc, anddi3_internal3_nomc): Removed.
460 (booldi3_internal3): Use boolean_or_operator instead of
461 boolean_operator.
462
463 PR c/37772
464 * c-parser.c (c_parser_asm_statement): Skip until close paren and
465 return if c_parser_asm_string_literal returned NULL.
466
467 2009-04-01 Kai Tietz <kai.tietz@onevision.com>
468 Andrey Galkin <agalkin@hypercom.com>
469
470 PR/39492
471 * config/i386/host-mingw32.c (mingw32_gt_pch_use_address):
472 Make object_name unique for each process.
473
474 2009-04-01 Anatoly Sokolov <aesok@post.ru>
475
476 * config/avr/avr.c (avr_override_options): Inform user that
477 -mno-tablejump option is deprecated.
478 * doc/invoke.texi (AVR Options): Update -mno-tablejump.
479
480 2009-04-01 Jakub Jelinek <jakub@redhat.com>
481
482 PR other/39591
483 * omp-low.c (remove_exit_barrier): Don't optimize if there are any
484 addressable variables in the parallel that could go out of scope while
485 running queued tasks.
486
487 2009-03-30 Sebastian Pop <sebastian.pop@amd.com>
488
489 * doc/invoke.texi (-floop-interchange, -floop-strip-mine,
490 -floop-block): Document dependences on PPL, CLooG and Graphite.
491
492 2009-03-30 Jakub Jelinek <jakub@redhat.com>
493
494 Revert
495
496 2009-03-27 H.J. Lu <hongjiu.lu@intel.com>
497 * c-common.c (pointer_int_sum): Use %wd on return from
498 tree_low_cst.
499
500 2009-03-27 H.J. Lu <hongjiu.lu@intel.com>
501 * c-common.c (pointer_int_sum): Use HOST_WIDE_INT_PRINT_DEC
502 on return from tree_low_cst.
503
504 2009-03-27 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
505 PR c++/35652
506 * builtins.h (c_strlen): Do not warn here.
507 * c-typeck.c (build_binary_op): Adjust calls to pointer_int_sum.
508 * c-common.c (pointer_int_sum): Take an explicit location.
509 Warn about offsets out of bounds.
510 * c-common.h (pointer_int_sum): Adjust declaration.
511
512 2009-03-29 H.J. Lu <hongjiu.lu@intel.com>
513
514 Backport from mainline:
515 2009-03-29 H.J. Lu <hongjiu.lu@intel.com>
516
517 PR target/39545
518 * config/i386/i386.c (classify_argument): Ignore flexible array
519 member in struct and warn ABI change.
520
521 2009-03-29 Joseph Myers <joseph@codesourcery.com>
522
523 * doc/invoke.texi, doc/standards.texi: Refer to
524 gcc-4.4/c99status.html.
525
526 2009-03-28 Anatoly Sokolov <aesok@post.ru>
527
528 * config/avr/avr.c (avr_mcu_t): Add atmega8c1, atmega16c1 and
529 atmega8m1 devices.
530 * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
531 * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.)
532
533 2009-03-28 Jakub Jelinek <jakub@redhat.com>
534
535 * config/rs6000/rs6000-c.c (rs6000_macro_to_expand): If macro
536 following vector keyword has expansion starting with pixel or bool
537 keyword, expand vector to __vector and pixel or bool to __pixel or
538 __bool.
539
540 PR c++/39554
541 * opts.c (warning_disallowed_functions, warn_disallowed_functions,
542 warn_if_disallowed_function_p): Removed.
543 (common_handle_option): Don't handle OPT_Wdisallowed_function_list_.
544 * c-parser.c (c_parser_postfix_expression_after_primary): Don't call
545 warning_if_disallowed_function_p.
546 * flags.h (warn_if_disallowed_function_p,
547 warn_disallowed_functions): Removed.
548 * common.opt (Wdisallowed-function-list=): Removed.
549 * doc/invoke.texi (-Wdisallowed-function-list=): Removed.
550
551 2009-03-27 Mark Mitchell <mark@codesourcery.com>
552
553 * DEV-PHASE: Mark "prerelease".
554
555 2009-03-27 Xinliang David Li <davidxl@google.com>
556
557 PR tree-optimization/39557
558 * tree-ssa.c (warn_uninitialized_vars): free postdom info.
559
560 2009-03-27 Xinliang David Li <davidxl@google.com>
561
562 PR tree-optimization/39548
563 * tree-ssa-copy.c (copy_prop_visit_phi_node): Add copy
564 candidate check.
565
566 2009-03-27 H.J. Lu <hongjiu.lu@intel.com>
567
568 * c-common.c (pointer_int_sum): Use %wd on return from
569 tree_low_cst.
570
571 2009-03-27 H.J. Lu <hongjiu.lu@intel.com>
572
573 * c-common.c (pointer_int_sum): Use HOST_WIDE_INT_PRINT_DEC
574 on return from tree_low_cst.
575
576 2009-03-27 Andrew Pinski <andrew_pinski@playstation.sony.com>
577
578 PR c++/36799
579 * ginclude/stdarg.h (va_copy): Define also for __GXX_EXPERIMENTAL_CXX0X__.
580
581 2009-03-27 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
582
583 PR c++/35652
584 * builtins.h (c_strlen): Do not warn here.
585 * c-typeck.c (build_binary_op): Adjust calls to pointer_int_sum.
586 * c-common.c (pointer_int_sum): Take an explicit location.
587 Warn about offsets out of bounds.
588 * c-common.h (pointer_int_sum): Adjust declaration.
589
590 2009-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
591
592 * doc/invoke.texi (i386 and x86-64 Windows Options): Fix texinfo
593 markup glitch.
594
595 2009-03-26 Jakub Jelinek <jakub@redhat.com>
596
597 PR c++/39554
598 * opts.c (warn_if_disallowed_function_p): Don't assume
599 get_callee_fndecl must return non-NULL.
600
601 2009-03-26 Vladimir Makarov <vmakarov@redhat.com>
602
603 PR rtl-optimization/39522
604 * reload1.c (reload_as_needed): Invalidate reg_last_reload_reg too
605 when reg_reloaded_valid is set.
606
607 2009-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
608
609 * config/spu/divv2df3.c: New file.
610 * config/spu/t-spu-elf (LIB2FUNCS_STATIC_EXTRA): Add it.
611 (DPBIT_FUNCS): Filter out _div_df.
612
613 2009-03-26 Bernd Schmidt <bernd.schmidt@analog.com>
614
615 * config/bfin/bfin.c (bfin_optimize_loop): If the LSETUP goes before
616 a jump insn, count that jump in the distance to the loop start.
617
618 2009-03-25 Kaz Kojima <kkojima@gcc.gnu.org>
619
620 PR target/39523
621 * config/sh/sh.c (calc_live_regs): Fix condition for global
622 registers except PIC_OFFSET_TABLE_REGNUM.
623
624 2009-03-25 Kai Tietz <kai.tietz@onevision.com>
625
626 PR/39518
627 * doc/invoke.texi (-mconsole): New.
628 (-mcygwin): New.
629 (-mno-cygwin): New.
630 (-mdll): New.
631 (-mnop-fun-dllimport): New.
632 (-mthread): New.
633 (-mwin32): New.
634 (-mwindows): New.
635 (sub section "i386 and x86-64 Windows Options"): New.
636
637 2009-03-25 Ralf Corsépius <ralf.corsepius@rtems.org>
638
639 * config/arm/rtems-elf.h: Remove LINK_GCC_C_SEQUENCE_SPEC.
640 * config/rs6000/t-rtems: Remove MULTILIB_EXTRA_OPTS.
641
642 2009-03-25 Richard Guenther <rguenther@suse.de>
643
644 PR middle-end/39497
645 * Makefile.in (dfp.o-warn): Use -fno-strict-aliasing instead
646 of -Wno-error.
647
648 2009-03-25 Andrey Belevantsev <abel@ispras.ru>
649
650 * config/ia64/ia64.c (ia64_set_sched_flags): Zero spec_info->mask when
651 neither of haifa/selective schedulers are working.
652
653 2009-03-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
654
655 * doc/invoke.texi (Debugging Options): Fix description of
656 -fno-merge-debug-strings.
657
658 2009-03-24 Hans-Peter Nilsson <hp@axis.com>
659
660 * config/cris/libgcc.ver: New version-script.
661 * config/cris/t-linux (SHLIB_MAPFILES): Use it.
662
663 * configure.ac <GAS features, nop mnemonic>: Add pattern
664 crisv32-*-* for "nop".
665 <GAS features, Thread-local storage>: Add item for CRIS and
666 CRIS v32.
667 * configure: Regenerate.
668
669 2009-03-24 Ira Rosen <irar@il.ibm.com>
670
671 PR tree-optimization/39529
672 * tree-vect-transform.c (vect_create_data_ref_ptr): Call
673 mark_sym_for_renaming for the tag copied to the new vector
674 pointer.
675
676 2009-03-24 Arthur Loiret <aloiret@debian.org>
677
678 * config.host (alpha*-*-linux*): Use driver-alpha.o and
679 alpha/x-alpha.
680 * config/alpha/linux.h (host_detect_local_cpu): Declare, add to
681 EXTRA_SPEC_FUNCTIONS.
682 (MCPU_MTUNE_NATIVE_SPECS, DRIVER_SELF_SPECS): New macros.
683 * config/alpha/driver-alpha.c, config/alpha/x-alpha: New.
684 * doc/invoke.texi (DEC Alpha Options): Document 'native' value for
685 -march and -mtune options.
686
687 2009-03-24 Ralf Corsépius <ralf.corsepius@rtems.org>
688
689 * config/m68k/t-rtems: Add m5329 multilib.
690
691 2009-03-24 Dodji Seketeli <dodji@redhat.com>
692 Jakub Jelinek <jakub@redhat.com>
693
694 PR debug/39524
695 * dwarf2out.c (gen_variable_die): Avoid adding duplicate declaration
696 nodes.
697
698 2009-03-23 Jakub Jelinek <jakub@redhat.com>
699
700 PR c/39495
701 * c-parser.c (c_parser_omp_for_loop): Call c_parser_binary_expression
702 instead of c_parser_expression_conv, if original_code isn't one of the
703 4 allowed comparison codes, fail.
704
705 2009-03-23 Richard Guenther <rguenther@suse.de>
706
707 * cgraph.h (struct cgraph_node): Reorder fields for 64-bit hosts.
708 * tree.h (struct tree_type): Likewise.
709 * reload.h (struct insn_chain): Likewise.
710 * dwarf2out.c (struct dw_loc_descr_struct): Likewise.
711 * function.h (struct function): Likewise.
712 * tree-ssa-structalias.c (struct equiv_class_label): Likewise.
713
714 2009-03-23 Jakub Jelinek <jakub@redhat.com>
715
716 PR tree-optimization/39516
717 * lambda-code.c (perfect_nestify): Fix type of the uboundvar variable.
718
719 2009-03-23 Bingfeng Mei <bmei@broadcom.com>
720
721 * config.gcc (need_64bit_hwint): Make clear that need_64bit_hwint
722 should be set true if BITS_PER_WORD of target is bigger than 32
723
724 2009-03-22 Hans-Peter Nilsson <hp@axis.com>
725
726 * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC):
727 Translate -B-options to -rpath-link. Correct existing
728 rpath-link and conditionalize on !nostdlib.
729
730 2009-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
731
732 * doc/extend.texi (Function Attributes, Variable Attributes):
733 Fix typos.
734 * doc/invoke.texi (Debugging Options, Optimize Options)
735 (i386 and x86-64 Options, MCore Options): Likewise.
736
737 2009-03-20 Jakub Jelinek <jakub@redhat.com>
738
739 PR debug/37890
740 * dwarf2out.c (gen_namespace_die): Add context_die argument and use
741 it for block local namespace aliases.
742 (gen_decl_die): Pass context_die to gen_namespace_die.
743
744 2009-03-19 Jakub Jelinek <jakub@redhat.com>
745
746 PR c/39495
747 * c-omp.c (c_finish_omp_for): Allow NE_EXPR with TREE_TYPE (decl)'s
748 minimum or maximum value.
749
750 2009-03-19 Alexandre Oliva <aoliva@redhat.com>
751
752 * reginfo.c (globalize_reg): Recompute derived reg sets.
753
754 2009-03-19 Ozkan Sezer <sezeroz@gmail.com>
755
756 PR target/39063
757 * libgcc2.c (mprotect): Do not use signed arguments for
758 VirtualProtect, use DWORD arguments. Also fix the 'may
759 be used uninitialized' warning for the np variable.
760
761 2009-03-19 Jakub Jelinek <jakub@redhat.com>
762
763 PR target/39496
764 * config/i386/i386.c (ix86_function_regparm): Don't optimize local
765 functions using regparm calling conventions when not optimizing.
766 (ix86_function_sseregparm): Similarly for sseregparm calling
767 conventions.
768
769 2009-03-19 Li Feng <nemokingdom@gmail.com>
770
771 PR middle-end/39500
772 * tree-data-ref.c (analyze_subscript_affine_affine): There is no
773 dependence if the first conflict is after niter iterations.
774
775 2009-03-19 Hans-Peter Nilsson <hp@axis.com>
776
777 PR middle-end/38609
778 * config/cris/cris.h (FRAME_POINTER_REQUIRED): Force for all
779 functions with dynamic stack-pointer adjustments.
780
781 2009-03-19 Ben Elliston <bje@au.ibm.com>
782
783 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix -msdata-data
784 option; change to -msdata=data.
785
786 2009-03-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
787
788 * c.opt: Unify help texts for -Wdeprecated, -Wsystem-headers,
789 and -fopenmp.
790
791 2009-03-18 Eric Botcazou <ebotcazou@adacore.com>
792
793 PR target/35180
794 * config/sparc/sparc.md (do_builtin_setjmp_setup): Prettify asm output.
795
796 2009-03-18 Sandra Loosemore <sandra@codesourcery.com>
797
798 * doc/invoke.texi (Code Gen Options): Expand discussion of
799 -fno-common.
800
801 2009-03-18 Jakub Jelinek <jakub@redhat.com>
802
803 * dse.c (struct group_info): Reorder fields for 64-bit hosts.
804 * matrix-reorg.c (struct matrix_info): Likewise.
805 * tree-ssa-loop-ivopts.c (struct ivopts_data): Likewise.
806 * rtl.h (struct mem_attrs): Likewise.
807 * df.h (struct df): Likewise.
808 * tree-data-ref.h (struct data_dependence_relation): Likewise.
809 * ira-int.h (struct ira_allocno): Likewise.
810 * df-scan.c (struct df_collection_rec): Likewise.
811 * ira.c (struct equivalence): Likewise.
812 * function.c (struct temp_slot): Likewise.
813 * cfgloop.h (struct loop): Likewise.
814
815 PR debug/39485
816 * function.c (use_register_for_decl): When not optimizing, disregard
817 register keyword for variables with types containing methods.
818
819 2009-03-18 Sebastian Pop <sebastian.pop@amd.com>
820
821 PR middle-end/39447
822 * graphite.c (exclude_component_ref): Renamed contains_component_ref_p.
823 (is_simple_operand): Call contains_component_ref_p before calling data
824 reference analysis that would fail on COMPONENT_REFs.
825
826 * tree-vrp.c (search_for_addr_array): Fix formatting.
827
828 2009-03-18 Richard Guenther <rguenther@suse.de>
829
830 * tree-vect-transform.c (vect_loop_versioning): Fold the
831 generated comparisons.
832 * tree-vectorizer.c (set_prologue_iterations): Likewise.
833 (slpeel_tree_peel_loop_to_edge): Likewise.
834
835 2009-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
836
837 PR middle-end/37805
838 * opts.c (print_specific_help): In addition to `undocumented',
839 accept `separate' and `joined' flags if passed alone. Describe
840 output by the first matched one of those.
841 (common_handle_option): Skip over empty strings.
842 * gcc.c (display_help): Fix help string for `--help='.
843 * doc/invoke.texi (Option Summary, Overall Options): With
844 `--help=', classes and qualifiers can both be repeated, but
845 only the latter can be negated. One should not pass only
846 negated qualifiers. Fix markup and examples.
847
848 Revert
849 2008-10-14 Jakub Jelinek <jakub@redhat.com>
850 PR middle-end/37805
851 * opts.c (common_handle_option): Don't ICE on -fhelp=joined
852 and -fhelp=separate.
853
854 2009-03-17 Jing Yu <jingyu@google.com>
855
856 PR middle-end/39378
857 * function.h (struct rtl_data): Move is_thunk from here...
858 (struct function): ...to here.
859 * cp/method.c (use_thunk): Change is_thunk from crtl to cfun.
860 * varasm.c (assemble_start_function): Change is_thunk from crtl to
861 cfun.
862 * config/alpha/alpha.c (alpha_sa_mask): Change is_thunk from crtl to
863 cfun.
864 (alpha_does_function_need_gp, alpha_start_function): Likewise.
865 (alpha_output_function_end_prologue): Likewise.
866 (alpha_end_function, alpha_output_mi_thunk_osf): Likewise.
867 * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Likewise.
868 (rs6000_output_function_epilogue): Likewise.
869 * config/arm/arm.h (ARM_DECLARE_FUNCTION_NAME): Likewise.
870
871 2009-03-17 Uros Bizjak <ubizjak@gmail.com>
872
873 PR target/39482
874 * config/i386/i386.md (*truncdfsf_mixed): Avoid combining registers
875 from different units in a single alternative.
876 (*truncdfsf_i387): Ditto.
877 (*truncxfsf2_mixed): Ditto.
878 (*truncxfdf2_mixed): Ditto.
879
880 2009-03-17 Jakub Jelinek <jakub@redhat.com>
881
882 * dwarf2out.c (dwarf2out_imported_module_or_decl_1): Allow
883 non-NAMESPACE_DECL IMPORTED_DECL_ASSOCIATED_DECL.
884
885 PR debug/39474
886 * tree-ssa-live.c (remove_unused_locals): Don't remove local
887 unused non-artificial variables when not optimizing.
888
889 PR debug/39471
890 * dwarf2out.c (dwarf2out_imported_module_or_decl_1): Emit
891 DW_TAG_imported_module even if decl is IMPORTED_DECL with
892 NAMESPACE_DECL in its DECL_INITIAL.
893
894 PR middle-end/39443
895 * optabs.c (set_user_assembler_libfunc): New function.
896 * expr.h (set_user_assembler_libfunc): New prototype.
897 * c-common.c: Include libfuncs.h.
898 (set_builtin_user_assembler_name): Call set_user_assembler_libfunc
899 for memcmp, memset, memcpy, memmove and abort.
900 * Makefile.in (c-common.o): Depend on libfuncs.h.
901
902 PR debug/39412
903 * dwarf2out.c (gen_inlined_enumeration_type_die,
904 gen_inlined_structure_type_die, gen_inlined_union_type_die,
905 gen_tagged_type_instantiation_die): Removed.
906 (gen_decl_die): For TYPE_DECL_IS_STUB with non-NULL decl_origin
907 do nothing.
908
909 2009-03-17 Janis Johnson <janis187@us.ibm.com>
910
911 PR testsuite/38526
912 * Makefile.in (site.exp): Rename TEST_GCC_EXEC_PREFIX and comment
913 its use.
914 (check-%): Don't set GCC_EXEC_PREFIX when invoking runtest.
915 (check-parallel-%): Ditto.
916 (check-consistency): Ditto.
917
918 2009-03-17 Kai Tietz <kai.tietz@onevision.com>
919
920 * ipa-struct-reorg.c (create_general_new_stmt): Initialize
921 local variable rhs by NULL_TREE.
922
923 2009-03-17 H.J. Lu <hongjiu.lu@intel.com>
924
925 PR target/39477
926 * doc/extend.texi: Correct register behavior for regparm on Intel 386.
927
928 2009-03-17 H.J. Lu <hongjiu.lu@intel.com>
929
930 PR target/39476
931 * config/i386/i386.c (ix86_function_regparm): Rewrite for 64bit.
932
933 2009-03-17 H.J. Lu <hongjiu.lu@intel.com>
934
935 PR target/39473
936 * config/i386/i386.c (ix86_expand_call): Check extra clobbers
937 for ms->sysv ABI calls only in 64bit mode.
938
939 * config/i386/i386.md (untyped_call): Support 32bit.
940
941 2009-03-16 H.J. Lu <hongjiu.lu@intel.com>
942
943 * doc/extend.texi: Replace x86_65 with x86_64.
944
945 2009-03-16 Jakub Jelinek <jakub@redhat.com>
946
947 PR tree-optimization/39455
948 * tree-ssa-loop-niter.c (number_of_iterations_lt_to_ne): Fix types
949 mismatches for POINTER_TYPE_P (type).
950 (number_of_iterations_le): Likewise.
951
952 2009-03-16 Hariharan Sandanagobalane <hariharan@picochip.com>
953
954 * config/picochip/picochip.c: Removed profiling support.
955 * config/picochip/picochip.md: Removed profiling instruction.
956 * config/picochip/picochip.h: Removed profiling builtin.
957
958 2009-03-16 Joseph Myers <joseph@codesourcery.com>
959
960 * doc/install.texi (--with-host-libstdcxx): Document.
961
962 2009-03-14 Anatoly Sokolov <aesok@post.ru>
963
964 PR target/34299
965 * config/avr/avr.c (avr_handle_fndecl_attribute): Move code for
966 generate a warning if the function name does not begin with
967 "__vector" and the function has either the 'signal' or 'interrupt'
968 attribute, from here to ...
969 (avr_declare_function_name): ...here. New function.
970 * config/avr/avr.h (ASM_DECLARE_FUNCTION_NAME): Redefine.
971 * config/avr/avr-protos.h (avr_declare_function_name): Declare.
972
973 2009-03-14 Jakub Jelinek <jakub@redhat.com>
974
975 PR bootstrap/39454
976 * cse.c (fold_rtx): Don't modify original const_arg1 when
977 canonicalizing SHIFT_COUNT_TRUNCATED shift count, do it on a
978 separate variable instead.
979 * rtlanal.c (nonzero_bits1) <case ASHIFTRT>: Don't assume anything
980 from out of range shift counts.
981 (num_sign_bit_copies1) <case ASHIFTRT, case ASHIFT>: Similarly.
982
983 2008-03-13 Catherine Moore <clm@codesourcery.com>
984
985 * gcc/config/i386/x-mingw32 (host-mingw32.o): Replace
986 diagnostic.h with $(DIAGNOSTIC_H).
987
988 2008-03-12 Jakub Jelinek <jakub@redhat.com>
989
990 PR target/39431
991 * config/i386/predicates.md (cmpxchg8b_pic_memory_operand): New
992 predicate.
993 * config/i386/sync.md (sync_compare_and_swap<mode>,
994 sync_compare_and_swap_cc<mode>): For DImode with -m32 -fpic check
995 if operands[1] is cmpxchg8b_pic_memory_operand, if not force address
996 into a register.
997 (sync_double_compare_and_swapdi_pic,
998 sync_double_compare_and_swap_ccdi_pic): Require operand 1 to be
999 cmpxchg8b_pic_memory_operand instead of just memory_operand.
1000
1001 2009-03-12 H.J. Lu <hongjiu.lu@intel.com>
1002
1003 PR target/39445
1004 * config/i386/i386.c (ix86_expand_push): Don't set memory alignment.
1005
1006 2009-03-12 H.J. Lu <hongjiu.lu@intel.com>
1007
1008 PR target/39327
1009 * config/i386/sse.md (avx_addsubv8sf3): Correct item bits.
1010 (avx_addsubv4df3): Likewise.
1011 (*avx_addsubv4sf3): Likewise.
1012 (sse3_addsubv4sf3): Likewise.
1013
1014 2009-03-12 H.J. Lu <hongjiu.lu@intel.com>
1015
1016 PR target/38824
1017 * config/i386/i386.md: Compare REGNO on the new peephole2 patterns.
1018
1019 2009-03-12 Vladimir Makarov <vmakarov@redhat.com>
1020
1021 PR debug/39432
1022 * ira-int.h (struct allocno): Fix comment for calls_crossed_num.
1023 * ira-conflicts.c (ira_build_conflicts): Prohibit call used
1024 registers for allocnos created from user-defined variables.
1025
1026 2009-03-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1027
1028 PR target/39181
1029 * config/spu/spu.c (spu_expand_mov): Handle invalid subregs
1030 of non-integer mode as well.
1031
1032 2009-03-11 Adam Nemet <anemet@caviumnetworks.com>
1033
1034 * gimplify.c (gimplify_call_expr): Don't set CALL_CANNOT_INLINE_P
1035 for functions for which the parameter types are unknown.
1036
1037 2009-03-11 Jakub Jelinek <jakub@redhat.com>
1038
1039 PR target/39137
1040 * cfgexpand.c (get_decl_align_unit): Use LOCAL_DECL_ALIGNMENT macro.
1041 * defaults.h (LOCAL_DECL_ALIGNMENT): Define if not yet defined.
1042 * config/i386/i386.h (LOCAL_DECL_ALIGNMENT): Define.
1043 * config/i386/i386.c (ix86_local_alignment): For
1044 -m32 -mpreferred-stack-boundary=2 use 32-bit alignment for
1045 long long variables on the stack to avoid dynamic realignment.
1046 Allow the first argument to be a decl rather than type.
1047 * doc/tm.texi (LOCAL_DECL_ALIGNMENT): Document.
1048
1049 2009-03-11 Nick Clifton <nickc@redhat.com>
1050
1051 PR target/5362
1052 * config/mcore/mcore.opt: Remove deprecated m4align and m8align
1053 options.
1054 Add description to mno-lsim option.
1055 * config/mcore/mcore.h: Remove comment about deprecated m4align
1056 option.
1057 (TARGET_DEFAULT): Remove deprecated MASK_M8ALIGN.
1058 * doc/invoke.texi: Add description of mno-lsim and
1059 mstack-increment options.
1060
1061 * config/fr30/fr30.opt: Document the -mno-lsim option.
1062 * doc/invoke.texi: Add descriptions of the FR30's -msmall-model
1063 and -mno-lsim options.
1064
1065 2009-03-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1066
1067 * fold-const.c (fold_comparison): Only call fold_inf_compare
1068 if the mode supports infinities.
1069
1070 2009-03-11 Jason Merrill <jason@redhat.com>
1071
1072 PR debug/39086
1073 * tree-nrv.c (tree_nrv): Don't do this optimization if the front
1074 end already did. Notice GIMPLE_CALL modifications of the result.
1075 Don't copy debug information from an ignored decl or a decl from
1076 another function.
1077
1078 2009-03-10 Richard Guenther <rguenther@suse.de>
1079 Nathan Froyd <froydnj@codesourcery.com>
1080
1081 PR middle-end/37850
1082 * libgcc2.c (__mulMODE3): Use explicit assignments to form the result.
1083 (__divMODE3): Likewise.
1084
1085 2009-03-09 Jakub Jelinek <jakub@redhat.com>
1086
1087 PR tree-optimization/39394
1088 * gimplify.c (gimplify_type_sizes): Gimplify DECL_SIZE and
1089 DECL_SIZE_UNIT of variable length FIELD_DECLs.
1090
1091 2009-03-09 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1092
1093 * recog.c (verfiy_changes): Disallow renaming of hard regs in
1094 inline asms for register asm ("") declarations.
1095
1096 2009-03-09 Eric Botcazou <ebotcazou@adacore.com>
1097
1098 * fold-const.c (fold_unary): Fix comment.
1099
1100 2009-03-07 Jan Hubicka <jh@suse.cz>
1101
1102 PR target/39361
1103 * tree-inline.c (setup_one_parameter): Do replacement of const
1104 argument by constant in SSA form.
1105
1106 2009-03-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1107
1108 PR middle-end/38028
1109 * function.c (assign_parm_setup_stack): Use STACK_SLOT_ALIGNMENT to
1110 determine alignment passed to assign_stack_local.
1111 (assign_parms_unsplit_complex): Likewise.
1112 * except.c (sjlj_build_landing_pads): Likewise.
1113
1114 2009-03-06 Jakub Jelinek <jakub@redhat.com>
1115
1116 PR middle-end/39360
1117 * tree-flow.h (add_referenced_var): Return bool instead of void.
1118 * tree-dfa.c (add_referenced_var): Return result of
1119 referenced_var_check_and_insert call.
1120 * tree-inline.c (expand_call_inline): Call add_referenced_var instead
1121 of referenced_var_check_and_insert.
1122
1123 PR debug/39372
1124 * dwarf2out.c (add_abstract_origin_attribute): Return origin_die.
1125 (gen_variable_die): Emit DW_AT_location on abstract static variable's
1126 DIE, don't emit it if abstract origin already has it.
1127 * tree-cfg.c (remove_useless_stmts_bind): GIMPLE_BINDs with any
1128 BLOCK_NONLOCALIZED_VARS in its gimple_bind_block aren't useless.
1129
1130 2009-03-06 Jan-Benedict Glaw <jbglaw@lug-owl.de>
1131
1132 * genpreds.c: (needs_variable): Fix parentheses at variable name
1133 detection.
1134 (write_tm_constrs_h): Indent generated code.
1135
1136 2009-03-06 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1137
1138 * doc/extend.texi (Function Attributes): Add documentation
1139 for isr attributes.
1140
1141 2009-03-06 Jakub Jelinek <jakub@redhat.com>
1142
1143 PR debug/39387
1144 * dwarf2out.c (dwarf2out_imported_module_or_decl_1): For IMPORTED_DECL
1145 take locus from its DECL_SOURCE_LOCATION instead of input_location.
1146
1147 2009-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
1148
1149 * config/bfin/bfin.c (bfin_discover_loop): When retrying fails, mark
1150 the loop as bad.
1151
1152 2009-03-05 Jakub Jelinek <jakub@redhat.com>
1153
1154 PR debug/39379
1155 * tree-cfg.c (remove_useless_stmts_bind): Don't remove GIMPLE_BINDs
1156 with blocks containing IMPORTED_DECLs in BLOCK_VARS.
1157
1158 2009-03-05 Uros Bizjak <ubizjak@gmail.com>
1159
1160 * config/i386/i386.md (R8_REG, R9_REG): New constants.
1161 * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Use named
1162 constants instead of magic numbers.
1163 (HARD_REGNO_CALLER_SAVE_MODE): Ditto.
1164 (QI_REG_P): Ditto.
1165 * config/i386/i386.c (x86_64_int_parameter_registers): Ditto.
1166 (x86_64_ms_abi_int_parameter_registers): Ditto.
1167 (x86_64_int_return_registers): Ditto.
1168 (ix86_maybe_switch_abi): Ditto.
1169 (ix86_expand_call): Ditto for clobbered_registers array.
1170 (ix86_hard_regno_mode_ok): Ditto.
1171 (x86_extended_QIreg_mentioned_p): Ditto.
1172
1173 2009-03-05 J"orn Rennecke <joern.rennecke@arc.com>
1174
1175 PR tree-optimization/39349
1176 * cse.c (cse_insn): Fix loop to stop at VOIDmode.
1177
1178 * combine.c (gen_lowpart_for_combine): Use omode when generating
1179 clobber.
1180
1181 2009-03-04 J"orn Rennecke <joern.rennecke@arc.com>
1182
1183 PR rtl-optimization/39235
1184 * loop-iv.c (get_simple_loop_desc): Use XCNEW.
1185
1186 2009-03-04 Zdenek Dvorak <ook@ucw.cz>
1187
1188 * graphite.c (nb_reductions_in_loop): Update simple_iv arguments.
1189
1190 2009-03-04 Richard Guenther <rguenther@suse.de>
1191
1192 PR tree-optimization/39362
1193 * tree-ssa-sccvn.c (visit_use): Stores and copies from SSA_NAMEs
1194 that occur in abnormal PHIs should be varying.
1195
1196 2009-03-04 Zdenek Dvorak <ook@ucw.cz>
1197
1198 * tree-scalar-evolution.c (analyze_scalar_evolution_in_loop):
1199 Extend comments.
1200 (simple_iv): Take loop as an argument instead of statement.
1201 * tree-scalar-evolution.h (simple_iv): Declaration changed.
1202 * tree-ssa-loop-niter.c (number_of_iterations_exit): Update calls
1203 to simple_iv.
1204 * tree-ssa-loop-ivopts.c (determine_biv_step, find_givs_in_stmt_scev):
1205 Ditto.
1206 * tree-parloops.c (loop_parallel_p, canonicalize_loop_ivs): Ditto.
1207 * matrix-reorg.c (analyze_transpose): Ditto.
1208 * tree-data-ref.c (dr_analyze_innermost): Ditto.
1209 * tree-vect-analyze.c (vect_analyze_data_refs): Ditto.
1210 * tree-predcom.c (ref_at_iteration): Ditto.
1211 * tree-ssa-loop-prefetch.c (idx_analyze_ref): Ditto.
1212
1213 2009-03-04 Richard Guenther <rguenther@suse.de>
1214
1215 PR tree-optimization/39358
1216 * tree-ssa-structalias.c (do_sd_constraint): Fix check for
1217 escaped_id and callused_id.
1218 (solve_graph): Likewise.
1219
1220 2009-03-04 Richard Guenther <rguenther@suse.de>
1221
1222 PR tree-optimization/39339
1223 * tree-sra.c (try_instantiate_multiple_fields): Make it
1224 no longer ICE on the above.
1225
1226 2009-03-03 Joseph Myers <joseph@codesourcery.com>
1227
1228 * emit-rtl.c (adjust_address_1): Reduce offset to a signed value
1229 that fits within Pmode.
1230
1231 2009-03-03 Steve Ellcey <sje@cup.hp.com>
1232
1233 PR middle-end/10109
1234 * tm.texi (LIBCALL_VALUE): Update description.
1235
1236 2009-03-03 Steve Ellcey <sje@cup.hp.com>
1237
1238 PR middle-end/34443
1239 * doc/extend.texi (section): Update description.
1240
1241 2009-03-03 H.J. Lu <hongjiu.lu@intel.com>
1242
1243 PR middle-end/39345
1244 * tree-inline.c (remapped_type): New.
1245 (can_be_nonlocal): Call remapped_type instead of remap_type.
1246
1247 2009-03-03 Jakub Jelinek <jakub@redhat.com>
1248
1249 PR fortran/39354
1250 * gimplify.c (goa_stabilize_expr): Handle tcc_comparison,
1251 TRUTH_ANDIF_EXPR and TRUTH_ORIF_EXPR.
1252
1253 2009-03-03 Richard Guenther <rguenther@suse.de>
1254
1255 PR middle-end/39272
1256 * tree.c (tree_nonartificial_location): New function.
1257 * tree.h (tree_nonartificial_location): Declare.
1258 * builtins.c (expand_builtin_memory_chk): Provide location
1259 of the call location for artificial function pieces.
1260 (maybe_emit_chk_warning): Likewise.
1261 (maybe_emit_sprintf_chk_warning): Likewise.
1262 (maybe_emit_free_warning): Likewise.
1263 * expr.c (expand_expr_real_1): Likewise.
1264
1265 2009-03-03 Jakub Jelinek <jakub@redhat.com>
1266
1267 PR tree-optimization/39343
1268 * tree-ssa-ccp.c (maybe_fold_offset_to_address): Don't check if
1269 COMPONENT_REF t has ARRAY_TYPE.
1270
1271 2009-03-02 Sebastian Pop <sebastian.pop@amd.com>
1272
1273 PR middle-end/39335
1274 * tree-parloops.c (canonicalize_loop_ivs): Call fold_convert
1275 when the type precision of the induction variable should be
1276 larger than the type precision of nit.
1277 (gen_parallel_loop): Update use of canonicalize_loop_ivs.
1278 * graphite.c (graphite_loop_normal_form): Same.
1279 * tree-flow.h (canonicalize_loop_ivs): Update declaration.
1280
1281 2009-03-02 Uros Bizjak <ubizjak@gmail.com>
1282
1283 * config/i386/i386.md (ST?_REG, MM?_REG): New constants.
1284 (*call_1_rex64_ms_sysv): Use named constants instead of magic
1285 numbers to describe clobbered registers.
1286 (*call_value_0_rex64_ms_sysv): Ditto.
1287 * config/i386/mmx.md (mmx_emms): Ditto.
1288 (mmx_femms): Ditto.
1289
1290 2009-03-02 Richard Sandiford <rdsandiford@googlemail.com>
1291
1292 * config/mips/mips.c (mips_mdebug_abi_name): Fix the handling
1293 of ABI_64.
1294
1295 2009-03-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1296
1297 * config/spu/spu.c (TARGET_SECTION_TYPE_FLAGS): Define.
1298 (spu_section_type_flags): New function.
1299
1300 2009-03-02 Uros Bizjak <ubizjak@gmail.com>
1301
1302 * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Do not copy
1303 reg_class_contents of FLOAT_REGS into a temporary.
1304
1305 2009-03-02 Richard Guenther <rguenther@suse.de>
1306 Ira Rosen <irar@il.ibm.com>
1307
1308 PR tree-optimization/39318
1309 * tree-vect-transform.c (vectorizable_call): Transfer the EH region
1310 information to the vectorized statement.
1311
1312 2009-03-01 Uros Bizjak <ubizjak@gmail.com>
1313
1314 * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Do not shadow "i"
1315 variable. Use defined names instead of magic constants for REX SSE
1316 registers.
1317
1318 2009-03-01 Richard Guenther <rguenther@suse.de>
1319
1320 PR tree-optimization/39331
1321 * omp-low.c (lower_send_shared_vars): Do not receive new
1322 values for the reference of DECL_BY_REFERENCE parms or results.
1323
1324 2009-03-01 Jan Hubicka <jh@suse.cz>
1325
1326 PR debug/39267
1327 * tree.h (BLOCK_NONLOCALIZED_VARS, BLOCK_NUM_NONLOCALIZED_VARS,
1328 BLOCK_NONLOCALIZED_VAR): New macros.
1329 (tree_block): Add nonlocalized_vars.
1330 * dwarf2out.c (gen_formal_parameter_die, gen_variable_die,
1331 gen_decl_die): Add origin argument. Allow generation of die with
1332 origin at hand only.
1333 (gen_member_die, gen_type_die_with_usage, force_decl_die,
1334 declare_in_namespace, gen_namescpace_die, dwarf2out_decl): Update use
1335 of gen_*.
1336 (gen_block_die): Fix checking for unused blocks.
1337 (process_scope_var): Break out from .... ; work with origins only.
1338 (decls_for_scope) ... here; process nonlocalized list.
1339 (dwarf2out_ignore_block): Look for nonlocalized vars.
1340 * tree-ssa-live.c (remove_unused_scope_block_p): Look for nonlocalized
1341 vars.
1342 (dump_scope_block): Dump them.
1343 * tree-inline.c (remap_decls): Handle nonlocalized vars.
1344 (remap_block): Likewise.
1345 (can_be_nonlocal): New predicate.
1346 (copy_bind_expr, copy_gimple_bind): Update use of remap_block.
1347
1348 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1349
1350 * configure: Regenerate.
1351
1352 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1353
1354 * optc-gen.awk: No need to duplicate option flags twice.
1355 Reuse help texts for duplicate options which do not have any.
1356
1357 * gcc.c (display_help): Document --version.
1358
1359 * gcc.c (main): If print_help_list and verbose_flag, ensure
1360 driver output comes before subprocess output.
1361
1362 * optc-gen.awk: Assign all remaining fields to help string,
1363 space-separated, for multi-line help in *.opt.
1364
1365 * doc/invoke.texi (Warning Options): -Wsync-nand is C/C++ only.
1366 -Wno-pedantic-ms-format is for MinGW targets only.
1367
1368 * doc/options.texi (Option file format): Fix bad indentation,
1369 restoring dropped sentence.
1370
1371 2009-02-28 Jan Hubicka <jh@suse.cz>
1372
1373 * tree-inline.c (tree_function_versioning): Output debug info.
1374
1375 2009-02-28 Jan Hubicka <jh@suse.cz>
1376
1377 PR debug/39267
1378 * tree-inline.c (setup_one_parameter): Do not copy propagate
1379 arguments when not optimizing.
1380
1381 2009-02-28 H.J. Lu <hongjiu.lu@intel.com>
1382
1383 PR target/39327
1384 * config/i386/sse.md (avx_addsubv8sf3): Correct item bits.
1385 (avx_addsubv4df3): Likewise.
1386 (*avx_addsubv4sf3): Likewise.
1387 (sse3_addsubv4sf3): Likewise.
1388 (*avx_addsubv2df3): Likewise.
1389 (sse3_addsubv2df3): Likewise.
1390 (avx_unpckhps256): Correct item selectors.
1391 (avx_unpcklps256): Likewise.
1392 (avx_unpckhpd256): Likewise.
1393 (avx_unpcklpd256): Likewise.
1394
1395 2009-02-28 Jan Hubicka <jh@suse.cz>
1396
1397 * tree-inline.c (expand_call_inline): Avoid duplicate declarations of
1398 static vars.
1399 (copy_arguments_for_versioning): If var is declared don't declare it.
1400 (tree_function_versioning): First setup substitutions and then copy
1401 args.
1402
1403 2009-02-27 Jan Hubicka <jh@suse.cz>
1404
1405 PR debug/39267
1406 * cgraph.h (varpool_output_debug_info): Remove.
1407 * cgraphunit.c (varpool_output_debug_info): Remove.
1408 * dwarf2out.c (deferred_locations_struct): New struct
1409 (deferred_locations): New type.
1410 (deferred_locations_list): New static var.
1411 (deffer_location): New function.
1412 (gen_variable_die): Use it.
1413 (decls_for_scope): Output info on local static vars.
1414 (dwarf2out_finish): Process deferred locations.
1415 * varpool.c (varpool_output_debug_info): Remove.
1416
1417 2009-02-27 Jan Hubicka <jh@suse.cz>
1418
1419 PR debug/39267
1420 * tree.h (TREE_PROTECTED): Fix comment.
1421 (BLOCK_HANDLER_BLOCK): Remove.
1422 (struct tree_block): Remove handler_block add body_block.
1423 (inlined_function_outer_scope_p): New.
1424 (is_body_block): Remove.
1425 * dbxout.c (dbxout_block): Remove BLOCK_HANDLER_BLOCK.
1426 * dwarf2out.c (is_inlined_entry_point): Remove.
1427 (add_high_low_attributes): Use inlined_function_outer_scope_p.
1428 (gen_block_die): Use is_inlined_entry_point check. Remove body block
1429 code.
1430 * langhooks.h (struct lang_hooks): Remove no_bodu_blocks.
1431 * gimplify.c (gimplify_expr): Gimplify body blocks.
1432 * tree-ssa-live.c (remove_unused_scope_block_p): Allow removing wrapper
1433 block with multiple subblocks.
1434 (dump_scope_block): Prettier output; dump more flags and info.
1435 (dump_scope_blocks): New.
1436 (remove_unused_locals): Use dump_scope_blocks.
1437 * tree-flow.h (dump_scope_blocks): Declare.
1438 * tree-cfg.c (execute_build_cfg): Dump scope blocks.
1439 * stmt.c (is_body_block): Remove.
1440 * tree-inline.c (remap_block): Copy BODY_BLOCK info.
1441 * langhooks-def.h (LANG_HOOKS_NO_BODY_BLOCKS): Remove.
1442
1443 2009-02-27 Sebastian Pop <sebastian.pop@amd.com>
1444
1445 PR middle-end/39308
1446 * graphite.c (graphite_loop_normal_form): Do not call
1447 number_of_iterations_exit from a gcc_assert.
1448
1449 2009-02-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1450
1451 * gcc/config/s390/s390.c: (s390_swap_cmp): Look for conditional
1452 jumps if COND is NULL.
1453 (find_cond_jump): New function.
1454 (s390_z10_optimize_cmp): Handling for reg-reg compares added.
1455 * gcc/config/s390/s390.md: Remove z10_cobra attribute value.
1456
1457 2009-02-26 Uros Bizjak <ubizjak@gmail.com>
1458
1459 * config/alpha/alpha.h (alpha_expand_mov): Return false if
1460 force_const_mem returns NULL_RTX.
1461
1462 2009-02-26 Jan Hubicka <jh@suse.cz>
1463
1464 PR debug/39267
1465 * cgraph.h (varpool_output_debug_info): Remove.
1466 * cgraphunit.c (varpool_output_debug_info): Remove.
1467 * dwarf2out.c (deferred_locations_struct): New struct
1468 (deferred_locations): New type.
1469 (deferred_locations_list): New static var.
1470 (deffer_location): New function.
1471 (gen_variable_die): Use it.
1472 (decls_for_scope): Output info on local static vars.
1473 (dwarf2out_finish): Process deferred locations.
1474 * varpool.c (varpool_output_debug_info): Remove.
1475
1476 2009-02-25 H.J. Lu <hongjiu.lu@intel.com>
1477
1478 PR rtl-optimization/39241
1479 * jump.c (rtx_renumbered_equal_p): Remove 2 superfluous calls
1480 to subreg_offset_representable_p.
1481
1482 2009-02-25 Paolo Bonzini <bonzini@gnu.org>
1483
1484 * regmove.c (regmove_optimize): Conform to struct rtl_opt_pass
1485 execute function prototype. Get f and nregs from max_reg_num
1486 and get_insns. Remove the first backward pass as it's dead,
1487 guard the forward pass by flag_expensive_optimizations.
1488 (rest_of_handle_regmove): Delete.
1489 (pass_regmove): Replace it with regmove_optimize.
1490
1491 2009-02-25 Martin Jambor <mjambor@suse.cz>
1492
1493 PR tree-optimization/39259
1494 * tree-inline.c (initialize_cfun): Remove asserts for calls_setjmp and
1495 calls_alloca function flags.
1496 (copy_bb): Set calls_setjmp and alls_alloca function flags if such
1497 calls are detected.
1498
1499 2009-02-25 Paolo Bonzini <bonzini@gnu.org>
1500
1501 * regmove.c (discover_flags_reg, flags_set_1, mark_flags_life_zones,
1502 flags_set_1_rtx, flags_set_1_set): Delete.
1503 (regmove_optimize): Do not call mark_flags_life_zones.
1504
1505 2009-02-24 Julian Brown <julian@codesourcery.com>
1506
1507 PR target/35965
1508 * config/arm/arm.c (require_pic_register): Only set
1509 cfun->machine->pic_reg once per function.
1510
1511 2009-02-24 Sandra Loosemore <sandra@codesourcery.com>
1512
1513 * doc/invoke.texi (Link Options): Document an easier way to pass
1514 options that take arguments to the GNU linker using -Xlinker and -Wl.
1515
1516 2009-02-24 Steve Ellcey <sje@cup.hp.com>
1517
1518 PR target/33785
1519 * doc/tm.texi (TARGET_C99_FUNCTIONS): Fix description.
1520
1521 2009-02-24 Richard Guenther <rguenther@suse.de>
1522
1523 PR debug/39285
1524 * dwarf2out.c (gen_enumeration_type_die): Handle CONST_DECLs.
1525
1526 2009-02-24 Richard Guenther <rguenther@suse.de>
1527 Zdenek Dvorak <ook@ucw.cz>
1528
1529 PR tree-optimization/39233
1530 * tree-ssa-loop-ivopts.c (add_candidate_1): Do not except pointers
1531 from converting them to a generic type.
1532
1533 2009-02-23 Sebastian Pop <sebastian.pop@amd.com>
1534
1535 PR tree-optimization/39260
1536 * graphite.c (harmful_stmt_in_bb): Stop a SCoP when the basic block
1537 contains a condition with a real type.
1538 (build_scop_conditions_1): Conditions are always last_stmt of a bb.
1539
1540 2009-02-23 Jason Merrill <jason@redhat.com>
1541
1542 PR c++/38880
1543 * varasm.c (initializer_constant_valid_p) [PLUS_EXPR]: Check
1544 narrowing_initializer_constant_valid_p.
1545 (narrowing_initializer_constant_valid_p): Don't return
1546 null_pointer_node for adding a pointer to itself.
1547
1548 2009-02-23 Jan Hubicka <jh@suse.cz>
1549
1550 PR c/12245
1551 * ggc.h (htab_create_ggc): Use ggc_free to free hashtable when
1552 resizing.
1553
1554 2009-02-23 Jan Hubicka <jh@suse.cz>
1555
1556 PR tree-optimization/37709
1557 * tree.c (block_ultimate_origin): Move here from dwarf2out.
1558 * tree.h (block_ultimate_origin): Declare.
1559 * dwarf2out.c (block_ultimate_origin): Move to tree.c
1560 * tree-ssa-live.c (remove_unused_scope_block_p):
1561 Eliminate blocks containig no instructions nor live variables nor
1562 nested blocks.
1563 (dump_scope_block): New function.
1564 (remove_unused_locals): Enable removal of dead blocks by default;
1565 enable dumping at TDF_DETAILS.
1566
1567 2009-02-21 H.J. Lu <hongjiu.lu@intel.com>
1568
1569 * config/i386/i386.c (classify_argument): Don't allow COImode
1570 and OImode.
1571 (function_arg_advance_32): Don't allow OImode.
1572 (function_arg_32): Likewise.
1573 (function_value_32): Likewise.
1574 (return_in_memory_32): Likewise.
1575 (function_arg_64): Remove OImode comment.
1576
1577 2009-02-21 H.J. Lu <hongjiu.lu@intel.com>
1578
1579 PR target/39261
1580 * config/i386/i386.c (ix86_expand_vector_init_one_nonzero): Use
1581 ix86_expand_vector_set for V4DImode in 64bit mode only.
1582 (ix86_expand_vector_init_one_var): Likewise.
1583
1584 2009-02-21 Sebastian Pop <sebastian.pop@amd.com>
1585
1586 * graphite.c (graphite_trans_loop_block): Adjust tile size to 51.
1587
1588 2009-02-21 Richard Sandiford <rdsandiford@googlemail.com>
1589
1590 PR bootstrap/39257
1591 * loop-iv.c: Revert last change.
1592 * emit-rtl.c: Likewise.
1593
1594 2009-02-21 H.J. Lu <hongjiu.lu@intel.com>
1595
1596 PR target/39256
1597 * config/i386/i386.c (type_natural_mode): Remove an extra
1598 space in the warning message.
1599 (function_value_32): Handle 32-byte vector modes.
1600 (return_in_memory_32): Likewise.
1601
1602 2009-02-21 Richard Sandiford <rdsandiford@googlemail.com>
1603
1604 * loop-iv.c (truncate_value): New function.
1605 (iv_subreg, get_iv_value, iv_number_of_iterations): Use it instead
1606 of lowpart_subreg.
1607 (lowpart_subreg): Move to...
1608 * emit-rtl.c: ...here.
1609
1610 2009-02-21 Danny Smith <dannysmith@users.sourceforge.net>
1611
1612 * config/i386/winnt.c (i386_pe_asm_output_aligned_decl_common): Revert
1613 accidental and undocumented change at revision 140860.
1614
1615 2009-02-21 Joseph Myers <joseph@codesourcery.com>
1616
1617 * config/arm/arm.c (arm_gimplify_va_arg_expr): Update prototype to
1618 take gimple_seq * arguments.
1619 (arm_mangle_type): Use CONST_CAST_TREE on type argument passed to
1620 types_compatible_p langhook.
1621
1622 2009-02-20 Mark Mitchell <mark@codesourcery.com>
1623 Joseph Myers <joseph@codesourcery.com>
1624
1625 * config/arm/arm.c (arm_builtin_va_list): New function.
1626 (arm_expand_builtin_va_start): Likewise.
1627 (arm_gimplify_va_arg_expr): Likewise.
1628 (TARGET_BUILD_BUILTIN_VA_LIST): Define.
1629 (TARGET_BUILD_BUILTIN_VA_START): Likewise.
1630 (TARGET_BUILD_BUILTIN_VA_ARG_EXPR): Likewise.
1631 (va_list_type): New variable.
1632 (arm_mangle_type): Mangle va_list_type appropriately.
1633
1634 2009-02-20 Jakub Jelinek <jakub@redhat.com>
1635
1636 PR middle-end/39157
1637 * Makefile.in (loop-invariant.o): Depend on $(PARAMS_H).
1638 * params.h (LOOP_INVARIANT_MAX_BBS_IN_LOOP): Define.
1639 * params.def (loop-invariant-max-bbs-in-loop): New parameter.
1640 * opts.c (decode_options): Set loop-invariant-max-bbs-in-loop
1641 parameter to 1000 for -O1 by default.
1642 * doc/invoke.texi (loop-invariant-max-bbs-in-loop): Document new
1643 parameter.
1644 * loop-invariant.c: Include params.h.
1645 (move_loop_invariants): Don't call move_single_loop_invariants on
1646 very large loops.
1647
1648 2009-02-20 Jaka Mocnik <jaka@xlab.si>
1649
1650 * calls.c (emit_library_call_value_1): Use slot_offset instead of
1651 offset when calculating bounds for indexing stack_usage_map. Fixes
1652 a buffer overflow with certain target setups.
1653
1654 2009-02-20 Jakub Jelinek <jakub@redhat.com>
1655
1656 PR target/39240
1657 * calls.c (expand_call): Clear try_tail_call if caller and callee
1658 disagree in promotion of function return value.
1659
1660 2009-02-19 Jakub Jelinek <jakub@redhat.com>
1661
1662 PR target/39175
1663 * c-common.c (c_determine_visibility): If visibility changed and
1664 DECL_RTL has been already set, call make_decl_rtl to update symbol
1665 flags.
1666
1667 2009-02-19 H.J. Lu <hongjiu.lu@intel.com>
1668
1669 PR c++/39188
1670 * varasm.c (assemble_variable): Don't check DECL_NAME when
1671 globalizing a variable.
1672
1673 2009-02-19 Joseph Myers <joseph@codesourcery.com>
1674
1675 PR c/38483
1676 * builtins.c (gimplify_va_arg_expr): Evaluate the va_list
1677 expression before any __builtin_trap call.
1678 * c-typeck.c (build_function_call): Convert and check function
1679 arguments before generating a call to a trap. Evaluate the
1680 function arguments before the trap.
1681
1682 2009-02-19 Uros Bizjak <ubizjak@gmail.com>
1683
1684 PR target/39228
1685 * config/i386/i386.md (isinfxf2): Split from isinf<mode>2.
1686 (UNSPEC_FXAM_MEM): New unspec.
1687 (fxam<mode>2_i387_with_temp): New insn and split pattern.
1688 (isinf<mode>2): Use MODEF mode iterator. Force operand[1] through
1689 memory using fxam<mode>2_i387_with_temp to remove excess precision.
1690
1691 2009-02-19 Richard Guenther <rguenther@suse.de>
1692
1693 PR tree-optimization/39207
1694 PR tree-optimization/39074
1695 * tree-ssa-structalias.c (storedanything_id, var_storedanything,
1696 storedanything_tree): New.
1697 (do_ds_constraint): Simplify ANYTHING shortcutting. Update
1698 the STOREDANYTHING solution if the lhs solution contains ANYTHING.
1699 (build_succ_graph): Add edges from STOREDANYTHING to all
1700 non-direct nodes.
1701 (init_base_vars): Initialize STOREDANYTHING.
1702 (compute_points_to_sets): Free substitution info after
1703 building the succ graph.
1704 (ipa_pta_execute): Likewise.
1705
1706 * tree-ssa-structalias.c (struct variable_info): Add may_have_pointers
1707 field.
1708 (do_ds_constraint): Do not add to special var or non-pointer
1709 field solutions.
1710 (type_could_have_pointers): Split out from ...
1711 (could_have_pointers): ... here. For arrays use the element type.
1712 (create_variable_info_for): Initialize may_have_pointers.
1713 (new_var_info): Likewise.
1714 (handle_lhs_call): Make the HEAP variable unknown-sized.
1715 (intra_create_variable_infos): Use a type with pointers for
1716 PARM_NOALIAS, make it unknown-sized.
1717
1718 2009-02-18 H.J. Lu <hongjiu.lu@intel.com>
1719
1720 PR target/39224
1721 * config/i386/i386.c (ix86_return_in_memory): Properly check ABI.
1722
1723 2009-02-18 Jason Merrill <jason@redhat.com>
1724
1725 PR target/39179
1726 * tree-ssa-ccp.c (get_symbol_constant_value): Don't assume zero
1727 value if DECL_EXTERNAL.
1728 * tree-sra.c (sra_walk_gimple_assign): Likewise.
1729 * target.h (gcc_target::binds_local_p): Clarify "module".
1730 * tree.h (TREE_PUBLIC): Clarify "module".
1731
1732 2009-02-17 Xuepeng Guo <xuepeng.guo@intel.com>
1733
1734 PR target/38891
1735 * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Move the hunk of
1736 initialization for MS_ABI prior to the hunk of !TARGET_MMX.
1737
1738 2009-02-17 H.J. Lu <hongjiu.lu@intel.com>
1739
1740 PR target/39082
1741 * c.opt (Wabi): Support C and ObjC.
1742 (Wpsabi): New.
1743
1744 * c-opts.c (c_common_handle_option): Handle OPT_Wabi.
1745
1746 * config/i386/i386.c (classify_argument): Warn once about the ABI
1747 change when passing union with long double.
1748
1749 * doc/invoke.texi: Update -Wabi for warning psABI changes.
1750
1751 2009-02-18 Joseph Myers <joseph@codesourcery.com>
1752
1753 PR c/35447
1754 * c-parser.c (c_parser_compound_statement): Always enter and leave
1755 a scope.
1756
1757 2009-02-17 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1758
1759 PR target/34587
1760 * config/darwin.h (SUPPORTS_INIT_PRIORITY): Define.
1761
1762 2009-02-18 Jakub Jelinek <jakub@redhat.com>
1763
1764 PR tree-optimization/36922
1765 * tree-data-ref.c (initialize_matrix_A): Handle BIT_NOT_EXPR.
1766 * tree-scalar-evolution.c (interpret_rhs_expr, instantiate_scev_1):
1767 Likewise.
1768
1769 2009-02-17 Richard Sandiford <rdsandiford@googlemail.com>
1770
1771 * config/mips/mips.c (mips_override_options): Set flag_dwarf2_cfi_asm
1772 to 0 for EABI64.
1773
1774 2009-02-17 Richard Sandiford <rdsandiford@googlemail.com>
1775
1776 * config/mips/mips.md (type): Reclassify lui_movf as "unknown".
1777
1778 2009-02-17 Richard Sandiford <rdsandiford@googlemail.com>
1779
1780 * config/mips/mips.c (mips_gimplify_va_arg_expr): Fix invalid
1781 tree sharing.
1782
1783 2009-02-17 Ruan Beihong <ruanbeihong@gmail.com>
1784 Richard Sandiford <rdsandiford@googlemail.com>
1785
1786 * config/mips/mips.c (CODE_FOR_loongson_biadd): Delete.
1787 * config/mips/loongson.md (reduc_uplus_<mode>): Rename to...
1788 (loongson_biadd): ...this.
1789
1790 2009-02-17 Richard Guenther <rguenther@suse.de>
1791
1792 PR tree-optimization/39202
1793 * tree-ssa-structalias.c (do_structure_copy): Before collapsing
1794 a var make sure to follow existing collapses.
1795
1796 2009-02-17 Richard Guenther <rguenther@suse.de>
1797
1798 PR middle-end/39214
1799 * langhooks.c (lhd_print_error_function): Check for NULL block.
1800
1801 2009-02-17 Richard Guenther <rguenther@suse.de>
1802
1803 PR tree-optimization/39204
1804 * tree-ssa-pre.c (phi_translate_1): Lookup the value-number
1805 of the PHI arg.
1806
1807 2009-02-17 Uros Bizjak <ubizjak@gmail.com>
1808
1809 * config/soft-fp/double.h: Update from glibc CVS.
1810
1811 2009-02-17 Richard Guenther <rguenther@suse.de>
1812
1813 PR tree-optimization/39207
1814 * tree-ssa-structalias.c (find_what_p_points_to): Do not emit
1815 strict-aliasing warnings for pointers pointing to NULL.
1816
1817 2009-02-16 Joseph Myers <joseph@codesourcery.com>
1818
1819 PR c/35446
1820 * c-parser.c (c_parser_braced_init): Call pop_init_level when
1821 skipping until next close brace.
1822
1823 2009-02-16 H.J. Lu <hongjiu.lu@intel.com>
1824
1825 PR target/37049
1826 * config/i386/i386.c (ix86_expand_push): Set memory alignment
1827 to function argument boundary.
1828
1829 2009-02-16 Hariharan Sandanagobalane <hariharan@picochip.com>
1830
1831 * config/picochip/picochip.md (lea_add): Allow any nonimmediate
1832 in the lea_add. Reload eventually constraints it properly.
1833 * config/picochip/constraints.md : Remove the target constraint
1834 "b", since it is not needed anymore.
1835
1836 2009-02-16 Jakub Jelinek <jakub@redhat.com>
1837
1838 * gthr-dce.h: Uglify function parameter and local variable names.
1839 * gthr-gnat.h: Likewise.
1840 * gthr-mipssde.h: Likewise.
1841 * gthr-nks.h: Likewise.
1842 * gthr-posix95.h: Likewise.
1843 * gthr-posix.h: Likewise.
1844 * gthr-rtems.h: Likewise.
1845 * gthr-single.h: Likewise.
1846 * gthr-solaris.h: Likewise.
1847 * gthr-tpf.h: Likewise.
1848 * gthr-vxworks.h: Likewise.
1849 * gthr-win32.h: Likewise.
1850
1851 2009-02-15 H.J. Lu <hongjiu.lu@intel.com>
1852
1853 PR target/39196
1854 * config/i386/i386.md: Restrict the new peephole2 to move
1855 between MMX/SSE registers.
1856
1857 2009-02-15 Richard Guenther <rguenther@suse.de>
1858
1859 Revert
1860 2009-02-13 Richard Guenther <rguenther@suse.de>
1861
1862 * configure.ac: Enable LFS.
1863 * configure: Re-generate.
1864 * config.in: Likewise.
1865
1866 2009-02-13 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1867
1868 * config/spu/spu_internals.h (spu_sr, spu_sra, spu_srqw,
1869 spu_srqwbyte, spu_srqwbytebc): Define.
1870 * config/spu/spu-builtins.def (spu_sr, spu_sra, spu_srqw,
1871 spu_srqwbyte, spu_srqwbytebc): New overloaded builtins.
1872 * config/spu/spu.md ("shrqbybi_<mode>", "shrqbi_<mode>",
1873 "shrqby_<mode>"): New insn-and-split patterns.
1874 * config/spu/spu.c (expand_builtin_args): Determine and return
1875 number of operands using spu_builtin_description data.
1876 (spu_expand_builtin_1): Use it.
1877
1878 2009-02-13 Steve Ellcey <sje@cup.hp.com>
1879
1880 PR target/38056
1881 * config/ia64/ia64.c (ia64_function_ok_for_sibcall): Check
1882 TARGET_CONST_GP.
1883
1884 2009-02-13 H.J. Lu <hongjiu.lu@intel.com>
1885
1886 PR target/39149
1887 * config/i386/i386.c (override_options): Correct warning
1888 messages for -malign-loops, -malign-jumps and -malign-functions.
1889
1890 2009-02-13 H.J. Lu <hongjiu.lu@intel.com>
1891
1892 PR target/39152
1893 * config/i386/i386.md: Restrict the new peephole2 to move
1894 between the general purpose registers.
1895
1896 2009-02-13 H.J. Lu <hongjiu.lu@intel.com>
1897
1898 PR target/39162
1899 * config/i386/i386.c (type_natural_mode): Add a new argument.
1900 Return the original mode and warn ABI change if vector size is 32byte.
1901 (function_arg_advance): Updated.
1902 (function_arg): Likewise.
1903 (ix86_function_value): Likewise.
1904 (ix86_return_in_memory): Likewise.
1905 (ix86_sol10_return_in_memory): Likewise.
1906 (ix86_gimplify_va_arg): Likewise.
1907 (function_arg_32): Don't warn ABX ABI change here.
1908 (function_arg_64): Likewise.
1909
1910 2009-02-13 Bernd Schmidt <bernd.schmidt@analog.com>
1911
1912 * loop-iv.c (implies_p): In the final case, test that operands 0
1913 of the two comparisons match.
1914
1915 * config/bfin/bfin.c (find_prev_insn_start): New function.
1916 (bfin_optimize_loop): Use it in some cases instead of PREV_INSN.
1917 (find_next_insn_start): Move.
1918
1919 2009-02-13 Richard Guenther <rguenther@suse.de>
1920
1921 * configure.ac: Enable LFS.
1922 * configure: Re-generate.
1923 * config.in: Likewise.
1924
1925 2009-02-13 Joseph Myers <joseph@codesourcery.com>
1926
1927 PR c/35444
1928 * c-parser.c (c_parser_parms_list_declarator): Discard pending
1929 sizes on syntax error after some arguments have been parsed.
1930
1931 2009-02-12 Jakub Jelinek <jakub@redhat.com>
1932
1933 * doc/invoke.texi (-fira): Remove.
1934
1935 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
1936
1937 * caller-save.c: Replace regclass.c with reginfo.c in comments.
1938 * recog.c: Likewise.
1939 * rtl.h: Likewise.
1940
1941 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
1942
1943 * longlong.h (sub_ddmmss): New for ia64. Ported from GMP 4.2.
1944 (umul_ppmm): Likewise.
1945 (count_leading_zeros): Likewise.
1946 (count_trailing_zeros): Likewise.
1947 (UMUL_TIME): Likewise.
1948
1949 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
1950
1951 * config.gcc (ia64*-*-linux*): Add ia64/t-fprules-softfp and
1952 soft-fp/t-softfp to tmake_file.
1953
1954 * config/ia64/ia64.c (ia64_soft_fp_init_libfuncs): New.
1955 (ia64_expand_compare): Use HPUX library for TFmode only for HPUX.
1956 (ia64_builtins) [IA64_BUILTIN_COPYSIGNQ, IA64_BUILTIN_FABSQ,
1957 IA64_BUILTIN_INFQ]: New.
1958 (ia64_init_builtins): Initialize __builtin_infq,
1959 __builtin_fabsq and __builtin_copysignq if not HPUX.
1960 (ia64_expand_builtin): Handle IA64_BUILTIN_COPYSIGNQ,
1961 IA64_BUILTIN_FABSQ and IA64_BUILTIN_INFQ.
1962
1963 * config/ia64/lib1funcs.asm (__divtf3): Define only if
1964 SHARED is defined.
1965 (__fixtfti): Likewise.
1966 (__fixunstfti): Likewise.
1967 (__floattitf): Likewise.
1968
1969 * config/ia64/libgcc-glibc.ver: New.
1970 * config/ia64/t-fprules-softfp: Likewise.
1971 * config/ia64/sfp-machine.h: Likewise.
1972
1973 * config/ia64/linux.h (LIBGCC2_HAS_TF_MODE): New.
1974 (LIBGCC2_TF_CEXT): Likewise.
1975 (TF_SIZE): Likewise.
1976 (TARGET_INIT_LIBFUNCS): Likewise.
1977
1978 * config/ia64/t-glibc (SHLINB_MAPFILES):
1979 Add $(srcdir)/config/ia64/libgcc-glibc.ver.
1980
1981 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
1982
1983 * config/i386/i386.c (construct_container): Rewrite processing
1984 BLKmode with X86_64_SSE_CLASS.
1985
1986 2009-02-12 Paolo Bonzini <bonzini@gnu.org>
1987
1988 PR target/39152
1989 * config/i386/i386.md: Replace simplify_replace_rtx with
1990 replace_rtx in the new peephole2.
1991
1992 2009-02-12 Nathan Sidwell <nathan@codesourcery.com>
1993
1994 * doc/invoke.texi (Optimize Options): Stop claiming inlining and
1995 loop unrolling do not happen at -O2.
1996
1997 2009-02-12 Michael Matz <matz@suse.de>
1998
1999 * gcc.c (ASM_DEBUG_SPEC): Check for -g0.
2000
2001 2009-02-12 Jakub Jelinek <jakub@redhat.com>
2002
2003 * dwarf2out.c (dwarf2out_finish): Force output of comp_unit_die
2004 for -g3.
2005
2006 2009-02-12 Ben Elliston <bje@au.ibm.com>
2007
2008 * config/rs6000/rs6000.md (allocate_stack): Use _stack form of
2009 patterns when updating the back chain. Missed in the 2009-02-10
2010 change.
2011
2012 2009-02-11 Janis Johnson <janis187@us.ibm.com>
2013
2014 * doc/extend.texi (Decimal Floating Types): Update identifier of
2015 draft TR and list of missing support.
2016
2017 2009-02-11 Jakub Jelinek <jakub@redhat.com>
2018
2019 PR middle-end/39154
2020 * gimplify.c (omp_notice_variable): If adding GOVD_SEEN
2021 bit to variable length decl's flags, add it also to its
2022 pointer replacement variable.
2023
2024 2009-02-11 Uros Bizjak <ubizjak@gmail.com>
2025 Jakub Jelinek <jakub@redhat.com>
2026
2027 PR target/39118
2028 * config/i386/i386.md (UNSPEC_MEMORY_BLOCKAGE): New constant.
2029 (memory_blockage): New expander.
2030 (*memory_blockage): New insn pattern.
2031 * config/i386/i386.c (ix86_expand_prologue): Use memory_blockage
2032 instead of general blockage at the end of function prologue when
2033 frame pointer is used to access red zone area. Do not emit blockage
2034 when profiling, it is emitted in generic code.
2035 (ix86_expand_epilogue): Emit memory_blockage at the beginning of
2036 function epilogue when frame pointer is used to access red zone area.
2037
2038 2009-02-11 Paolo Bonzini <bonzini@gnu.org>
2039
2040 PR target/38824
2041 * config/i386/i386.md: Add two new peephole2 to avoid mov followed
2042 by arithmetic with memory operands.
2043 * config/i386/predicates.md (commutative_operator): New.
2044
2045 2009-02-10 Janis Johnson <janis187@us.ibm.com>
2046
2047 * doc/extend.texi (Fixed-Point Types): Break long paragraphs into
2048 bulleted lists.
2049
2050 2009-02-10 Eric Botcazou <ebotcazou@adacore.com>
2051
2052 * alias.h (record_alias_subset): Declare.
2053 * alias.c (record_alias_subset): Make global.
2054
2055 2009-02-10 Nick Clifton <nickc@redhat.com>
2056
2057 * tree-parloops.c: Change license to GPLv3.
2058 * ipa-struct-reorg.c: Change license to GPLv3.
2059 * ipa-struct-reorg.h: Change license to GPLv3.
2060
2061 2009-02-10 Steve Ellcey <sje@cup.hp.com>
2062
2063 PR c/39084
2064 * c-decl.c (start_struct): Return NULL on error.
2065
2066 2009-02-10 Jakub Jelinek <jakub@redhat.com>
2067
2068 PR middle-end/39124
2069 * cfgloopmanip.c (remove_path): Call remove_bbs after
2070 cancel_loop_tree, not before it.
2071
2072 PR target/39139
2073 * function.h (struct function): Add has_local_explicit_reg_vars bit.
2074 * gimplify.c (gimplify_bind_expr): Set it if local DECL_HARD_REGISTER
2075 VAR_DECLs were seen.
2076 * tree-ssa-live.c (remove_unused_locals): Recompute
2077 cfun->has_local_explicit_reg_vars.
2078 * tree-ssa-sink.c (statement_sink_location): Don't sink BLKmode
2079 copies or clearings if cfun->has_local_explicit_reg_vars.
2080
2081 2009-02-10 Uros Bizjak <ubizjak@gmail.com>
2082
2083 PR target/39118
2084 * config/i386/i386.c (expand_prologue): Emit blockage at the end
2085 of function prologue when frame pointer is used to access
2086 red zone area.
2087
2088 2009-02-10 Richard Guenther <rguenther@suse.de>
2089
2090 PR middle-end/39127
2091 * gimplify.c (gimple_regimplify_operands): Always look if
2092 we need to create a temporary.
2093
2094 2009-02-10 Richard Guenther <rguenther@suse.de>
2095
2096 PR tree-optimization/39132
2097 * tree-loop-distribution.c (todo): New global var.
2098 (generate_memset_zero): Trigger TODO_rebuild_alias.
2099 (tree_loop_distribution): Return todo.
2100
2101 2009-02-10 H.J. Lu <hongjiu.lu@intel.com>
2102
2103 PR target/39119
2104 * config/i386/i386.c (x86_64_reg_class): Remove X86_64_AVX_CLASS.
2105 (x86_64_reg_class_name): Removed.
2106 (classify_argument): Return 0 if bytes > 32. Return 0 if the
2107 first one isn't X86_64_SSE_CLASS or any other ones aren't
2108 X86_64_SSEUP_CLASS when size > 16bytes. Don't turn
2109 X86_64_SSEUP_CLASS into X86_64_SSE_CLASS if the preceded one
2110 is X86_64_SSEUP_CLASS. Set AVX modes to 1 X86_64_SSE_CLASS
2111 and 3 X86_64_SSEUP_CLASS.
2112 (construct_container): Remove X86_64_AVX_CLASS. Handle 4
2113 registers with 1 X86_64_SSE_CLASS and 3 X86_64_SSEUP_CLASS.
2114
2115 2009-02-10 Ben Elliston <bje@au.ibm.com>
2116
2117 * config/rs6000/rs6000.md (allocate_stack): Always use an update
2118 form instruction to update the stack back chain word, even if the
2119 user has disabled the generation of update instructions.
2120 (movdi_<mode>_update_stack): New.
2121 (movsi_update_stack): Likewise.
2122 * config/rs6000/rs6000.c (rs6000_emit_allocate_stack): Likewise,
2123 always use an update form instruction to update the stack back
2124 chain word.
2125
2126 2009-02-09 Sebastian Pop <sebastian.pop@amd.com>
2127
2128 PR middle-end/38953
2129 * graphite.c (if_region_set_false_region): After moving a region in
2130 the false branch of a condition, remove the empty dummy basic block.
2131 (gloog): Remove wrong fix for PR38953.
2132
2133 2009-02-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2134
2135 * config/spu/spu.c (array_to_constant): Fix (latent) wrong-code
2136 generation due to implicit sign extension.
2137
2138 2009-02-09 Eric Botcazou <ebotcazou@adacore.com>
2139
2140 PR middle-end/38981
2141 * tree-ssa-coalesce.c (add_coalesce): Cap the costs of coalesce pairs
2142 at MUST_COALESCE_COST-1 instead of MUST_COALESCE_COST.
2143
2144 2009-02-09 Richard Guenther <rguenther@suse.de>
2145
2146 PR middle-end/35202
2147 * convert.c (convert_to_real): Disable (float)fn((double)x)
2148 to fnf(x) conversion if errno differences may occur and
2149 -fmath-errno is set.
2150
2151 2009-02-07 Anatoly Sokolov <aesok@post.ru>
2152
2153 * config/avr/avr.c (avr_mcu_t): Add ata6289 device.
2154 * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
2155 * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
2156
2157 2009-02-06 Joseph Myers <joseph@codesourcery.com>
2158
2159 PR c/35434
2160 * c-common.c (handle_alias_attribute): Disallow attribute for
2161 anything not a FUNCTION_DECL or VAR_DECL.
2162
2163 2009-02-06 Janis Johnson <janis187@us.ibm.com>
2164
2165 PR c/39035
2166 * real.c (do_compare): Special-case compare of zero against
2167 decimal float value.
2168
2169 2009-02-06 Joseph Myers <joseph@codesourcery.com>
2170
2171 PR c/36432
2172 * c-decl.c (grokdeclarator): Don't treat [] declarators in fields
2173 as indicating flexible array members unless the field itself is
2174 being declarared as the incomplete array.
2175
2176 2009-02-06 Jan Hubicka <jh@suse.cz>
2177
2178 PR tree-optimization/38844
2179 * ipa-inline.c (try_inline): Stop inlining recursion when edge
2180 is already inlined.
2181
2182 2009-02-06 Richard Guenther <rguenther@suse.de>
2183
2184 PR middle-end/38977
2185 * tree-cfg.c (need_fake_edge_p): Force a fake edge for
2186 fork because we may expand it as __gcov_fork.
2187
2188 2009-02-06 Nick Clifton <nickc@redhat.com>
2189
2190 * config/m32c/m32c.h (PCC_BITFIELD_TYPE_MATTERS): Define to zero.
2191
2192 2009-02-06 Paolo Bonzini <bonzini@gnu.org>
2193
2194 PR tree-optimization/35659
2195 * tree-ssa-sccvn.c (vn_constant_eq, vn_reference_eq, vn_nary_op_eq
2196 vn_phi_eq): Shortcut if hashcode does not match.
2197 (vn_reference_op_compute_hash): Do not call iterative_hash_expr for
2198 NULL operands.
2199 * tree-ssa-pre.c (pre_expr_hash): Look at hashcode if available,
2200 and avoid iterative_hash_expr.
2201 (FOR_EACH_VALUE_ID_IN_SET): New.
2202 (value_id_compare): Remove.
2203 (sorted_array_from_bitmap_set): Use FOR_EACH_VALUE_ID_IN_SET to
2204 sort expressions by value id.
2205
2206 2009-02-05 Kaz Kojima <kkojima@gcc.gnu.org>
2207
2208 PR target/38991
2209 * config/sh/predicates.md (general_movsrc_operand): Don't check
2210 the subreg of system registers here.
2211
2212 2009-02-05 Jakub Jelinek <jakub@redhat.com>
2213
2214 PR c++/39106
2215 * cgraphunit.c (cgraph_function_versioning): Clear also DECL_VIRTUAL_P
2216 on the copied decl.
2217
2218 2009-02-05 Paolo Bonzini <bonzini@gnu.org>
2219
2220 PR rtl-optimization/39110
2221 * rtlanal.c (rtx_addr_can_trap_p_1): Shortcut unaligned
2222 addresses, not aligned ones.
2223
2224 2009-02-05 Daniel Berlin <dberlin@dberlin.org>
2225 Richard Guenther <rguenther@suse.de>
2226
2227 PR tree-optimization/39100
2228 * tree-ssa-structalias.c (do_ds_constraint): Actually do what the
2229 comment says and add edges.
2230
2231 2009-02-05 Joseph Myers <joseph@codesourcery.com>
2232
2233 PR c/35435
2234 * c-common.c (handle_tls_model_attribute): Ignore attribute for
2235 non-VAR_DECLs without checking DECL_THREAD_LOCAL_P.
2236
2237 2009-02-04 Tobias Grosser <grosser@fim.uni-passau.de>
2238
2239 * graphite.c (bb_in_sese_p, sese_build_livein_liveouts_use,
2240 sese_build_livein_liveouts_bb, sese_build_livein_liveouts,
2241 register_bb_in_sese, new_sese, free_sese): Moved.
2242 (dot_scop_1, build_scop_loop_nests, build_loop_iteration_domains,
2243 outermost_loop_in_scop, build_scop_iteration_domain,
2244 expand_scalar_variables_ssa_name, get_vdef_before_scop,
2245 limit_scops): Use bb_in_sese_p instead of bb_in_scop_p.
2246 Use loop_in_sese_p instead of loop_in_scop_p.
2247 (new_graphite_bb, gloog): Do not initialize SCOP_BBS_B.
2248 (new_scop, free_scop): Remove SCOP_LOOP2CLOOG_LOOP and SCOP_BBS_B.
2249 (scopdet_basic_block_info): Fix bug in scop detection.
2250 (new_loop_to_cloog_loop_str, hash_loop_to_cloog_loop,
2251 eq_loop_to_cloog_loop): Remove.
2252 (nb_loops_around_loop_in_scop, nb_loop
2253 ref_nb_loops): Moved here...
2254 * graphite.h (ref_nb_loops): ... from here.
2255 (struct scop): Remove bbs_b bitmap and loop2cloog_loop.
2256 (loop_domain_dim, loop_iteration_vector_dim): Remove.
2257 (SCOP_BBS_B, bb_in_scop_p, loop_in_scop_p): Removed.
2258 * testsuite/gcc.dg/graphite/scop-19.c: New
2259
2260 2009-02-04 Paolo Bonzini <bonzini@gnu.org>
2261 Hans-Peter Nilsson <hp@axis.com>
2262
2263 PR rtl-optimization/37889
2264 * rtlanal.c (rtx_addr_can_trap_p_1): Add offset and size arguments.
2265 Move offset handling from PLUS to before the switch. Use new
2266 arguments when considering SYMBOL_REFs too.
2267 (rtx_addr_can_trap_p): Pass dummy offset and size.
2268 (enum may_trap_p_flags): Remove.
2269 (may_trap_p_1): Pass size from MEM_SIZE.
2270
2271 PR rtl-optimization/38921
2272 * loop-invariant.c (find_invariant_insn): Use may_trap_or_fault_p.
2273 * rtl.h (may_trap_after_code_motion_p): Delete prototype.
2274 * rtlanal.c (may_trap_after_code_motion_p): Delete.
2275 (may_trap_p, may_trap_or_fault_p): Pass 0/1 as flags.
2276
2277 2009-02-04 H.J. Lu <hongjiu.lu@intel.com>
2278
2279 AVX Programming Reference (January, 2009)
2280 * config/i386/sse.md (*vpclmulqdq): New.
2281
2282 2009-02-04 Jakub Jelinek <jakub@redhat.com>
2283
2284 PR tree-optimization/38977
2285 PR gcov-profile/38292
2286 * calls.c (special_function_p): Disregard __builtin_ prefix.
2287
2288 2009-02-04 Hariharan Sandanagobalane <hariharan@picochip.com>
2289
2290 * config/picochip/picochip.c (GO_IF_LEGITIMATE_ADDRESS): Disallow
2291 non-indexable addresses even before reload.
2292
2293 2009-02-03 Joseph Myers <joseph@codesourcery.com>
2294
2295 PR c/29129
2296 * c-decl.c (grokdeclarator): Mark [*] arrays in field declarators
2297 as having variable size. Do not give an error for unnamed
2298 parameters with [*] declarators. Give a warning for type names
2299 with [*] declarators and mark them as variable size.
2300 * c-parser.c (c_parser_sizeof_expression): Do not give an error
2301 for sizeof applied to [*] type names.
2302
2303 2009-02-03 Andrew Pinski <andrew_pinski@playstation.sony.com>
2304
2305 PR C++/36607
2306 * convert.c (convert_to_integer): Treat OFFSET_TYPE like INTEGER_TYPE.
2307
2308 2009-02-03 Jakub Jelinek <jakub@redhat.com>
2309
2310 * gcc.c (process_command): Update copyright notice dates.
2311 * gcov.c (print_version): Likewise.
2312 * gcov-dump.c (print_version): Likewise.
2313 * mips-tfile.c (main): Likewise.
2314 * mips-tdump.c (main): Likewise.
2315
2316 2009-02-03 Joseph Myers <joseph@codesourcery.com>
2317
2318 PR c/35433
2319 * c-typeck.c (composite_type): Set TYPE_SIZE and TYPE_SIZE_UNIT
2320 for composite type involving a zero-length array type.
2321
2322 2009-02-03 Jakub Jelinek <jakub@redhat.com>
2323
2324 PR target/35318
2325 * function.c (match_asm_constraints_1): Skip over
2326 initial optional % in the constraint.
2327
2328 PR inline-asm/39059
2329 * c-parser.c (c_parser_postfix_expression): If fixed point is not
2330 supported, don't accept FIXED_CSTs.
2331 * c-decl.c (finish_declspecs): Error if fixed point is not supported
2332 and _Sat is used without _Fract/_Accum. Set specs->type to
2333 integer_type_node for cts_fract/cts_accum if fixed point is not
2334 supported.
2335
2336 2009-02-02 Catherine Moore <clm@codesourcery.com>
2337
2338 * sde.h (SUBTARGET_ARM_SPEC): Don't assemble -fpic code as -mabicalls.
2339
2340 2009-02-02 Richard Sandiford <rdsandiford@googlemail.com>
2341
2342 * config/mips/mips.h (FILE_HAS_64BIT_SYMBOLS): New macro.
2343 (ABI_HAS_64BIT_SYMBOLS): Use it.
2344 (DWARF2_ADDR_SIZE): Use it instead of ABI_HAS_64BIT_SYMBOLS.
2345
2346 2009-02-02 Paul Brook <paul@codesourcery.com>
2347
2348 * config/arm/arm.md (arm_addsi3): Add r/r/k alternative.
2349
2350 2009-02-02 Jakub Jelinek <jakub@redhat.com>
2351
2352 PR inline-asm/39058
2353 * recog.h (asm_operand_ok): Add constraints argument.
2354 * recog.c (asm_operand_ok): Likewise. If it is set, for digits
2355 recurse on matching constraint.
2356 (check_asm_operands): Pass constraints as 3rd argument to
2357 asm_operand_ok. Don't look up matching constraint here.
2358 * stmt.c (expand_asm_operands): Pass NULL as 3rd argument
2359 to asm_operand_ok.
2360
2361 2009-02-02 Ben Elliston <bje@au.ibm.com>
2362
2363 * doc/tm.texi (Storage Layout): Fix TARGET_ALIGN_ANON_BITFIELD and
2364 TARGET_NARROW_VOLATILE_BITFIELD macro names.
2365
2366 2009-01-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2367
2368 * doc/install.texi (hppa*-hp-hpux*): Update binutils and linker
2369 information. Remove some obsolete information. Reorganize.
2370
2371 * config/pa/fptr.c: Revert license to GPL 2.
2372 * config/pa/milli64.S: Likewise.
2373
2374 2009-01-31 Dave Korn <dave.korn.cygwin@gmail.com>
2375
2376 PR target/38904
2377 * mkmap-flat.awk (END): Use pe_dll command-line arg to pass
2378 LIBRARY name in, instead of hard-coding it.
2379 * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Add an
2380 extra target make frag to tmake_files according to EH model.
2381 (i[34567]86-*-mingw* | x86_64-*-mingw*): Likewise.
2382 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: Add new target
2383 frags that define makefile variable EH_MODEL appropriately.
2384 * config/i386/cygming.h (DWARF2_UNWIND_INFO): Add comment.
2385 * config/i386/cygwin.h (LIBGCC_EH_EXTN): Define to nothing or
2386 to "-sjlj" according to type of EH configured.
2387 (LIBGCC_SONAME): Concatenate it to shared library base name.
2388 * config/i386/mingw32.h (LIBGCC_EH_EXTN): Define to "_dw2" or
2389 to "_sjlj" according to type of EH configured.
2390 (LIBGCC_SONAME): Concatenate it to shared library base name.
2391 * config/i386/t-cygming (SHLIB_SONAME): Use EH_MODEL.
2392 (SHLIB_LINK): Add missing semicolon to if-else construct.
2393 (SHLIB_MKMAP_OPTS): Pass library name to mkmap-flat.awk as
2394 string value of "pe_dll" command-line option.
2395 * config/i386/t-cygwin (SHLIB_EH_EXTENSION): New helper.
2396 (SHLIB_SONAME): Use it when overriding t-cygming default.
2397 (SHLIB_IMPLIB): Override t-cygming default.
2398 (SHLIB_MKMAP_OPTS): Pass library name to mkmap-flat.awk as
2399 string value of "pe_dll" command-line option.
2400
2401 2009-01-31 Dave Korn <dave.korn.cygwin@gmail.com>
2402
2403 PR target/38952
2404 * config/i386/i386.c (ix86_builtin_setjmp_frame_value): New.
2405 (TARGET_BUILTIN_SETJMP_FRAME_VALUE): Override default to point at it.
2406
2407 2009-01-31 Richard Guenther <rguenther@suse.de>
2408
2409 PR tree-optimization/38937
2410 * tree-ssa-structalias.c (do_sd_constraint): Do not shortcut
2411 computing the transitive closure.
2412
2413 2009-01-30 Richard Guenther <rguenther@suse.de>
2414
2415 PR tree-optimization/39041
2416 * tree-ssa-forwprop.c (forward_propagate_addr_expr_1):
2417 Propagate variable indices only if the types match for this stmt.
2418
2419 2009-01-30 Jakub Jelinek <jakub@redhat.com>
2420
2421 PR target/39013
2422 * c-decl.c (pop_scope): Set DECL_EXTERNAL for functions declared
2423 inline but never defined.
2424
2425 2009-01-30 Wolfgang Gellerich <gellerich@de.ibm.com>
2426
2427 * config/s390/s390.md (*insv<mode>_reg_extimm): Removed.
2428 (*insv_h_di_reg_extimm): New insn.
2429 (*insv_l<mode>_reg_extimm): New insn.
2430
2431 2009-01-30 Hariharan Sandanagobalane <hariharan@picochip.com>
2432
2433 * config/picochip/picochip.c (flag_conserve_stack): set
2434 PARAM_LARGE_STACK_FRAME and PARAM_STACK_FRAME_GROWTH to zero under
2435 fconserve-stack. Reduce call-overhead used by inliner.
2436
2437 2009-01-30 Hariharan Sandanagobalane <hariharan@picochip.com>
2438
2439 PR/38157
2440 * common.opt (flag_conserve_stack): Initialised to zero.
2441
2442 2009-01-30 Kai Tietz <kai.tietz@onevision.com>
2443
2444 PR/39002
2445 * config/i386/i386.c (ix86_can_use_return_insn_p): Check for nsseregs.
2446 (ix86_expand_epilogue): Take nsseregs in account to use proper restore
2447 method.
2448
2449 2009-01-29 H.J. Lu <hongjiu.lu@intel.com>
2450
2451 * ira-color.c (allocno_reload_assign): Update comments.
2452 * regmove.c (regmove_optimize): Likewise.
2453
2454 * ra.h: Removed.
2455
2456 2009-01-29 Robert Millan <rmh@aybabtu.com>
2457
2458 * gcc/config.gcc: Recognize GNU/kOpenSolaris (*-*-kopensolaris*-gnu).
2459 * gcc/config/i386/kopensolaris-gnu.h: New file. Undefine
2460 `MD_UNWIND_SUPPORT'.
2461 * gcc/config/kopensolaris-gnu.h: New file (based on kfreebsd-gnu.h).
2462
2463 2009-01-29 Kazu Hirata <kazu@codesourcery.com>
2464
2465 PR tree-optimization/39007
2466 * tree-loop-distribution.c (generate_builtin): Use
2467 recompute_dominator to compute the immediate dominator of the
2468 basic block just after the loop.
2469
2470 2009-01-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2471
2472 * config/i386/sol2-10.h [!HAVE_AS_IX86_DIFF_SECT_DELTA]
2473 (ASM_OUTPUT_DWARF_PCREL): Define.
2474
2475 2009-01-29 Vladimir Makarov <vmakarov@redhat.com>
2476
2477 * doc/tm.texi (TARGET_IRA_COVER_CLASSES): Modify description.
2478 * doc/passes.texi: Remove entries about regclass, local-alloc, and
2479 global. Modify entries about regmove and IRA.
2480
2481 * ra-conflict.c: Remove the file.
2482
2483 * reload.c (push_reload, find_dummy_reload): Remove flag_ira.
2484
2485 * tree-pass.h (pass_local_alloc, pass_global_alloc): Remove.
2486 (pass_regclass_init): Rename to pass_reginfo_init.
2487
2488 * cfgloopanal.c (estimate_reg_pressure_cost): Remove flag_ira.
2489
2490 * toplev.h (flag_ira): Remove.
2491
2492 * caller-save.c (setup_save_areas): Remove flag_ira.
2493
2494 * ira-color.c (ira_reuse_stack_slot, ira_mark_new_stack_slot): Ditto.
2495
2496 * global.c: Remove the file.
2497
2498 * opts.c: (decode_options): Remove flag_ira.
2499
2500 * hard-reg-set.h (losing_caller_save_reg_set): Remove.
2501
2502 * regmove.c: Modify file description.
2503 (find_use_as_address, try_auto_increment): Define them only if
2504 AUTO_INC_DEC is defined.
2505 (replacement_quality, replace_in_call_usage, fixup_match_1,
2506 stable_and_no_regs_but_for_p): Remove.
2507 (reg_set_in_bb): Make it static.
2508 (regmove_optimize): Remove flag_ira and code which worked for
2509 !flag_ira.
2510
2511 * local-alloc.c: Remove the file.
2512
2513 * common.opt (fira): Remove.
2514
2515 * ira.c: Include except.h.
2516 (eliminable_regset): Move from global.c.
2517 (mark_elimination): Ditto. Remove flag_ira.
2518 (reg_renumber, struct equivalence, reg_equiv, equiv_mem,
2519 equiv_mem_modified, validate_equiv_mem_from_store,
2520 validate_equiv_mem, equiv_init_varies_p, equiv_init_movable_p,
2521 contains_replace_regs, memref_referenced_p, memref_used_between_p,
2522 no_equiv, recorded_label_ref): Move from local-alloc.c.
2523 (update_equiv_regs): Ditto. Make it static.
2524 (print_insn_chain, print_insn_chains): Move it from global.c.
2525 (pseudo_for_reload_consideration_p): Ditto. Remove flag_ira.
2526 (build_insn_chain): Ditto. Make it static.
2527 (ra_init_live_subregs): Move from ra-conflict.c. Make it static.
2528 Rename to init_live_subregs.
2529 (gate_ira): Remove flag_ira.
2530
2531 * regclass.c: Rename reginfo.c. Change file description.
2532 (FORBIDDEN_INC_DEC_CLASSES): Remove.
2533 (reg_class_superclasses, forbidden_inc_dec_class, in_inc_dec): Remove.
2534 (init_reg_sets_1): Remove code for evaluation of
2535 reg_class_superclasses and losing_caller_save_reg_set.
2536 (init_regs): Remove init_reg_autoinc.
2537 (struct costs, costs, init_cost, ok_for_index_p_nonstrict,
2538 ok_for_base_p_nonstrict): Remove.
2539 (regclass_init): Rename to reginfo_init. Don't initialize init_cost.
2540 (pass_regclass_init): Rename to pass_reginfo_init. Modify
2541 corresponding entries.
2542 (dump_regclass, record_operand_costs, scan_one_insn,
2543 init_reg_autoinc, regclass, record_reg_classes, copy_cost,
2544 record_address_regs, auto_inc_dec_reg_p): Remove.
2545 (gt-regclass.h): Rename to gt-reginfo.h.
2546
2547 * rtl.h (dump_global_regs, retry_global_alloc,
2548 build_insn_chain, dump_local_alloc, update_equiv_regs): Remove.
2549
2550 * Makefile.in (RA_H): Remove.
2551 (OBJS-common): Remove global.o, local-alloc.o, and ra-conflict.o.
2552 Rename regclass.o to reginfo.o.
2553 (regclass.o): Rename to reginfo.o. Rename gt-regclass.h to
2554 gt-reginfo.h.
2555 (global.o, local-alloc.o, ra-conflict.o): Remove entries.
2556 (GTFILES): Rename regclass.c to reginfo.c.
2557
2558 * passes.c (init_optimization_passes): Remove pass_local_alloc and
2559 pass_global_alloc. Rename pass_regclass_init to pass_reginfo_init.
2560
2561 * reload1.c (compute_use_by_pseudos, reload, count_pseudo,
2562 count_spilled_pseudo, find_reg, alter_reg, delete_output_reload):
2563 Remove flag_ira.
2564 (finish_spills): Ditto. Remove code for !flag_ira.
2565
2566 2009-01-29 Kenneth Zadeck <zadeck@naturalbridge.com>
2567
2568 PR middle-end/35854
2569 * doc/invoke.texi (rtl debug options): Complete rewrite.
2570 * auto-inc-dec.c (pass_inc_dec): Rename pass from "auto-inc-dec"
2571 to auto_inc_dec".
2572 * mode-switching.c (pass_mode_switching): Rename pass from
2573 "mode-sw" to "mode_sw".
2574 * except.c (pass_convert_to_eh_ranges): Rename pass from
2575 "eh-ranges" to "eh_ranges".
2576 * lower-subreg.c (pass_lower_subreg): Renamed pass from "subreg"
2577 to "subreg1".
2578
2579
2580 2009-01-29 Andrey Belevantsev <abel@ispras.ru>
2581 Alexander Monakov <amonakov@ispras.ru>
2582
2583 PR middle-end/38857
2584 * sel-sched.c (count_occurrences_1): Check that *cur_rtx is a hard
2585 register.
2586 (move_exprs_to_boundary): Change return type and pass through
2587 should_move from move_op. Relax assert. Update usage ...
2588 (schedule_expr_on_boundary): ... here. Use should_move instead of
2589 cant_move.
2590 (move_op_orig_expr_found): Indicate that insn was disconnected from
2591 stream.
2592 (code_motion_process_successors): Do not call after_merge_succs
2593 callback if original expression was not found when traversing any of
2594 the branches.
2595 (code_motion_path_driver): Change return type. Update prototype.
2596 (move_op): Update comment. Add a new parameter (should_move). Update
2597 prototype. Set *should_move based on indication provided by
2598 move_op_orig_expr_found.
2599
2600 2009-01-28 Pat Haugen <pthaugen@us.ibm.com>
2601
2602 * doc/invoke.texi (avoid-indexed-addresses): Document new option.
2603 * config/rs6000/rs6000-protos.h (avoiding_indexed_address_p): Declare.
2604 * config/rs6000/rs6000.opt (avoid-indexed-addresses): New option.
2605 * config/rs6000/rs6000.c (rs6000_override_options): Default
2606 avoid-indexed-addresses on for Power6, off for everything else.
2607 (avoiding_indexed_address_p): New function.
2608 (rs6000_legitimize_address): Use it.
2609 (rs6000_legitimate_address): Likewise.
2610 * config/rs6000/rs6000.md (movXX_updateX): Likewise
2611
2612 2009-01-28 Kazu Hirata <kazu@codesourcery.com>
2613
2614 PR tree-optimization/38997
2615 * tree-loop-distribution.c (generate_memset_zero): Use
2616 POINTER_PLUS_EXPR for a pointer addition.
2617
2618 2009-01-28 Andreas Krebbel <krebbel1@de.ibm.com>
2619
2620 * config/s390/s390.md (bswap<mode>2): New pattern added.
2621
2622 2009-01-28 Wolfgang Gellerich <gellerich@de.ibm.com>
2623
2624 * config/s390/s390.md (*tls_load_31): Added type attribute.
2625
2626 2009-01-28 Wolfgang Gellerich <gellerich@de.ibm.com>
2627
2628 * config/s390/s390.md: Fix a few comments.
2629
2630 2009-01-28 Wolfgang Gellerich <gellerich@de.ibm.com>
2631
2632 * config/s390/s390.md (*tmsi_reg): Fixed z10prop attribute.
2633 (*tm<mode>_full): Fixed z10prop attribute.
2634 (*tst<mode>_extimm): Fixed z10prop attribute.
2635 (*tst<mode>_cconly_extimm): Fixed z10prop attribute.
2636 (*tstqiCCT_cconly): Fixed z10prop attribute.
2637 (*cmpsi_ccu_zerohi_rlsi): Fixed z10prop attribute.
2638 (*movsi_larl): Fixed z10prop attribute.
2639 (*movsi_zarch): Fixed z10prop attribute.
2640 (*movsi_eas): Fixed z10prop attribute.
2641 (*movhi): Fixed z10prop attribute.
2642 (*movqi): Fixed z10prop attribute.
2643 (*movstrictqi): Fixed z10prop attribute.
2644 (*mov<mode>): Fixed z10prop attribute.
2645 (*movcc): Fixed z10prop attribute.
2646 (*sethighpartdi_64): Fixed z10prop attribute.
2647 (*zero_extendhi<mode>2_z10): Fixed z10prop attribute.
2648 (*negdi2_sign_cc): Fixed z10prop attribute.
2649 (*negdi2_sign): Fixed z10prop attribute.
2650 (*absdi2_sign_cc): Fixed z10prop attribute.
2651 (*absdi2_sign): Fixed z10prop attribute.
2652 (*negabsdi2_sign_cc): Fixed z10prop attribute.
2653 (*negabsdi2_sign): Fixed z10prop attribute.
2654 (*cmp_and_trap_signed_int<mode>): Fixed z10prop attribute.
2655 (*cmp_and_trap_unsigned_int<mode>): Fixed z10prop attribute.
2656 (doloop_si64): Fixed z10prop attribute.
2657 (doloop_si31): Fixed z10prop attribute.
2658 (doloop_long): Fixed z10prop attribute.
2659 (indirect_jump): Fixed z10prop attribute.
2660 (nop): Fixed z10prop attribute.
2661 (main_base_64): Fixed z10prop attribute.
2662 (reload_base_64): Fixed z10prop attribute.
2663
2664 2009-01-28 Jakub Jelinek <jakub@redhat.com>
2665
2666 PR rtl-optimization/38740
2667 * reorg.c (gate_handle_delay_slots): Avoid dbr scheduling
2668 if !optimize.
2669 * config/mips/mips.c (mips_reorg): Likewise.
2670
2671 2009-01-28 Richard Guenther <rguenther@suse.de>
2672
2673 PR tree-optimization/38926
2674 * tree-ssa-pre.c (add_to_value): Assert we add only expressions
2675 with the correct value id to a value.
2676 (do_regular_insertion): Use the value number of edoubleprime
2677 for the value number of the expr.
2678
2679 Revert
2680 2008-08-21 Richard Guenther <rguenther@suse.de>
2681
2682 * tree-ssa-pre.c (insert_into_preds_of_block): Before inserting
2683 a PHI ask VN if it is already available.
2684 * tree-ssa-sccvn.h (vn_phi_lookup): Declare.
2685 * tree-ssa-sccvn.c (vn_phi_lookup): Export.
2686
2687 2009-01-28 Jakub Jelinek <jakub@redhat.com>
2688
2689 PR middle-end/38934
2690 * tree-vrp.c (extract_range_from_assert): For LE_EXPR and LT_EXPR
2691 set to varying whenever max has TREE_OVERFLOW set, similarly
2692 for GE_EXPR and GT_EXPR and TREE_OVERFLOW min.
2693
2694 2009-01-28 Richard Guenther <rguenther@suse.de>
2695
2696 PR middle-end/38908
2697 * tree-ssa.c (warn_uninitialized_var): Do not warn for seemingly
2698 uninitialized aggregate uses in call arguments.
2699
2700 2009-01-28 Paolo Bonzini <bonzini@gnu.org>
2701
2702 PR tree-optimization/38984
2703 * tree-ssa-structalias.c (get_constraints_for_1): Do not use
2704 the nothing_id variable if -fno-delete-null-pointer-checks.
2705
2706 2009-01-28 Uros Bizjak <ubizjak@gmail.com>
2707
2708 PR target/38988
2709 * config/i386/i386.md (set_rip_rex64): Wrap operand 1 in label_ref.
2710 (set_got_offset_rex64): Ditto.
2711
2712 2009-01-27 H.J. Lu <hongjiu.lu@intel.com>
2713
2714 PR target/38941
2715 * doc/extend.texi: Improve local variable with asm reg.
2716
2717 2009-01-27 Adam Nemet <anemet@caviumnetworks.com>
2718
2719 * c.opt (Wpacked-bitfield-compat): Change init value to -1.
2720 * c-opts.c (c_common_post_options): If -W*packed-bitfield-compat
2721 was not supplied then set warn_packed_bitfield_compat to the
2722 default value of 1.
2723 * stor-layout.c (place_field): Check warn_packed_bitfield_compat
2724 against 1.
2725
2726 2009-01-27 Richard Guenther <rguenther@suse.de>
2727
2728 PR tree-optimization/38503
2729 * cfgexpand.c (expand_gimple_basic_block): Ignore
2730 GIMPLE_CHANGE_DYNAMIC_TYPE during expansion.
2731 * tree-ssa-structalias.c (set_uids_in_ptset): Do not prune
2732 variables that cannot have TBAA applied.
2733 (compute_points_to_sets): Do not remove GIMPLE_CHANGE_DYNAMIC_TYPE
2734 statements.
2735
2736 2009-01-27 Uros Bizjak <ubizjak@gmail.com>
2737
2738 PR middle-end/38969
2739 * calls.c (initialize_argument_information): Do not wrap complex
2740 arguments in SAVE_EXPR.
2741
2742 2009-01-26 Andreas Tobler <a.tobler@schweiz.org>
2743
2744 * config/t-vxworks (LIBGCC2_INCLUDES): Fix typo.
2745 (INSTALL_LIBGCC): Revert typo commit.
2746
2747 2009-01-26 Richard Guenther <rguenther@suse.de>
2748
2749 PR tree-optimization/38745
2750 * tree-ssa-alias.c (update_alias_info_1): Exclude RESULT_DECL
2751 from special handling.
2752
2753 2009-01-26 Richard Guenther <rguenther@suse.de>
2754
2755 PR tree-optimization/38745
2756 * tree-ssa.c (execute_update_addresses_taken): Do not include
2757 variables that cannot possibly be a register in not_reg_needs.
2758 Do not clear TREE_ADDRESSABLE on vars that may not become
2759 registers.
2760 * tree-ssa.c (update_alias_info_1): Include those in the set
2761 of addressable vars.
2762
2763 2009-01-26 Richard Guenther <rguenther@suse.de>
2764
2765 PR middle-end/38851
2766 * Makefile.in (tree-ssa-dse.o): Add langhooks.h.
2767 * tree-ssa-dse.c: Include langhooks.h
2768 (execute_simple_dse): Remove stores with zero size.
2769
2770 2009-01-24 Jakub Jelinek <jakub@redhat.com>
2771
2772 PR c/38957
2773 * c-typeck.c (c_finish_return): Handle POINTER_PLUS_EXPR the same way
2774 as PLUS_EXPR.
2775
2776 2009-01-24 Julian Brown <julian@codesourcery.com>
2777
2778 * config/arm/t-linux-eabi (LIB2FUNCS_STATIC_EXTRA): Add
2779 config/arm/linux-atomic.c.
2780 * config/arm/linux-atomic.c: New.
2781
2782 2009-01-24 Eric Botcazou <ebotcazou@adacore.com>
2783
2784 * config/sparc/linux.h (DBX_REGISTER_NUMBER): Delete.
2785 * config/sparc/linux64.h (DBX_REGISTER_NUMBER): Likewise.
2786 * config/sparc/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
2787
2788 2009-01-24 H.J. Lu <hongjiu.lu@intel.com>
2789
2790 PR c/38938
2791 * c-opts.c (c_common_handle_option): Update warn_pointer_sign
2792 properly.
2793
2794 2009-01-24 Sebastian Pop <sebastian.pop@amd.com>
2795
2796 PR tree-optimization/38953
2797 * graphite.c (graphite_verify): Add a call to verify_loop_closed_ssa.
2798 (scop_adjust_phis_for_liveouts): Initialize false_i to zero.
2799 (gloog): Split the exit of the scop when the scop exit is a loop exit.
2800 (graphite_transform_loops): Only call cleanup_tree_cfg if gloog
2801 changed the CFG.
2802
2803 2009-01-24 Paul Brook <paul@codesourcery.com>
2804
2805 * config/arm/neon.md (neon_type): Move to arm.md.
2806 (neon_mov<VSTRUCT>): Add neon_type attribute.
2807 * config/arm/arm.md (neon_type): Move to here.
2808 (conds): Add "unconditioal" and use as default for NEON insns.
2809
2810 2009-01-24 Ben Elliston <bje@au.ibm.com>
2811
2812 * bitmap.h (BITMAP_FREE): Eliminate `implicit conversion from
2813 void *' warning from -Wc++-compat.
2814 * Makefile.in (dominance.o-warn): Remove.
2815
2816 2009-01-23 Paolo Bonzini <bonzini@gnu.org>
2817
2818 PR tree-optimization/38932
2819 * fold-const.c (fold_unary_ignore_overflow): New.
2820 * tree.h (fold_unary_ignore_overflow): Declare.
2821 * tree-ssa-ccp.c (ccp_fold): Use fold_unary_ignore_overflow.
2822 * tree-ssa-sccvn.c (visit_reference_op_load,
2823 simplify_unary_expression): Likewise.
2824
2825 2009-01-22 Adam Nemet <anemet@caviumnetworks.com>
2826
2827 * c-decl.c (finish_struct): Move code to set DECL_PACKED after
2828 DECL_BIT_FIELD is alreay known. Also inherit packed for bitfields
2829 regardless of their type.
2830 * c-common.c (handle_packed_attribute): Don't ignore packed on
2831 bitfields.
2832 * c.opt (Wpacked-bitfield-compat): New warning option.
2833 * stor-layout.c (place_field): Warn if offset of a field changed.
2834 * doc/extend.texi (packed): Mention the ABI change.
2835 * doc/invoke.texi (-Wpacked-bitfield-compat): Document.
2836 (Warning Options): Add it to the list.
2837
2838 2009-01-22 H.J. Lu <hongjiu.lu@intel.com>
2839
2840 * c-opts.c (c_common_post_options): Fix a typo in comments.
2841
2842 2009-01-22 Steve Ellcey <sje@cup.hp.com>
2843
2844 PR middle-end/38615
2845 * gimplify.c (gimplify_init_constructor): Fix promotion of const
2846 variables to static.
2847 * doc/invoke.texi (-fmerge-all-constants): Update description.
2848
2849 2009-01-22 Uros Bizjak <ubizjak@gmail.com>
2850
2851 PR target/38931
2852 * config/i386/i386.md (*movsi_1): Use type "mmx" for alternative 2.
2853 (*movdi_1_rex64): Use type "mmx" for alternative 5.
2854
2855 2009-01-22 Richard Earnshaw <rearnsha@arm.com>
2856
2857 * arm.h (DATA_ALIGNMENT): Align structures, unions and arrays to
2858 a word boundary.
2859 (LOCAL_ALIGNMENT): Similarly.
2860
2861 2009-01-22 Mark Shinwell <shinwell@codesourcery.com>
2862 Joseph Myers <joseph@codesourcery.com>
2863
2864 * config/arm/arm.c (all_architectures): Add iWMMXt2 entry.
2865 * config/arm/arm-cores.def: New ARM_CORE entry for iWMMXt2.
2866 * config/arm/arm-tune.md: Regenerate.
2867 * doc/invoke.texi (ARM Options): Document -mcpu=iwmmxt2 and
2868 -march=iwmmxt2.
2869
2870 2009-01-22 Mark Shinwell <shinwell@codesourcery.com>
2871
2872 * config/arm/bpabi.h (SUBTARGET_EXTRA_ASM_SPEC): Bump EABI
2873 version number to five.
2874
2875 2009-01-22 Dodji Seketeli <dodji@redhat.com>
2876
2877 PR c++/38930
2878 * c-decl.c: (clone_underlying_type): Revert PR c++/26693 changes.
2879 * c-common.c (set_underlying_type): Likewise.
2880 (is_typedef_decl ): Likewise
2881 * tree.h: Likewise
2882 (set_underlying_type): Likewise.
2883 (is_typedef_type): Likewise.
2884
2885 2009-01-21 Vladimir Makarov <vmakarov@redhat.com>
2886
2887 PR middle-end/38587
2888 * ira-color.c (coalesce_spill_slots): Don't coalesce allocnos
2889 crossing setjmps.
2890
2891 2009-01-21 Dave Korn <dave.korn.cygwin@gmail.com>
2892
2893 PR bootstrap/37660
2894 * config/i386/cygwin.h (SHARED_LIBGCC_SPEC): New helper macro.
2895 (LIBGCC_SPEC): Don't define.
2896 (REAL_LIBGCC_SPEC): Define instead, using SHARED_LIBGCC_SPEC.
2897
2898 2009-01-21 Uros Bizjak <ubizjak@gmail.com>
2899
2900 PR rtl-optimization/38879
2901 * alias.c (base_alias_check): Unaligned access via AND address can
2902 alias all surrounding object types except those with sizes equal
2903 or wider than the size of unaligned access.
2904
2905 2009-01-21 Dodji Seketeli <dodji@redhat.com>
2906
2907 PR c++/26693
2908 * c-decl.c: (clone_underlying_type): Move this ...
2909 * c-common.c (set_underlying_type): ... here.
2910 Also, make sure the function properly sets TYPE_STUB_DECL() on
2911 the newly created typedef variant type.
2912 (is_typedef_decl ): New entry point.
2913 * tree.h: Added a new member member_types_needing_access_check to
2914 struct tree_decl_non_common.
2915 (set_underlying_type): New entry point.
2916 (is_typedef_type): Likewise.
2917
2918 2009-01-21 Bingfeng Mei <bmei@broadcom.com>
2919
2920 * alias.c (walk_mems_1, walk_mems_2, insn_alias_sets_conflict_p):
2921 Check whether two instructions have memory references that
2922 belong to conflicting alias sets. walk_mems_1 and walk_mems_2
2923 are helper functions for traversing.
2924 * alias.h (insn_alias_sets_confilict_p): New prototypes.
2925 * ddg.c (add_inter_loop_mem_dep): Call insn_alias_sets_conflict_p
2926 not to draw dependency edge for instructions with non-conflicting
2927 alias sets.
2928
2929 2009-01-20 Joseph Myers <joseph@codesourcery.com>
2930
2931 PR other/38758
2932 * longlong.h: Update copyright years. Use soft-fp license notice.
2933 Sync __clz_tab declaration with glibc.
2934
2935 2009-01-20 Steve Ellcey <sje@cup.hp.com>
2936
2937 PR target/30687
2938 * doc/extend.texi (syscall_linkage): New.
2939 (version_id): Modify.
2940
2941 2009-01-20 Andrew Pinski <andrew_pinski@playstation.sony.com>
2942 Richard Guenther <rguenther@suse.de>
2943
2944 PR tree-optimization/38747
2945 PR tree-optimization/38748
2946 * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Disable the VCE
2947 conversion if the base address is an indirect reference and the
2948 aliasing sets could cause issues.
2949
2950 2009-01-20 Sebastian Pop <sebastian.pop@amd.com>
2951
2952 * common.opt (fgraphite, fgraphite-identity): Add comment for
2953 explaining why these options are not documented.
2954
2955 2009-01-20 Sebastian Pop <sebastian.pop@amd.com>
2956
2957 * graphite.c (stmt_simple_for_scop_p): Also handle cases when
2958 gimple_call_lhs is NULL.
2959
2960 2009-01-20 Paolo Bonzini <bonzini@gnu.org>
2961
2962 PR target/38868
2963 * emit-rtl.c (adjust_address_1): Make sure memref is never
2964 overwritten.
2965
2966 2009-01-20 Ben Elliston <bje@au.ibm.com>
2967
2968 * libgcov.c (__gcov_execl, __gcov_execlp, __gcov_execle): Remove
2969 const qualifier from arg parameter. Remove unnecessary cast to char *.
2970 * gcov-io.h (__gcov_execl, __gcov_execlp, __gcov_execle): Remove
2971 const qualifier from arg 2.
2972
2973 2009-01-19 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
2974
2975 * config/darwin.h: Add static-libgfortran to LINK_SPEC.
2976
2977 2009-01-19 Vladimir Makarov <vmakarov@redhat.com>
2978
2979 PR c/38869
2980 * rtl.h (reinit_regs): New prototype.
2981 * regclass.c: Include ira.h.
2982 (reinit_regs): New.
2983 * Makefile.in (regclass.o): Add ira.h.
2984 * config/i386/i386.c (ix86_maybe_switch_abi): Use reinit_regs.
2985
2986 2009-01-18 H.J. Lu <hongjiu.lu@intel.com>
2987
2988 PR target/38736
2989 * c-common.c (handle_aligned_attribute): Use
2990 ATTRIBUTE_ALIGNED_VALUE instead of BIGGEST_ALIGNMENT for
2991 default alignment value.
2992
2993 * c-cppbuiltin.c (c_cpp_builtins): Define __BIGGEST_ALIGNMENT__.
2994
2995 * defaults.h (ATTRIBUTE_ALIGNED_VALUE): New.
2996 * config/i386/i386.h (ATTRIBUTE_ALIGNED_VALUE): Likewise.
2997
2998 * doc/extend.texi: Update __attribute__ ((aligned)). Document
2999 __BIGGEST_ALIGNMENT__.
3000
3001 * doc/tm.texi: Document ATTRIBUTE_ALIGNED_VALUE.
3002
3003 2009-01-18 Richard Guenther <rguenther@suse.de>
3004
3005 PR tree-optimization/38819
3006 * tree-flow.h (operation_could_trap_helper_p): Declare.
3007 * tree-eh.c (operation_could_trap_helper_p): Export.
3008 * tree-ssa-sccvn.h (vn_nary_may_trap): Declare.
3009 * tree-ssa-sccvn.c (vn_nary_may_trap): New function.
3010 * tree-ssa-pre.c (insert_into_preds_of_block): Check if we
3011 are about to insert a possibly trapping instruction and fail
3012 in this case.
3013
3014 2009-01-18 Andreas Schwab <schwab@suse.de>
3015
3016 * doc/install.texi (Configuration): Remove obsolete paragraph
3017 about use of --with-gnu-ld with --with-gnu-as.
3018
3019 2009-01-18 Kazu Hirata <kazu@codesourcery.com>
3020
3021 * doc/extend.texi, doc/gimple.texi, doc/invoke.texi,
3022 doc/md.texi, doc/sourcebuild.texi, doc/tm.texi: Fix typos.
3023 Follow spelling conventions.
3024
3025 2009-01-18 Ben Elliston <bje@au.ibm.com>
3026
3027 * bitmap.c (bitmap_obstack_alloc_stat): Adjust cast to eliminate
3028 C++ warning about implicit conversion from void * to struct
3029 bitmap_head_def *.
3030 (bitmap_obstack_free): Likewise for bitmap_element *.
3031 * Makefile.in (bitmap.o-warn): Remove.
3032
3033 2009-01-17 Dave Korn <dave.korn.cygwin@gmail.com>
3034
3035 * Makefile.in (BACKENDLIBS): Reorder to match dependencies.
3036
3037 2009-01-17 Sebastian Pop <sebastian.pop@amd.com>
3038 Tobias Grosser <tobi.grosser@amd.com>
3039
3040 * graphite.c (graphite_trans_scop_block): Do not block single
3041 nested loops.
3042
3043 2009-01-16 Alexandre Oliva <aoliva@redhat.com>
3044
3045 * ebitmap.h (ebitmap_iter_init): Initialize all fields.
3046 * ipa-struct-reorg.c (gen_struct_type): Replace known-true
3047 test with assertion.
3048
3049 2009-01-16 Richard Guenther <rguenther@suse.de>
3050
3051 PR tree-optimization/38835
3052 PR middle-end/36227
3053 * fold-const.c (fold_binary): Remove PTR + INT -> (INT)(PTR p+ INT)
3054 and INT + PTR -> (INT)(PTR p+ INT) folding.
3055 * tree-ssa-address.c (create_mem_ref): Properly use POINTER_PLUS_EXPR.
3056
3057 2009-01-16 Adam Nemet <anemet@caviumnetworks.com>
3058
3059 PR target/38554
3060 * expmed.c (expand_shift): With SHIFT_COUNT_TRUNCATED, don't lift
3061 the subreg from a lowpart subreg if it is also casting the value.
3062
3063 2009-01-16 Sebastian Pop <sebastian.pop@amd.com>
3064 Tobias Grosser <tobi.grosser@amd.com>
3065
3066 * graphite.c (compare_prefix_loops): New.
3067 (build_scop_canonical_schedules): Rewritten.
3068 (graphite_transform_loops): Move build_scop_canonical_schedules
3069 after build_scop_iteration_domain.
3070
3071 2009-01-16 Sebastian Pop <sebastian.pop@amd.com>
3072 Tobias Grosser <tobi.grosser@amd.com>
3073
3074 * graphite.c (add_conditions_to_domain): Add the loops to
3075 the dimension of the iteration domain. Do copy the domain
3076 only when it exists.
3077 (build_scop_conditions_1): Do not call add_conditions_to_domain.
3078 (add_conditions_to_constraints): New.
3079 (can_generate_code_stmt, can_generate_code): Removed.
3080 (gloog): Do not call can_generate_code.
3081 (graphite_transform_loops): Call add_conditions_to_constraints
3082 after building the iteration domain.
3083
3084 2009-01-16 Jakub Jelinek <jakub@redhat.com>
3085
3086 PR tree-optimization/38789
3087 * tree-ssa-threadedge.c
3088 (record_temporary_equivalences_from_stmts_at_dest): Ignore calls to
3089 __builtin_constant_p.
3090
3091 2009-01-16 Kenneth Zadeck <zadeck@naturalbridge.com>
3092
3093 * dce.c (delete_unmarked_insns): Reversed the order that insns are
3094 examined before deleting them.
3095
3096 2009-01-16 Richard Earnshaw <rearnsha@arm.com>
3097
3098 * function.c (aggregate_value_p): Correctly extract the function
3099 type from CALL_EXPR_FN lookup.
3100
3101 2009-01-16 Hariharan Sandanagobalane <hariharan@picochip.com>
3102
3103 * config/picochip/picochip.c (picochip_override_options): Revert
3104 CFI asm flag disable commited previously.
3105
3106 2009-01-15 Sebastian Pop <sebastian.pop@amd.com>
3107 Tobias Grosser <tobi.grosser@amd.com>
3108 Jan Sjodin <jan.sjodin@amd.com>
3109
3110 * graphite.c (scan_tree_for_params): On substractions negate
3111 all the coefficients of the term.
3112 (clast_to_gcc_expression_red): New. Handle reduction expressions
3113 of more than two operands.
3114 (clast_to_gcc_expression): Call clast_to_gcc_expression_red.
3115 (get_vdef_before_scop): Handle also the case of default definitions.
3116
3117 2009-01-15 Richard Sandiford <rdsandiford@googlemail.com>
3118
3119 * caller-save.c (add_used_regs_1, add_used_regs): New functions.
3120 (insert_one_insn): Use them instead of REG_DEAD and REG_INC notes.
3121 Also use them when walking CALL_INSN_FUNCTION_USAGE.
3122
3123 2009-01-15 H.J. Lu <hongjiu.lu@intel.com>
3124 Joey Ye <joey.ye@intel.com>
3125
3126 PR middle-end/37843
3127 * cfgexpand.c (expand_stack_alignment): Don't update stack
3128 boundary nor check incoming stack boundary here.
3129 (gimple_expand_cfg): Update stack boundary and check incoming
3130 stack boundary here.
3131
3132 2009-01-15 Kenneth Zadeck <zadeck@naturalbridge.com>
3133
3134 * dce.c (find_call_stack_args, delete_unmarked_insns): Fixed comments.
3135
3136 2009-01-14 Jakub Jelinek <jakub@redhat.com>
3137
3138 PR rtl-optimization/38245
3139 * calls.c (expand_call): Add stack arguments to
3140 CALL_INSN_FUNCTION_USAGE even for pure calls (when
3141 ACCUMULATE_OUTGOING_ARGS) and even for args partially passed
3142 in regs and partially in memory or BLKmode arguments.
3143 (emit_library_call_value_1): Add stack arguments to
3144 CALL_INSN_FUNCTION_USAGE even for pure calls (when
3145 ACCUMULATE_OUTGOING_ARGS).
3146 * dce.c: Include tm_p.h.
3147 (find_call_stack_args): New function.
3148 (deletable_insn_p): Call it for CALL_P insns. Add ARG_STORES
3149 argument.
3150 (mark_insn): Call find_call_stack_args for CALL_Ps.
3151 (prescan_insns_for_dce): Walk insns backwards in bb rather than
3152 forwards. Allocate and free arg_stores bitmap if needed, pass it
3153 down to deletable_insn_p, don't mark stores set in arg_stores
3154 bitmap, clear the bitmap at the beginning of each bb.
3155 * Makefile.in (dce.o): Depend on $(TM_P_H).
3156
3157 2009-01-14 Michael Meissner <gnu@the-meissners.org>
3158
3159 PR target/22599
3160 * config/i386/i386.c (print_operand): Add tests for 'D', 'C', 'F', 'f'
3161 to make sure the insn is a conditional test (bug 22599). Reformat a
3162 few long lines.
3163
3164 2009-01-14 Sebastian Pop <sebastian.pop@amd.com>
3165
3166 PR middle-end/38431
3167 * graphite.c (get_vdef_before_scop, scop_adjust_vphi): New.
3168 (scop_adjust_phis_for_liveouts): Call scop_adjust_vphi.
3169 (gloog): Do not call cleanup_tree_cfg.
3170 (graphite_transform_loops): Call cleanup_tree_cfg after all
3171 scops have been code generated.
3172
3173 2009-01-14 Basile Starynkevitch <basile@starynkevitch.net>
3174 * doc/gty.texi (Invoking the garbage collector): Added new node
3175 and section documenting ggc_collect.
3176
3177 2009-01-14 Richard Guenther <rguenther@suse.de>
3178
3179 PR tree-optimization/38826
3180 PR middle-end/38477
3181 * tree-ssa-structalias.c (emit_alias_warning): Emit the pointer
3182 initialization notes only if we actually emitted a warning.
3183 (intra_create_variable_infos): Add constraints for a result decl
3184 that is passed by hidden reference.
3185 (build_pred_graph): Mark all related variables non-direct on
3186 address-taking.
3187
3188 2009-01-14 Nick Clifton <nickc@redhat.com>
3189
3190 * ira-conflicts.c: Include addresses.h for the definition of
3191 base_reg_class.
3192 (ira_build_conflicts): Use base_reg_class instead of BASE_REG_CLASS.
3193 * Makefile.in: Add a dependency of ira-conflicts.o on addresses.h.
3194
3195 2009-01-13 Vladimir Makarov <vmakarov@redhat.com>
3196
3197 PR target/38811
3198 * Makefile.in (ira-lives.o): Add except.h.
3199
3200 * ira-lives.c: Include except.h.
3201 (process_bb_node_lives): Process can_throw_internal.
3202
3203 2009-01-13 Jakub Jelinek <jakub@redhat.com>
3204
3205 PR rtl-optimization/38774
3206 * combine.c (simplify_set): When undoing cc_use change, don't do
3207 PUT_CODE on the newly created comparison, but instead put back the
3208 old comparison.
3209
3210 2009-01-13 Joseph Myers <joseph@codesourcery.com>
3211
3212 * doc/invoke.texi (ARM Options): Update lists of -mcpu and -march
3213 values. Remove duplicate arm8 entry.
3214
3215 2009-01-13 Sebastian Pop <sebastian.pop@amd.com>
3216
3217 PR tree-optimization/38786
3218 * graphite.c (expand_scalar_variables_ssa_name): New, outlined from
3219 the SSA_NAME case of expand_scalar_variables_expr.
3220 Set the type of an expression to the type of its assign statement.
3221 (expand_scalar_variables_expr): Also gather the scalar computation
3222 used to index the memory access. Do not pass loop_p.
3223 Fix comment. Stop recursion on tcc_constant or tcc_declaration.
3224 (expand_scalar_variables_stmt): Pass to expand_scalar_variables_expr
3225 the gimple_stmt_iterator where it inserts new code.
3226 Do not pass loop_p.
3227 (copy_bb_and_scalar_dependences): Do not pass loop_p.
3228 (translate_clast): Update call to copy_bb_and_scalar_dependences.
3229
3230 2009-01-13 Sebastian Pop <sebastian.pop@amd.com>
3231
3232 * graphite.h (debug_value): Removed.
3233 * graphite.c (debug_value): Removed.
3234
3235 2009-01-13 Richard Earnshaw <rearnsha@arm.com>
3236
3237 * config/arm/arm.c (output_move_double): Don't synthesize thumb-2
3238 ldrd/strd with two 32-bit instructions.
3239
3240 2009-01-13 Richard Earnshaw <rearnsha@arm.com>
3241
3242 * config/arm/arm.c (struct processors): Pass for speed down into
3243 cost helper functions.
3244 (const_ok_for_op): Handle COMPARE and inequality nodes.
3245 (arm_rtx_costs_1): Rewrite.
3246 (arm_size_rtx_costs): Update prototype.
3247 (arm_rtx_costs): Pass speed down to helper functions.
3248 (arm_slowmul_rtx_costs): Rework cost calculations.
3249 (arm_fastmul_rtx_costs, arm_xscale_rtx_costs): Likewise.
3250 (arm_9e_rtx_costs): Likewise.
3251
3252 2009-01-13 Uros Bizjak <ubizjak@gmail.com>
3253
3254 * config/alpha/alpha.c (alpha_legitimate_address_p): Explicit
3255 relocations of local symbols wider than UNITS_PER_WORD are not valid.
3256 (alpha_legitimize_address): Do not split local symbols wider than
3257 UNITS_PER_WORD into HIGH/LO_SUM parts.
3258
3259 2009-01-13 Danny Smith <dannysmith@users.sourceforge.net>
3260
3261 PR bootstrap/38580
3262 * gcc.c (process_command): Replace call to execvp with calls
3263 to pex_one and exit.
3264
3265 2009-01-03 Anatoly Sokolov <aesok@post.ru>
3266
3267 PR target/29141
3268 * config/avr/t-avr (LIB1ASMFUNCS): Add _tablejump_elpm.
3269 * config/avr/libgcc.S (__do_global_ctors, __do_global_dtors): Add
3270 variant for devices with 3-byte PC.
3271 (__tablejump_elpm__) : New.
3272
3273 2009-01-12 Jakub Jelinek <jakub@redhat.com>
3274
3275 PR c/32041
3276 * c-parser.c (c_parser_postfix_expression): Allow `->' in
3277 offsetof member-designator, handle it as `[0].'.
3278
3279 2009-01-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3280
3281 * pa.c (pa_asm_output_mi_thunk): Use pc-relative branch to thunk
3282 function when not using named sections on targets with named sections
3283 if branch distance is less than 262132.
3284
3285 2009-01-12 Richard Earnshaw <rearnsha@arm.com>
3286
3287 * combine.c (combine_instructions): Recompute
3288 optimize_this_for_speed_p for each BB in the main combine loop.
3289
3290 2009-01-12 Tomas Bily <tbily@suse.cz>
3291
3292 PR middlend/38385
3293 * tree-loop-distribution.c (prop_phis): New function.
3294 (generate_builtin): Call prop_phis.
3295 * testsuite/gcc.dg/tree-ssa/pr38385.c: New file.
3296
3297 2009-01-12 Jakub Jelinek <jakub@redhat.com>
3298
3299 PR tree-optimization/38807
3300 * tree-ssa-reassoc.c (remove_visited_stmt_chain): Don't look at
3301 gimple_visited_p unless stmt is GIMPLE_ASSIGN.
3302
3303 2009-01-11 Adam Nemet <anemet@caviumnetworks.com>
3304
3305 * expmed.c (store_bit_field_1): Properly truncate the paradoxical
3306 subreg of op0 to the original op0.
3307
3308 2009-01-11 Laurent GUERBY <laurent@guerby.net>
3309
3310 * doc/sourcebuild.texi (Source Tree): Move up intl and fixinc.
3311
3312 2009-01-11 Markus Schoepflin <markus.schoepflin@comsoft.de>
3313
3314 PR debug/7055
3315 * gcc/mips-tfile.c (parse_def): Fix parsing of def strings
3316 starting with digits.
3317
3318 2009-01-10 Jakub Jelinek <jakub@redhat.com>
3319
3320 PR target/38695
3321 * config/arm/arm.c (arm_is_long_call_p): Don't call
3322 arm_function_in_section_p if decl isn't a FUNCTION_DECL.
3323
3324 2009-01-09 Steven Bosscher <steven@gcc.gnu.org>
3325
3326 * regrename.c (regrename_optimize): Fix dumping.
3327 (find_oldest_value_reg): Preserve REG_POINTER.
3328 (copy_hardreg_forward_1): Likewise.
3329
3330 2009-01-09 Diego Novillo <dnovillo@google.com>
3331
3332 * gimple.h (struct gimple_statement_base) <uid>: Document
3333 the restrictions on its use.
3334 (gimple_uid): Tidy.
3335 (gimple_set_uid): Tidy.
3336
3337 2009-01-09 Jakub Jelinek <jakub@redhat.com>
3338
3339 * config/i386/i386.c (ix86_expand_movmem, ix86_expand_setmem): Add
3340 zero guard even if align_bytes != 0 and count is smaller than
3341 size_needed.
3342
3343 2009-01-09 Vladimir Makarov <vmakarov@redhat.com>
3344
3345 PR rtl-optimization/38495
3346 * ira-emit.c (print_move_list, ira_debug_move_list): New functions.
3347 (add_range_and_copies_from_move_list): Print all added ranges.
3348 Add ranges to memory optimized destination.
3349
3350 2009-01-09 Jakub Jelinek <jakub@redhat.com>
3351
3352 PR target/38686
3353 PR target/38708
3354 * config/i386/i386.c (override_options): Reject
3355 -mstringop-strategy=rep_8byte with -m32.
3356 (ix86_expand_movmem): For size_needed == 1 set epilogue_size_needed
3357 to 1. Do count comparison against epilogue_size_needed at compile
3358 time even when count_exp was constant forced into register. For
3359 size_needed don't jump to epilogue, instead just avoid aligning
3360 and invoke the body algorithm. If need_zero_guard, add zero guard
3361 even if count is non-zero, but smaller than size_needed + number of
3362 bytes that could be stored for alignment.
3363 (ix86_expand_setmem): For size_needed == 1 set epilogue_size_needed
3364 to 1. If need_zero_guard, add zero guard even if count is non-zero,
3365 but smaller than size_needed + number of bytes that could be stored
3366 for alignment. Compare size_needed with epilogue_size_needed instead
3367 of desired_align - align, don't adjust size_needed, pass
3368 epilogue_size_needed to the epilogue expanders.
3369
3370 PR c/35742
3371 * c-pretty-print.c (pp_c_expression): Handle GOTO_EXPR like BIND_EXPR.
3372
3373 2009-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3374
3375 * pa.c (last_address): Change to unsigned.
3376 (update_total_code_bytes): Change argument to unsigned. Don't
3377 check if insn addresses are set.
3378 (pa_output_function_epilogue): Set last_address to UINT_MAX if insn
3379 addresses are not set.
3380 (pa_asm_output_mi_thunk): Handle wrap when updating last_address.
3381
3382 2009-01-09 Nick Clifton <nickc@redhat.com>
3383
3384 * config/sh/symbian.c: Replace uses of DECL_INLINE with
3385 DECL_DECLARED_INLINE_P.
3386
3387 2009-01-09 Jakub Jelinek <jakub@redhat.com>
3388
3389 PR middle-end/38347
3390 * dojump.c (do_jump_by_parts_zero_rtx): Use mode instead of
3391 GET_MODE (op0) in operand_subword_force calls.
3392
3393 PR middle-end/38771
3394 * fold-const.c (fold_unary): For COMPOUND_EXPR and COND_EXPR,
3395 fold_convert arg0 operands to TREE_TYPE (op0) first.
3396
3397 2009-01-08 Vladimir Makarov <vmakarov@redhat.com>
3398
3399 * params.def (ira-max-conflict-table-size): Decrease default value
3400 to 1000.
3401
3402 2009-01-08 Jakub Jelinek <jakub@redhat.com>
3403
3404 PR tree-optimization/37031
3405 * lambda-code.c (lambda_collect_parameters): Call pointer_set_destroy
3406 on parameter_set.
3407 (build_access_matrix): Reserve correct size for AM_MATRIX vector,
3408 allocate it using gc instead of heap, use VEC_quick_push instead of
3409 VEC_safe_push.
3410 * graphite.c (build_access_matrix): Allocate AM_MATRIX vector using gc
3411 instead of heap, use VEC_quick_push instead of VEC_safe_push.
3412 * tree-data-ref.h (struct access_matrix): Change matrix to gc
3413 allocated vector from heap allocated.
3414 * lambda.h: Add DEF_VEC_ALLOC_P for gc allocated lambda_vector.
3415 * tree-loop-linear.c (linear_transform_loops): Allocate nest
3416 vector only after perfect_loop_nest_depth call.
3417
3418 2009-01-08 Sebastian Pop <sebastian.pop@amd.com>
3419 Jan Sjodin <jan.sjodin@amd.com>
3420
3421 PR tree-optimization/38559
3422 * graphite.c (debug_value, copy_constraint,
3423 swap_constraint_variables, scale_constraint_variable, ): New.
3424 (get_lower_bound, get_upper_bound): Removed.
3425 (graphite_trans_bb_strip_mine): Clean up this code that works
3426 only for constant number of iterations. Fully copy upper and
3427 lower bound constraints, not only the constant part of them.
3428 * graphite.h (debug_value): Declared.
3429
3430 2009-01-08 Ira Rosen <irar@il.ibm.com>
3431
3432 PR tree-optimization/37194
3433 * tree-vect-transform.c (vect_estimate_min_profitable_iters):
3434 Don't add the cost of cost model guard in prologue to scalar
3435 outside cost in case of known number of iterations.
3436
3437 2009-01-07 Nathan Froyd <froydnj@codesourcery.com>
3438 Alan Modra <amodra@bigpond.net.au>
3439
3440 * config/rs6000/rs6000.c (rs6000_legitimize_address): Check for
3441 non-word-aligned REG+CONST addressing.
3442
3443 2009-01-07 Uros Bizjak <ubizjak@gmail.com>
3444
3445 PR target/38706
3446 * config/alpha/alpha.c (alpha_end_function): For TARGET_ABI_OSF, call
3447 free_after_compilation when outputting a thunk.
3448 (alpha_output_mi_thunk_osf): Assert that we are processing a thunk.
3449 Do not call free_after_compilation here.
3450
3451 2009-01-07 Uros Bizjak <ubizjak@gmail.com>
3452
3453 * config/i386/i386.c (ix86_target_string): Use ARRAY_SIZE.
3454 (ix86_valid_target_attribute_inner_p): Ditto.
3455
3456 2009-01-07 Jan Sjodin <jan.sjodin@amd.com>
3457
3458 PR tree-optimization/38492
3459 PR tree-optimization/38498
3460 * tree-check.c (operator_is_linear, scev_is_linear_expression): New.
3461 * tree-chrec.h (scev_is_linear_expression): Declared.
3462 * graphite.c (graphite_cannot_represent_loop_niter): New.
3463 (scopdet_basic_block_info): Call graphite_cannot_represent_loop_niter.
3464 (graphite_loop_normal_form): Use gcc_assert.
3465 (scan_tree_for_params): Use CASE_CONVERT.
3466 (phi_node_is_iv, bb_contains_non_iv_scalar_phi_nodes): New.
3467 (build_scop_conditions_1): Call bb_contains_non_iv_scalar_phi_nodes.
3468 Use gcc_assert. Discard scops that contain unhandled cases.
3469 (build_scop_conditions): Return a boolean status for unhandled cases.
3470 (strip_mine_profitable_p): Print the loop number, not its depth.
3471 (is_interchange_valid): Pass the depth of the loop nest, don't
3472 recompute it wrongly.
3473 (graphite_trans_bb_block): Same.
3474 (graphite_trans_bb_block): Print tentative of loop blocking.
3475 (graphite_trans_scop_block): Do not print that the loop has been
3476 blocked.
3477 (graphite_transform_loops): Do not handle scops that contain condition
3478 scalar phi nodes.
3479
3480 2009-01-07 H.J. Lu <hongjiu.lu@intel.com>
3481
3482 AVX Programming Reference (December, 2008)
3483 * config/i386/avxintrin.h (_mm256_stream_si256): New.
3484 (_mm256_stream_pd): Likewise.
3485 (_mm256_stream_ps): Likewise.
3486
3487 * config/i386/i386.c (ix86_builtins): Add IX86_BUILTIN_MOVNTDQ256,
3488 IX86_BUILTIN_MOVNTPD256 and IX86_BUILTIN_MOVNTPS256.
3489 (ix86_special_builtin_type): Add VOID_FTYPE_PV4DI_V4DI.
3490 (bdesc_special_args): Add __builtin_ia32_movntdq256,
3491 __builtin_ia32_movntpd256 and __builtin_ia32_movntps256.
3492 (ix86_init_mmx_sse_builtins): Handle VOID_FTYPE_PV4DI_V4DI.
3493 (ix86_expand_special_args_builtin): Likewise.
3494
3495 * config/i386/sse.md (AVXMODEDI): New.
3496 (avx_movnt<mode>): Likewise.
3497 (avx_movnt<mode>): Likewise.
3498 (<sse>_movnt<mode>): Remove AVX support.
3499 (sse2_movntv2di): Likewise.
3500
3501 2009-01-07 Richard Guenther <rguenther@suse.de>
3502
3503 PR middle-end/38751
3504 * fold-const.c (extract_muldiv): Remove obsolete comment.
3505 (fold_plusminus_mult_expr): Undo MINUS_EXPR
3506 to PLUS_EXPR canonicalization for the canonicalization.
3507
3508 2009-01-07 Gerald Pfeifer <gerald@pfeifer.com>
3509
3510 * doc/install.texi (alpha*-dec-osf*): Remove note on 32-bit
3511 hosted cross-compilers generating less efficient code.
3512
3513 2009-01-06 Richard Sandiford <rdsandiford@googlemail.com>
3514
3515 * function.h (rtl_data): Add a dbr_scheduled_p field.
3516 * reorg.c (dbr_schedule): Set it.
3517 (gate_handle_delay_slots): Check it.
3518 * config/mips/mips.c (mips_base_delayed_branch): Delete.
3519 (mips_reorg): Check flag_delayed_branch instead of
3520 mips_base_delayed_branch.
3521 (mips_override_options): Don't set mips_base_delayed_branch
3522 or flag_delayed_branch.
3523
3524 2009-01-06 Richard Sandiford <rdsandiford@googlemail.com>
3525
3526 PR rtl-optimization/38426.
3527 * ira.c (ira): Set current_function_is_leaf earlier.
3528
3529 2009-01-06 Jakub Jelinek <jakub@redhat.com>
3530
3531 PR rtl-optimization/38722
3532 * combine.c (try_combine): Don't modify PATTERN (i3) and notes
3533 too early, only set a flag and modify after last possible
3534 undo_all point.
3535
3536 2009-01-06 Janis Johnson <janis187@us.ibm.com>
3537
3538 PR c/34252
3539 * ginclude/float.h: Rename DECnn_DEN to DECnn_SUBNORMAL_MIN.
3540 * real.c (decimal_single_format): Correct values of emin and emax.
3541 (decimal_double_format): Ditto.
3542 (decimal_quad_format): Ditto.
3543 * c-cppbuiltin.c (builtin_define_decimal_float_constants): Adjust
3544 computation of DECnn_MIN and DECnn_MAX for corrected values of
3545 emin and emax. Define __DECnn_SUBNORMAL_MIN__ instead of
3546 __DECnn_MIN__, and adjust its computation for the corrected value
3547 of emin.
3548
3549 2009-01-06 Jan Hubicka <jh@suse.cz>
3550
3551 PR target/38744
3552 * config/i386/i386.c (ix86_expand_call): Use ARRAY_SIZE.
3553
3554 2009-01-06 Gerald Pfeifer <gerald@pfeifer.com>
3555
3556 * doc/contrib.texi (Contributors): Slightly adjust the end note.
3557 Add Robert Clark to the list of testers.
3558
3559 2009-01-06 Jan Hubicka <jh@suse.cz>
3560 Kai Tietz <kai.tietz@onevision.com>
3561
3562 * config/i386/i386.md (*msabi_syvabi): Add SSE regs clobbers.
3563 * config/i386/i386.c (ix86_expand_call): Add clobbers.
3564
3565 2009-01-06 Jan Hubicka <jh@suse.cz>
3566 Kai Tietz <kai.tietz@onevision.com>
3567
3568 * config/i386/i386.h (CONDITIONAL_CALL_USAGE): SSE regs are not used
3569 for w64 ABI.
3570 * config/i386/i386.c (struct ix86_frame): Add padding0 and nsseregs.
3571 (ix86_nsaved_regs): Count only general purpose regs.
3572 (ix86_nsaved_sseregs): New.
3573 (ix86_compute_frame_layout): Update nsseregs; set preferred alignment
3574 to 16 for w64; compute padding and size of sse reg save area.
3575 (ix86_emit_save_regs, ix86_emit_save_regs_using_mov): Save only
3576 general purpose regs.
3577 (ix86_emit_save_sse_regs_using_mov): New.
3578 (ix86_expand_prologue): Save SSE regs if needed.
3579 (ix86_emit_restore_regs_using_mov): Use only general purpose regs.
3580 (ix86_emit_restore_sse_regs_using_mov): New.
3581 (ix86_expand_epilogue): Save SSE regs if needed.
3582
3583 2009-01-06 Jan Hubicka <jh@suse.cz>
3584 Kai Tietz <kai.tietz@onevision.com>
3585
3586 * config/i386/i386.h (ACCUMULATE_OUTGOING_ARGS): Enable for MSABI
3587 * config/i386/i386.c (init_cumulative_args): Disallow calls of MSABI
3588 functions when accumulate outgoing args is off.
3589
3590 2009-01-06 H.J. Lu <hongjiu.lu@intel.com>
3591
3592 PR bootstrap/38742
3593 * ira-color.c (ira_reuse_stack_slot): Check ENABLE_IRA_CHECKING
3594 before using pseudos_have_intersected_live_ranges_p.
3595
3596 * ira-int.h (ira_assert): Always define.
3597
3598 2009-01-06 H.J. Lu <hongjiu.lu@intel.com>
3599
3600 AVX Programming Reference (December, 2008)
3601 * config/i386/avxintrin.h (_mm_permute2_pd): Removed.
3602 (_mm256_permute2_pd): Likewise.
3603 (_mm_permute2_ps): Likewise.
3604 (_mm256_permute2_ps): Likewise.
3605 * config/i386/i386.md (UNSPEC_VPERMIL2): Likewise.
3606 * config/i386/sse.md (avx_vpermil2<mode>3): Likewise.
3607
3608 * config/i386/i386.c (ix86_builtins): Remove
3609 IX86_BUILTIN_VPERMIL2PD, IX86_BUILTIN_VPERMIL2PS,
3610 IX86_BUILTIN_VPERMIL2PD256 and IX86_BUILTIN_VPERMIL2PS256.
3611 (ix86_builtin_type): Remove V8SF_FTYPE_V8SF_V8SF_V8SI_INT,
3612 V4DF_FTYPE_V4DF_V4DF_V4DI_INT, V4SF_FTYPE_V4SF_V4SF_V4SI_INT
3613 and V2DF_FTYPE_V2DF_V2DF_V2DI_INT.
3614 (bdesc_args): Remove __builtin_ia32_vpermil2pd,
3615 __builtin_ia32_vpermil2ps, __builtin_ia32_vpermil2pd256 and
3616 __builtin_ia32_vpermil2ps256.
3617 (ix86_init_mmx_sse_builtins): Updated.
3618 (ix86_expand_args_builtin): Likewise.
3619
3620 2009-01-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3621
3622 * pa.c (output_call): Relocate non-jump insns in the delay slot of
3623 long absolute calls when generating PA 2.0 code.
3624
3625 2009-01-05 Vladimir Makarov <vmakarov@redhat.com>
3626
3627 PR rtl-optimization/38583
3628 * params.h (IRA_MAX_CONFLICT_TABLE_SIZE): New macro.
3629
3630 * params.def (ira-max-conflict-table-size): New.
3631
3632 * doc/invoke.texi (ira-max-conflict-table-size): Decribe.
3633
3634 * ira.h (ira_conflicts_p): New external definition.
3635
3636 * ira-conflicts.c (build_conflict_bit_table): Do not build too big
3637 table. Report this. Return result of building.
3638 (ira_build_conflicts): Use ira_conflicts_p. Check result of
3639 building conflict table.
3640
3641 * ira-color.c (fast_allocation): Use num instead of ira_allocnos_num.
3642 (ira_color): Use ira_conflicts_p.
3643
3644 * global.c: Include ira.h.
3645 (pseudo_for_reload_consideration_p, build_insn_chain): Use
3646 ira_conflicts_p.
3647
3648 * Makefile.in (global.o): Add ira.h.
3649
3650 * ira-build.c (mark_all_loops_for_removal,
3651 propagate_some_info_from_allocno): New.
3652 (remove_unnecessary_allocnos): Call
3653 propagate_some_info_from_allocno.
3654 (remove_low_level_allocnos): New.
3655 (remove_unnecessary_regions): Add parameter. Call
3656 mark_all_loops_for_removal and remove_low_level_allocnos. Pass
3657 parameter to remove_unnecessary_regions.
3658 (ira_build): Remove all regions but root if the conflict table was
3659 not built. Update conflict hard regs for allocnos crossing calls.
3660
3661 * ira.c (ira_conflicts_p): New global.
3662 (ira): Define and use ira_conflicts_p.
3663
3664 * reload1.c (compute_use_by_pseudos, reload, count_pseudo,
3665 count_spilled_pseudo, find_reg, alter_reg, finish_spills,
3666 emit_input_reload_insns, delete_output_reload): Use ira_conflicts_p.
3667
3668 2009-01-06 Ben Elliston <bje@au.ibm.com>
3669
3670 * gengtype-lex.l (YY_NO_INPUT): Define.
3671
3672 2009-01-05 Andrew Pinski <andrew_pinski@playstation.sony.com>
3673
3674 PR c/34911
3675 * c-common.c (handle_vector_size_attribute): Also reject
3676 BOOLEAN_TYPE types.
3677
3678 2009-01-05 Sebastian Pop <sebastian.pop@amd.com>
3679
3680 PR tree-optimization/38492
3681 * graphite.c (rename_map_elt, debug_rename_elt,
3682 debug_rename_map_1, debug_rename_map, new_rename_map_elt,
3683 rename_map_elt_info, eq_rename_map_elts,
3684 get_new_name_from_old_name, bb_in_sese_p): Moved around.
3685 (sese_find_uses_to_rename_use): Renamed sese_build_livein_liveouts_use.
3686 (sese_find_uses_to_rename_bb): Renamed sese_build_livein_liveouts_bb.
3687 (sese_build_livein_liveouts): New.
3688 (new_sese, free_sese): New.
3689 (new_scop): Call new_sese.
3690 (free_scop): Call free_sese.
3691 (rename_variables_from_edge, rename_phis_end_scop): Removed.
3692 (register_old_new_names): Renamed register_old_and_new_names.
3693 (register_scop_liveout_renames, add_loop_exit_phis,
3694 insert_loop_close_phis, struct igp,
3695 default_liveout_before_guard, add_guard_exit_phis,
3696 insert_guard_phis, copy_renames): New.
3697 (translate_clast): Call insert_loop_close_phis and insert_guard_phis.
3698 (sese_add_exit_phis_edge): Renamed scop_add_exit_phis_edge.
3699 (rewrite_into_sese_closed_ssa): Renamed scop_insert_phis_for_liveouts.
3700 (scop_adjust_phis_for_liveouts): New.
3701 (gloog): Call scop_adjust_phis_for_liveouts.
3702
3703 * graphite.h (struct sese): Documented. Added fields liveout,
3704 num_ver and livein.
3705 (SESE_LIVEOUT, SESE_LIVEIN, SESE_LIVEIN_VER, SESE_NUM_VER): New.
3706 (new_sese, free_sese, sese_build_livein_liveouts): Declared.
3707 (struct scop): Added field liveout_renames.
3708 (SCOP_LIVEOUT_RENAMES): New.
3709
3710 2009-01-05 Harsha Jagasia <harsha.jagasia@amd.com>
3711
3712 PR tree-optimization/38510
3713 * graphite.c (recompute_all_dominators): Call mark_irreducible_loops.
3714 (translate_clast): Call recompute_all_dominators before
3715 graphite_verify.
3716 (gloog): Call recompute_all_dominators before graphite_verify.
3717
3718 2009-01-05 Harsha Jagasia <harsha.jagasia@amd.com>
3719 Jan Sjodin <jan.sjodin@amd.com>
3720
3721 PR tree-optimization/38500
3722 * graphite.c (create_sese_edges): Call fix_loop_structure after
3723 splitting blocks.
3724
3725 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
3726
3727 * config.gcc: Add m32r*-*-rtems*.
3728 * config/m32r/rtems.h: New file.
3729
3730 2009-01-05 Ben Elliston <bje@au.ibm.com>
3731
3732 * Makefile.in (.po.gmo): Use mkinstalldirs, not test -d || mkdir.
3733 (.po.pox): Likewise.
3734 (po/gcc.pot): Likewise.
3735
3736 2009-01-04 David S. Miller <davem@davemloft.net>
3737
3738 * config/sparc/sparc.h (SECONDARY_MEMORY_NEEDED_RTX): Delete.
3739 (STARTING_FRAME_OFFSET): Always set to zero.
3740
3741 2009-01-04 Richard Sandiford <rdsandiford@googlemail.com>
3742
3743 * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Add commentary.
3744 * tree-cfg.c (verify_gimple_assign_binary): Allow shifts of
3745 fixed-point types, and vectors of the same.
3746
3747 2009-01-04 Richard Sandiford <rdsandiford@googlemail.com>
3748
3749 * config/mips/sync.md (*mb_barrier): Rename to...
3750 (*memory_barrier): ...this.
3751
3752 2009-01-04 Jonathan Wakely <jwakely.gcc@gmail.com>
3753
3754 * doc/extend.texi (Function Attributes): Move @cindex after @item
3755 for 'artificial' and 'flatten'. Fix grammar for 'externally_visible'
3756 and put in alphabetical order. Fix 'target' name and put in order.
3757 * doc/invoke.texi (-Wstrict-null-sentinel, -fipa-matrix-reorg): Fix
3758 typos.
3759
3760 2009-01-04 Uros Bizjak <ubizjak@gmail.com>
3761
3762 * config/s390/s390.md (UNSPEC_MB): Rename from UNSPECV_MB.
3763 (memory_barrier): Expand as unspec instead of unspec_volatile.
3764 Remove mem:BLK from insn operands. Use Pmode scratch register.
3765 (*memory_barrier): Define as unspec instead of unspec_volatile.
3766 Use (match_dup 0) as input operand.
3767
3768 * config/sparc/sparc.md (UNSPEC_MEMBAR): Rename from UNSPECV_MEMBAR.
3769 * config/sparc/sync.md (memory_barrier): Expand as unspec instead of
3770 unspec_volatile. Remove mem:BLK from insn operands. Use Pmode
3771 scratch register. Remove operand 1.
3772 (*stbar): Define as unspec instead of unspec_volatile.
3773 Use (match_dup 0) as input operand, remove (const_int 8).
3774 (*membar): Define as unspec instead of unspec_volatile.
3775 Use (match_dup 0) as input operand, remove input operand 2.
3776
3777 * config/xtensa/xtensa.md (UNSPEC_MEMW): Rename from UNSPECV_MEMW.
3778 (memory_barrier): Expand as unspec instead of unspec_volatile.
3779 Remove mem:BLK from insn operands. Use Pmode scratch register.
3780 (*memory_barrier): Define as unspec instead of unspec_volatile.
3781 Use (match_dup 0) as input operand.
3782
3783 * config/ia64/sync.md (memory_barrier): Redefine as expander pattern.
3784 Remove mem:BLK from insn operands. Use Pmode scratch register.
3785 Set volatile flag on operand 0.
3786 (*memory_barrier): New insn pattern.
3787
3788 * config/rs6000/sync.md (memory_barrier): Remove mem:BLK from
3789 insn operands.
3790 (*memory_barrier): Use (match_dup 0) as input operand.
3791
3792 * config/mips/sync.md (memory_barrier): Redefine as expander pattern.
3793 Remove mem:BLK from insn operands. Use Pmode scratch register.
3794 Set volatile flag on operand 0.
3795 (*mb_internal): New insn pattern.
3796
3797 * config/alpha/sync.md (*memory_barrier): Rename from *mb_internal.
3798
3799 2009-01-04 Steven Bosscher <steven@gcc.gnu.org>
3800
3801 PR middle-end/38586
3802 * function.c (struct temp_slot): Move to the section of the file
3803 that deals with temp slots. Remove field 'address'.
3804 (temp_slot_address_table): New hash table of address -> temp slot.
3805 (struct temp_slot_address_entry): New struct, items for the table.
3806 (temp_slot_address_compute_hash, temp_slot_address_hash,
3807 temp_slot_address_eq, insert_temp_slot_address): Support functions
3808 for the new table.
3809 (find_temp_slot_from_address): Rewrite to use the new hash table.
3810 (remove_unused_temp_slot_addresses): Remove addresses of temp
3811 slots that have been made available.
3812 (remove_unused_temp_slot_addresses_1): Call-back for htab_traverse,
3813 worker function for remove_unused_temp_slot_addresses.
3814 (assign_stack_temp_for_type): Don't clear the temp slot address list.
3815 Add the temp slot address to the address -> temp slot map.
3816 (update_temp_slot_address): Update via insert_temp_slot_address.
3817 (free_temp_slots): Call remove_unused_temp_slot_addresses.
3818 (pop_temp_slots): Likewise.
3819 (init_temp_slots): Allocate the address -> temp slot map, or empty
3820 the map if it is already allocated.
3821 (prepare_function_start): Initialize temp slot processing.
3822
3823 2009-01-04 Steven Bosscher <steven@gcc.gnu.org>
3824
3825 PR middle-end/38584
3826 * cfgexpand.c (estimate_stack_frame_size): Simplify the estimate:
3827 Calculate the size of all stack vars assuming no packing of stack
3828 vars will happen, replacing a quadratic algorithm with a linear one.
3829
3830 2009-01-03 Jakub Jelinek <jakub@redhat.com>
3831
3832 PR target/38707
3833 * expmed.c (store_bit_field_1): Don't modify op0 if movstrict insn
3834 can't be used.
3835
3836 2009-01-03 Diego Novillo <dnovillo@google.com>
3837
3838 * doc/contrib.texi: Update contributions.
3839
3840 2009-01-03 Jakub Jelinek <jakub@redhat.com>
3841
3842 PR c++/38705
3843 * builtins.c (fold_builtin_memory_op): Give up if either operand
3844 is volatile. Set srctype or desttype to non-qualified version
3845 of the other type.
3846
3847 PR c/38700
3848 * builtins.c (fold_builtin_expect): Only check DECL_WEAK for VAR_DECLs
3849 and FUNCTION_DECLs.
3850
3851 2009-01-02 Kenneth Zadeck <zadeck@naturalbridge.com>
3852
3853 PR rtl-optimization/35805
3854 * df-problems.c (df_lr_finalize): Add recursive call to resolve lr
3855 problem if fast dce is able to remove any instructions.
3856 * dce.c (dce_process_block): Fix dump message.
3857
3858 2009-01-02 Mark Mitchell <mark@codesourcery.com>
3859
3860 PR 33649
3861 * tree-ssa-pre.c (compute_antic): Correct loop bounds.
3862
3863 2009-01-02 Jakub Jelinek <jakub@redhat.com>
3864
3865 PR middle-end/38690
3866 * tree-flow.h (op_code_prio, op_prio): New prototypes.
3867 * tree-pretty-print.c (op_code_prio): New function.
3868 (op_prio): No longer static. Use op_code_prio.
3869 * gimple-pretty-print.c (dump_unary_rhs, dump_binary_rhs):
3870 Use op_prio and op_code_prio to determine if () should be
3871 printed around operand(s) or not.
3872
3873 * gimple-pretty-print.c (dump_unary_rhs, dump_binary_rhs,
3874 dump_gimple_call, dump_gimple_switch, dump_gimple_cond,
3875 dump_gimple_label, dump_gimple_try, dump_symbols, dump_gimple_phi,
3876 dump_gimple_mem_ops, dump_bb_header, dump_bb_end, pp_cfg_jump): Use
3877 pp_character instead of pp_string for single letter printing.
3878
3879 2009-01-02 Richard Sandiford <rdsandiford@googlemail.com>
3880
3881 * doc/extend.texi: Fix '#pragma GCC option' typo.
3882
3883 2009-01-02 Richard Guenther <rguenther@suse.de>
3884
3885 * doc/install.texi (--enable-checking): Mention different
3886 default for stage1.
3887 (--enable-stage1-checking): Document.
3888
3889 2009-01-01 Andrew Pinski <pinskia@gmail.com>
3890
3891 PR middle-end/30142
3892 * tree-cfg.c (verify_expr): Add INDIRECT_REF case. Change MODIFY_EXPR
3893 case to be an error.
3894
3895 2009-01-02 Ben Elliston <bje@au.ibm.com>
3896
3897 * config/fp-bit.h (pack_d): Constify argument.
3898 * config/fp-bit.c (makenan): Constify return type. Remove casts.
3899 (isnan): Constify argument.
3900 (isinf): Likewise.
3901 (iszero): Likewise.
3902 (pack_d): Likewise.
3903 (_fpadd_parts): Constify return type.
3904 (_fpmul_parts): Likewise.
3905 (_fpdiv_parts): Likewise.
3906
3907 2009-01-01 Jakub Jelinek <jakub@redhat.com>
3908
3909 PR c/36489
3910 * c-typeck.c (add_pending_init): Add IMPLICIT argument. Only
3911 warn about overwriting initializer with side-effects or
3912 -Woverride-init if !IMPLICIT.
3913 (output_init_element): Likewise. Pass IMPLICIT down to
3914 add_pending_init.
3915 (process_init_element): Add IMPLICIT argument. Pass it down
3916 to output_init_element.
3917 (push_init_element, pop_init_level, set_designator): Adjust
3918 process_init_element callers.
3919 (set_nonincremental_init, set_nonincremental_init_from_string):
3920 Adjust add_pending_init callers.
3921 (output_pending_init_elements): Adjust output_init_element callers.
3922 * c-tree.h (process_init_element): Adjust prototype.
3923 * c-parser.c (c_parser_initelt, c_parser_initval): Adjust
3924 process_init_element callers.