OSDN Git Service

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