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