re PR bootstrap/35273 (Bootstrap of mingw32 using non-MSYS shell broken)
[gcc.git] / gcc / ChangeLog
1 2008-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2
3 PR bootstrap/35273
4 * config.build (build_file_translate): Set to `CMD //c' only if
5 it works.
6 * Makefile.in (build_file_translate): Improve comment.
7
8 2008-02-21 Jan Hubicka <jh@suse.cz>
9
10 * predict.def (PRED_TREE_OPCODE_POSITIVE, PRED_TREE_OPCODE_NONEQUAL,
11 PRED_TREE_OPCODE_POSITIVE, PRED_TREE_OPCODE_NONEQUAL, PRED_CALL,
12 PRED_TREE_EARLY_RETURN, PRED_NULL_RETURN): Update.
13
14 2008-02-21 Michael Matz <matz@suse.de>
15
16 PR target/35264
17 * config/i386/i386.c (ix86_expand_branch): Add missing breaks.
18
19 2008-02-21 Uros Bizjak <ubizjak@gmail.com>
20
21 * config/i386/i386.md (mov<mode>cc): Macroize expander from movsfcc,
22 movdfcc and movxfcc using X87MODEF mode iterator and SSE_FLOAT_MODE_P
23 as insn constraint.
24 * config/i386/sse.md (<sse>_movup<ssemodesuffixf2c>): Macroize insn
25 from sse_movups adn sse2_movupd using SSEMODEF2P mode iterator and
26 SSE_VEC_FLOAT_MODE_P as insn constraint.
27 (<sse>_movmskp<ssemodesuffixf2c>): Ditto from similar patterns.
28 (sse4a_movnt<mode>): Macroize insn from sse4a_movntsf and
29 sse4a_movntdf using MODEF mode iterator.
30 (sse4a_vmmovnt<mode>): Macroize insn form sse4a_vmmovntv2df and
31 sse4a_vmmovntv4sf using SSEMODEF2P mode iterator.
32 (sse4_1_blendp<ssemodesuffixf2c>): Ditto from similar patterns.
33 (sse4_1_blendvp<ssemodesuffixf2c>): Ditto.
34 (sse4_1_dpp<ssemodesuffixf2c>): Ditto.
35 (sse4_1_roundp<ssemodesuffixf2c>): Ditto.
36 (sse4_1_rounds<ssemodesuffixf2c>): Ditto.
37
38 2008-02-21 Richard Guenther <rguenther@suse.de>
39
40 * tree.def (PAREN_EXPR): New tree code.
41 * fold-const.c (fold_unary): Remove PAREN_EXPR around constants
42 and PAREN_EXPR.
43 * tree-pretty-print.c (dump_generic_node): Handle PAREN_EXPR.
44 * expr.c (expand_expr_real_1): Likewise.
45 * tree-inline.c (estimate_num_insns_1): Likewise.
46 * tree-complex.c (expand_complex_move): Likewise.
47 * tree-vectorizer.c (vect_is_simple_use): Treat PAREN_EXPR (x)
48 as plain x.
49
50 2008-02-20 Kaz Kojima <kkojima@gcc.gnu.org>
51
52 PR target/35225
53 * config/sh/sh.c (find_barrier): Don't go past 'from' argument.
54
55 2008-02-20 Kaz Kojima <kkojima@gcc.gnu.org>
56
57 PR target/35190
58 * config/sh/sh.md (jump_compact): Disable for crossing jumps.
59
60 * config/sh/sh.c (find_barrier): Don't go past
61 NOTE_INSN_SWITCH_TEXT_SECTIONS note.
62
63 2008-02-20 DJ Delorie <dj@redhat.com>
64
65 * config/h8300/h8300.md (insv): Force source operand to be a register.
66
67 * config/h8300/h8300.c (h8300_expand_epilogue): Emit return insn
68 as a jump, not as a plain insn.
69
70 2008-02-20 Seongbae Park <seongbae.park@gmail.com>
71
72 * doc/invoke.texi (Warning Options): Add new option
73 -Wframe-larger-than=.
74 (-Wframe-larger-than): Document.
75
76 * flags.h (warn_frame_larger_than, frame_larger_than_size):
77 Add declarations for new option variables.
78
79 * final.c (final_start_function): Check the frame size
80 before emission and issue a Wframe-larger-than warning.
81
82 * opts.c (warn_frame_larger_than, frame_larger_than_size):
83 Add definitions for new option variables.
84 (common_handle_option): Handle new option OPT_Wframe_larger_than_.
85
86 * common.opt (Wframe-larger-than=): New option.
87
88 2008-02-20 Uros Bizjak <ubizjak@gmail.com>
89
90 * config/i386/sse.md (<sse>_vmmul<mode>3): Fix typo in asm template.
91 (<sse>_div<mode>3): Ditto.
92 (<sse>_vmdiv<mode>3): Ditto.
93 (<sse>_vmsqrt<mode>2): Ditto.
94 (*smax<mode>3): Ditto.
95 (sse5_frcz<mode>2): Ditto.
96 (sse5_vmfrcz<mode>2): Ditto. Use TARGET_SSE5 instead of TARGET_ROUND
97 as insn constraint.
98
99 2008-02-20 Richard Guenther <rguenther@suse.de>
100
101 PR middle-end/35265
102 * builtins.c (validate_arg): If we want an INTEGER_TYPE,
103 be happy with INTEGRAL_TYPE_P.
104
105 2008-02-20 Richard Guenther <rguenther@suse.de>
106
107 * fold-const.c (split_tree): Associate floatig-point expressions
108 if flag_associative_math is set.
109
110 2008-02-20 Richard Guenther <rguenther@suse.de>
111
112 * tree.h (fold_real_zero_addition_p): Declare.
113 * fold-const.c (fold_real_zero_addition_p): Export.
114 * tree-ssa-reassoc.c (eliminate_using_constants): Also handle
115 floating-point operations with zero and one.
116
117 2008-02-20 Paolo Bonzini <bonzini@gnu.org>
118
119 * doc/install.texi: Correct references to CFLAGS, replacing them
120 with BOOT_CFLAGS. Document flags used during bootstrap for
121 target libraries.
122
123 2008-02-20 Uros Bizjak <ubizjak@gmail.com>
124
125 * config/i386/i386.h (SSE_VEC_FLOAT_MODE_P): New define.
126 * config/i386/i386.md (*sse_setcc<mode>): Macroize from *sse_setccsf
127 and *sse_setccdf using MODEF mode iterator and SSE_FLOAT_MODE_P as
128 insn constraint.
129 (smin<mode>3): Ditto from similar patterns.
130 (smax<mode>3): Ditto.
131 (*ieee_smin<mode>3): Ditto.
132 (*ieee_smax<mode>3): Ditto.
133 * config/i386/sse.md (sse): New mode attribute.
134 (mov<mode>): Macroize expander from movv4sf and movv2df using
135 SSEMODEF2P mode iterator.
136 (<sse>_movnt<mode>): Ditto from similar patterns. Use
137 SSE_VEC_FLOAT_MODE_P as insn constraint.
138 (storent<mode>): Ditto.
139 (storent<mode>): Macroize expander from storentsf and storentdf using
140 MODEF mode iterator.
141 (neg<mode>2): Macroize from negv4sf2 and negv2df2 using SSEMODEF2P
142 mode iterator and SSE_VEC_FLOAT_MODE_P as insn constraint.
143 (abs<mode>2): Ditto from similar patterns.
144 (add<mode>3, *add<mode>3, <sse>_vmadd<mode>3): Ditto.
145 (sub<mode>3, *sub<mode>3, <sse>_vmsub<mode>3): Ditto.
146 (<sse>_div<mode>3, <sse>_vmdiv<mode>3): Ditto.
147 (<sse>_vmsqrt<mode>2): Ditto.
148 (smin<mode>3, *smin<mode>3_finite, *smin<mode>3)
149 (<sse>_vmsmin<mode>3, *ieee_smin<mode>3): Ditto.
150 (smax<mode>3, *smax<mode>3_finite, *smax<mode>3)
151 (<sse>_vmsmax<mode>3, *ieee_smax<mode>3): Ditto.
152 (<sse>_maskcmp<mode>3): Macroize from sse_maskcmpv4sf3,
153 sse_maskcmpsf3, sse2_maskcmpv2df3 and sse2_maskcmpdf3 using SSEMODEF4
154 mode iterator. Use SSE_FLOAT_MODE_P with SSE_VEC_FLOAT_MODE_P as
155 insn constraint.
156 (<sse>_comi): Macroize from sse_comi and sse2_comi using MODEF mode
157 iterator and SSE_FLOAT_MODE_P as insn constraint.
158 (<sse>_ucomi): Ditto from similar patterns.
159 (<sse>_vmmaskcmp<mode>3): Macroize from sse_vmmaskcmpv4sf3 and
160 sse2_vmmaskcmpv2df3 using SSEMODEF2P mode iterator and
161 SSE_VEC_FLOAT_MODE_P as insn constraint.
162 (vcond<mode>): Ditto from similar patterns.
163 (and<mode>3, *and<mode>3): Ditto.
164 (<sse>_nand<mode>3): Ditto.
165 (ior<mode>3, *ior<mode>3): Ditto.
166 (xor<mode>3, *xor<mode>3): Ditto.
167 (*and<mode>3): Macroize from *andsf3 and *anddf3 using MODEF mode
168 iterator and SSE_FLOAT_MODE_P as insn constraint.
169 (*nand<mode>3): Ditto from similar patterns.
170 (*ior<mode>3): Ditto.
171 (*xor<mode>3): Ditto.
172
173 2008-02-20 Ira Rosen <irar@il.ibm.com>
174
175 * config/spu/spu.md (vec_unpacku_hi_v8hi, vec_unpacku_lo_v8hi,
176 vec_unpacks_hi_v8hi, vec_unpacks_lo_v8hi, vec_unpacku_hi_v16qi,
177 vec_unpacku_lo_v16qi, vec_unpacks_lo_v16qi): Implement.
178
179 2008-02-19 Jan Hubicka <jh@suse.cz>
180
181 * predict.c (tree_bb_level_predictions): Remove variable next
182 mistakely introduced by previous commit.
183
184 2008-02-19 Jan Hubicka <jh@suse.cz>
185
186 * predict.c (predict_paths_leading_to): Rewrite.
187 (predict_paths_for_bb): New.
188 (tree_bb_level_predictions): Update call of predict_paths_leading_to.
189
190 2008-02-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
191
192 PR bootstrap/35218
193 * Makefile.in (build_file_translate): New.
194 (gcc-vers.texi): Use it for translating $(abs_srcdir).
195 * config.build (build_file_translate): Set to `CMD //c' on MinGW.
196 * configure.ac (build_file_translate): Substitute it.
197 * configure: Regenerate.
198
199 2008-02-19 Jan Hubicka <jh@suse.cz>
200
201 PR rtl-optimization/34408
202 * see.c (see_def_extension_not_merged): Copy subreg so we don't have
203 invalid sharing.
204
205 2008-02-19 Jan Hubicka <jh@suse.cz>
206
207 PR middle-end/28779
208 * tree-inline.c (estimate_num_insns_1): Fix counting of cost of
209 call_expr.
210
211 2008-02-19 H.J. Lu <hongjiu.lu@intel.com>
212
213 PR Ada/35186
214 * config/i386/i386-modes.def: Revert the last DI alignment
215 change until Ada people can look into it.
216
217 2008-02-19 Nick Clifton <nickc@redhat.com>
218
219 * opts.c (print_specific_help): Fix typo in --help text.
220
221 2008-02-19 Jakub Jelinek <jakub@redhat.com>
222
223 PR target/35239
224 * config/i386/cpuid.h (__cpuid, __get_cpuid_max): Use special
225 32-bit inline asm without asm alternatives for host GCC < 3.0.
226
227 2008-02-19 Richard Guenther <rguenther@suse.de>
228
229 PR tree-optimization/34989
230 * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Re-structure.
231 Allow propagation to INDIRECT_REF if we can simplify only.
232
233 2008-02-19 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
234
235 * c-common.c (warn_for_collisions_1): Use appropriate option when
236 warning.
237
238 2008-02-19 Nick Clifton <nickc@redhat.com>
239
240 PR other/31349
241 * opts.c (undocumented_msg): Leave blank unless checking is enabled.
242 (handle_options): Fix indentation.
243 (print_filtered_help): If no language-specific options were
244 displayed tell the user how to list all the options supported by
245 the language's front-end.
246 (print_specific_help): Fix indentation and remove duplicate line.
247 (common_handle_option): Handle the -v option.
248 For --help enable the display of undocumented options if the -v
249 switch has been included on the command line.
250 For --help= check for overlaps in the arguments between the option
251 classes and the language names and issue a warning when they
252 cannot be disambiguated.
253 * c.opt (v): Pass on to the common option handler.
254
255 2008-02-19 Revital Eres <eres@il.ibm.com>
256
257 * modulo-sched.c (sms_schedule): Change dump message when
258 create_ddg function fails.
259 (try_scheduling_node_in_cycle): Rename row to cycle.
260 (print_partial_schedule): Rename CYCLE to ROW.
261
262 2008-02-19 Christian Bruel <christian.bruel@st.com>
263 Zdenek Dvorak <ook@ucw.cz>
264
265 * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Check step alignment.
266
267 2008-02-19 Uros Bizjak <ubizjak@gmail.com>
268
269 PR target/33555
270 * config/i386/i386.md (*x86_movsicc_0_m1_se): New insn pattern.
271 (*x86_movdicc_0_m1_se): Ditto.
272
273 2008-02-19 Uros Bizjak <ubizjak@gmail.com>
274
275 * config/i386/sfp-machine.h (__gcc_CMPtype): New typedef.
276 (CMPtype): Define as __gcc_CMPtype.
277 * config/rs6000/sfp-machine.h (__gcc_CMPtype): New typedef.
278 (CMPtype): Define as __gcc_CMPtype.
279
280 2008-02-19 Hans-Peter Nilsson <hp@axis.com>
281
282 Support valgrind 3.3 for --enable-checking=valgrind.
283 * system.h: Consolidate ENABLE_VALGRIND_CHECKING-dependent defines
284 here.
285 [!VALGRIND_MAKE_MEM_NOACCESS]: Define as VALGRIND_MAKE_NOACCESS.
286 [!VALGRIND_MAKE_MEM_DEFINED]: Define as VALGRIND_MAKE_READABLE.
287 [!VALGRIND_MAKE_MEM_UNDEFINED]: Define as VALGRIND_MAKE_WRITABLE.
288 * ggc-common.c: Remove ENABLE_VALGRIND_CHECKING-dependent defines.
289 Replace use of VALGRIND_MAKE_READABLE, VALGRIND_MAKE_WRITABLE, and
290 VALGRIND_MAKE_NOACCESS with VALGRIND_MAKE_MEM_DEFINED,
291 VALGRIND_MAKE_MEM_UNDEFINED, and VALGRIND_MAKE_MEM_NOACCESS
292 respectively.
293 * ggc-zone.c: Similar.
294 * ggc-page.c: Similar.
295
296 2008-02-19 Paul Brook <paul@codesourcery.com>
297
298 PR target/35071
299 * config/arm/ieee754-df.S: Fix do_it typo.
300 * config/arm/ieee754-sf.S: Fix do_it typo.
301
302 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
303
304 PR target/35189
305 * config/i386/i386.c (OPTION_MASK_ISA_MMX_SET): New.
306 (OPTION_MASK_ISA_3DNOW_SET): Likewise.
307 (OPTION_MASK_ISA_SSE_SET): Likewise.
308 (OPTION_MASK_ISA_SSE2_SET): Likewise.
309 (OPTION_MASK_ISA_SSE3_SET): Likewise.
310 (OPTION_MASK_ISA_SSSE3_SET): Likewise.
311 (OPTION_MASK_ISA_SSE4_1_SET): Likewise.
312 (OPTION_MASK_ISA_SSE4_2_SET): Likewise.
313 (OPTION_MASK_ISA_SSE4_SET): Likewise.
314 (OPTION_MASK_ISA_SSE4A_SET): Likewise.
315 (OPTION_MASK_ISA_SSE5_SET): Likewise.
316 (OPTION_MASK_ISA_3DNOW_A_UNSET): Likewise.
317 (OPTION_MASK_ISA_MMX_UNSET): Updated.
318 (OPTION_MASK_ISA_3DNOW_UNSET): Updated.
319 (OPTION_MASK_ISA_SSE_UNSET): Likewise.
320 (OPTION_MASK_ISA_SSE3_UNSET): Likewise.
321 (OPTION_MASK_ISA_SSSE3_UNSET): Likewise.
322 (OPTION_MASK_ISA_SSE4_1_UNSET): Likewise.
323 (OPTION_MASK_ISA_SSE4_2_UNSET): Likewise.
324 (OPTION_MASK_ISA_SSE4A_UNSET): Likewise.
325 (OPTION_MASK_ISA_SSE5_UNSET): Likewise.
326 (OPTION_MASK_ISA_SSE4): Removed.
327 (ix86_handle_option): Turn on bits in ix86_isa_flags and
328 ix86_isa_flags_explicit with OPTION_MASK_ISA_XXX_SET for
329 -mXXX.
330 (override_options): Don't turn on implied SSE/MMX bits in
331 ix86_isa_flags.
332
333 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
334
335 * config/i386/i386-modes.def: Use 4 byte alignment on DI for
336 32bit host.
337
338 2008-02-18 Joey Ye <joey.ye@intel.com>
339
340 PR middle-end/34921
341 * tree-nested.c (insert_field_into_struct): Set type alignment
342 to field alignment if the former is less than the latter.
343
344 2008-02-18 Jakub Jelinek <jakub@redhat.com>
345
346 * BASE-VER: Set to 4.4.0.
347
348 2008-02-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
349
350 * doc/c-tree.texi: Use @dots{} and @enddots{} where appropriate.
351 * doc/cfg.texi: Likewise.
352 * doc/extend.texi: Likewise.
353 * doc/gty.texi: Likewise.
354 * doc/invoke.texi: Likewise.
355 * doc/loop.texi: Likewise.
356 * doc/md.texi: Likewise.
357 * doc/passes.texi: Likewise.
358 * doc/rtl.texi: Likewise.
359 * doc/sourcebuild.texi: Likewise.
360 * doc/tm.texi: Likewise.
361 * doc/tree-ssa.texi: Likewise.
362
363 2008-02-17 Richard Guenther <rguenther@suse.de>
364
365 PR middle-end/35227
366 * tree-complex.c (init_parameter_lattice_values): Handle parameters
367 without default definition.
368
369 2008-02-17 Richard Guenther <rguenther@suse.de>
370
371 PR tree-optimization/35231
372 * tree-vrp.c (register_edge_assert_for): Do not assume A == 0
373 if A | B != 1.
374
375 2008-02-17 Uros Bizjak <ubizjak@gmail.com>
376
377 Revert:
378
379 2008-02-15 Uros Bizjak <ubizjak@gmail.com>
380 * config/i386/sfp-machine.h (CMPtype): Define as typedef using
381 libgcc_cmp_return mode.
382
383 2008-02-16 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
384
385 PR c/28368
386 * doc/invoke.texi (-std): Clarify description of -std= and -ansi.
387
388 2008-02-16 Ralf Corsepius <ralf.corsepius@rtems.org>
389
390 * config/m68k/t-rtems (M68K_MLIB_CPU): Add 5208, 5307, 5407, 5475
391 multilibs.
392
393 2008-02-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
394
395 * doc/c-tree.texi: Use `@.' where appropriate.
396 * doc/extend.texi: Likewise.
397 * doc/install.texi: Likewise.
398 * doc/invoke.texi: Likewise.
399 * doc/loop.texi: Likewise.
400 * doc/makefile.texi: Likewise.
401 * doc/md.texi: Likewise.
402 * doc/passes.texi: Likewise.
403 * doc/standards.texi: Likewise.
404 * doc/tm.texi: Likewise.
405
406 2008-02-15 Jakub Jelinek <jakub@redhat.com>
407
408 PR middle-end/35196
409 * omp-low.c (expand_omp_for_generic): Don't initialize fd->v
410 in entry_bb.
411 (expand_omp_for_static_nochunk): Initialize fd->v in seq_start_bb
412 rather than in entry_bb.
413
414 2008-02-15 Uros Bizjak <ubizjak@gmail.com>
415
416 * config/i386/sfp-machine.h (CMPtype): Define as typedef using
417 libgcc_cmp_return mode.
418
419 2008-02-15 Jakub Jelinek <jakub@redhat.com>
420
421 PR middle-end/35130
422 * tree-nested.c (convert_call_expr): Put FRAME.* vars into
423 OMP_CLAUSE_SHARED rather than OMP_CLAUSE_FIRSTPRIVATE clause.
424
425 2008-02-15 Richard Guenther <rguenther@suse.de>
426 Zdenek Dvorak <ook@ucw.cz>
427
428 PR tree-optimization/35164
429 * tree-flow.h (stmt_references_abnormal_ssa_name): Declare.
430 * tree-dfa.c (stmt_references_abnormal_ssa_name): New function.
431 * tree-ssa-forwprop.c (tree_ssa_forward_propagate_single_use_vars):
432 Only propagate addresses which do not have abnormal SSA_NAMEs
433 in their operands.
434
435 2008-02-15 Joseph Myers <joseph@codesourcery.com>
436
437 PR target/35088
438 * config/m68k/m68k.h (DWARF_CIE_DATA_ALIGNMENT): Define.
439
440 2008-02-15 Jan Hubicka <jh@suse.cz>
441
442 PR middle-end/35149
443 * ipa.c (cgraph_remove_unreachable_nodes): Clear local.inlinable flag.
444
445 2008-02-15 Uros Bizjak <ubizjak@gmail.com>
446
447 PR middle-end/34621
448 * function.c (pad_to_arg_alignment): Remove test for STACK_BOUNDARY
449 when calculating alignment_pad.
450
451 2008-02-15 Uros Bizjak <ubizjak@gmail.com>
452
453 * config/i386/i386.h (CLEAR_RATIO): Use MIN macro.
454 (WIDEST_HARDWARE_FP_SIZE): Use LONG_DOUBLE_TYPE_SIZE define.
455 * config/i386/darwin.h (PREFERRED_STACK_BOUNDARY): Use MAX macro
456 and STACK_BOUNDARY define.
457
458 2008-02-14 Danny Smith <dannysmith@users.sourceforge.net>
459
460 PR preprocessor/35061
461 * c-pragma.c (handle_pragma_pop_macro): Check that
462 pushed_macro_table has been allocated.
463
464 2008-02-14 Eric Botcazou <ebotcazou@adacore.com>
465
466 PR middle-end/35136
467 * gimplify.c (force_gimple_operand_bsi): Revert 2008-02-12 change.
468 (force_gimple_operand): Likewise.
469 * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Add new cases
470 for TARGET_MEM_REF and CONVERT_EXPR/NON_LVALUE_EXPR/NOP_EXPR.
471 Also recurse on the operand for regular VIEW_CONVERT_EXPRs.
472 (find_interesting_uses_address): Check addressability and alignment
473 of the base expression only after substituting bases of IVs into it.
474
475 2008-02-14 Michael Matz <matz@suse.de>
476
477 PR target/34930
478 * function.c (instantiate_virtual_regs_in_insn): Reload address
479 before falling back to reloading the whole operand.
480
481 2008-02-14 Andreas Krebbel <krebbel1@de.ibm.com>
482
483 * config/s390/s390.c (s390_mainpool_start): Emit the pool
484 before the first section switch note.
485
486 2008-02-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
487
488 * doc/bugreport.texi: Update copyright years.
489 * doc/c-tree.texi: Likewise.
490 * doc/cfg.texi: Likewise.
491 * doc/cpp.texi: Likewise.
492 * doc/cppinternals.texi: Likewise.
493 * doc/fragments.texi: Likewise.
494 * doc/frontends.texi: Likewise.
495 * doc/gcc.texi: Likewise.
496 * doc/gty.texi: Likewise.
497 * doc/hostconfig.texi: Likewise.
498 * doc/implement-c.texi: Likewise.
499 * doc/libgcc.texi: Likewise.
500 * doc/loop.texi: Likewise.
501 * doc/makefile.texi: Likewise.
502 * doc/options.texi: Likewise.
503 * doc/passes.texi: Likewise.
504 * doc/rtl.texi: Likewise.
505 * doc/sourcebuild.texi: Likewise.
506 * doc/standards.texi: Likewise.
507 * doc/tree-ssa.texi: Likewise.
508 * doc/trouble.texi: Likewise.
509
510 * doc/extend.texi: Use @: or add comma where appropriate.
511 * doc/invoke.texi: Likewise.
512 * doc/tm.texi: Likewise.
513
514 2008-02-14 Alan Modra <amodra@bigpond.net.au>
515
516 PR target/34393
517 * config/rs6000/rs6000.md (restore_stack_block): Force operands[1]
518 to a reg.
519
520 2008-02-14 Jesper Nilsson <jesper.nilsson@axis.com>
521
522 * doc/md.texi (clz, ctz): Add reference.
523 * doc/rtl.texi (clz, ctz): Likewise.
524
525 2008-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
526
527 PR other/35148
528 * Makefile.in (gcc-vers.texi): Use abs_srcdir for the value of
529 srcdir.
530
531 2008-02-13 Andreas Krebbel <krebbel1@de.ibm.com>
532
533 * config/s390/s390.c (struct constant_pool): New field
534 emit_pool_after added.
535 (s390_mainpool_start): Set the emit_pool_after flag according
536 to the section switch notes.
537 (s390_mainpool_finish): Consider emit_pool_after when emitting
538 the literal pool at the end of the function.
539 (s390_chunkify_start): Force literal pool splits at section
540 switch notes.
541
542 2008-02-13 Michael Matz <matz@suse.de>
543
544 PR debug/35065
545 * var-tracking.c (clobber_variable_part): Correctly traverse the
546 list.
547
548 2008-02-13 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
549
550 PR 29673
551 * doc/invoke.texi (Debugging Options): Remove -fdump-tree-inlined.
552 Add -fdump-ipa-inline.
553 * tree-dump.c (dump_files): Remove tree-inlined dump.
554 * tree-pass.h (tree_dump_index): Remove TDI_inlined.
555
556 2008-02-12 Richard Guenther <rguenther@suse.de>
557
558 PR tree-optimization/35171
559 * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Deal with
560 default defs.
561
562 2008-02-12 Richard Guenther <rguenther@suse.de>
563
564 PR middle-end/35163
565 * fold-const.c (fold_widened_comparison): Use get_unwidened in
566 value-preserving mode. Disallow final truncation.
567
568 2008-02-12 Eric Botcazou <ebotcazou@adacore.com>
569
570 PR middle-end/35136
571 * gimplify.c (force_gimple_operand_bsi): Move SSA renaming
572 code from here to...
573 (force_gimple_operand): ...here.
574
575 2008-02-12 Jakub Jelinek <jakub@redhat.com>
576
577 PR c++/35144
578 * tree-sra.c (sra_build_assignment): fold_convert SRC if copying
579 non-compatible pointers.
580 (generate_element_copy): If SRC and DST are RECORD_TYPEs with
581 different FIELD_DECLs, try harder by comparing field offsets, sizes
582 and types.
583
584 PR inline-asm/35160
585 * function.c (match_asm_constraints_1): Don't replace the same input
586 multiple times.
587
588 2008-02-12 Anatoly Sokolov <aesok@post.ru>
589
590 * config/avr/avr.h (AVR_HAVE_RAMPZ): Define.
591 * config/avr/avr.c (expand_prologue): Save RAMPZ register.
592 (expand_epilogue): Restore RAMPZ register.
593 * config/avr/avr.md (RAMPZ_ADDR): New constant.
594
595 2008-02-11 Kai Tietz <kai.tietz@onevision.com>
596
597 * config/i386/cygwin.asm: (__alloca): Correct calling
598 convention and alignment.
599 (__chkstk): Force 8 byte stack alignment.
600
601 2008-02-11 Uros Bizjak <ubizjak@gmail.com>
602 Richard Guenther <rguenther@suse.de>
603
604 PR tree-optimization/33992
605 * tree-ssa-loop-im.c (rewrite_bittest): Fixup the type of
606 the zero we compare against.
607
608 2008-02-10 Danny Smith <dannysmith@users.sourceforge.net>
609
610 PR libfortran/35063
611 * gthr-win32.h (__gthread_mutex_destroy_function): New function
612 to CloseHandle after unlocking to prevent accumulation of handle
613 count.
614
615 2008-02-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
616
617 PR middle_end/34150
618 * pa.c (legitimize_pic_address): Add REG_EQUAL note on sets with a
619 pic_label_operand source. Similarly, add a REG_LABEL_OPERAND note
620 and update LABEL_NUSES during and after reload.
621
622 2008-02-08 Steven Bosscher <stevenb.gcc@gmail.com>
623
624 PR middle-end/34627
625 * combine.c (simplify_if_then_else): Make sure the comparison is
626 against const0_rtx when simplifying to (abs x) or (neg (abs X)).
627
628 2008-02-08 Richard Sandiford <rsandifo@nildram.co.uk>
629
630 PR bootstrap/35051
631 * double-int.h: Don't include gmp.h for GENERATOR_FILEs.
632 (mpz_set_double_int, mpz_get_double_int): Hide from GENERATOR_FILEs.
633 * real.h: Don't include gmp.h or mpfr.h for GENERATOR_FILEs.
634 (real_from_mpfr, mpfr_from_real): Hide from GENERATOR_FILEs.
635 * tree.h (get_type_static_bounds): Likewise.
636
637 2008-02-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
638
639 * doc/invoke.texi (Option Summary, C++ Dialect Options)
640 (Objective-C and Objective-C++ Dialect Options, Warning Options):
641 Make -Wfoo language annotations match what the compiler outputs.
642
643 2008-02-08 Sa Liu <saliu@de.ibm.com>
644
645 * config/spu/spu-builtins.def: Fixed wrong parameter type in spu
646 intrinsics spu_convts, spu_convtu, spu_convtf.
647 * testsuite/gcc.target/spu/intrinsics-3.c: New. Test error messages.
648
649 2008-02-08 Hans-Peter Nilsson <hp@axis.com>
650
651 * doc/extend.texi (Function Attributes) <noinline>: Mention
652 asm ("") as method to keep calls.
653
654 2008-02-07 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
655
656 PR other/32754
657 * doc/options.texi (Options): Replace references to opts.sh with
658 optc-gen.awk.
659 * opts-common.c: Likewise.
660 * optc-gen.awk: Likewise.
661
662 2008-02-07 Andreas Krebbel <krebbel1@de.ibm.com>
663
664 * config/s390/s390.h (FUNCTION_ARG_REGNO_P): Fix fprs for 64 bit.
665
666 2008-02-07 Richard Henderson <rth@redhat.com>
667
668 PR rtl-opt/33410
669 * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use an
670 EXPR_LIST for the REG_EQUAL instead of a comparison with a
671 funny mode.
672
673 2008-02-07 Uros Bizjak <ubizjak@gmail.com>
674
675 PR tree-optimization/35085
676 * tree-ssa-reassoc.c (rewrite_expr_tree): Enable destructive update
677 for operand entry oe2 in addition to operand entry oe3 in order to
678 expose more opportunities for vectorizer sum reduction.
679
680 2008-02-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
681
682 PR other/35107
683 * Makefile.in (LIBS): Remove $(GMPLIBS).
684 (cc1-dummy, cc1): Add $(GMPLIBS).
685
686 2008-02-06 Jan Hubicka <jh@suse.cz>
687
688 PR target/23322
689 * i386.md (moddf_integer): Do not produce partial memory stalls for
690 targets where it hurts.
691
692 2008-02-06 Uros Bizjak <ubizjak@gmail.com>
693
694 PR target/35083
695 * optabs.c (expand_float): Do not check for decimal modes when
696 expanding unsigned integer through signed conversion.
697
698 2008-02-06 Nick Clifton <nickc@redhat.com>
699
700 * config/stormy16/stormy16.md (eqbranchsi): Replace a match_dup
701 inside the clobber with a match_operand and duplicated operand
702 number in the constraint.
703 (ineqbranchsi): Delete redundant comment.
704
705 2008-02-06 Ralf Corsepius <ralf.corsepius@rtems.org>
706
707 * config/arm/rtems-elf.h (TARGET_OS_CPP_BUILTINS): Add
708 builtin_define ("__USE_INIT_FINI__").
709 * config/h8300/t-rtems (MULTILIB_OPTION,MULTILIB_DIRNAMES): Add
710 -msx multilibs.
711 * gthr-rtems.h: Remove __GTHREAD_MUTEX_INIT.
712
713 2008-02-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
714
715 PR documentation/30330
716 * doc/invoke.texi (C++ Dialect Options)
717 (Objective-C and Objective-C++ Dialect Options, Warning Options):
718 For each warning option -Wfoo that allows -Wno-foo, ensure both
719 -Wfoo and -Wno-foo are listed in the option index. Fix index
720 entry of -Wswitch-default, index -Wnormalized= including the
721 `=', and -Wlarger-than-@var{len} including @var{len}.
722
723 2008-02-05 Uros Bizjak <ubizjak@gmail.com>
724
725 * config/i386/i386.md (floatunssisf2): Use
726 ix86_expand_convert_uns_sisf_sse also for TARGET_SSE.
727 (floatunssi<mode>2): Rename from floatunssisf2 and floatunssidf2.
728 Macroize expander using MODEF mode iterator.
729
730 2008-02-05 Diego Novillo <dnovillo@google.com>
731
732 http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00140.html
733
734 PR 33738
735 * tree-vrp.c (vrp_evaluate_conditional): Revert fix for PR 33738.
736
737 2008-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
738
739 PR other/35070
740 * toplev.c (print_version): Honor `indent' for GMP/MPFR warnings.
741
742 2008-02-05 H.J. Lu <hongjiu.lu@intel.com>
743
744 PR target/35084
745 * config/i386/i386.c (ix86_function_sseregparm): Add an arg
746 to indicate if a message should be generated.
747 (init_cumulative_args): Updated.
748 (function_value_32): Likewise.
749
750 2008-02-05 Joseph Myers <joseph@codesourcery.com>
751
752 * doc/include/texinfo.tex: Update to version 2008-02-04.16.
753
754 2008-02-05 Uros Bizjak <ubizjak@gmail.com>
755
756 PR target/35083
757 * config/i386/i386.md (floatunsisf2): Enable for TARGET_SSE_MATH only.
758 Call ix86_expand_convert_uns_sisf_sse for TARGET_SSE2.
759
760 2008-02-04 Diego Novillo <dnovillo@google.com>
761
762 http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00110.html
763
764 PR 33738
765 * tree-vrp.c (vrp_evaluate_conditional): With
766 -Wtype-limits, emit a warning when comparing against a
767 constant outside the natural range of OP0's type.
768
769 2008-02-04 Richard Guenther <rguenther@suse.de>
770
771 PR middle-end/33631
772 * expr.c (count_type_elements): Give for unions instead of
773 guessing.
774
775 2008-02-04 Richard Guenther <rguenther@suse.de>
776
777 PR middle-end/35043
778 * gimplify.c (gimplify_init_ctor_eval): Convert array indices
779 to TYPE_DOMAINs base type instead of using bitsizetype here.
780
781 2008-02-03 Jason Merrill <jason@redhat.com>
782
783 * print-tree.c (print_node) [CONSTRUCTOR]: Print elements.
784
785 2008-02-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
786
787 PR other/29972
788 * doc/invoke.texi (C++ Dialect Options, Optimize Options)
789 (HPPA Options, i386 and x86-64 Options, IA-64 Options)
790 (RS/6000 and PowerPC Options): Fix typos and markup.
791 * doc/passes.texi (Tree-SSA passes): Likewise.
792
793 2008-02-02 Michael Matz <matz@suse.de>
794
795 PR target/35045
796 * postreload-gcse.c (record_last_reg_set_info_regno): Renamed
797 from record_last_reg_set_info.
798 (record_last_reg_set_info): Take an RTX argument, iterate over all
799 constituent hardregs.
800 (record_last_set_info, record_opr_changes): Change calls to
801 new signature or to record_last_reg_set_info_regno.
802
803 2008-02-02 Gerald Pfeifer <gerald@pfeifer.com>
804
805 * doc/extend.texi (X86 Built-in Functions): Fix grammar.
806
807 2008-02-01 Hans-Peter Nilsson <hp@axis.com>
808
809 PR rtl-optimization/34773
810 * reg-notes.def (EQUAL): Mention significance of combination of
811 REG_EQUAL and REG_RETVAL.
812 * fwprop.c (try_fwprop_subst): Don't add REG_EQUAL to an
813 insn that has a REG_RETVAL.
814
815 2008-02-01 Roger Sayle <roger@eyesopen.com>
816
817 PR bootstrap/33781
818 * configure.ac (--enable-fixed-point): Disable unless explicitly
819 requested on IRIX.
820 * configure: Regenerate.
821
822 2008-02-01 Richard Guenther <rguenther@suse.de>
823
824 PR other/35042
825 * invoke.texi (-finline-limit): Remove no longer true parts
826 of the documentation. Note that there is no default value.
827
828 2008-02-01 Andrew Pinski <pinskia@gmail.com>
829 Mark Mitchell <mark@codesourcery.com>
830 Ben Elliston <bje@au.ibm.com>
831
832 PR c/29326
833 * doc/extend.texi (Other Builtins): Document.
834
835 2008-01-31 Tom Browder <tom.browder@gmail.com>
836
837 * doc/c-tree.texi (Types): Fix grammar.
838 (Expression trees): Ditto.
839 * doc/passes.texi (Tree-SSA passes): Ditto.
840
841 * doc/configterms.texi (Configure Terms): Fix typo.
842 * doc/cpp.texi (Common Predefined Macros): Ditto.
843 * doc/md.texi (Machine Constraints): Ditto.
844
845 * doc/makefile.texi (Makefile): Add comma.
846
847 2008-01-31 Tom Browder <tom.browder@gmail.com>
848 Gerald Pfeifer <gerald@pfeifer.com>
849
850 * doc/sourcebuild.texi (Front End): Remove references to CVS
851 and CVSROOT/modules.
852 (Texinfo Manuals): Replace reference to CVS by one to SVN.
853 (Back End): Remove reference to CVS.
854
855 2008-01-31 Richard Sandiford <rsandifo@nildram.co.uk>
856
857 PR target/34900
858 * config/mips/mips.c (gen_load_const_gp): New function, taking a
859 comment from...
860 (mips16_gp_pseudo_reg): ...here.
861 * config/mips/mips.md (load_const_gp): Replace with...
862 (load_const_gp_<mode>): ...this :P-based insn.
863
864 2008-01-31 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
865
866 * doc/invoke.texi (-ansi): Mention explicitly corresponding -std=
867 options. Minor fixes.
868 (-std): Move reference to standards closer to where language
869 standards are first mentioned.
870
871 2008-01-31 Richard Sandiford <rsandifo@nildram.co.uk>
872
873 PR rtl-optimization/34995
874 * reload.c (alternative_allows_const_pool_ref): Take an rtx
875 parameter and return a bool. If the rtx parameter is nonnull,
876 check that it satisfies an EXTRA_MEMORY_CONSTRAINT.
877 (find_reloads): Update call accordingly. Pass the new operand
878 if it needed no address reloads, otherwise pass null.
879
880 2008-01-30 Richard Henderson <rth@redhat.com>
881
882 PR c/34993
883 * tree.c (build_type_attribute_qual_variant): Skip TYPE_DOMAIN
884 for unbounded arrays.
885
886 2008-01-30 Silvius Rus <rus@google.com>
887
888 * config/i386/xmmintrin.h (_mm_prefetch): Add const to first arg.
889
890 2008-01-30 Jan Hubicka <jh@suse.cz>
891
892 PR target/34982
893 * i386.c (init_cumulative_args): Use real function declaration when
894 calling locally.
895
896 2008-01-30 Richard Sandiford <rsandifo@nildram.co.uk>
897
898 PR rtl-optimization/34998
899 * global.c (build_insn_chain): Treat non-subreg_lowpart
900 SUBREGs of pseudos as clobbering all the words covered by the
901 SUBREG, not just all the bytes.
902 * ra-conflict.c (clear_reg_in_live): Likewise. Take the
903 original df_ref rather than an extract parameter.
904 (global_conflicts): Update call accordingly.
905
906 2008-01-30 Andreas Krebbel <krebbel1@de.ibm.com>
907
908 * config/s390/fixdfdi.h (__fixunstfdi, __fixtfdi): Rearrange
909 the overflow check to make it easier to read.
910 (__fixtfdi): Change the type of the ll member in union
911 long_double to UDItype_x.
912
913 2008-01-30 Jakub Jelinek <jakub@redhat.com>
914
915 PR middle-end/34969
916 * cgraph.h (cgraph_update_edges_for_call_stmt): New prototype.
917 * cgraph.c (cgraph_update_edges_for_call_stmt): New function.
918 * tree-inline.c (fold_marked_statements): Call
919 cgraph_update_edges_for_call_stmt if folding a call statement.
920 * cgraphunit.c (verify_cgraph_node): Set cfun to this_cfun for
921 debug_generic_stmt calls, reset it back afterwards.
922
923 PR c/35017
924 * c-decl.c (start_decl): Don't pedwarn about TREE_READONLY
925 static decls.
926 * c-typeck.c (build_external_ref): Don't pedwarn about
927 static vars in current function's scope.
928
929 2008-01-29 Joseph Myers <joseph@codesourcery.com>
930
931 * config.gcc (i[34567]86-*-nto-qnx*): Remove deprecation.
932
933 2008-01-29 Bernhard Fischer <aldot@gcc.gnu.org>
934
935 PR c/35002
936 * ipa-struct-reorg.c: Fix spelling.
937 * params.def: Ditto.
938
939 2008-01-29 Richard Guenther <rguenther@suse.de>
940
941 PR middle-end/35006
942 * tree-inline.h (struct copy_body_data): Add remapping_type_depth
943 field.
944 * tree-inline.c (remap_type): Increment remapping_type_depth
945 around remapping types.
946 (copy_body_r): Only add referenced variables if they are referenced
947 from code, not types.
948
949 2008-01-29 Douglas Gregor <doug.gregor@gmail.com>
950
951 PR c++/34055
952 PR c++/34103
953 PR c++/34219
954 PR c++/34606
955 PR c++/34753
956 PR c++/34754
957 PR c++/34755
958 PR c++/34919
959 PR c++/34961
960 * c-pretty-print.c (pp_c_type_qualifier_list): Don't try to print
961 qualifiers for an ERROR_MARK_NODE or a NULL_TREE.
962
963 2008-01-28 Andy Hutchinson <hutchinsonandy@netscape.net>
964
965 PR target/34412
966 * config/avr/avr.c (expand_prologue): Use correct QI mode frame
967 pointer for tiny stack.
968
969 2008-01-28 Bernhard Fischer <aldot@gcc.gnu.org>
970
971 * doc/tree-ssa.texi: Add cindex PHI nodes and improve wording.
972
973 2008-01-28 Bernhard Fischer <aldot@gcc.gnu.org>
974
975 * config/vx-common.h: Fix typo in comment.
976
977 2008-01-28 Ian Lance Taylor <iant@google.com>
978
979 PR c++/34862
980 PR c++/33407
981 * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't
982 coalesce pointers if they have different DECL_NO_TBAA_P values.
983 * tree-ssa-copy.c (may_propagate_copy): Don't propagate copies
984 between variables with different DECL_NO_TBAA_P values.
985
986 2008-01-28 Nathan Froyd <froydnj@codesourcery.com>
987
988 PR 31535
989 * config/rs6000/rs6000.c (small_data_operand): Vectors and floats
990 are not legitimate small data references on SPE targets.
991
992 2008-01-28 David Daney <ddaney@avtrex.com>
993
994 * doc/install.texi (mips-*-*): Recommend binutils 2.18.
995
996 2008-01-28 David Daney <ddaney@avtrex.com>
997
998 * doc/install.texi (--disable-libgcj-bc): Reword documentation.
999
1000 2008-01-27 Joseph Myers <joseph@codesourcery.com>
1001
1002 * config.gcc (strongarm*-*, ep9312*-*, xscale*-*, parisc*-*,
1003 m680[012]0-*, *-*-beos*, *-*-kaos*, *-*-linux*aout*,
1004 *-*-linux*libc1*, *-*-solaris2.[0-6], *-*-solaris2.[0-6].*,
1005 *-*-sysv*, *-*-windiss*, alpha*-*-unicosmk*, cris-*-aout,
1006 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
1007 i[34567]86-sequent-ptx4*, i[34567]86-*-nto-qnx*,
1008 i[34567]86-*-sco3.2v5*, i[34567]86-*-uwin*, powerpc-*-chorusos*,
1009 vax-*-bsd*, vax-*-ultrix*): Mark obsolete.
1010
1011 2008-01-27 Bernhard Fischer <aldot@gcc.gnu.org>
1012
1013 * basic-block.h (condjump_equiv_p): Fix comment.
1014
1015 2008-01-27 Bernhard Fischer <aldot@gcc.gnu.org>
1016
1017 * tree-pretty-print.c (print_generic_decl, print_generic_stmt,
1018 print_generic_stmt_indented): Fix comment.
1019
1020 2008-01-27 Bernhard Fischer <aldot@gcc.gnu.org>
1021
1022 * configure.ac (__stack_chk_fail): Add detecion for availability
1023 of SSP in uClibc by checking if __UCLIBC_HAS_SSP__ is defined.
1024 * configure: Regenerate.
1025
1026 2008-01-26 Maxim Kuvyrkov <maxim@codesourcery.com>
1027
1028 PR middle-end/34688
1029 * final.c (output_addr_const): Handle TRUNCATE.
1030
1031 2008-01-26 Zdenek Dvorak <ook@ucw.cz>
1032
1033 PR target/34711
1034 * tree-ssa-loop-ivopts.c (comp_cost): New type.
1035 (zero_cost, infinite_cost): New constants.
1036 (struct cost_pair): Change type of cost to comp_cost.
1037 (struct iv_ca): Change type of cand_use_cost and cost to comp_cost.
1038 (new_cost, add_costs, sub_costs, compare_costs, infinite_cost_p):
1039 New functions.
1040 (set_use_iv_cost, force_expr_to_var_cost, force_var_cost,
1041 split_address_cost, ptr_difference_cost, difference_cost,
1042 get_computation_cost_at, get_computation_cost,
1043 determine_use_iv_cost_generic, determine_use_iv_cost_address,
1044 determine_use_iv_cost_condition, determine_use_iv_costs,
1045 cheaper_cost_pair, iv_ca_recount_cost, iv_ca_set_no_cp,
1046 iv_ca_set_cp, iv_ca_cost, iv_ca_new, iv_ca_dump, iv_ca_extend,
1047 iv_ca_narrow, iv_ca_prune, try_improve_iv_set, find_optimal_iv_set):
1048 Change type of cost to comp_cost.
1049 (determine_iv_cost): Increase cost of non-original ivs, instead
1050 of decreasing the cost of original ones.
1051 (get_address_cost): Indicate the complexity of the addressing mode
1052 in comp_cost.
1053 (try_add_cand_for): Prefer using ivs not specific to some object.
1054 * tree-flow.h (force_expr_to_var_cost): Declaration removed.
1055
1056 2008-01-26 Peter Bergner <bergner@vnet.ibm.com>
1057 Janis Johnson <janis187@us.ibm.com>
1058
1059 PR target/34814
1060 * doc/tm.texi (TARGET_EXPAND_TO_RTL_HOOK): Document.
1061 (TARGET_INSTANTIATE_DECLS): Likewise.
1062 * target.h (expand_to_rtl_hook): New target hook.
1063 (instantiate_decls): Likewise.
1064 * function.c (instantiate_decl): Make non-static. Rename to...
1065 (instantiate_decl_rtl): ... this.
1066 (instantiate_expr): Use instantiate_decl_rtl.
1067 (instantiate_decls_1): Likewise.
1068 (instantiate_decls): Likewise.
1069 (instantiate_virtual_regs: Call new instantiate_decls taget hook.
1070 * function.h (instantiate_decl_rtl): Add prototype.
1071 * cfgexpand.c (target.h): New include.
1072 (tree_expand_cfg): Call new expand_to_rtl_hook target hook.
1073 * target-def.h (TARGET_EXPAND_TO_RTL_HOOK): New define.
1074 (TARGET_INSTANTIATE_DECLS): Likewise.
1075 (TARGET_INITIALIZER): New target hooks added.
1076 * config/rs6000/rs6000-protos.h (rs6000_secondary_memory_needed_rtx):
1077 New prototype.
1078 * config/rs6000/rs6000.c (tree-flow.h): New include.
1079 (machine_function): Add sdmode_stack_slot field.
1080 (rs6000_alloc_sdmode_stack_slot): New function.
1081 (rs6000_instantiate_decls): Likewise.
1082 (rs6000_secondary_memory_needed_rtx): Likewise.
1083 (rs6000_check_sdmode): Likewise.
1084 (TARGET_EXPAND_TO_RTL_HOOK): Target macro defined.
1085 (TARGET_INSTANTIATE_DECLS): Likewise.
1086 (rs6000_hard_regno_mode_ok): Allow SDmode.
1087 (num_insns_constant): Likewise. Handle _Decimal32 constants.
1088 (rs6000_emit_move): Handle SDmode.
1089 (function_arg_advance): Likewise.
1090 (function_arg): Likewise.
1091 (rs6000_gimplify_va_arg): Likewise. Add special handling of
1092 SDmode var args for 32-bit compiles.
1093 (rs6000_secondary_reload_class): Handle SDmode.
1094 (rs6000_output_function_epilogue): Likewise.
1095 (rs6000_function_value): Simplify if statement.
1096 (rs6000_libcall_value): Likewise.
1097 * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Handle SDmode.
1098 (SECONDARY_MEMORY_NEEDED_RTX): Add define.
1099 * config/rs6000/dfp.md (movsd): New define_expand and splitter.
1100 (movsd_hardfloat): New define_insn.
1101 (movsd_softfloat): Likewise.
1102 (movsd_store): Likewise.
1103 (movsd_load): Likewise.
1104 (extendsddd2): Likewise.
1105 (extendsdtd2): Likewise.
1106 (truncddsd2): Likewise.
1107 (movdd_hardfloat64): Fixup comment.
1108 (UNSPEC_MOVSD_LOAD): New constant.
1109 (UNSPEC_MOVSD_STORE): Likewise.
1110
1111 2008-01-26 Jakub Jelinek <jakub@redhat.com>
1112
1113 PR c++/34965
1114 * c-pretty-print.c (pp_c_exclusive_or_expression): Handle
1115 TRUTH_XOR_EXPR.
1116 (pp_c_logical_and_expression): Handle TRUTH_AND_EXPR.
1117 (pp_c_logical_or_expression): Handle TRUTH_OR_EXPR.
1118 (pp_c_expression): Handle TRUTH_AND_EXPR, TRUTH_OR_EXPR
1119 and TRUTH_XOR_EXPR.
1120
1121 2008-01-26 David Edelsohn <edelsohn@gnu.org>
1122
1123 PR target/34794
1124 * config.gcc: Separate AIX 5.3 from AIX 6.1.
1125 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
1126 __LONGDOUBLE128 too.
1127 * config/rs6000/aix61.h: New file.
1128
1129 2008-01-26 Richard Sandiford <rsandifo@nildram.co.uk>
1130
1131 PR rtl-optimization/34959
1132 * optabs.c (expand_unop): In libcall notes, give ffs, clz, ctz,
1133 popcount and parity rtxes the same mode as their operand.
1134 Truncate or extend the result to the return value's mode
1135 if necessary.
1136
1137 2008-01-26 Richard Sandiford <rsandifo@nildram.co.uk>
1138
1139 PR target/34981
1140 * config/mips/mips-protos.h (mips_expand_call): Return an rtx.
1141 * config/mips/mips.h (FIRST_PSEUDO_REGISTER): Rename FAKE_CALL_REGNO
1142 to GOT_VERSION_REGNUM.
1143 (CALL_REALLY_USED_REGISTERS): Set the GOT_VERSION_REGNUM entry to 0.
1144 (EPILOGUE_USES): Include GOT_VERSION_REGNUM if TARGET_USE_GOT.
1145 * config/mips/mips.c (mips_emit_call_insn): New function.
1146 (mips_call_tls_get_addr): Call mips_expand_call directly.
1147 (mips16_copy_fpr_return_value): Use mips_emit_call_insn rather than
1148 emit_call_insn.
1149 (mips16_build_call_stub): Likewise. Return the call insn or null.
1150 (mips_expand_call): Update the call to mips16_build_call_stub
1151 accordingly and a remove redundant condition. Assert that MIPS16
1152 stubs do not use lazy binding. Use mips_emit_call_insn and return
1153 the call insn.
1154 (mips_extra_live_on_entry): Include GOT_VERSION_REGNUM if
1155 TARGET_USE_GOT.
1156 (mips_hard_regno_mode_ok_p): Allow SImode for GOT_VERSION_REGNUM.
1157 (mips_avoid_hazard): Remove hazard_set handling.
1158 * config/mips/mips.md (UNSPEC_EH_RECEIVER): Rename to...
1159 (UNSPEC_RESTORE_GP): ...this.
1160 (UNSPEC_SET_GOT_VERSION, UNSPEC_UPDATE_GOT_VERSION): New constants.
1161 (FAKE_CALL_REGNO): Rename to...
1162 (GOT_VERSION_REGNUM): ...this.
1163 (type): Add "ghost" value. Add an associated insn reservation.
1164 (hazard_set): Remove.
1165 (exception_receiver): Rename to...
1166 (restore_gp): ...this and update the unspec identifier accordingly.
1167 (exception_receiver, nonlocal_got_receiver): New expanders.
1168 (load_call<mode>): Use GOT_VERSION_REGNUM. Don't set
1169 FAKE_CALL_REGNO. Remove hazard_set attribute.
1170 (set_got_version, update_got_version): New patterns.
1171
1172 2008-01-26 Danny Smith <dannysmith@users.sourceforge.net>
1173
1174 PR target/34970
1175 * config/i386/cygming.h (ASM_OUTPUT_LABELREF): Define.
1176
1177 2008-01-25 Joseph Myers <joseph@codesourcery.com>
1178
1179 PR other/31955
1180 * doc/install.texi2html: Generate gcc-vers.texi.
1181
1182 2008-01-25 DJ Delorie <dj@redhat.com>
1183
1184 * config/m32c/m32c.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
1185
1186 2008-01-25 Joseph Myers <joseph@codesourcery.com>
1187
1188 * config/c4x: Remove directory.
1189 * config.gcc (crx-*, mt-*): Mark obsolete.
1190 (c4x-*, tic4x-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*, tic4x-*,
1191 h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
1192 sh-*-rtemscoff*): Remove cases.
1193 * defaults.h (C4X_FLOAT_FORMAT): Remove.
1194 * real.c (encode_c4x_single, decode_c4x_single,
1195 encode_c4x_extended, decode_c4x_extended, c4x_single_format,
1196 c4x_extended_format): Remove.
1197 * real.h (c4x_single_format, c4x_extended_format): Remove.
1198 * doc/extend.texi (interrupt, naked): Remove mention of attributes
1199 on C4x.
1200 (Pragmas): Remove comment about c4x pragmas.
1201 * doc/install.texi (c4x): Remove target-specific instructions.
1202 * doc/invoke.texi (TMS320C3x/C4x Options): Remove.
1203 * doc/md.texi (Machine Constraints): Remove C4x documentation.
1204 * doc/tm.texi (MEMBER_TYPE_FORCES_BLK, c_register_pragma): Do not
1205 refer to C4x source files as examples.
1206 (C4X_FLOAT_FORMAT): Remove documentation.
1207
1208 2008-01-25 Bernd Schmidt <bernd.schmidt@analog.com>
1209
1210 * config/bfin/bfin.c (override_options): Reorder tests so that
1211 flag_pic gets enabled for -msep-data.
1212
1213 2008-01-25 Richard Guenther <rguenther@suse.de>
1214
1215 PR middle-end/32244
1216 * expr.c (expand_expr_real_1): Reduce result of LSHIFT_EXPR
1217 to its bitfield precision if required.
1218
1219 2008-01-25 Jakub Jelinek <jakub@redhat.com>
1220
1221 PR middle-end/33880
1222 * tree-nested.c (walk_omp_for): New function.
1223 (convert_nonlocal_reference, convert_local_reference): Call
1224 walk_omp_for on OMP_FOR.
1225 (convert_call_expr): Call walk_body on OMP_FOR's
1226 OMP_FOR_PRE_INIT_BODY.
1227
1228 2008-01-25 Richard Guenther <rguenther@suse.de>
1229
1230 PR tree-optimization/34966
1231 * tree-ssa-math-opts.c (execute_cse_sincos_1): For all but
1232 default defs and PHI_NODEs we have to insert after the
1233 defining statement.
1234
1235 2008-01-24 Nick Clifton <nickc@redhat.com>
1236
1237 * config/stormy16/stormy16-lib2.c (MIN_UNITS_PER_WORD):
1238 Provide a default definition.
1239 (LIBGCC2_UNITS_PER_WORD): Likewise.
1240
1241 * config/stormy16/stormy16.c: Include df.h for the prototype
1242 for df_regs_ever_live_p.
1243 (xstormy16_expand_builtin_va_start): Convert the stack offset
1244 into a component_ref and then use POINTER_PLUS_EXPR to add it
1245 to the incoming_virtual_args_rtx.
1246 (xstormy16_gimplify_va_arg_expr): Rename to
1247 xstormy16_gimplify_va_arg_expr.
1248 Use POINTER_PLUS_EXPR when performing pointer arithmetic.
1249 (TARGET_GIMPLIFY_VA_ARG_EXPR): Use renamed
1250 xstormy16_gimplify_va_arg_expr.
1251 Fix up some formatting issues.
1252
1253 * config/stormy16/stormy16.c: (xstormy16_carry_plus_operand):
1254 Move to predicates.md.
1255 (xs_hi_general_operand): Likewise.
1256 (xs_hi_nonmemory_operand): Likewise.
1257 * config/stormy16/predicates.md:
1258 (xstormy16_carry_plus_operand): New predicate.
1259 (xs_hi_general_operand): New predicate.
1260 (xs_hi_nonmemory_operand): New predicate.
1261 * config/stormy16/stormy16-protos.h:
1262 (xstormy16_carry_plus_operand): Delete prototype.
1263 (xs_hi_general_operand): Likewise.
1264 (xs_hi_nonmemory_operand): Likewise.
1265
1266 * config/storm16/stormy16.md (addhi3): Remove earlyclobber
1267 modifiers as they are no longer needed and they can trigger
1268 reload spill failures.
1269
1270 * config/storm16/stormy16.md (ineqbranchsi): Replace match_dup
1271 with a match_operand in order to help reload.
1272
1273 * config/storm16/stormy16.md (movhi_internal): Replace 'r'
1274 constraint with 'e' for the 8th alternative as this version of
1275 the mov.w instruction only accepts the lower 8 registers.
1276
1277 2008-01-25 Uros Bizjak <ubizjak@gmail.com>
1278
1279 PR target/34856
1280 * simplifx-rtx.c (simplify_const_binary_operation) [VEC_CONCAT]:
1281 Consider only CONST_INT, CONST_DOUBLE and CONST_FIXED as constant
1282 vector elements.
1283
1284 2008-01-25 Jakub Jelinek <jakub@redhat.com>
1285
1286 PR middle-end/33333
1287 * gimplify.c (gimplify_omp_for): Gimplify OMP_FOR_PRE_BODY.
1288
1289 2008-01-25 Golovanevsky Olga <olga@il.ibm.com>
1290
1291 * ipa-struct-reorg.c (remove_str_allocs_in_func, remove_str_allocs):
1292 New functions.
1293 (remove_structure): Update allocations list before removing structure.
1294
1295 2008-01-25 Golovanevsky Olga <olga@il.ibm.com>
1296
1297 * ipa-struct-reorg.c (is_safe_cond_expr,
1298 create_new_stmts_for_cond_expr): Use integer_zerop function,
1299 that recognize not only zero-pointer, but zero-integer too.
1300
1301 2008-01-25 Ben Elliston <bje@au.ibm.com>
1302
1303 PR other/22232
1304 * fixproto: Escape "." in sed expression that strips leading "./".
1305
1306 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
1307
1308 PR driver/34904
1309 * gcc.c (SWITCH_OK): Removed.
1310 (SWITCH_LIVE): Changed to bit.
1311 (SWITCH_FALSE): Likewise.
1312 (SWITCH_IGNORE): Likewise.
1313 (switchstr): Change live_cond to unsigned int.
1314 (process_command): Replace SWITCH_OK with 0.
1315 (do_self_spec): Likewise.
1316 (set_collect_gcc_options): Check the SWITCH_IGNORE bit.
1317 (give_switch): Likewise.
1318 (used_arg): Likewise.
1319 (do_spec_1): Set the SWITCH_IGNORE bit.
1320 (check_live_switch): Check both SWITCH_LIVE and SWITCH_FALSE
1321 bits. Set the SWITCH_LIVE bit.
1322
1323 2008-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
1324
1325 * config/s390/s390.h (MOVE_RATIO): Define new target macro.
1326
1327 2008-01-24 Richard Sandiford <rsandifo@nildram.co.uk>
1328
1329 PR tree-optimization/34472
1330 * ipa-struct-reorg.c (safe_cond_expr_check): Change the DATA
1331 parameter to a "bool *" and set *DATA to false if there is
1332 an unsafe access. Do not delete the structure here.
1333 (check_cond_exprs): Delete it here instead.
1334 (check_cond_exprs, exclude_cold_structs): Do not increase
1335 I when removing a structure.
1336
1337 2008-01-24 Uros Bizjak <ubizjak@gmail.com>
1338
1339 PR target/34856
1340 * config/i386/i386.c (ix86_expand_vector_init): Consider only
1341 CONST_INT, CONST_DOUBLE and CONST_FIXED as constant vector elements.
1342
1343 2008-01-24 Jakub Jakub Jelinek <jakub@redhat.com>
1344
1345 PR middle-end/34934
1346 * tree-stdarg.c (reachable_at_most_once): Use VEC vector instead of
1347 a fixed vector for stack.
1348
1349 2008-01-24 Ben Elliston <bje@au.ibm.com>
1350
1351 PR c++/25701
1352 * doc/gcc.texi (Software development): Add a direntry for g++.
1353
1354 2008-01-23 Hans-Peter Nilsson <hp@axis.com>
1355
1356 * config/cris/cris.h (CC1PLUS_SPEC, OPTIMIZATION_OPTIONS): Drop
1357 stale and straggling -fforce-addr comments above.
1358
1359 * config/cris/cris.h (CRIS_SUBTARGET_VERSION, TARGET_VERSION): Don't
1360 define.
1361 * config/cris/linux.h (CRIS_SUBTARGET_VERSION): Don't define.
1362 * config/cris/aout.h (CRIS_SUBTARGET_VERSION): Don't define.
1363
1364 2008-01-23 Michael Matz <matz@suse.de>
1365
1366 PR debug/34895
1367 * dwarf2out.c (force_type_die): Use modified_type_die instead of
1368 gen_type_die.
1369
1370 2008-01-23 Andreas Krebbel <krebbel1@de.ibm.com>
1371
1372 * ipa-struct-reorg.c (create_new_malloc): Use pointer type as
1373 malloc result type.
1374
1375 2008-01-23 Anatoly Sokolov <aesok@post.ru>
1376
1377 * config/avr/avr.c (avr_current_arch): New variable.
1378 (avr_arch_types): Add 'avr31' and 'avr51' entries.
1379 (avr_arch): Add 'ARCH_AVR31' and 'ARCH_AVR51'.
1380 (avr_mcu_types): Add 'avr31' and 'avr51' architectures.
1381 (avr_override_options): Init 'avr_current_arch'.
1382 (base_arch_s): Move from here...
1383 * config/avr/avr.h (base_arch_s): ... here. Add new members
1384 'have_elpm', 'have_elpmx', 'have_eijmp_eicall', 'reserved'. Rename
1385 'mega' to 'have_jmp_call'.
1386 (TARGET_CPU_CPP_BUILTINS): Define "__AVR_HAVE_JMP_CALL__",
1387 "__AVR_HAVE_RAMPZ__", "__AVR_HAVE_ELPM__" and "__AVR_HAVE_ELPMX__"
1388 macros.
1389 (LINK_SPEC, CRT_BINUTILS_SPECS, ASM_SPEC): Add 'avr31' and 'avr51'
1390 architectures.
1391 * config/avr/t-avr (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
1392 MULTILIB_MATCHES): (Ditto.).
1393
1394 2008-01-23 Richard Guenther <rguenther@suse.de>
1395
1396 PR middle-end/31529
1397 * cgraphunit.c (cgraph_reset_node): Always mark the node
1398 not reachable if it is not queued already.
1399
1400 2008-01-23 Bernd Schmidt <bernd.schmidt@analog.com>
1401
1402 * config/bfin/bfin-protos.h (WA_RETS, ENABLE_WA_RETS): New macros.
1403 * config/bfin/bfin.c (bfin_cpus): Add WA_RETS everywhere.
1404 (cputype_selected): New static variable.
1405 (bfin_handle_option): Set it if -mcpu is used.
1406 (override_option): Select default set of workarounds if no cpu type
1407 selected on the command line.
1408 (workaround_rts_anomaly): Only run if ENABLE_WA_RETS.
1409
1410 From Michael Frysinger <michael.frysinger@analog.com>
1411 * config/bfin/bfin-protos.h (enum bfin_cpu_type): Add
1412 BFIN_CPU_BF547, BFIN_CPU_BF523, BFIN_CPU_BF524, and BFIN_CPU_BF526.
1413
1414 * config/bfin/elf.h (LIB_SPEC): Use proper linker script
1415 for bf547, bf523, bf524, and bf526.
1416 * config/bfin/bfin.c (bfin_cpus[]): Add bf547, bf523, bf524, and
1417 bf526.
1418 * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define
1419 __ADSPBF523__ for bf523, __ADSPBF524__ for bf524,
1420 __ADSPBF526__ for bf526, __ADSPBF52x__ for all three, as well as
1421 __ADSPBF547__ and __ADSPBF54x__ for bf547.
1422 * doc/invoke.texi (Blackfin Options): Document that
1423 -mcpu now accept bf547, bf523, bf524, and bf526.
1424
1425 2008-01-22 Eric Botcazou <ebotcazou@adacore.com>
1426
1427 PR rtl-optimization/34628
1428 * combine.c (try_combine): Stop and undo after the first combination
1429 if an autoincrement side-effect on the first insn has effectively
1430 been lost.
1431
1432 2008-01-22 David Edelsohn <edelsohn@gnu.org>
1433
1434 PR target/34529
1435 * config/rs6000/rs6000.c (rs6000_legitimate_offset_address_p):
1436 Offset addresses are not valid for Altivec or paired float modes.
1437
1438 2008-01-22 Jakub Jelinek <jakub@redhat.com>
1439
1440 PR c++/34607
1441 * c-parser.c (c_parser_omp_for_loop): Don't call c_finish_omp_for
1442 if DECL_INITIAL (decl) is error_mark_node.
1443
1444 PR c++/34914
1445 * c-common.c (handle_vector_size_attribute): Only allow
1446 integral, scalar float and fixed point types. Handle OFFSET_TYPE
1447 the same way as pointer, array etc. types.
1448 * tree.c (reconstruct_complex_type): Handle OFFSET_TYPE.
1449
1450 PR c++/34917
1451 * tree.c (build_type_attribute_qual_variant): Call
1452 build_qualified_type if attributes are equal, but quals are not.
1453
1454 2008-01-22 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
1455
1456 PR 32102
1457 * doc/invoke.texi (-Wall): -Wall enables -Wstrict-overflow=1.
1458 * flags.h (warn_strict_aliasing): Remove.
1459 (warn_strict_overflow): Remove.
1460 * opts.c (warn_strict_aliasing): Remove.
1461 (warn_strict_overflow): Remove.
1462 * c-opts.c (c_common_handle_option): -Wall only sets
1463 -Wstrict-aliasing or -Wstrict-overflow if they are uninitialized.
1464 (c_common_post_options): Give default values to -Wstrict-aliasing
1465 and -Wstrict-overflow if they are uninitialized.
1466 * common.opt (Wstrict-aliasing): Specify Var and Init.
1467 (Wstrict-overflow): Likewise.
1468
1469 2008-01-22 Kenneth Zadeck <zadeck@naturalbridge.com>
1470
1471 PR rtl-optimization/26854
1472 PR rtl-optimization/34400
1473 PR rtl-optimization/34884
1474 * ddg.c (create_ddg_dep_from_intra_loop_link): Use
1475 DF_RD->gen.
1476 * df.h (df_changeable_flags.DF_RD_NO_TRIM): Deleted
1477 (df_rd_bb_info.expanded_lr_out): Deleted
1478 * loop_invariant.c (find_defs): Deleted DF_RD_NO_TRIM flag.
1479 * loop_iv.c (iv_analysis_loop_init): Ditto. * df-problems.c
1480 (df_rd_free_bb_info, df_rd_alloc, df_rd_confluence_n,
1481 df_rd_bb_local_compute, df_rd_transfer_function, df_rd_free):
1482 Removed code to allocate, initialize or free expanded_lr_out.
1483 (df_rd_bb_local_compute_process_def): Restructured to make more
1484 understandable.
1485 (df_rd_confluence_n): Removed code to no apply invalidate_by_call
1486 sets if the sets are being trimmed.
1487
1488 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
1489
1490 PR bootstrap/32287
1491 * configure.ac (ld_vers): Support GNU linker version xx.xx.*
1492 (as_vers): Likewise.
1493 * configure: Regenerated.
1494
1495 2008-01-22 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
1496
1497 PR middle-end/33092
1498 * tree-pass.h (pass_build_alias): New pass.
1499 * tree-ssa-alias.c (gate_build_alias): New.
1500 (pass_build_alias): New.
1501 * passes.c (init_optimization_passes): Add pass_build_alias after
1502 pass_create_structure_vars.
1503
1504 2008-01-22 Wolfgang Gellerich <gellerich@de.ibm.com>
1505
1506 * config/s390/s390.h (S390_TDC_POSITIVE_NORMALIZED_NUMBER):
1507 Renamed to S390_TDC_POSITIVE_NORMALIZED_BFP_NUMBER.
1508 (S390_TDC_NEGATIVE_NORMALIZED_NUMBER): Renamed to
1509 S390_TDC_NEGATIVE_NORMALIZED_BFP_NUMBER.
1510 (S390_TDC_POSITIVE_DENORMALIZED_NUMBER): Renamed to
1511 S390_TDC_POSITIVE_DENORMALIZED_BFP_NUMBER.
1512 (S390_TDC_NEGATIVE_DENORMALIZED_NUMBER): Renamed to
1513 S390_TDC_NEGATIVE_DENORMALIZED_BFP_NUMBER.
1514 (S390_TDC_POSITIVE_NORMALIZED_BFP_NUMBER): New constant.
1515 (S390_TDC_NEGATIVE_NORMALIZED_BFP_NUMBER): New constant.
1516 (S390_TDC_POSITIVE_DENORMALIZED_BFP_NUMBER): New constant.
1517 (S390_TDC_NEGATIVE_DENORMALIZED_BFP_NUMBER): New constant.
1518 * config/s390/s390.md (FP_ALL): New mode iterator.
1519 (_d): New mode attribute.
1520 ("*signbit<mode>2>"): Changed mode of first operand.
1521 ("isinf<mode>2"): Changed mode of first operand.
1522 ("*TDC_insn"): Adaptation for DFP modes.
1523
1524 2008-01-22 Ben Elliston <bje@au.ibm.com>
1525
1526 * tree.c (check_qualified_type): Improve function description.
1527
1528 2008-01-21 Jason Merrill <jason@redhat.com>
1529
1530 PR c++/34196
1531 * tree.h (TRY_CATCH_IS_CLEANUP): New macro.
1532 * tree-eh.c (honor_protect_cleanup_actions): Strip TRY_CATCH_EXPR
1533 if it is set.
1534
1535 2008-01-21 DJ Delorie <dj@redhat.com>
1536
1537 * doc/tm.texi (HARD_REGNO_NREGS): Note that this macro must not
1538 return zero.
1539
1540 2008-01-21 Richard Guenther <rguenther@suse.de>
1541
1542 PR middle-end/34856
1543 * tree-cfg.c (verify_expr): Allow all invariant expressions
1544 instead of just constant class ones as reference argument.
1545 * tree-ssa-loop-im.c (for_each_index): Handle CONSTRUCTOR
1546 like any other constant.
1547 * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Likewise.
1548
1549 2008-01-21 H.J. Lu <hongjiu.lu@intel.com>
1550
1551 * regmove.c (fixup_match_1): Update call crossed frequencies.
1552
1553 2008-01-21 Richard Guenther <rguenther@suse.de>
1554
1555 PR c/34885
1556 * tree-inline.c (setup_one_parameter): Deal with mismatched
1557 types using a VIEW_CONVERT_EXPR.
1558
1559 2008-01-21 Alon Dayan <alond@il.ibm.com>
1560 Olga Golovanevsky <olga@il.ibm.com>
1561
1562 PR tree-optimization/34701
1563 * ipa-struct-reorg.c (gen_size): Fix the malloc parameter calculation
1564 when the structure size is not a power of 2.
1565
1566 2008-01-20 Kenneth Zadeck <zadeck@naturalbridge.com>
1567
1568 * doc/install.texi: Add doc for --enable-checking=df.
1569
1570 2008-01-20 Kaz Kojima <kkojima@gcc.gnu.org>
1571
1572 PR rtl-optimization/34808
1573 * emit-rtl.c (try_split): Handle REG_RETVAL notes.
1574
1575 2008-01-20 Richard Sandiford <rsandifo@nildram.co.uk>
1576
1577 * global.c (find_reg): Only compute EH_RETURN_DATA_REGNO once per
1578 input.
1579
1580 2008-01-19 Kenneth Zadeck <zadeck@naturalbridge.com>
1581
1582 PR rtl-optimization/26854
1583 PR rtl-optimization/34400
1584 * ddg.c (create_ddg_dep_from_intra_loop_link): Do not use
1585 DF_RD->gen.
1586 * df.h (df_changeable_flags.DF_RD_NO_TRIM): New.
1587 (df_rd_bb_info.expanded_lr_out): New.
1588 * loop_invariant.c (find_defs): Added DF_RD_NO_TRIM flag.
1589 * loop_iv.c (iv_analysis_loop_init): Ditto.
1590 * df-problems.c (df_rd_free_bb_info, df_rd_alloc, df_rd_confluence_n,
1591 df_rd_bb_local_compute, df_rd_transfer_function, df_rd_free):
1592 Added code to allocate, initialize or free expanded_lr_out.
1593 (df_rd_bb_local_compute_process_def): Restructured to make
1594 more understandable.
1595 (df_rd_confluence_n): Add code to do nothing with fake edges and
1596 code to no apply invalidate_by_call sets if the sets are being trimmed.
1597 (df_lr_local_finalize): Renamed to df_lr_finalize.
1598 (df_live_local_finalize): Renamed to df_live_finalize.
1599
1600 2008-01-20 Richard Sandiford <rsandifo@nildram.co.uk>
1601
1602 PR target/34831
1603 * config/mips/mips.md (div<mode>3): Use <recip_condition> when
1604 deciding whether to use reciprocal instructions.
1605
1606 2008-01-19 Uros Bizjak <ubizjak@gmail.com>
1607
1608 * dwarf2out.c (dwarf2out_switch_text_section): Do not call
1609 dwarf2out_note_section_used if cold_text_section is NULL.
1610
1611 2008-01-19 Jakub Jelinek <jakub@redhat.com>
1612
1613 PR gcov-profile/34610
1614 * tree-cfg.c (make_edges): Mark both outgoing edges from
1615 OMP_CONTINUE and from OMP_FOR as EDGE_ABNORMAL.
1616 * omp-low.c (expand_omp_for): Clear EDGE_ABNORMAL bits
1617 from OMP_FOR and OMP_CONTINUE outgoing edges.
1618
1619 * tree-profile.c (tree_profiling): Return early if
1620 cfun->after_tree_profile != 0. Set cfun->after_tree_profile
1621 at the end.
1622 * omp-low.c (expand_omp_parallel): Copy after_tree_profile
1623 from cfun to child_cfun.
1624 * function.h (struct function): Add after_tree_profile bit.
1625
1626 2008-01-19 Anatoly Sokolov <aesok@post.ru>
1627
1628 * config/avr/avr.S (_exit): Disable interrupt.
1629
1630 2008-01-18 Kenneth Zadeck <zadeck@naturalbridge.com>
1631 Steven Bosscher <stevenb.gcc@gmail.com>
1632
1633 PR rtl-optimization/26854
1634 PR rtl-optimization/34400
1635 * df-problems.c (df_live_scratch): New scratch bitmap.
1636 (df_live_alloc): Allocate df_live_scratch when doing df_live.
1637 (df_live_reset): Clear the proper bitmaps.
1638 (df_live_bb_local_compute): Only process the artificial defs once
1639 since the order is not important.
1640 (df_live_init): Init the df_live sets only with the variables
1641 found live by df_lr.
1642 (df_live_transfer_function): Use the df_lr sets to prune the
1643 df_live sets as they are being computed.
1644 (df_live_free): Free df_live_scratch.
1645
1646 2008-01-18 Ian Lance Taylor <iant@google.com>
1647
1648 * common.opt: Add fmerge-debug-strings.
1649 * dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Test
1650 flag_merge_debug_strings rather than flag_merge_constants.
1651 * doc/invoke.texi (Option Summary): Mention
1652 -fmerge-debug-strings.
1653 (Debugging Options): Document -fmerge-debug-strings.
1654
1655 2008-01-18 Ian Lance Taylor <iant@google.com>
1656
1657 PR c++/33407
1658 * tree.h (DECL_IS_OPERATOR_NEW): Define.
1659 (struct tree_function_decl): Add new field operator_new_flag.
1660 * tree-inline.c (expand_call_inline): When inlining a call to
1661 operator new, force the return value to go into a variable, and
1662 set DECL_NO_TBAA_P on that variable.
1663 * c-decl.c (merge_decls): Merge DECL_IS_OPERATOR_NEW flag.
1664
1665 2008-01-18 Uros Bizjak <ubizjak@gmail.com>
1666
1667 PR debug/34484
1668 * dwarf2out.c (dwarf2out_switch_text_section): Do not guard with
1669 DWARF2_DEBUGGING_INFO.
1670 (dwarf2out_note_section_used): Ditto. Add prototype.
1671 (have_multiple_function_sections, text_section_used,
1672 cold_text_section_used, *cold_text_sections): Move declarations
1673 before their uses.
1674
1675 2008-01-17 Bob Wilson <bob.wilson@acm.org>
1676
1677 * config/xtensa/unwind-dw2-xtensa.h (_Unwind_FrameState): Remove pc
1678 field and add signal_ra.
1679 * config/xtensa/unwind-dw2-xtensa.c (uw_frame_state_for): Remove
1680 assignments to frame state pc. Move end of stack check after
1681 MD_FALLBACK_FRAME_STATE_FOR.
1682 (uw_update_context_1): Use frame state signal_regs if set, instead
1683 of checking signal_frame flag.
1684 (uw_update_context): Use frame state signal_ra if set.
1685 * config/xtensa/linux.h (MD_UNWIND_SUPPORT): Define.
1686 * config/xtensa/linux-unwind.h: New file.
1687
1688 2008-01-18 Bernhard Fischer <aldot@gcc.gnu.org>
1689
1690 * modulo-sched.c (get_sched_window): Fix comment typo.
1691
1692 2008-01-17 Andrew MacLeod <amacleod@redhat.com>
1693
1694 PR tree-optimization/34648
1695 * tree-ssa-sccvn.c (visit_use): Expressions which can throw are varying.
1696
1697 2008-01-17 Anatoly Sokolov <aesok@post.ru>
1698
1699 * config/avr/avr.h (LINK_SPEC): Support -mrelax and -mpmem-wrap-around.
1700 * config/avr/avr.opt (mrelax, mpmem-wrap-around): Add.
1701
1702 2008-01-17 Seongbae Park <seongbae.park@gmail.com>
1703
1704 PR rtl-optimization/34400
1705 * df-core.c (df_worklist_dataflow_overeager,
1706 df_worklist_dataflow_doublequeue): New functions.
1707 (df_worklist_dataflow): Two different worklist solvers.
1708 * params.def (PARAM_DF_DOUBLE_QUEUE_THRESHOLD_FACTOR):
1709 New param.
1710
1711 2008-01-16 Sebastian Pop <sebastian.pop@amd.com>
1712
1713 PR testsuite/34821
1714 * doc/invoke.texi: Document the dependence on pthread for fopenmp
1715 and ftree-parallelize-loops.
1716
1717 2008-01-17 Mircea Namolaru <namolaru@il.ibm.com>
1718
1719 PR rtl-optimization/34826
1720 * loop-doloop (doloop_modify): Update the REG_BR_PROB note.
1721
1722 2008-01-17 Andreas Krebbel <krebbel1@de.ibm.com>
1723
1724 * global.c (find_reg): Mark the eh regs as used if necessary.
1725 * ra-conflict.c (global_conflicts): Set no_eh_reg flag.
1726 * ra.h (struct allocno): no_eh_reg field added. Changed
1727 no_stack_reg type to bitfield.
1728
1729 2008-01-17 Eric Botcazou <ebotcazou@adacore.com>
1730
1731 * tree.c (substitute_in_expr): Add missing 'break'.
1732
1733 2008-01-17 Richard Guenther <rguenther@suse.de>
1734
1735 PR tree-optimization/34825
1736 * tree-ssa-math-opts.c (is_division_by): Do not recognize
1737 x / x as division to handle.
1738
1739 2008-01-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1740
1741 * pa64-hpux.h (LIB_SPEC): Add "-lpthread" in shared links if "-mt" or
1742 "-pthread" is specified.
1743 * pa-hpux11.h (LIB_SPEC): Likewise.
1744
1745 2008-01-16 Janis Johnson <janis187@us.ibm.com>
1746 Peter Bergner <bergner@vnet.ibm.com>
1747
1748 PR rtl-optimization/33796
1749 * sparseset.c (sparseset_alloc): Use xcalloc rather than xmalloc.
1750
1751 2008-01-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1752
1753 PR libgfortran/34699
1754 * pa-hpux.h (LINK_SPEC): Only search /lib/pa1.1 and /usr/lib/pa1.1 on
1755 static links.
1756 * pa-hpux10.h (LINK_SPEC): Likewise.
1757 * pa-hpux11.h (LINK_SPEC): Don't search /lib/pa1.1 and /usr/lib/pa1.1.
1758
1759 2008-01-16 Richard Guenther <rguenther@suse.de>
1760
1761 PR middle-end/32628
1762 * fold-const.c (fold_convert_const_int_from_int): Do not
1763 set overflow if that occured only because of a sign extension
1764 change when converting from/to a sizetype with the same
1765 precision and signedness.
1766
1767 2008-01-16 Uros Bizjak <ubizjak@gmail.com>
1768
1769 PR debug/34249
1770 * dwarf2out.c (output_call_frame_info): Move output of FDE initial
1771 location address to the correct place. Update copyright year.
1772
1773 2008-01-16 Sebastian Pop <sebastian.pop@amd.com>
1774
1775 * lambda-code.c (lambda_transform_legal_p): Handle the case of
1776 no dependences in the dependence_relations vector.
1777
1778 2008-01-16 Jan Hubicka <jh@suse.cz>
1779
1780 PR rtl-optimization/31396
1781 * regstat.c (regstat_bb_compute_ri): Compute FREQ_CALLS_CROSSED.
1782 * cfg.c (dump_reg_info): Print it.
1783 * regs.h (struct reg_info_t): add freq_calls_crossed.
1784 (REG_FREQ_CALLS_CROSSED): New macro.
1785 * global.c (global_alloc): Compute freq_calls_crossed for allocno.
1786 (find_reg): Update call of CALLER_SAVE_PROFITABLE.
1787 * regmove.c (optimize_reg_copy_1, optimize_reg_copy_2, fixup_match_2,
1788 regmove_optimize): Update call crossed frequencies.
1789 * local-alloc.c (struct qty): Add freq_calls_crossed.
1790 (alloc_qty): Copute freq_calls_crossed.
1791 (update_equiv_regs, combine_regs): Update REG_FREQ_CALLS_CROSSED.
1792 (find_free_reg): Update call of CALLER_SAVE_PROFITABLE.
1793 * ra.h (struct allocno): Add freq_calls_crossed.
1794
1795 2008-01-16 Sebastian Pop <sebastian.pop@amd.com>
1796
1797 * gcc.c (LINK_COMMAND_SPEC): Add includes and link options for
1798 libgomp when compiling with ftree-parallelize-loops.
1799 (GOMP_SELF_SPECS): Add -pthread for ftree-parallelize-loops.
1800
1801 2008-01-16 Richard Guenther <rguenther@suse.de>
1802
1803 PR tree-optimization/34769
1804 * tree-data-ref.c (initialize_matrix_A): Revert fix for PR34458.
1805 * tree.c (int_cst_value): Instead make this function more
1806 permissive in what it accepts as valid input. Document this
1807 function always sign-extends the value.
1808
1809 2008-01-16 Jakub Jelinek <jakub@redhat.com>
1810 Richard Guenther <rguenther@suse.de>
1811
1812 PR c/34668
1813 * gimplify.c (fold_indirect_ref_rhs): Rename to ...
1814 (gimple_fold_indirect_ref_rhs): ... this.
1815 (gimple_fold_indirect_ref): New function with foldings
1816 that preserve lvalueness.
1817 (gimplify_modify_expr_rhs): Call gimple_fold_indirect_ref_rhs.
1818 * tree-flow.h (gimple_fold_indirect_ref): Declare.
1819 * tree-inline.c (copy_body_r): Use gimple_fold_indirect_ref
1820 to fold an INDIRECT_REF, fall back to the old use of
1821 fold_indirect_ref_1.
1822
1823 2008-01-16 Sebastian Pop <sebastian.pop@amd.com>
1824
1825 * tree-data-ref.c (subscript_dependence_tester_1): Call
1826 free_conflict_function.
1827 (compute_self_dependence): Same.
1828
1829 2008-01-16 Uros Bizjak <ubizjak@gmail.com>
1830
1831 PR debug/34249
1832 * debug.h (dwarf2out_switch_text_section): Move declaration from ...
1833 * dwarf2out.c (dwarf2out_switch_text_section): ... here. Make
1834 function global.
1835 * final.c (final_scan_insn) [NOTE_INSN_SWITCH_TEXT_SECTIONS]:
1836 Depending on dwarf2out_do_frame, call dwarf2out_switch_text_section
1837 for DWARF2_UNWIND_INFO targets.
1838
1839 2008-01-16 Richard Guenther <rguenther@suse.de>
1840
1841 PR c/34768
1842 * c-typeck.c (common_pointer_type): Do not merge inconsistent
1843 type qualifiers for function types.
1844
1845 2008-01-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1846
1847 * tree-parloops.c (gen_parallel_loop): Fix ommision of declaration for
1848 loop_iterator li from previous commit.
1849
1850 2008-01-15 Sebastian Pop <sebastian.pop@amd.com>
1851
1852 * tree-parloops.c (gen_parallel_loop): Free loop bound estimations.
1853
1854 2008-01-12 Sebastian Pop <sebastian.pop@amd.com>
1855
1856 * tree-parloops.c (loop_has_blocks_with_irreducible_flag): New.
1857 (parallelize_loops): Don't parallelize irreducible components.
1858
1859 2008-01-14 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
1860
1861 PR c++/24924
1862 * c-opts (c_common_post_options): Do not enable CPP
1863 flag_pedantic_errors by default.
1864
1865 2008-01-14 Eric Botcazou <ebotcazou@adacore.com>
1866
1867 PR rtl-optimization/31944
1868 * cse.c (remove_pseudo_from_table): New function.
1869 (merge_equiv_classes): Use above function to remove pseudo-registers.
1870 (invalidate): Likewise.
1871
1872 2008-01-13 Richard Guenther <rguenther@suse.de>
1873
1874 PR middle-end/34601
1875 * emit-rtl.c (set_reg_attrs_for_decl_rtl): Use DECL_MODE
1876 instead of TYPE_MODE to deal with calls from expand_one_error_var.
1877
1878 2008-01-13 Uros Bizjak <ubizjak@gmail.com>
1879
1880 * gcse.c (cprop_jump): Call validate_unshare_change instead of
1881 validate_change to unshare the source of the PC set.
1882
1883 2008-01-12 Jan Hubicka <jh@suse.cz>
1884
1885 PR middle-end/32135
1886 * tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Do not construct
1887 references above array bounds. This might trigger bounds checks for
1888 pointers to arrays.
1889
1890 2008-01-12 Sebastian Pop <sebastian.pop@amd.com>
1891
1892 * tree-ssa-ter.c (free_temp_expr_table): Free num_in_part and
1893 new_replaceable_dependencies.
1894
1895 2008-01-12 Doug Kwan <dougkwan@google.com>
1896
1897 * c-decl.c: (grokdeclarator): Use OPT_Wignored_qualifiers
1898 instead of OPT_Wreturn_type in warning due to ignored return type
1899 qualifiers.
1900 * c-opt.c (c_common_post_option): Add -Wignored-qualifiers to
1901 options included in -Wextra.
1902 * c.opt: New option -Wignored_qualifiers.
1903 * doc/invoke.texi (Warning Options, -Wextra): Add new option
1904 -Wignore_qualifiers.
1905 (-Wignored-qualifiers): Document.
1906 (-Wreturn-type): Remove description of functionality now handled
1907 by -Wignored-qualifiers.
1908
1909 2008-01-12 Eric Botcazou <ebotcazou@adacore.com>
1910
1911 PR ada/33788
1912 * fold-const.c (fold_unary) <VIEW_CONVERT_EXPR>: Fold an existing
1913 NOP_EXPR if it is between integral types with the same precision.
1914
1915 2008-01-12 Jan Hubicka <jh@suse.cz>
1916
1917 PR other/28023
1918 * invoke.texi (max-inline-recursive-depth): Fix default value.
1919
1920 2008-01-12 Zdenek Dvorak <ook@ucw.cz>
1921
1922 * tree-parloops.c (transform_to_exit_first_loop): Cast nit to the
1923 correct type.
1924
1925 2008-01-11 Bob Wilson <bob.wilson@acm.org>
1926
1927 * config/xtensa/xtensa.c (override_options): Set flag_shlib.
1928
1929 2008-01-11 James E. Wilson <wilson@specifix.com>
1930
1931 PR target/26015
1932 * config/vax/elf.h (FRAME_POINTER_CFA_OFFSET): Define.
1933
1934 2008-01-11 Anatoly Sokolov <aesok@post.ru>
1935
1936 * config/avr/avr.c (expand_prologue, expand_epilogue): Don't
1937 save/restore frame pointer register and don't use 'call-prologues'
1938 optimization in function with "OS_task" attribute.
1939
1940 2008-01-11 Eric Botcazou <ebotcazou@adacore.com>
1941
1942 PR middle-end/31309
1943 * expr.c (copy_blkmode_from_reg): Use a mode suited to the size
1944 when copying to memory.
1945
1946 2008-01-11 Steven Bosscher <stevenb.gcc@gmail.com>
1947
1948 PR rtl-optimization/30905
1949 * cfgcleanup.c: Include dce.h
1950 (crossjumps_occured): New global variable.
1951 (try_crossjump_bb): Exit loop after finding a fallthru edge.
1952 If something changed, set crossjumps_occured to true.
1953 (try_optimize_cfg): Clear crossjumps_occured at the beginning.
1954 Don't add/remove fake edges to exit here...
1955 (cleanup_cfg): ...but do it here, when crossjumping.
1956 Run a fast DCE when successful crossjumps occured in the latest
1957 iteration of try_optimize_cfg.
1958
1959 2008-01-11 Richard Guenther <rguenther@suse.de>
1960
1961 * tree-ssa-sccvn.c (struct vn_binary_op_s): Move hashcode near opcode.
1962 (struct vn_unary_op_s): Likewise.
1963 (vn_reference_insert): Free old reference on hash collision.
1964
1965 2008-01-10 Raksit Ashok <raksit@google.com>
1966
1967 PR rtl-optimization/27971
1968 * combine.c (find_split_point): Split PLUS expressions which are
1969 inside a MEM rtx, and whose first operand is complex.
1970
1971 2008-01-10 DJ Delorie <dj@redhat.com>
1972
1973 * config/m32c/m32c.c (m32c_hard_regno_nregs_1): Renamed from...
1974 (m32c_hard_regno_nregs): ...this, which is now a wrapper.
1975 (m32c_hard_regno_ok): Call the underlying function.
1976
1977 2008-01-10 Richard Guenther <rguenther@suse.de>
1978
1979 PR middle-end/34683
1980 * tree-cfg.c (tree_merge_blocks): Do not go through the
1981 full-blown folding and stmt updating path if we just deal
1982 with virtual operands.
1983 * tree-ssa-copy.c (may_propagate_copy): Do not short-cut
1984 test for abnormal SSA_NAMEs.
1985
1986 2008-01-10 Andreas Krebbel <krebbel1@de.ibm.com>
1987
1988 PR middle-end/34641
1989 * reload.c (push_reload): Add assertions. All constants from
1990 reg_equiv_constant should have been used for replacing the respective
1991 pseudo earlier.
1992 (find_reloads_address): Invoke find_reloads_address_part for
1993 constant taken from the reg_equiv_constant array.
1994
1995 2008-01-10 Steven Bosscher <stevenb.gcc@gmail.com>
1996
1997 * tree-ssa-sccvn.h (struct vn_ssa_aux): Make the most accessed
1998 field (valnum) the first in the struct. Replace bools with
1999 unit bit fields.
2000
2001 2008-01-10 Richard Guenther <rguenther@suse.de>
2002
2003 PR tree-optimization/34651
2004 * tree-sra.c (sra_build_assignment): Sanitize. Use the correct
2005 types and ordering for masking and converting.
2006
2007 2008-01-09 Sebastian Pop <sebastian.pop@amd.com>
2008
2009 PR tree-optimization/34017
2010 * lambda-code.c (lambda_loopnest_to_gcc_loopnest): Generate code
2011 also for PHI_NODE expressions.
2012
2013 2008-01-09 Jan Hubicka <jh@suse.cz>
2014
2015 PR tree-optimization/34708
2016 * tree-inline.c (estimate_num_insns_1): Compute cost of SWITCH_EXPR
2017 based on number of case labels.
2018 (init_inline_once): Remove switch_cost.
2019 * tree-inline.h (eni_weights_d): Remove switch_cost.
2020
2021 2008-01-09 Richard Guenther <rguenther@suse.de>
2022 Andrew Pinski <andrew_pinski@playstation.sony.com>
2023
2024 PR middle-end/30132
2025 * gimplify.c (gimplify_cond_expr): Do not create an addressable
2026 temporary if an rvalue is ok or an lvalue is not required.
2027
2028 2008-01-09 Richard Guenther <rguenther@suse.de>
2029
2030 PR middle-end/34458
2031 * tree-data-ref.c (initialize_matrix_A): Use tree_low_cst,
2032 adjust return type.
2033
2034 2008-01-09 Richard Guenther <rguenther@suse.de>
2035
2036 PR middle-end/34679
2037 * tree.c (host_integerp): Check for sizetype only if the
2038 type is an integer type.
2039
2040 2008-01-09 Steven Bosscher <stevenb.gcc@gmail.com>
2041
2042 PR debug/26364
2043 * opts.c (decode_options): Disable inlining of functions called
2044 once if not in unit-at-a-time mode.
2045
2046 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
2047
2048 * Makefile.in (dse.o): Remove duplicate $(RECOG_H) dependency.
2049
2050 2008-01-08 Richard Guenther <rguenther@suse.de>
2051
2052 PR middle-end/31863
2053 * tree-ssa-structalias.c (push_fields_onto_fieldstack): Bail
2054 out early if the result will be unused.
2055
2056 2008-01-08 Uros Bizjak <ubizjak@gmail.com>
2057
2058 PR target/34709
2059 Revert:
2060
2061 2008-01-05 Uros Bizjak <ubizjak@gmail.com>
2062 * config/i386/i386.c (ix86_builtin_reciprocal): Remove check
2063 for TARGET_RECIP.
2064
2065 2008-01-08 Jan Sjodin <jan.sjodin@amd.com>
2066
2067 * config/i386/i386.c (k8_cost, amdfam10_cost): Branch costs
2068 for vectorization tuned.
2069
2070 2008-01-08 Richard Guenther <rguenther@suse.de>
2071
2072 PR tree-optimization/34683
2073 * tree-ssa-operands.c (operand_build_cmp): Export.
2074 * tree-ssa-operands.h (operand_build_cmp): Declare.
2075 * tree-vn.c (vuses_compare): Remove.
2076 (sort_vuses): Use operand_build_cmp.
2077 (sort_vuses_heap): Likewise.
2078 * tree-ssa-sccvn.c (vuses_to_vec): Use VEC_reserve, not VEC_alloc
2079 to re-use old VEC if available. Do not sort already sorted VUSEs.
2080 (vdefs_to_vec): Do not sort already sorted VDEFs.
2081
2082 2008-01-08 Jakub Jelinek <jakub@redhat.com>
2083
2084 PR middle-end/34694
2085 * omp-low.c (copy_var_decl): Copy also DECL_SOURCE_LOCATION.
2086
2087 2008-01-08 Uros Bizjak <ubizjak@gmail.com>
2088
2089 PR target/34702
2090 * doc/invoke.texi (i386 and x86-64 Options) [mrecip]: Document
2091 limitations of reciprocal sequences on x86 targets.
2092
2093 2008-01-08 Richard Guenther <rguenther@suse.de>
2094
2095 PR tree-optimization/34683
2096 * tree-flow-inline.h (var_ann): Remove overzealous asserts.
2097
2098 2008-01-07 Jakub Jelinek <jakub@redhat.com>
2099
2100 PR target/34622
2101 * config/darwin.c (darwin_mergeable_string_section): Don't use
2102 .cstring if int_size_in_bytes != TREE_STRING_LENGTH.
2103
2104 2008-01-07 Uros Bizjak <ubizjak@gmail.com>
2105
2106 PR target/34682
2107 * config/i386/i386.md (neg<mode>2): Rename from negsf2, negdf2 and
2108 negxf2. Macroize expander using X87MODEF mode iterator. Change
2109 predicates of op0 and op1 to register_operand.
2110 (abs<mode>2): Rename from abssf2, absdf2 and negxf2. Macroize
2111 expander using X87MODEF mode iterator. Change predicates of
2112 op0 and op1 to register_operand.
2113 ("*absneg<mode>2_mixed", "*absneg<mode>2_sse"): Rename from
2114 corresponding patterns and macroize using MODEF macro. Change
2115 predicates of op0 and op1 to register_operand and remove
2116 "m" constraint. Disparage "r" alternative with "!".
2117 ("*absneg<mode>2_i387"): Rename from corresponding patterns and
2118 macroize using X87MODEF macro. Change predicates of op0 and op1
2119 to register_operand and remove "m" constraint. Disparage "r"
2120 alternative with "!".
2121 (absneg splitter with memory operands): Remove.
2122 ("*neg<mode>2_1", "*abs<mode>2_1"): Rename from corresponding
2123 patterns and macroize using X87MODEF mode iterator.
2124 * config/i386/sse.md (negv4sf2, absv4sf2, neg2vdf2, absv2df2):
2125 Change predicate of op1 to register_operand.
2126 * config/i386/i386.c (ix86_expand_fp_absneg_operator): Remove support
2127 for memory operands.
2128
2129 2008-01-07 Nathan Froyd <froydnj@codesourcery.com>
2130
2131 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add clause for mcpu=8548.
2132
2133 2008-01-07 Richard Guenther <rguenther@suse.de>
2134
2135 * basic-block.h (struct edge_def): Pair dest_idx with goto_locus
2136 fields.
2137
2138 2008-01-07 Richard Guenther <rguenther@suse.de>
2139
2140 PR tree-optimization/34683
2141 * tree-ssa-sccvn.c (vuses_to_vec): Pre-allocate the vector of
2142 VOPs of the needed size to save memory. Use VEC_quick_push
2143 to save compile-time.
2144 (vdefs_to_vec): Likewise.
2145
2146 2008-01-07 Sa Liu <saliu@de.ibm.com>
2147
2148 * config/spu/spu.md (divdf3): Genetate inline code for double
2149 division. The implementation doesn't handle INF or NAN, therefore it
2150 only applies when -ffinite-math-only is given.
2151
2152 2008-01-06 Paolo Carlini <pcarlini@suse.de>
2153
2154 PR libstdc++/34680
2155 * c-cppbuiltin.c (c_cpp_builtins): Define __GXX_RTTI, if appropriate.
2156 * doc/cpp.texi ([Common Predefined Macros]): Document.
2157
2158 2008-01-06 Uros Bizjak <ubizjak@gmail.com>
2159
2160 * config/i386/i386.c (ix86_emit_swsqrtsf): Use negative constants in
2161 order to use commutative addition instead of subtraction.
2162
2163 2008-01-06 Andrew Pinski <andrew_pinski@playstation.sony.com>
2164 Mircea Namolaru <namolaru@il.ibm.com>
2165 Vladimir Yanovsky <yanov@il.ibm.com>
2166 Revital Eres <eres@il.ibm.com>
2167
2168 PR tree-optimization/34263
2169 * tree-outof-ssa.c (process_single_block_loop_latch,
2170 contains_tree_r): New functions.
2171 (analyze_edges_for_bb): Call process_single_block_loop_latch
2172 function to empty single-basic-block latch block if possible.
2173
2174 2008-01-05 Uros Bizjak <ubizjak@gmail.com>
2175
2176 * config/i386/i386.c (ix86_builtin_reciprocal): Remove check
2177 for TARGET_RECIP.
2178 (ix86_emit_swsqrtsf): Do not filter out infinity for rsqrt expansion.
2179
2180 2008-01-05 Richard Sandiford <rsandifo@nildram.co.uk>
2181
2182 * c-omp.c (check_omp_for_incr_expr): Handle CONVERT_EXPR.
2183
2184 2008-01-05 Richard Sandiford <rsandifo@nildram.co.uk>
2185
2186 * config/mips/mips.c (mips_in_small_data_p): Reinstate size > 0 check.
2187
2188 2008-01-05 Jakub Jelinek <jakub@redhat.com>
2189
2190 PR tree-optimization/34618
2191 * tree-outof-ssa.c (create_temp): Copy over DECL_GIMPLE_REG_P
2192 flag from T.
2193
2194 2008-01-05 Uros Bizjak <ubizjak@gmail.com>
2195
2196 PR target/34673
2197 * config/i386/i386.c (ix86_emit_swsqrtsf): Swap input operands
2198 in the call to gen_rtx_NE. Remove unneeded VECTOR_MODE_P check.
2199 Update copyright year.
2200
2201 * config/i386/i386.md (rsqrtsf2): Enable for TARGET_SSE_MATH.
2202 Update copyright year.
2203 * config/i386/sse.md (rsqrtv4sf2): Ditto. Unconditionally expand
2204 using NR fixup.
2205
2206 2008-01-05 Zhouyi Zhou <zhouzhouyi@FreeBSD.org>
2207
2208 * tree-vrp.c (find_conditional_asserts): Remove redundant check that
2209 edge does not point to current bb before changing need_assert.
2210
2211 2008-01-04 Richard Guenther <rguenther@suse.de>
2212
2213 PR middle-end/34029
2214 * tree-cfg.c (verify_expr): Do not look inside ADDR_EXPRs
2215 for verifying purposes if they are is_gimple_min_invariant.
2216
2217 2008-01-04 Aldy Hernandez <aldyh@redhat.com>
2218
2219 PR tree-optimization/34448
2220 PR tree-optimization/34465
2221 * gimplify.c (gimplify_init_constructor): Add new parameter
2222 notify_temp_creation. Use it.
2223 (gimplify_modify_expr_rhs): Take volatiles into account when
2224 optimizing constructors.
2225 Do not optimize constructors if gimplify_init_constructor will dump to
2226 memory.
2227 * gcc.dg/tree-ssa/pr32901.c: Tests const volatiles.
2228 * gcc.c-torture/compile/pr34448.c: New.
2229
2230 2008-01-04 Jakub Jelinek <jakub@redhat.com>
2231
2232 PR gcov-profile/34609
2233 * tree-inline.c (declare_return_variable): Set TREE_ADDRESSABLE on
2234 return_slot if result is TREE_ADDRESSABLE.
2235
2236 2008-01-04 Richard Sandiford <rsandifo@nildram.co.uk>
2237
2238 * config/mips/mips.md (sqrt_condition): Tweak comment.
2239 (recip_condition): Likewise. Require TARGET_FLOAT64 for DFmode.
2240
2241 2008-01-03 Tom Tromey <tromey@redhat.com>
2242
2243 PR c/34457
2244 * c-common.c (c_type_hash): Handle VLAs.
2245
2246 2008-01-03 Jan Hubicka <jh@suse.cz>
2247
2248 PR tree-optimization/31081
2249 * tree-inline.c (remap_ssa_name): Initialize uninitialized SSA vars to
2250 0 when inlining and not inlining to first basic block.
2251 (remap_decl): When var is initialized to 0, don't set default_def.
2252 (expand_call_inline): Set entry_bb.
2253 * tree-inline.h (copy_body_data): Add entry_bb.
2254
2255 2008-01-03 Jakub Jelinek <jakub@redhat.com>
2256
2257 PR c++/34619
2258 * cgraphunit.c (cgraph_build_static_cdtor): set_cfun back to NULL
2259 before returning.
2260
2261 PR tree-optimization/29484
2262 * tree-inline.c (inline_forbidden_p_2): New function.
2263 (inline_forbidden_p): Disallow inlining if some static var
2264 has an address of a local LABEL_DECL in its initializer.
2265 * doc/extend.texi (Labels as Values): Document &&foo behaviour
2266 vs. inlining.
2267
2268 2008-01-03 Sebastian Pop <sebastian.pop@amd.com>
2269
2270 PR tree-optimization/34635
2271 * tree-data-ref.c (add_other_self_distances): Make sure that the
2272 evolution step is constant.
2273
2274 2008-01-03 Jakub Jelinek <jakub@redhat.com>
2275
2276 PR middle-end/34608
2277 * omp-low.c (expand_omp_parallel): Purge dead EH edges in the child fn.
2278
2279 2008-01-02 Richard Sandiford <rsandifo@nildram.co.uk>
2280
2281 * tree-sra.c (scalarize_init): Insert the generate_element_init
2282 statements after the generate_element_zero statements.
2283
2284 2008-01-02 Richard Guenther <rguenther@suse.de>
2285
2286 PR middle-end/34093
2287 PR middle-end/31976
2288 * tree-ssa-operands.c (ssa_operand_alloc): Also allocate a buffer
2289 for very large number of operands instead of ICEing.
2290
2291 2008-01-02 Arthur Norman <acn1@cam.ac.uk>
2292
2293 PR target/34013
2294 * gcc/config/i386/i386.c (ix86_expand_prologue): Save red-zone
2295 while stack probing.
2296
2297 2008-01-01 Douglas Gregor <doug.gregor@gmail.com>
2298
2299 * c-opts.c (sanitize_cpp_opts): Don't warn about "long long" when
2300 in C++0x mode.
2301
2302 2008-01-01 Volker Reichelt <v.reichelt@netcologne.de>
2303
2304 PR libmudflap/26442
2305 * tree-mudflap.c (mx_register_decls): Guard warning by
2306 !DECL_ARTIFICIAL check.
2307
2308 2008-01-01 Jakub Jelinek <jakub@redhat.com>
2309
2310 * config/i386/sse.md (sse5_pperm, sse5_pperm_pack_v2di_v4si,
2311 sse5_pperm_pack_v4si_v8hi, sse5_pperm_pack_v8hi_v16qi,
2312 sse5_perm<mode>): Fix constraints.