OSDN Git Service

gcc/
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2008-03-30  H.J. Lu  <hongjiu.lu@intel.com>
2
3         PR target/35757
4         * config/i386/i386.c (ix86_expand_sse_4_operands_builtin): Issue
5         proper error message for the third argument on blendpd and
6         blendps.
7
8         * config/i386/sse.md (blendbits): New.
9         (sse4_1_blendp<ssemodesuffixf2c>): Use it.
10
11 2008-03-30  Eric Botcazou  <ebotcazou@adacore.com>
12
13         * fold-const.c (fold_binary) <BIT_IOR_EXPR>: Add missing conversions.
14
15 2008-03-30  Richard Guenther  <rguenther@suse.de>
16
17         PR middle-end/31023
18         * fold-const.c (fold_sign_changed_comparison): Do leave
19         conversions to base-types alone.
20
21 2008-03-29  Andrew Pinski  <andrew_pinski@playstation.sony.com>
22
23         * config/rs6000/rs6000.c (rs6000_stack_info): Don't force saving of
24         the link register if one altivec register is be saved.
25
26 2008-03-30  Ben Elliston  <bje@au.ibm.com>
27
28         * final.c (final_scan_insn): Remove if (0) code.
29
30 2008-03-28  Volker Reichelt  <v.reichelt@netcologne.de>
31
32         * c-parser.c (c_parser_next_token_is_keyword): Simplify.
33
34 2008-03-28  H.J. Lu  <hongjiu.lu@intel.com>
35
36         * config/i386/sse.md (*and<mode>3): Pass <MODE>mode instead
37         of V4SFmode to ix86_binary_operator_ok.
38
39 2008-03-28  Uros Bizjak  <ubizjak@gmail.com>
40
41         * config/i386/i386.c (override_options): Initialize
42         ix86_veclib_handler to ix86_veclibabi_svml when
43         -mveclibabi=svml is used.
44         (ix86_veclibabi_svml): New function for SVML ABI style
45         vectorization support.
46         * doc/invoke.texi (-mveclibabi) [svml]: Document new target option.
47
48 2008-03-28  Rafael Espindola  <espindola@google.com>
49
50         * fold-const.c (tree_unary_nonnegative_warnv_p): Make it public.
51         (tree_binary_nonnegative_warnv_p): Make it public.
52         (tree_single_nonnegative_warnv_p): Make it public.
53         (tree_invalid_nonnegative_warnv_p): Make it public.
54         (tree_unary_nonzero_warnv_p): Make it public.
55         (tree_binary_nonzero_warnv_p): Make it public
56         (tree_single_nonzero_warnv_p): Make it public.
57         * tree-vrp.c (vrp_evaluate_conditional_warnv_with_ops): New function.
58         (extract_range_from_binary_expr): Split the expr argument.
59         (extract_range_from_unary_expr): Split the expr argument.
60         (extract_range_from_comparison): Split the expr argument.
61         (extract_range_from_expr): Use the new aux functions.
62         (vrp_evaluate_conditional_warnv): Use
63         vrp_evaluate_conditional_warnv_with_ops.
64         * tree.h (tree_unary_nonzero_warnv_p): Declare.
65         (tree_binary_nonzero_warnv_p): Declare.
66         (tree_single_nonzero_warnv_p): Declare.
67         (tree_expr_nonzero_warnv_p): Declare.
68         (tree_unary_nonnegative_warnv_p): Declare.
69         (tree_binary_nonnegative_warnv_p): Declare.
70         (tree_single_nonnegative_warnv_p): Declare.
71         (tree_invalid_nonnegative_warnv_p): Declare.
72
73 2008-03-28  Richard Guenther  <rguenther@suse.de>
74
75         PR tree-optimization/30317
76         PR tree-optimization/30911
77         PR tree-optimization/34793
78         * tree-vrp.c (set_and_canonicalize_value_range): New function.
79         (struct assert_locus_d): New member EXPR.
80         (register_new_assert_for): Add EXPR parameter to support
81         ASSERT_EXPR <name, expr OP limit>.
82         (register_edge_assert_for_1): Adjust callers.
83         (find_assert_locations): Likewise.
84         (process_assert_insertions_for): Build condition from expression.
85         (extract_range_from_assert): Handle ASSERT_EXPRs
86         of the form ASSERT_EXPR <name, expr OP limit>.
87         (register_edge_assert_for_2): New helper registering
88         asserts for comparisons.  Recognize range tests of the form
89         (unsigned)i - CST1 OP CST2.
90         (register_edge_assert_for_1): Use it.
91         (register_edge_assert_for): Likewise.
92         (needs_overflow_infinity): Integer sub-types
93         do not need overflow infinities.
94         (vrp_val_is_max): The extreme values of integer sub-types
95         are those of the base type.
96         (vrp_val_is_min): Likewise.
97         * tree.def (ASSERT_EXPR): Document extra allowed conditional
98         expressions.
99
100 2008-03-28  Nick Clifton  <nickc@redhat.com>
101
102         * config/mn10300/mn10300.c (mn10300_secondary_reload_class):
103         Return GENERAL_REGS for stack adjustment reloads.
104
105 2008-03-28  Andrew Pinski  <andrew_pinski@playstation.sony.com>
106
107         PR target/31334
108         * config/rs6000/rs6000.c (rs6000_expand_vector_init): Create a
109         const_vector when all the vectors are constant.
110
111 2008-03-27  Bob Wilson  <bob.wilson@acm.org>
112
113         * config/xtensa/xtensa.c (gen_float_relational): Handle unordered
114         comparisons.
115         * config/xtensa/xtensa.md (any_cond): Add unordered comparisons.
116         (any_scc_sf): Add uneq, unlt, unle and unordered operators.
117         (scc_sf): New.
118         (s<code>_sf): Use new scc_sf attribute for opcode names.
119
120 2008-03-27  Tom Tromey  <tromey@redhat.com>
121
122         * doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
123         configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
124         config/spu/t-spu-elf, config/i386/t-interix,
125         config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
126         config/i386/x-darwin, config/i386/x-mingw32,
127         config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
128         config/sh/t-sh, config/sh/t-symbian, config/x-linux,
129         config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
130         config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
131         config/rs6000/x-rs6000, config/rs6000/x-darwin64,
132         config/rs6000/x-darwin, config/rs6000/t-rs6000,
133         config/score/t-score-elf, config/arm/t-strongarm-pe,
134         config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
135         config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
136         Revert automatic dependency patch.
137
138 2008-03-27  H.J. Lu  <hongjiu.lu@intel.com>
139
140         PR target/35657
141         * config/i386/i386.c (ix86_function_arg_boundary): Align
142         decimal floating point to its natural boundary.
143
144 2008-03-27  Richard Guenther  <rguenther@suse.de>
145
146         PR middle-end/35716
147         * fold-const.c (fold_comparison): Restrict distinct decl
148         comparison folding to VAR_DECLs and PARM_DECLs.  Do not
149         solely rely on operand_equal_p.
150
151 2008-03-27  Richard Guenther  <rguenther@suse.de>
152
153         PR c/32511
154         * c-common.c (handle_weak_attribute): Reject combination of
155         weak and inline.
156
157 2008-03-27  Richard Guenther  <rguenther@suse.de>
158
159         PR tree-optimization/32810
160         * tree-ssa-ccp.c (get_symbol_constant_value): Strip useless
161         conversions from DECL_INITIAL.
162         (fold_const_aggregate_ref): Likewise from constructor elements.
163
164 2008-03-27  Zdenek Dvorak  <ook@ucw.cz>
165
166         * tree-affine.h (aff_combination_expand): Declare.
167         (get_inner_reference_aff): Likewise.
168         * tree-affine.c (aff_combination_expand): Split out from
169         tree_to_aff_combination_expand.
170         (get_inner_reference_aff): New function.
171         * tree-parloops.c (loop_parallel_p): Free vectorizer info.
172         * tree-ssa-loop-im.c: Include tree-affine.h and pointer-set.h.
173         (struct lim_aux_data): sm_done field removed.
174         (mem_ref_loc_p, mem_ref_locs_p): New types.
175         (struct mem_ref): Added id, stored, accesses_in_loop,
176         indep_loop, dep_loop, indep_ref, dep_ref fields.
177         Removed is_stored, locs and next fields.
178         (memory_accesses): New variable.
179         (movement_possibility): Do not allow moving statements
180         that store to memory.
181         (outermost_indep_loop, simple_mem_ref_in_stmt, mem_ref_in_stmt):
182         New functions.
183         (determine_max_movement): For statements with memory references,
184         find the outermost loop in that the reference is independent.
185         (move_computations_stmt): Mark the virtual operands for renaming.
186         (memref_free, mem_ref_alloc, mem_ref_locs_alloc, mark_ref_stored,
187         gather_mem_refs_stmt, gather_mem_refs_in_loops, vtoe_hash, vtoe_eq,
188         vtoe_free, record_vop_access, get_vop_accesses, get_vop_stores,
189         add_vop_ref_mapping, create_vop_ref_mapping_loop,
190         create_vop_ref_mapping, analyze_memory_references,
191         cannot_overlap_p, mem_refs_may_alias_p, rewrite_mem_ref_loc,
192         get_all_locs_in_loop, ref_always_accessed_p,
193         refs_independent_p, record_indep_loop, ref_indep_loop_p_1,
194         ref_indep_loop_p, can_sm_ref_p, find_refs_for_sm,
195         store_motion_loop, store_motion): New functions.
196         (struct vop_to_refs_elt): New type.
197         (record_mem_ref_loc, free_mem_ref_locs, rewrite_mem_refs,
198         memref_hash, memref_eq, hoist_memory_references): Rewritten.
199         (schedule_sm): Replaced by...
200         (execute_sm): ... this.
201         (determine_lsm_ref, hoist_memory_references,
202         loop_suitable_for_sm, gather_mem_refs_stmt, gather_mem_refs,
203         find_more_ref_vops, free_mem_ref, free_mem_refs,
204         determine_lsm_loop, determine_lsm): Removed.
205         (tree_ssa_lim_finalize): Free data structures used by store motion.
206         (tree_ssa_lim): Call analyze_memory_references.  Use
207         store_motion instead of determine_lsm.
208
209 2008-03-27  Paolo Bonzini  <bonzini@gnu.org>
210
211         * config.cc (m68hc11, m6811, m68hc12, m6812): Add usegas.h,
212         rename tmake_file to m68hc11/t-m68hc11.
213         (mcore): Set inhibit_libc to true.
214         * config.host (alpha*-dec-*vms*): Set extra_programs.
215         (interix3*): Don't use host_xmake_file.
216         * configure.ac: Let config.gcc override inhibit_libc.
217         * configure: Regenerate.
218
219         * config/alpha/x-vms (EXTRA_PROGRAMS): Remove.
220         * config/t-openbsd-thread: Remove commented out lines.
221         
222         * config/x-interix: Remove.
223
224         * config/m68hc11/t-m68hc11-gas: Rename to...
225         * config/m68hc11/t-m68hc11: ... this.  Remove T_CPPFLAGS.
226
227         * config/mcore/t-mcore: Remove T_CFLAGS.
228         * config/mcore/t-mcore-pe: Likewise.
229
230 2008-03-27  Paolo Bonzini  <bonzini@gnu.org>
231
232         * configure.ac: Replace custom __GNU_SOURCE test with
233         AC_USE_SYSTEM_EXTENSIONS.  Move it earlier.
234         * aclocal.m4: Regenerate.
235         * configure: Regenerate.
236         * config.in: Regenerate.
237
238 2008-03-27  Richard Guenther  <rguenther@suse.de>
239
240         * fold-const.c (target.h): Include.
241         (fold_comparison): Fold comparison of addresses of decls
242         that bind locally or of constants.  Consolidate address folding code.
243         * tree-vrp.c (operand_less_p): Deal with non-INTEGER_CST
244         results from fold_binary_to_constant.
245         (compare_values_warnv): Likewise.
246
247 2008-03-27  Andrew Pinski  <pinskia@gmail.com>
248
249         PR middle-end/35429
250         * fold-const.c (fold_truthop): Check for integeral types when folding
251         a == 0 && b == 0 and a != 0 || b != 0 .
252
253 2008-03-26  Eric Botcazou  <ebotcazou@adacore.com>
254
255         * tree.c (get_unwidened): Remove code fiddling with COMPONENT_REF.
256
257 2008-03-26  Andreas Schwab  <schwab@suse.de>
258
259         * doc/invoke.texi: Fix use of @item vs. @itemx.
260
261 2008-03-26  Tom Tromey  <tromey@redhat.com>
262
263         * Makefile.in (build/gensupport.o, build/print-rtl.o,
264         build/read-rtl.o, build/rtl.o, build/gencondmd.o, build/genattr.o,
265         build/genattrtab.o, build/genautomata.o, build/gencheck.o,
266         build/gencodes.o, build/genconditions.o, build/genconfig.o,
267         build/genconstants.o, build/genemit.o, build/genextract.o,
268         build/genflags.o, build/genmddeps.o, build/genopinit.o,
269         build/genoutput.o, build/genpeep.o, build/genrecog.o): Depend on
270         options.h.
271
272 2008-03-26  Richard Guenther  <rguenther@suse.de>
273
274         Revert
275         2008-03-26  Richard Guenther  <rguenther@suse.de>
276
277         * fold-const.c (target.h): Include.
278         (fold_comparison): Fold comparison of addresses of two decls
279         that bind locally.  Consolidate address folding code.
280
281 2008-03-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
282
283         * builtins.c (expand_builtin_pow, fold_builtin_cabs,
284         fold_builtin_sqrt, fold_builtin_cbrt, fold_builtin_logarithm,
285         fold_builtin_hypot, fold_builtin_pow): Remove uses of dconst3,
286         dconstsqrt2, dconstthird, dconste and/or dconst10.
287         * config/i386/i386.c (ix86_emit_swsqrtsf): Likewise.
288         * emit-rtl.c (dconst3, dconst10, dconstm2, dconstthird,
289         dconstsqrt2, dconste): Delete.
290         (init_emit_once): Likewise.  Simplify initializing dconstm1.
291         Constify variable.
292         * real.c (get_real_const): New.
293         * real.h (dconst3, dconst10, dconstm2, dconstthird,
294         dconstsqrt2, dconste): Delete.
295         (real_value_const, get_real_const): New.
296
297 2008-03-26  H.J. Lu  <hongjiu.lu@intel.com>
298
299         * config/i386/cygming.h (BIGGEST_ALIGNMENT): Removed.
300
301         * config/i386/i386.c (ix86_function_arg_boundary): Check
302         BIGGEST_ALIGNMENT instead of 128.
303         (setup_incoming_varargs_64): Likewise.
304
305 2008-03-26  Tom Tromey  <tromey@redhat.com>
306
307         * Makefile.in (DEPFILES): Add missing '/'.
308
309 2008-03-26  Richard Guenther  <rguenther@suse.de>
310
311         * fold-const.c (target.h): Include.
312         (fold_comparison): Fold comparison of addresses of two decls
313         that bind locally.  Consolidate address folding code.
314
315 2008-03-26  Nick Clifton  <nickc@redhat.com>
316
317         PR target/31232
318         * config/stormy16/stormy16.c (xstormy16_legitimate_address_p): Do
319         not allow INT+INT as a legitimate addressing mode.
320
321 2008-03-26  Richard Guenther  <rguenther@suse.de>
322
323         * tree-flow.h (widen_bitfield): Remove declaration.
324         * tree-ssa-ccp.c (visit_assignment): Remove unneeded code.
325         (widen_bitfield): Remove function.
326         * tree-ssa-dom.c (record_equivalences_from_stmt): Remove unneeded
327         code.
328
329 2008-03-25  Andrew Pinski  <andrew_pinski@playstation.sony.com>
330
331         PR target/31558
332         * config/rs6000/rs6000-c.c (rs6000_builtin_type_compatible): Handle
333         error_mark_node's.
334
335 2008-03-25  Richard Sandiford  <rsandifo@nildram.co.uk>
336
337         PR rtl-optimization/35232
338         * reload1.c (reg_reloaded_call_part_clobbered): Clarify comment.
339         (forget_old_reloads_1, forget_marked_reloads): Don't clear
340         reg_reloaded_call_part_clobbered here.
341         (reload_regs_reach_end_p): New function.
342         (reload_reg_rtx_for_input): New variable.
343         (reload_reg_rtx_for_output): Likewise.
344         (emit_input_reload_insns): Use reloadreg rather than rl->reg_rtx
345         when reassigning a pseudo register.  Load reloadreg from 
346         reload_reg_rtx_for_input, moving the mode and register
347         calculation to...
348         (do_input_reload): ...here.  Use the mode-adjusted reg_rtx
349         instead of the original when deciding whether an input reload
350         would be a no-op or whether an output reload can be deleted.
351         (emit_output_reload_insns): Use the mode-adjusted reg_rtx
352         when setting up new_spill_reg_store.  Load it from
353         reload_reg_rtx_for_output, moving the mode and register
354         calculation to...
355         (do_output_reload): ...here.  Use the mode-adjusted reg_rtx
356         instead of the original when deciding whether an output reload
357         would be a no-op.  Do the same when modifying insn notes.
358         Use rtx_equal_p instead of == to compare the registers.
359         (inherit_piecemeal_p): Take a mode and two register numbers
360         as argument.
361         (emit_reload_insns): Clear new_spill_reg_store for every hard
362         register in the reload register.  Remove spill registers
363         from reg_reloaded_valid before considering whether to record
364         inheritance information for them.  Use reload_reg_rtx_for_output
365         instead of reg_rtx when recording output reloads.  Use
366         reload_reg_rtx_for_input instead of reg_rtx when recording
367         input reloads.  Set or clear reg_reloaded_call_part_clobbered
368         at the same time as setting reg_reloaded_valid.
369         (delete_output_reload): Add a new_reload_reg parameter and use it
370         instead of rld[j].reg_rtx.
371         (emit_input_reload_insns, do_input_reload, do_output_reload): Adjust
372         calls accordingly.
373
374 2008-03-25  Tom Tromey  <tromey@redhat.com>
375
376         * Makefile.in (build/gensupport.o): Depend on insn-modes.h.
377         (build/genattr.o): Likewise.
378         (build/genattrtab.o): Likewise.
379         (build/gencodes.o): Likewise.
380         (build/genconfig.o): Likewise.
381         (build/genconstants.o): Likewise.
382         (build/genemit.o): Likewise.
383         (build/genextract.o): Likewise.
384         (build/genflags.o): Likewise.
385
386 2008-03-25  Bob Wilson  <bob.wilson@acm.org>
387         
388         * config/xtensa/xtensa.c (xtensa_va_start): Use build_int_cst
389         instead of size_int for integer types.
390         (xtensa_gimplify_va_arg_expr): Likewise.  Convert index to sizetype
391         to match type of MINUS_EXPR.
392         
393 2008-03-25  Tom Tromey  <tromey@redhat.com>
394
395         * configure: Rebuilt.
396         * configure.ac (BUILD_DEPMODE): Extract CCDEPMODE from temporary
397         Makefile.
398
399 2008-03-25  Tom Tromey  <tromey@redhat.com>
400
401         * config/x-solaris (host-solaris.o): Update.
402         * config/x-linux (host-linux.o): Update.
403         * config/x-hpux (host-hpux.o): Update.
404         * config/x-darwin (host-darwin.o): Update.
405         * config/v850/t-v850e (v850-c.o): Update.
406         * config/v850/t-v850 (v850-c.o): Update.
407         * config/t-vxworks (vxworks.o): Update.
408         * config/t-sol2 (sol2-c.o, sol2.o): Update.
409         * config/t-darwin (darwin.o, darwin-c.o, darwin-driver.o): Update.
410         * config/spu/t-spu-elf (spu-c.o): Update.
411         (spu.o): Remove.
412         * config/sh/t-symbian (sh-c.o): Update.
413         (symbian.o): Update.
414         * config/sh/t-sh (sh-c.o): Update.
415         * config/score/t-score-elf (score7.o, score3.o): Update.
416         * config/rs6000/x-rs6000 (driver-rs6000.o): Update.
417         * config/rs6000/x-darwin64 (host-ppc64-darwin.o): Update.
418         * config/rs6000/x-darwin (host-ppc-darwin.o): Update.
419         * config/rs6000/t-rs6000 (rs6000-c.o): Update.
420         (rs6000.o): Remove.
421         * config/m68k/t-uclinux (generated_files): Add sysroot-suffix.h.
422         * config/m32c/t-m32c (m32c-pragma.o): Update.
423         * config/ia64/t-ia64 (ia64-c.o): Update.
424         * config/i386/x-mingw32 (host-mingw32.o): Update.
425         * config/i386/x-i386 (driver-i386.o): Update.
426         * config/i386/x-darwin (host-i386-darwin.o): Update.
427         * config/i386/x-cygwin (host-cygwin.o): Update.
428         * config/i386/t-nwld (nwld.o): Update.
429         * config/i386/t-netware (netware.o): Update.
430         * config/i386/t-interix (winnt.o): Update.
431         * config/i386/t-cygwin (cygwin1.o, cygwin2.o): Update.
432         * config/i386/t-cygming (winnt.o, winnt-cxx.o, winnt-stubs.o,
433         msformat-c.o): Update.
434         * config/bfin/t-bfin-linux (generated_files): Add
435         linux-sysroot-suffix.h.
436         * config/arm/t-wince-pe (pe.o): Update.
437         * config/arm/t-strongarm-pe (pe.o): Update.
438         * config/arm/t-pe (pe.o): Update.
439         * config/arm/t-arm (arm-c.o): Update.
440         * doc/install.texi (Prerequisites): Require make 3.80.
441         * Makefile.in: Remove .o targets.
442         (CCDEPMODE, DEPDIR, depcomp, BUILD_DEPMODE): New variables.
443         (OBSTACK_H, FIBHEAP_H, PARTITION_H, MD5_H, BCONFIG_H): Remove.
444         (simple_generated_h, simple_generated_c): Move earlier.
445         (generated_files): New variable.
446         (TARGET_H, MACHMODE_H, HOOKS_H, HOSTHOOKS_DEF_H, LANGHOOKS_DEF_H,
447         TARGET_DEF_H, RTL_BASE_H, RTL_H, PARAMS_H, BUILTINS_DEF, TREE_H,
448         BASIC_BLOCK_H, GCOV_IO_H, COVERAGE_H, DEMANGLE_H, RECOG_H,
449         ALIAS_H, EMIT_RTL_H, FLAGS_H, FUNCTION_H, EXPR_H, OPTABS_H,
450         REGS_H, RA_H, RESOURCE_H, SCHED_INT_H, INTEGRATE_H, CFGLAYOUT_H,
451         CFGLOOP_H, IPA_UTILS_H, IPA_REFERENCE_H, IPA_TYPE_ESCAPE_H,
452         CGRAPH_H, DF_H, RESOURCE_H, DDG_H, GCC_H, GGC_H, TIMEVAR_H,
453         INSN_ATTR_H, C_COMMON_H, C_PRAGMA_H, C_TREE_H, SYSTEM_H,
454         PREDICT_H, DECNUM_H, MKDEPS_H, SYMTAB_H, TREE_DUMP_H,
455         TREE_GIMPLE_H, TREE_FLOW_H, TREE_SSA_LIVE_H, PRETTY_PRINT_H,
456         DIAGNOSTIC_H, C_PRETTY_PRINT_H, SCEV_H, LAMBDA_H, TREE_DATA_REF_H,
457         VARRAY_H, TREE_INLINE_H, REAL_H, DBGCNT_H, EBIMAP_H): Remove.
458         (.c.o): Remove.
459         (COMPILE.base, COMPILE): New variables.
460         (%.o): New pattern rule.
461         (ALL_HOST_OBJS): New variable.
462         (xgcc$(exeext), cpp$(exeext)): Remove extra version.o.
463         (dummy-checksum.o, cc1-checksum.o): Remove.
464         (DRIVER_SHLIB): New variable.
465         (DRIVER_DEFINES): Use it.
466         (gencondmd.c): Move out of build/.
467         (s-conditions): Update.
468         (BUILDCOMPILE.base, BUILDCOMPILE): New variables.
469         (ALL_BUILD_OBJS): Likewise.
470         (build/%.o): Use BUILDCOMPILE.
471         (build/ggc-none.o, build/ggc-none.o, build/min-insn-modes.o,
472         build/print-rtl.o, build/read-rtl.o, build/rtl.o, build/vec.o,
473         build/gencondmd.o, build/genattrtab.o, build/genautomata.o,
474         build/gencheck.o, build/gencodes.o, build/genconditions.o,
475         build/genconfig.o, build/genconstants.o, build/genemit.o,
476         build/genextract.o, build/genflags.o, build/genmddeps.o,
477         build/genopinit.o, build/genoutput.o, build/genpeep.o,
478         build/genpreds.o, build/genrecog.o, build/gcov-iov.o,
479         build/gen-protos.o, build/scan.o, build/fix-header.o,
480         build/scan-decls.o): Simplify.
481         (collect2.o, c-opts.o, gcc.o, gccspec.o, gcc-options.o,
482         cppdefault.o, protoize.o, unprotoize.o, intl.o, version.o,
483         prefix.o, toplev.o): Reduce to variable setting.
484         (libbackend.o): Use COMPILE.  Remove most dependencies.  Move later.
485         ($(out_object_file), gcc-options.o): New targets.
486         ($(ALL_HOST_OBJS)): New target.  Include dependency files.
487         * configure: Rebuilt.
488         * configure.ac: Call ZW_CREATE_DEPDIR, ZW_PROG_COMPILER_DEPENDENCIES.
489         * doc/sourcebuild.texi (Front End Directory): Document new variable.
490
491 2008-03-25  Douglas Gregor  <doug.gregor@gmail.com>
492
493         * c-common.c (c_sizeof_or_alignof_type): If we're not allowed to
494         complain when we hit an error, return ERROR_MARK_NODE.
495
496 2008-03-25  Naveen.H.S  <naveen.hs@kpitcummins.com>
497
498         * config/sh/constraints.md (Pso, Psz): New constraints.
499         * config/sh/sh.c (print_operand): Add %V and %W operand codes.
500         * config/sh/sh.md (*andsi3_bclr, *iorsi3_bset): New insns.
501
502 2008-03-25  Naveen.H.S  <naveen.hs@kpitcummins.com>
503
504         * config/sh/sh.c (sh_expand_t_scc): Emit movrt for SH2A if possible.
505         * config/sh/sh.md (xorsi3_movrt, movrt): New insns.
506
507 2008-03-25  Naveen.H.S  <naveen.hs@kpitcummins.com>
508
509         * config/sh/sh.md (prefetch): Add condition for SH2A target.
510         (prefetch_sh2a): New.   
511
512 2008-03-25  Jayant Sonar  <Jayant.sonar@kpitcummins.com>
513             Naveen.H.S  <naveen.hs@kpitcummins.com>
514
515         * config/sh/constraints.md (I28): New constraint.
516         * config/sh/sh.c (broken_move): Add support for movi20s.
517         * config/sh/sh.md (movsi_ie): Add the alternative for movi20s.
518
519 2008-03-25  Anil Paranjape  <anil.paranjape@kpitcummins.com>
520             Jayant Sonar  <Jayant.sonar@kpitcummins.com>
521             Naveen.H.S  <naveen.hs@kpitcummins.com>
522
523         * config/sh/sh.c (SH_ATTRIBUTES): Define.
524         (SYMBOL_FLAG_FUNCVEC_FUNCTION): Define.
525         (print_operand): Handle resbank in %@ operand code.
526         (sh_encode_section_info): New.
527         (push_regs): Add conditions for resbank.
528         (sh_expand_epilogue): Likewise.
529         (sh_insert_attributes): Likewise.
530         (sh_attribute_table): Likewise.
531         (sh_handle_resbank_handler_attribute): New.
532         (sh2a_handle_function_vector_handler_attribute): New.
533         (sh2a_is_function_vector_call): New.
534         (sh2a_get_function_vector_number): New.
535         (sh2a_function_vector_p): New.
536         (sh_cfun_resbank_handler_p): New.
537         * config/sh/sh.md (calli): Emit jsr/n if possible.
538         (calli_tbr_rel): New.
539         (calli_pcrel): Emit jsr/n if possible.
540         (return_i): Emit rts/n if possible.
541         (call_valuei_tbr_rel): New.
542         (call_valuei_pcrel): Add condition for SH2A target.
543         (call_value): Likewise.
544         * config/sh/sh-protos.h (sh_cfun_resbank_handler_p): Declare.
545         (sh2a_get_function_vector_number): Likewise.
546         (sh2a_is_function_vector_call): Likewise.
547         * doc/extend.texi: Document TBR relative addressing of SH2A.
548         (resbank): Add description for SH2A.
549
550 2008-03-24  Richard Guenther  <rguenther@suse.de>
551
552         PR c/22371
553         * gimplify.c (gimplify_modify_expr): For frontend type-correct
554         pointer assignments change conversions according to middle-end rules.
555         (gimplify_modify_expr_rhs): Deal with NULL TARGET_EXPR_INITIAL.
556         * configure.ac: Include type checking in yes.
557         * configure: Regenerate.
558
559 2008-03-24  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
560
561         * diagnostic.c (diagnostic_count_diagnostic): Delete.
562         (diagnostic_report_diagnostic): Update. Handle ICEs here.
563         
564 2008-03-24  Nathan Sidwell  <nathan@codesourcery.com>
565
566         * gthr-vxworks.h (UNUSED): Define.
567
568 2008-03-23  H.J. Lu  <hongjiu.lu@intel.com>
569
570         * config/i386/i386.h (STATIC_CHAIN_REGNUM): Use R10_REG and CX_REG.
571
572 2008-03-23  Zuxy Meng <zuxy.meng@gmail.com>
573
574         * doc/extend.texi (Function Attributes): Add missing comma in the
575         example of the "alloc_size" attribute.
576         
577 2008-03-23  Uros Bizjak  <ubizjak@gmail.com>
578
579         Revert:
580         2008-03-05  H.J. Lu  <hongjiu.lu@intel.com>
581
582         * config/i386/i386-modes.def: Use 4 byte alignment on DI for
583         32bit host.
584
585         2008-03-19  Uros Bizjak  <ubizjak@gmail.com>
586
587         PR target/35496
588         * stor-layout.c (update_alignment_for_field): Set minimum alignment
589         of the underlying type of a MS bitfield layout to the natural
590         alignment of the type.
591
592         2008-03-22  Uros Bizjak  <ubizjak@gmail.com>
593
594         * config/i386/i386.c (assign_386_stack_local): Align DImode slots
595         to their natural alignment to avoid store forwarding stalls.
596
597 2008-03-22  Richard Guenther  <rguenther@suse.de>
598
599         * tree-cfg.c (verify_expr): Recurse again for invariant addresses.
600         For PHI nodes verify the address is invariant.
601         * tree-ssa-ccp.c (ccp_decl_initial_min_invariant): Remove.
602         (get_symbol_constant_value): Use is_gimple_min_invariant.
603         (maybe_fold_stmt_indirect): Likewise.
604
605 2008-03-22  Richard Sandiford  <rsandifo@nildram.co.uk>
606
607         PR rtl-optimization/33927
608         * Makefile.in (dse.o): Depend on $(TM_P_H).
609         * expr.h (extract_low_bits): Declare.
610         * expmed.c (extract_low_bits): New function.
611         * rtlhooks.c (gen_lowpart_general): Generalize SUBREG handling.
612         * dse.c: Include tm_p.h.
613         (find_shift_sequence): Remove the read_reg argument and return the
614         read value.  Emit the instructions instead of returning them.
615         Iterate on new_mode rather than calculating it each time.
616         Check MODES_TIEABLE_P.  Use simplify_gen_subreg to convert the
617         source to NEW_MODE and extract_low_bits to convert the shifted
618         value to READ_MODE.
619         (replace_read): Allow the load and store to have different mode
620         classes.  Use extract_low_bits when SHIFT == 0.  Create the shift
621         or extraction instructions before trying the replacement.  Update
622         dump-file code accordingly, avoiding use of REGNO (store_info->rhs).
623
624 2008-03-22  Uros Bizjak  <ubizjak@gmail.com>
625
626         * config/i386/i386.c (assign_386_stack_local): Align DImode slots
627         to their natural alignment to avoid store forwarding stalls.
628
629 2008-03-21  Andrew Pinski  <andrew_pinski@playstation.sony.com>
630
631         PR target/27946
632         * config/rs6000/rs6000.md (floatdidf2): Discouraging fprs and
633         encouraging but not allowing gprs for input;
634         change the input constraint to !f#r.
635         (fix_truncdfdi2): Discouraging fprs and encouraging but not allowing
636         gprs for output;
637         change the output constraint to !f#r.
638
639 2008-03-21  Uros Bizjak  <ubizjak@gmail.com>
640
641         PR target/13958
642         * config/i386/i386.md ("*floatunssi<mode2>_1"): New pattern with
643         corresponding post-reload splitters.
644         ("floatunssi<mode>2"): Expand to unsigned_float x87 insn pattern
645         when x87 FP math is selected.
646         * config/i386/i386-protos.h (ix86_expand_convert_uns_sixf_sse):
647         New function prototype.
648         * config/i386/i386.c (ix86_expand_convert_uns_sixf_sse): New
649         unreachable function to ease macroization of insn patterns.
650
651 2008-03-21  Martin Jambor  <mjambor@suse.cz>
652
653         * tree-data-ref.c (dump_data_dependence_relation): Avoid data
654         reference dumps if ddr is NULL or dependence is unknown.
655
656 2008-03-20  Kaz Kojima  <kkojima@gcc.gnu.org>
657
658         * config/sh/linux-atomic.asm (ATOMIC_TEST_AND_SET): Take
659         unsigned extension into account.
660         (ATOMIC_COMPARE_AND_SWAP): Likewise.
661         (ATOMIC_FETCH_AND_OP, ATOMIC_FETCH_AND_COMBOP): Likewise.
662         Do computations on a scratch register.
663
664 2008-03-21  Richard Guenther  <rguenther@suse.de>
665
666         * tree-scalar-evolution.c (chrec_contains_symbols_defined_in_loop):
667         Use is_gimple_min_invariant instead of TREE_INVARIANT.
668         * tree-ssa-loop-ivopts.c (force_expr_to_var_cost): Likewise.
669         * tree-ssa-dom.c (record_equality): Likewise.
670         * tree-inline.c (copy_body_r): Likewise.
671         * tree-ssa-pre.c (make_values_for_stmt): Remove test for
672         TREE_INVARIANT.
673
674 2008-03-20  Kaz Kojima  <kkojima@gcc.gnu.org>
675
676         * config/sh/sh.c (split_branches): Pass zero to redirect_jump
677         as 'delete_unused' argument.
678
679 2008-03-20  Richard Guenther  <rguenther@suse.de>
680
681         * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Remove
682         special casing of constant qualifiers.
683         * tree-ssa.c (useless_type_conversion_p_1): Instead do not
684         care about them in general.
685         * tree-ssa-ccp.c (ccp_fold): Addresses are constant or not
686         regardless of their type.
687         (fold_stmt_r): Forcefully fold *& if we end up with that.
688
689 2008-03-20  Paul Brook  <paul@codesourcery.com>
690
691         * config.gcc (arm*-*-uclinux*): Remove duplicate arm/uclinux-elf.h.
692         * config/arm/uclinux-eabi.h (SUBTARGET_EXTRA_LINK_SPEC): Add extra
693         linker flags.
694         * config/arm/bpabi.h (SUBTARGET_EXTRA_LINK_SPEC): Provide default
695         definition.
696         (LINK_SPEC): Use SUBTARGET_EXTRA_LINK_SPEC.
697         * config/arm/unwind-arm.h (_Unwind_decode_target2): Add uClinux.
698
699 2008-03-20  Volker Reichelt  <v.reichelt@netcologne.de>
700
701         * common.opt (Wmudflap): New option.
702         * tree-mudflap.c (mf_xform_derefs_1): Guard warning by OPT_Wmudflap.
703         (mx_register_decls): Likewise.
704         (mudflap_finish_file): Likewise.
705         * doc/invoke.texi: Document -Wno-mudflap.
706
707 2008-03-20  Kai Tietz  <kai.tietz@onevision.com>
708
709         * c-format.c (replace_format_name_to_system_name): New.
710         (cmp_attribs): New.
711         (convert_format_name_to_system_name): New.
712         (decode_format_attr): Add use of convert_format_name_to_system_name.
713         (format_types_orig): Add gnu_ prefix to names.
714         (check_format_info_main): Special treating of \0 escaped names for
715         supporting multi-character format specifiers as I32, I64.
716         (TARGET_OVERRIDES_FORMAT_ATTRIBUTES): Use of user defined attributes.
717         (gnu_target_overrides_format_attributes): New.
718         * c-format.h: Add structure target_ovr_attr to hold
719         system specific formatter names.
720         * config.gcc: Add for x86&x86_64 cygwin and mingw32 targets the
721         msformat-c.o file to c_target_objs and cxx_target_objs.
722         * config/i386/mingw32.h (TARGET_OVERRIDES_FORMAT_ATTRIBUTES): New.
723         (TARGET_OVERRIDES_FORMAT_ATTRIBUTES_COUNT): New.
724         (TARGET_N_FORMAT_TYPES): New.
725         * config/i386/msformat-c.c: New.
726         * config/i386/t-cygming: Add build rule for msformat-c.o.
727         * doc/extend.texi: Add new format names gnu_* and ms_* and
728         further details.
729         * doc/tm.texi: (TARGET_OVERRIDES_FORMAT_ATTRIBUTES): New.
730
731 2008-03-20  Ira Rosen  <irar@il.ibm.com>
732
733         * doc/invoke.texi (-O3): Add -ftree-vectorize to the list of
734         optimizations turned on under -O3.
735         (ftree-vectorize): Add that the flag is turned on with -O3.
736
737 2008-03-20  Ben Elliston  <bje@au.ibm.com>
738
739         * regmove.c (try_auto_increment): Fix spelling error in comment.
740         * final.c (final_scan_insn): Likewise.
741
742 2008-03-20  Uros Bizjak  <ubizjak@gmail.com>
743
744         PR target/14552
745         * config/i386/mmx.md (*mov<mode>_internal_rex64"): Adjust register
746         allocator preferences for "y" and "r" class registers.
747         ("*mov<mode>_internal"): Ditto.
748         ("*movv2sf_internal_rex64"): Ditto.
749         ("*movv2sf_internal"): Ditto.
750
751 2008-03-19  Michael Matz  <matz@suse.de>
752
753         PR middle-end/35616
754         * calls.c (expand_call): Check overlap of arguments with call
755         address for sibcalls.
756
757 2008-03-19  Uros Bizjak  <ubizjak@gmail.com>
758
759         PR target/35496
760         * stor-layout.c (update_alignment_for_field): Set minimum alignment
761         of the underlying type of a MS bitfield layout to the natural
762         alignment of the type.
763
764 2008-03-19  Jan Hubicka  <jh@suse.cz>
765
766         PR other/35094
767         * toplev.c (decode_d_option): Handle all CPP flags.
768         * tree-vrp.c: Update tree_pass descriptors.
769         * regrename.c: Update tree_pass descriptors.
770         * fwprop.c: Update tree_pass descriptors.
771         * doc/invoke.texi: Remove documentation of dropped -d? flags.
772         * tree-into-ssa.c: Update tree_pass descriptors.
773         * tree-dump.c: Update tree_pass descriptors.
774         * tree-complex.c: Update tree_pass descriptors.
775         * tree-dump.h: Update tree_pass descriptors.
776         * see.c: Update tree_pass descriptors.
777         * cgraphbuild.c: Update tree_pass descriptors.
778         * tracer.c: Update tree_pass descriptors.
779         * tree-loop-distribution.c: Update tree_pass descriptors.
780         * cgraph.c: Update tree_pass descriptors.
781         * postreload-gcse.c: Update tree_pass descriptors.
782         * postreload.c: Update tree_pass descriptors.
783         * tree-ssa-loop-ch.c: Update tree_pass descriptors.
784         * tree-tailcall.c: Update tree_pass descriptors.
785         * tree-pass.h (tree_opt_pass): Rename to ...
786         (opt_pass) ... this one; add "type" field and remove letter field.
787         (gimple_opt_pass, rtl_opt_pass, simple_ipa_opt_pass): New.
788         (execute_pass_list, execute_ipa_pass_list, all_passes, all_ipa_passes,
789         all_lowering_passes): Update declaration.
790         * ipa-cp.c: Update tree_pass descriptors.
791         * final.c: Update tree_pass descriptors.
792         * omp-low.c: Update tree_pass descriptors.
793         * tree-ssa-dse.c: Update tree_pass descriptors.
794         * ipa-reference.c: Update tree_pass descriptors.
795         * tree-ssa-uncprop.c: Update tree_pass descriptors.
796         * auto-inc-dec.c: Update tree_pass descriptors.
797         * reorg.c: Update tree_pass descriptors.
798         * cgraphunit.c: Update tree_pass descriptors.
799         * tree-ssa-copyrename.c: Update tree_pass descriptors.
800         * tree-ssa-ccp.c: Update tree_pass descriptors.
801         * df-core.c: Update tree_pass descriptors.
802         * mode-switching.c: Update tree_pass descriptors.
803         * tree-nomudflap.c: Update tree_pass descriptors.
804         * modulo-sched.c: Update tree_pass descriptors.
805         * ipa-pure-const.c: Update tree_pass descriptors.
806         * cse.c: Update tree_pass descriptors.
807         * web.c: Update tree_pass descriptors.
808         * tree-stdarg.c: Update tree_pass descriptors.
809         * tree-ssa-math-opts.c: Update tree_pass descriptors.
810         * tree-ssa-dom.c: Update tree_pass descriptors.
811         * tree-nrv.c: Update tree_pass descriptors.
812         * tree-ssa-alias.c: Update tree_pass descriptors.
813         * loop-init.c: Update tree_pass descriptors.
814         * gimple-low.c: Update tree_pass descriptors.
815         * ipa-inline.c: Update tree_pass descriptors.
816         * tree-ssa-sink.c: Update tree_pass descriptors.
817         * global.c: Update tree_pass descriptors.
818         * ifcvt.c: Update tree_pass descriptors.
819         * jump.c: Update tree_pass descriptors.
820         * predict.c: Update tree_pass descriptors.
821         * tree-ssa-loop.c: Update tree_pass descriptors.
822         * recog.c: Update tree_pass descriptors.
823         * dse.c: Update tree_pass descriptors.
824         * tree-ssa-ifcombine.c: Update tree_pass descriptors.
825         * tree-eh.c: Update tree_pass descriptors.
826         * regmove.c: Update tree_pass descriptors.
827         * local-alloc.c
828         * function.c: Update tree_pass descriptors.
829         * tree-vectorizer.c: Update tree_pass descriptors.
830         * gcse.c: Update tree_pass descriptors.
831         * ipa-type-escape.c: Update tree_pass descriptors.
832         * tree-if-conv.c: Update tree_pass descriptors.
833         * init-regs.c: Update tree_pass descriptors.
834         * ipa.c: Update tree_pass descriptors.
835         * tree-ssa-phiopt.c: Update tree_pass descriptors.
836         * rtl-factoring.c: Update tree_pass descriptors.
837         * lower-subreg.c: Update tree_pass descriptors.
838         * bt-load.c: Update tree_pass descriptors.
839         * tree-dfa.c: Update tree_pass descriptors.
840         * except.c: Update tree_pass descriptors.
841         * emit-rtl.c: Update tree_pass descriptors.
842         * cfgexpand.c: Update tree_pass descriptors.
843         * tree-cfgcleanup.c: Update tree_pass descriptors.
844         * cfgcleanup.c: Update tree_pass descriptors.
845         * tree-ssa-pre.c: Update tree_pass descriptors.
846         * tree-sra.c: Update tree_pass descriptors.
847         * tree-mudflap.c: Update tree_pass descriptors.
848         * tree-ssa-copy.c: Update tree_pass descriptors.
849         * cfglayout.c: Update tree_pass descriptors.
850         * tree-ssa-forwprop.c: Update tree_pass descriptors.
851         * tree-ssa-dce.c: Update tree_pass descriptors.
852         * tree-ssa.c: Update tree_pass descriptors.
853         * regclass.c: Update tree_pass descriptors.
854         * integrate.c: Update tree_pass descriptors.
855         * tree-optimize.c: Update tree_pass descriptors.
856         * tree-ssa-phiprop.c: Update tree_pass descriptors.
857         * tree-object-size.c: Update tree_pass descriptors.
858         * combine.c: Update tree_pass descriptors.
859         * tree-outof-ssa.c: Update tree_pass descriptors.
860         * bb-reorder.c: Update tree_pass descriptors.
861         * stack-ptr-mod.c: Update tree_pass descriptors.
862         * var-tracking.c: Update tree_pass descriptors.
863         * tree-profile.c: Update tree_pass descriptors.
864         * tree-vect-generic.c: Update tree_pass descriptors.
865         * reg-stack.c: Update tree_pass descriptors.
866         * sched-rgn.c: Update tree_pass descriptors.
867         * tree-ssa-structalias.c: Update tree_pass descriptors.
868         * tree-cfg.c: Update tree_pass descriptors.
869         * passes.c (current_pass): Update declaration.
870         (finish_optimization_passes): Update.
871         (all_passes, all_ipa_passes, all_lowering_passes): Update declaration.
872         (register_one_dump_file, register_dump_files_1, next_pass_1):
873         Update arguments.
874         (init_optimization_passes): Update handling of new types.
875         (execute_one_pass, execute_pass_list, execute_ipa_pass_list): Update.
876         * ipa-struct-reorg.c: Update tree_pass descriptors.
877         * tree-ssa-reassoc.c: Update tree_pass descriptors.
878         * combine-stack-adj.c: Update tree_pass descriptors.
879         * cfgrtl.c: Update tree_pass descriptors.
880         * dce.c: Update tree_pass descriptors.
881         * tree-ssanames.c: Update tree_pass descriptors.
882
883 2008-03-19  Richard Guenther  <rguenther@suse.de>
884
885         PR middle-end/35609
886         * tree-ssa.c (walk_data): New structure.
887         (warn_uninitialized_var): If not always_executed warn with "maybe"
888         instead of "is".
889         (execute_early_warn_uninitialized): Compute post-dominators.
890         Initialize always_executed before processing each basic block.
891
892 2008-03-18  Mikulas Patocka  <mikulas@artax.karlin.mff.cuni.cz>
893
894         PR target/35504
895         * config/i386/i386.c (x86_this_parameter): Calculate correct location
896         of "this" pointer when "regparm = N" or "fastcall" is in effect.
897
898 2008-03-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
899
900         * doc/include/texinfo.tex: Update to version 2008-03-17.10.
901
902 2008-03-18  Paolo Bonzini  <bonzini@gnu.org>
903
904         * expr.c (store_expr): Assume lang_hooks.reduce_bit_field_operations
905         is true.
906         (expand_expr_real_1) <REDUCE_BIT_FIELD>: Don't look at ignore.
907         (expand_expr_real_1): Assume lang_hooks.reduce_bit_field_operations
908         is true.  Add "&& !ignore" condition to reduce_bit_field.  Modify
909         target after ignore has been set, and move there also the commputation
910         of subtarget and original_target.
911         * langhooks-def.h (LANG_HOOKS_REDUCE_BIT_FIELD_OPERATIONS): Delete.
912         (LANG_HOOKS_INITIALIZER): Remove it.
913         * langhooks.h (struct lang_hooks): Remove reduce_bit_field_operations.
914
915 2008-03-18  Richard Guenther  <rguenther@suse.de>
916
917         * tree-ssa-sccvn.c (visit_reference_op_load): If the lookup
918         found an expression with constants, note that in the VN for the lhs.
919         * tree-ssa-pre.c (eliminate): Visit COND_EXPR statements and
920         fold them to constants if possible.  Run cleanup_cfg if done so.
921         (execute_pre): Return todo.
922         (do_pre): Likewise.
923         (execute_fre): Likewise.
924         * tree-ssa-forwprop.c (can_propagate_from): Allow propagation
925         of constants.
926         (get_prop_source_stmt): Look through pointer conversions.
927
928 2008-03-18  Jan Hubicka  <jh@suse.cz>
929
930         * tree-pretty-print.c: Include predict.h.
931         (dump_generic_node): Dump predictor.
932         * tree.h (PREDICT_EXPR_OUTCOME, PREDICT_EXPR_PREDICTION): Update.
933         * tree-gimple.c (is_gimple_stmt): Add PREDICT_EXPR.
934         * gimple-low.c (lower_stmt): Likewise.
935         * expr.c (expand_expr_real): Likewise.
936         * predict.c (tree_bb_level_predictions): Use PREDICT_EXPRs and remove
937         them.
938         (build_predict_expr, build_predict_expr): New.
939         * predict.h (predictor_name, build_predict_expr): Update.
940         * c-typeck.c (c_finish_bc_stmt): Add prediction.
941         * gimplify.c (gimplify_expr): Add PREDICT_EXPR.
942         * predict.def (PRED_CONTINUE): Update hitrate.
943         * tree.def (PREDICT_EXPR): Define.
944         * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Mark PREDICT_EXPR;
945         do not handle BIND_EXPR.
946         * tree-inline.c (estimate_num_insns_1): PREDICT_EXPR is free.
947         * tree-cfg.c (verify_gimple_stmt): PREDICT_EXPR is valid.
948         * tree-ssa-operands.c (get_expr_operands): PREDICT_EXPR takes no
949         operands.
950
951 2008-03-18  Michael Matz  <matz@suse.de>
952
953         * gcov-io.h (__gcov_merge_ior, __gcov_fork): Mark hidden.
954
955 2008-03-18  Richard Guenther  <rguenther@suse.de>
956
957         * tree-gimple.h (is_gimple_invariant_address): Declare.
958         (is_gimple_constant): Likewise.
959         * tree-gimple.c (is_gimple_constant): New function.
960         (is_gimple_invariant_address): Likewise.
961         (is_gimple_min_invariant): Implement in terms of is_gimple_constant
962         and is_gimple_invariant_address.
963         * tree-ssa-loop-niter.c (expand_simple_operations): Revert
964         previous change.
965         * tree-data-ref.c (get_references_in_stmt): A SSA_NAME is not
966         an addressable base.
967
968 2008-03-18  Jakub Jelinek  <jakub@redhat.com>
969
970         PR middle-end/35611
971         * gimplify.c (gimplify_expr): Gimplify second operand of
972         OMP_ATOMIC_LOAD.
973
974 2008-03-17  Richard Guenther  <rguenther@suse.de>
975
976         PR tree-optimization/19637
977         * fold-const.c (fold_unary): Remove restrictions of removing
978         intermediate pointer-conversions (P2)(P1)P0.
979         * tree-ssa-ccp.c (maybe_fold_stmt_addition): Recover from
980         conversion to void pointer.
981         (get_maxval_strlen): Handle addresses of the form &(*p)[0].
982
983 2008-03-16  James E. Wilson  <wilson@tuliptree.org>
984
985         PR debug/31510
986         * dbxout.c (dbxout_expand_expr, case VAR_DECL): Return NULL for
987         emulated thread local variables.
988
989 2008-03-16  Richard Guenther  <rguenther@suse.de>
990
991         PR middle-end/35607
992         * tree-ssa-loop-niter.c (expand_simple_operations): Do not
993         expand TREE_INVARIANT operations that are not gimple invariant.
994
995 2008-03-16  Hans-Peter Nilsson  <hp@axis.com>
996
997         * doc/extend.texi (Alignment): Say that the ABI controls
998         the __alignof__ for non-strict-alignment targets rather
999         than being a recommendation.
1000
1001 2008-03-15  Paul Brook  <paul@codesourcery.com>
1002
1003         * config/arm/arm.c (arm_unwind_emit): Suppress unused unwinding
1004         annotations.
1005         (arm_output_fn_unwind): Mark functions that can not be unwound.
1006
1007 2008-03-15  Paul Brook  <paul@codesourcery.com>
1008
1009         * config/arm/arm.c (arm_rtx_costs_1): Add costs for ARMv6 value
1010         extension instructions.
1011
1012 2008-03-15  Richard Guenther  <rguenther@suse.de>
1013
1014         * tree-ssa-ccp.c (ccp_fold): Also read from constant values
1015         and fold constant aggregate refs.
1016         (fold_const_aggregate_ref): Handle string constants
1017         and constructors in ARRAY_REFs.  Handle INDIRECT_REF.
1018         (evaluate_stmt): Simplify now that ccp_fold folds constant
1019         aggregate refs.
1020
1021 2008-03-15  Paul Brook  <paul@codesourcery.com>
1022
1023         * config/arm/arm.md (insv): Use gen_insv_t2 and gen_insv_zero.
1024         (extzv): Use gen_extzv_t2.
1025         (insv_t2, insv_zero, extv, extzv_t2): New patterns.
1026
1027 2008-03-15  Richard Guenther  <rguenther@suse.de>
1028
1029         * tree-ssa-ccp.c (get_symbol_constant_value): Export.
1030         (fold_const_aggregate_ref): Likewise.
1031         (get_value): Return NULL if we don't have any values.
1032         (ccp_finalize): Set const_val to NULL after freeing it.
1033         * tree-flow.h (get_symbol_constant_value): Declare.
1034         (fold_const_aggregate_ref): Likewise.
1035         * tree-ssa-sccvn.c (try_to_simplify): Use them.
1036
1037 2008-03-15  Richard Guenther  <rguenther@suse.de>
1038
1039         PR middle-end/35593
1040         * tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Make sure
1041         to not produce negative array indices if not allowed.  Add
1042         parameter to indicate that.
1043         (maybe_fold_offset_to_component_ref): Allow negative array
1044         indices only for the first member of a structure.
1045         (maybe_fold_offset_to_reference): Allow negative array indices.
1046         (maybe_fold_stmt_addition): Likewise.
1047
1048 2008-03-15  Bjoern Haase  <bjoern.m.haase@web.de>
1049             Anatoly Sokolov <aesok@post.ru>
1050
1051         * gcc/gcc/config/avr/avr.c (avr_arch_types): Add avr6 entry.
1052         (avr_arch): Add ARCH_AVR6.
1053         (avr_mcu_types): Add 'atmega2560' and 'atmega2561' entry.
1054         (initial_elimination_offset): Initialize and use 'avr_pc_size' 
1055         instead of fixed value 2.
1056         (print_operand_address): Use gs() asm specifier instead of pm().
1057         (avr_assemble_integer): (Ditto.).
1058         (avr_output_addr_vec_elt): (Ditto.).
1059         (print_operand): Handle "!" code.
1060         * gcc/gcc/config/avr/avr.h (TARGET_CPU_CPP_BUILTINS): Add 
1061         __AVR_3_BYTE_PC__, __AVR_2_BYTE_PC__ and __AVR_HAVE_JMP_CALL__.
1062         (AVR_HAVE_EIJMP_EICALL): Define.
1063         (AVR_3_BYTE_PC): Redefine.
1064         (AVR_2_BYTE_PC): (Ditto.).
1065         (PRINT_OPERAND_PUNCT_VALID_P): Add '!' code.
1066         (LINK_SPEC): Add atmega2560 and atmega2561.
1067         (CRT_BINUTILS_SPEC): Add atmega2560 (crtm2560.o) and atmega2561 
1068         (crtm2561.o).
1069         * gcc/gcc/config/avr/avr.md (call_insn): Use eicall instead of icall 
1070         for 3 byte PC devices.
1071         (call_value_insn): (Ditto.).
1072         (*tablejump_enh): Use eijmp instead of ijmp for 3 byte PC devices.
1073         (indirect_jump): Use only for for 2 byte PC devices.
1074         (*tablejump): (Ditto.).
1075         (*indirect_jump_avr6): Add insn.
1076         (*tablejump_rjmp): Don't use for 3 byte PC devices.
1077         * gcc/gcc/config/avr/libgcc.S (__prologue_saves__): Use eijmp 
1078         instead of ijmp for 3 byte PC devices.
1079         (__tablejump2__): (Ditto.).
1080         * gcc/gcc/config/avr/t-avr (MULITLIB_OPTIONS): Add avr6 architecture.
1081         (MULITLIB_DIRNAMES): (Ditto.). 
1082         (MULTILIB_MATCHES): Add atmega2560 and atmega2561 to list.
1083
1084 2008-03-15  Uros Bizjak  <ubizjak@gmail.com>
1085
1086         * config/i386/mmx.md ("sse2_umulv1siv2di3"): Rename from
1087         "sse2_umulsidi3".  Use V1DI mode for operand 0.
1088         ("mmx_psadbw"): Use V1DI mode for operand 0.
1089         * config/i386/i386-modes.def (V1SI): New vector mode.
1090         * config/i386/i386.c (struct builtin_description)
1091         [IX86_BUILTIN_PMULUDQ]: Use CODE_FOR_sse2_umulv1siv1di3.
1092         (v1di_ftype_v8qi_v8qi): Rename from di_ftype_v8qi_v8qi.
1093         (v1di_ftype_v2si_v2si): Rename from di_ftype_v2si_v2si.
1094         (ix86_init_mmx_sse_builtins) [__builtin_ia32_psadbw]: Use
1095         v1di_ftype_v8qi_v8qi type.
1096         [__builtin_ia32_pmuludq]: Use v1di_ftype_v2si_v2si type.
1097
1098         * doc/extend.texi (X86 Built-in Functions) [__builtin_ia32_psadbw,
1099         __builtin_ia32_pmuludq]: Fix the mode of return value.
1100
1101 2008-03-15  Richard Guenther  <rguenther@suse.de>
1102
1103         PR middle-end/35595
1104         * tree-ssa-pre.c (bitmap_find_leader): Handle expression
1105         being a PHI_NODE.
1106
1107 2008-03-14  Bob Wilson  <bob.wilson@acm.org>
1108         
1109         * doc/invoke.texi (Option Summary, Xtensa Options): Document
1110         -mserialize-volatile and -mno-serialize-volatile Xtensa options.
1111         * config/xtensa/xtensa.c (print_operand): Do not emit MEMW instructions
1112         unless TARGET_SERIALIZE_VOLATILE is enabled.
1113         * config/xtensa/xtensa.md (*lsiu, *ssiu): Likewise.
1114         * config/xtensa/xtensa.h (TARGET_DEFAULT): Add MASK_SERIALIZE_VOLATILE.
1115         * config/xtensa/xtensa.opt (mserialize_volatile): New option.
1116
1117 2008-03-14  Richard Guenther  <rguenther@suse.de>
1118
1119         PR tree-optimization/34172
1120         * tree-flow.h (refs_may_alias_p): Declare.
1121         (get_single_def_stmt): Likewise.
1122         (get_single_def_stmt_from_phi): Likewise.
1123         (get_single_def_stmt_with_phi): Likewise.
1124         * tree-dfa.c (refs_may_alias_p): New function.
1125         (get_single_def_stmt): Likewise.
1126         (get_single_def_stmt_from_phi): Likewise.
1127         (get_single_def_stmt_with_phi): Likewise.
1128         * tree-ssa-sccvn.c (get_def_ref_stmt_vuses): New function.
1129         (vn_reference_lookup_1): New helper function.
1130         (vn_reference_lookup): Walk the virtual use-def chain to
1131         continue searching for a match if the def does not alias the
1132         reference we are looking for.
1133
1134 2008-03-14  David Edelsohn  <edelsohn@gnu.org>
1135
1136         * doc/install.texi (Binaries): Remove UCLA archive.  Add HVCC
1137         archive and Perzl.  Update The Written Word listing.
1138
1139 2008-03-14  Richard Guenther  <rguenther@suse.de>
1140
1141         PR tree-optimization/34043
1142         PR tree-optimization/33989
1143         * tree-ssa-pre.c (execute_pre): Allow SCCVN to do insertion
1144         when doing FRE.
1145         (bitmap_find_leader): Use extra argument to verify dominance
1146         relationship inside a basic-block.
1147         (can_PRE_operation): Add VIEW_CONVERT_EXPR.
1148         (find_leader_in_sets): Adjust.
1149         (create_component_ref_by_pieces): Take extra argument for
1150         dominance check, handle lookup failures.
1151         (find_or_generate_expression): Likewise.
1152         (create_expression_by_pieces): Likewise.
1153         (insert_into_preds_of_block): Adjust.
1154         (create_value_expr_from): If asked for, verify all operands
1155         are in the blocks AVAIL_OUT set.
1156         (make_values_for_stmt): Check for SSA_NAMEs that are life
1157         over an abnormal edge.
1158         (compute_avail): Remove such check.
1159         (do_SCCVN_insertion): New function.
1160         (eliminate): If we do not find a leader suitable for replacement
1161         insert a replacement expression from SCCVN if available.
1162         * tree-ssa-sccvn.h (run_scc_vn): Update prototype.
1163         (struct vn_ssa_aux): Add needs_insertion flag.
1164         * tree-ssa-sccvn.c (may_insert): New global flag.
1165         (copy_reference_ops_from_ref): Value-number union member access
1166         based on its size, not type and member if insertion is allowed.
1167         (visit_reference_op_load): For a weak match from union type
1168         punning lookup a view-converted value and insert a SSA_NAME
1169         for that value if that is not found.
1170         (visit_use): Make dumps shorter.  Do not disallow value numbering
1171         SSA_NAMEs that are life over an abnormal edge to constants.
1172         (free_scc_vn): Release inserted SSA_NAMEs.
1173         (run_scc_vn): New flag to specify whether insertion is allowed.
1174         Process SSA_NAMEs in forward order.
1175         * tree-ssa-loop-im.c (for_each_index): Handle invariant
1176         ADDR_EXPRs inside VIEW_CONVERT_EXPR.
1177         * fold-const.c (fold_unary): Fold VIEW_CONVERT_EXPRs from/to
1178         pointer type to/from integral types that do not change the
1179         precision to regular conversions.
1180
1181 2008-03-13  Uros Bizjak  <ubizjak@gmail.com>
1182
1183         * doc/extend.texi (X86 Built-in Functions) [__builtin_ia32_psll?,
1184         __builtin_ia32_psrl?, __builtin_ia32_psra?, __builtin_ia32_psll?i,
1185         __builtin_ia32_psrl?i, __builtin_ia32_psra?i, __builtin_ia32_psll?128,
1186         __builtin_ia32_psrl?128, __builtin_ia32_psra?128]: Fix the mode of
1187         input arguments and the mode of return value.  Built-in functions
1188         that operate on whole 64-bit MMX register now use V1DI mode.
1189
1190 2008-03-13  Alon Dayan  <alond@il.ibm.com>
1191             Olga Golovanevsky  <olga@il.ibm.com>
1192
1193         PR tree-optimization/35041
1194         * ipa-struct-reorg.c (find_pos_in_stmt_1): Add another option
1195         to locate the right position in a statement.
1196
1197 2008-03-13  Uros Bizjak  <ubizjak@gmail.com>
1198
1199         PR target/34000
1200         PR target/35553
1201         * config/i386/xmmintrin.h:  Change all static inline functions to
1202         extern inline and add __gnu_inline__ attribute.
1203         * config/i386/bmintrin.h: Ditto.
1204         * config/i386/smmintrin.h: Ditto.
1205         * config/i386/tmmintrin.h: Ditto.
1206         * config/i386/mmintrin-common.h: Ditto.
1207         * config/i386/ammintrin.h: Ditto.
1208         * config/i386/emmintrin.h: Ditto.
1209         * config/i386/pmmintrin.h: Ditto.
1210         * config/i386/mmintrin.h: Ditto.
1211         * config/i386/mm3dnow.h: Ditto.
1212
1213 2008-03-13  Jakub Jelinek  <jakub@redhat.com>
1214
1215         PR middle-end/35185
1216         * omp-low.c (lower_regimplify, init_tmp_var, save_tmp_var): Removed.
1217         (lower_omp_2): New function.
1218         (lower_omp_1, lower_omp): Rewritten.
1219
1220 2008-03-13  Danny Smith  <dannysmith@users.sourceforge.net>
1221
1222         PR 35054
1223         * doc/extend.texi (Structure-Packing Pragmas): Replace "Win32"
1224         with the phrase "Microsoft Windows compilers".
1225         (Push/Pop Macro Pragmas): New subsection. Document
1226         #pragma push_macro and pragma pop_macro.
1227
1228 2008-03-12  Paul Brook  <paul@codesourcery.com>
1229
1230         * config/arm/arm.c (output_move_double): Prefer LDRD to LDM.
1231
1232 2008-03-12  Paul Brook  <paul@codesourcery.com>
1233
1234         * config/arm/thumb2.md: Extend peephole to cover 3-arg subs.
1235         (thumb2_alusi3_short): Exclude PLUS and MINUS.
1236         (thumb2_addsi_shortim): Rename ...
1237         (thumb2_addsi_short): ... to this.  Allow register operands.
1238         (thumb2_subsi_short): New pattern.
1239         (thumb2_one_cmplsi2_short,
1240         thumb2_negsi2_short): New patterns and peepholes.
1241
1242 2008-03-12  Paul Brook  <paul@codesourcery.com>
1243
1244         * config/arm/arm.c (arm_size_rtx_costs): Use ARM costs for Thumb-2.
1245
1246 2008-03-12  Uros Bizjak  <ubizjak@gmail.com>
1247
1248         * config/i386/i386.md (int_cond): New code iterator.
1249         (fp_cond): Ditto.
1250         ("s<code>"): Macroize expander from seq, sne, sgt, sgtu, slt, sltu,
1251         sge, sgeu, sle and sleu expanders usign int_cond code iterator.
1252         ("s<code>"): Macroize expander from sunordered, sordered, suneq, sunge,
1253         sungt, sunle, sunlt and sltgt expanders usign fp_cond code iterator.
1254         ("b<code>"): Macroize expander from beq, bne, bgt, bgtu, blt, bltu,
1255         bge, bgeu, ble and bleu expanders usign int_cond code iterator.
1256         ("b<code>"): Macroize expander from bunordered, bordered, buneq, bunge,
1257         bungt, bunle, bunlt and bltgt expanders usign fp_cond code iterator.
1258
1259 2008-03-12  Paul Brook  <paul@codesourcery.com>
1260
1261         * config/arm/arm.c (use_return_insn): Use offsets->saved_regs_mask
1262         instead of {arm,thumb}_compute_save_reg_mask.
1263         (output_return_instruction): Ditto.
1264         (thumb_unexpanded_epilogue): Ditto.
1265         (thumb1_expand_prologue): Ditto.
1266         (thumb1_output_function_prologue): Ditto.
1267         (arm_set_return_address): Ditto.
1268         (thumb_set_return_address): Ditto.
1269         (arm_get_frame_offsets): Set offsets->saved_regs_mask.  Push extra
1270         regs to achieve stack alignment.
1271         (thumb1_compute_save_reg_mask): Fix compiler warning.
1272         (arm_output_epilogue): Use offsets->saved_regs_mask.
1273         Adjust stack pointer by poping call clobered registers.
1274         (arm_expand_prologue): Use offsets->saved_regs_mask.
1275         Adjust stack pointer by pushing extra registers.
1276         * config/arm.h (arm_stack_offsets): Add saved_regs_mask.
1277
1278 2008-03-12  Paolo Bonzini  <bonzini@gnu.org>
1279
1280         PR tree-opt/35422
1281         * fold-const.c (fold_unary) <NOP_EXPR>: Distribute a narrowing
1282         conversion to the operands of a multiplication.
1283
1284 2008-03-12  Richard Guenther  <rguenther@suse.de>
1285
1286         * Makefile.in (OBJS-common): Add tree-ssa-phiprop.o
1287         (tree-ssa-phiprop.o): Copy dependencies from tree-ssa-forwprop.o.
1288         * timevar.def (TV_TREE_PHIPROP): Add.
1289         * tree-ssa-phiprop.c: Split from tree-ssa-forwprop.c, added
1290         pass description.  Use TV_TREE_PHIPROP.
1291         * tree-ssa-forwprop.c: Remove phiprop code.
1292
1293 2008-03-12  Jakub Jelinek  <jakub@redhat.com>
1294
1295         PR middle-end/35549
1296         * omp-low.c (maybe_lookup_decl): Constify first argument.
1297         (use_pointer_for_field): Change last argument from bool to
1298         omp_context *.  Disallow shared copy-in/out in nested
1299         parallel if decl is shared in outer parallel too.
1300         (build_outer_var_ref, scan_sharing_clauses,
1301         lower_rec_input_clauses, lower_copyprivate_clauses,
1302         lower_send_clauses, lower_send_shared_vars): Adjust callers.
1303
1304 2008-03-12  Victor Kaplansky  <victork@il.ibm.com>
1305             Ira Rosen  <irar@il.ibm.com>
1306
1307         * tree-vectorizer.c (free_stmt_vec_info): New function.
1308         (destroy_loop_vec_info): Move code to free_stmt_vec_info().
1309         Call free_stmt_vec_info(). Free LOOP_VINFO_STRIDED_STORES..
1310         * tree-vectorizer.h (free_stmt_vec_info): Declare.
1311         * tree-vect-transform.c (vectorizable_conversion): Free
1312         vec_oprnds0 if it was allocated.
1313         (vect_permute_store_chain): Remove unused VECs.
1314         (vectorizable_store): Free VECs that are allocated in the..
1315         function.
1316         (vect_transform_strided_load, vectorizable_load): Likewise.
1317         (vect_remove_stores): Simplify the code.
1318         (vect_transform_loop): Move code to vect_remove_stores().
1319         Call vect_remove_stores() and free_stmt_vec_info().
1320
1321 2008-03-11  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1322
1323         * pa.h (TARGET_LONG_PIC_SDIFF_CALL): Conditionalize define on
1324         TARGET_HPUX.  Revise comment.
1325         (TARGET_LONG_PIC_PCREL_CALL): Revise comment.
1326         * pa.c (output_call): Update for revised TARGET_LONG_PIC_SDIFF_CALL.
1327         Use sr4 variant of `be' instruction when not generating PIC code.
1328         (attr_length_call): Adjust for above change.
1329
1330 2008-03-11  Andrew Pinski  <andrew_pinski@playstation.sony.com>
1331
1332         * ipa-reference.c (static_execute): Remove module_statics_const and
1333         associated setting code.
1334
1335 2008-03-11  Uros Bizjak  <ubizjak@gmail.com>
1336
1337         PR target/35540
1338         * config/i386/i386.md (paritysi2, paritydi2): Use register_operand
1339         predicate for operand 1.
1340         (paritysi2_cmp): Use register_operand predicate for operand 2.
1341         Use earlyclobber modifier for operand 1.  Remove support for
1342         memory operands.
1343         (paritydi2_cmp): Use register_operand predicate for operand 3.
1344         Use earlyclobber modifier for operand 1.  Remove support for
1345         memory operands.
1346
1347 2008-03-11  Paul Brook  <paul@codesourcery.com>
1348             Vladimir Prus  <vladimir@codesourcery.com>
1349
1350         * config/arm/arm.c (use_return_insn): Check TARGET_APCS_FRAME.
1351         (arm_compute_save_reg0_reg12_mask): Always
1352         check if register 11 must be saved.  Always safe hard frame pointer
1353         when frame_pointer_needeed.
1354         (arm_compute_save_reg_mask): Save IP and PC
1355         only with apcs frames.
1356         (arm_output_epilogue): Adjust Thumb2 codepath to
1357         be also invoked and work for ARM non-apcs frames.
1358         (arm_expand_prologue): Don't bother saving IP
1359         for non-apcs frame, since it's not clobbered by
1360         prologue code.  Implement non-apcs frame
1361         layout.
1362
1363 2008-03-11  Paolo Bonzini  <bonzini@gnu.org>
1364
1365         PR rtl-optimization/35281
1366         * expr.c (convert_move): Use a new pseudo for the intermediate
1367         from_mode->word_mode result.
1368
1369 2008-03-11  Paolo Bonzini  <bonzini@gnu.org>
1370
1371         * langhooks-def.h (LANG_HOOKS_CLEAR_BINDING_STACK): Delete.
1372         * langhooks.h (struct lang_hooks): Delete clear_binding_stack member.
1373         * toplev.c (compile_file): Don't call it.
1374
1375 2008-03-11  Uros Bizjak  <ubizjak@gmail.com>
1376
1377         PR middle-end/35526
1378         * expr.c (store_expr): Call emit_block_move if the mode
1379         of "temp" RTX is BLKmode.
1380
1381 2008-03-11  Andrew Pinski  <andrew_pinski@playstation.sony.com>
1382             Richard Guenther  <rguenther@suse.de>
1383
1384         PR tree-optimization/31358
1385         * tree-ssa-loop-manip.c (create_iv): Call force_gimple_operand for
1386         the step with a NULL_TREE.
1387         * tree-ssa-loop-ivopts.c (find_bivs): Convert the step
1388         to sizetype if type is a pointer type.
1389         (add_candidate_1): Don't convert the base and step to
1390         the generic type if the orginal type is a pointer type.
1391         (add_iv_value_candidates): Use sizetype for the step
1392         if type is a pointer type.
1393         (cand_value_at): Likewise.
1394         * tree-ssa-address.c (add_to_parts): Use POINTER_PLUS_EXPR
1395         for pointer types.
1396         * tree-affine.c (tree_to_aff_combination <POINTER_PLUS_EXPR>):
1397         Don't convert the tem affine to the type.
1398         (add_elt_to_tree): Use sizetype for the step if a pointer.
1399         Use POINTER_PLUS_EXPR for pointers.
1400         (aff_combination_to_tree): Use sizetype for the step if a
1401         pointer.
1402
1403 2008-03-10  Vladimir Makarov  <vmakarov@redhat.com>
1404
1405         * config/i386/sse.md (ssse3_pmaddubswv8hi3, ssse3_pmaddubswv4hi3):
1406         Remove commutativity hint.
1407
1408 2008-03-10  Jakub Jelinek  <jakub@redhat.com>
1409
1410         PR c/35438
1411         PR c/35439
1412         * c-parser.c (c_parser_omp_threadprivate): Don't add vars with
1413         errorneous type.  Check that v is a VAR_DECL.
1414
1415         PR middle-end/35099
1416         * tree-cfg.c (new_label_mapper): Update cfun->last_label_uid.
1417
1418 2008-03-10  H.J. Lu  <hongjiu.lu@intel.com>
1419
1420         PR tree-optimization/35494
1421         * tree-ssa-ccp.c (get_symbol_constant_value): Check if value
1422         may be overriden at link and run time.
1423
1424 2008-03-10  Richard Guenther  <rguenther@suse.de>
1425
1426         PR tree-optimization/34677
1427         * tree-ssa-pre.c (modify_expr_node_pool): Remove.
1428         (poolify_tree): Likewise.
1429         (modify_expr_template): Likewise.
1430         (poolify_modify_stmt): Likewise.
1431         (insert_fake_stores): Handle all component-ref style stores
1432         in addition to INDIRECT_REF.  Also handle complex types.
1433         Do not poolify the inserted load.
1434         (realify_fake_stores): Do not rebuild the tree but only
1435         make it a SSA_NAME copy.
1436         (init_pre): Remove initialzation of modify_expr_template.
1437         Do not allocate modify_expr_node_pool.
1438         (fini_pre): Do not free modify_expr_node_pool.
1439
1440 2008-03-10  Paul Brook  <paul@codesourcery.com>
1441
1442         * config/arm/arm.md (UNSPEC_STACK_ALIGN, UNSPEC_PIC_OFFSET): Renumber
1443         to avoid conflicts.
1444
1445 2008-03-10  Paul Brook  <paul@codesourcery.com>
1446             Mark Shinwell  <shinwell@codesourcery.com>
1447
1448         * config/arm/cortex-r4.md: New.
1449         * config/arm/thumb2.md (divsi3, udivsi3): Annotate with
1450         insn attributes.
1451         * config/arm/arm.md: Include cortex-r4.md.
1452         (insn): Add smmls, sdiv and udiv values.
1453         (generic_sched): Don't use generic scheduling for Cortex-R4.
1454         (arm_issue_rate): New function.
1455         (TARGET_SCHED_ISSUE_RATE): Define.
1456
1457 2008-03-10  Sebastian Pop  <sebastian.pop@amd.com>
1458
1459         * doc/invoke.texi (-ftree-loop-distribution): Add an example.
1460
1461 2008-03-10  Richard Guenther  <rguenther@suse.de>
1462
1463         * tree-ssa-pre.c (get_sccvn_value): Simplify.
1464         (compute_avail): Do not add stmt uses to AVAIL_OUT.
1465
1466 2008-03-10  Paolo Bonzini  <bonzini@gnu.org>
1467
1468         * langhooks-def.h (LANG_HOOKS_REDUCE_BIT_FIELD_OPERATIONS):
1469         Set default to true.
1470
1471 2008-03-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1472
1473         * c.opt (Wsynth): Deprecate.
1474         * doc/invoke.texi (Option Summary, Warning Options): Document
1475         -Wno-format-contains-nul.
1476
1477 2008-03-09  Uros Bizjak  <ubizjak@gmail.com>
1478
1479         PR target/35496
1480         * config/i386/i386.c (ix86_constant_alignment): Compute alignment using
1481         ALIGN_MODE_128 for VECTOR_CST and INTEGER_CST in addition to REAL_CST.
1482
1483 2008-03-09  Ira Rosen  <irar@il.ibm.com>
1484
1485         * config/rs6000/rs6000.c (builtin_description): Rename vector
1486         left shift operations.
1487         * config/rs6000/altivec.md (UNSPEC_VSL): Remove.
1488         (altivec_vsl<VI_char>): Rename to ...
1489         (ashl<mode>3): ... new name.
1490         (mulv4sf3, mulv4si3, negv4sf2): Replace gen_altivec_vslw with
1491         gen_ashlv4si3.
1492         (absv4sf2): Convert to use ashift:V4SI instead of UNSPEC_VSL.
1493
1494 2008-03-08  Richard Guenther  <rguenther@suse.de>
1495
1496         * coverage.h (tree_coverage_counter_addr): Declare.
1497         * coverage.c (tree_coverage_counter_addr): New function.
1498         * tree-profile.c (tree_gen_edge_profiler): Unshare counter
1499         before using again.
1500         (tree_gen_pow2_profiler): Use tree_coverage_counter_addr.
1501         (tree_gen_one_value_profiler): Likewise.
1502         (tree_gen_ic_profiler): Likewise.
1503         (tree_gen_average_profiler): Likewise.
1504         (tree_gen_ior_profiler): Likewise.
1505
1506 2008-03-08  Richard Guenther  <rguenther@suse.de>
1507
1508         * tree-ssa-sccvn.h (vn_binary_op_lookup): Remove.
1509         (vn_binary_op_insert): Likewise.
1510         (vn_unary_op_lookup): Likewise.
1511         (vn_unary_op_insert): Likewise.
1512         (vn_nary_op_lookup): Declare.
1513         (vn_nary_op_insert): Likewise.
1514         * tree-ssa-sccvn.c (struct vn_tables_s): Merge unary
1515         and binary hashes, use a single obstack for unary_op_pool
1516         and binary_op_pool.
1517         (struct vn_binary_op_s, struct vn_unary_op_s): Replace with
1518         a single struct vn_nary_op_s.  Store tree code length and
1519         a variable number of operands.
1520         (struct vn_reference_op_struct): Remove unused op2.
1521         (vn_reference_op_eq): Do not compare op2.
1522         (vn_reference_op_compute_hash): Do not compute hash of op2.
1523         (vn_unary_op_hash, vn_binary_op_hash): Replace with vn_nary_op_hash.
1524         (vn_unary_op_compute_hash, vn_binary_op_compute_hash): Replace
1525         with vn_nary_op_compute_hash.
1526         (vn_unary_op_eq, vn_binary_op_eq): Replace with vn_nary_op_eq.
1527         (vn_unary_op_lookup, vn_binary_op_lookup): Replace with
1528         vn_nary_op_lookup.
1529         (vn_unary_op_insert, vn_binary_op_insert): Replace with
1530         vn_nary_op_insert.
1531         (visit_unary_op): Call nary functions.
1532         (visit_binary_op): Likewise.
1533         (process_scc): Adjust for struct vn_tables_s changes.
1534         (allocate_vn_table): Likewise.
1535         (free_vn_table): Likewise.
1536         * tree-vn.c (vn_add): Call nary functions.
1537         (vn_lookup): Likewise.
1538
1539 2008-03-08  Jakub Jelinek  <jakub@redhat.com>
1540
1541         PR target/35498
1542         * config/rs6000/rs6000.c (rs6000_expand_compare_and_swapqhi): Shift
1543         wdst back after sync_compare_and_swapqhi_internal.
1544
1545 2008-03-08  Uros Bizjak  <ubizjak@gmail.com>
1546
1547         PR target/22152
1548         * config/i386/i386-modes.def (V1DI): New vector mode.
1549         * config/i386/i386.h (VALID_MMX_REG_MODE): Add V1DImode.
1550         * config/i386/mmx.md (MMXMODEI8): New mode iterator.
1551         (MMXMODE248): Ditto.
1552         (MMXMODE): Add V1DI mode.
1553         (mmxvecsize): Change DI mode to V1DI mode.
1554         ("mov<mode>): Use MMXMODEI8 mode iterator.
1555         ("*mov<mode>_internal_rex64"): Ditto.
1556         ("*mov<mode>_internal"): Ditto.
1557         ("mmx_add<mode>3"): Ditto.  Handle V1DImode for TARGET_SSE2.
1558         ("mmx_sub<mode>3"): Ditto.
1559         ("mmx_adddi3"): Remove insn pattern.
1560         ("mmx_subdi3"): Ditto.
1561         ("mmx_ashr<mode>3"): Use SImode and "yN" constraint for operand 2.
1562         ("mmx_lshr<mode>3"): Ditto. Use MMXMODE248 mode iterator.
1563         ("mmx_ashl<mode>3"): Ditto.
1564         ("mmx_lshrdi3"): Remove insn pattern.
1565         ("mmx_ashldi3"): Ditto.
1566         * config/i386/i386.c (classify_argument): Handle V1DImode.
1567         (function_arg_advance_32): Ditto.
1568         (function_arg_32): Ditto.
1569         (struct builtin_description) [IX86_BUILTIN_PADDQ]: Use
1570         mmx_addv1di3 insn pattern.
1571         [IX86_BUILTIN_PSUBQ]: Use mmx_subv1di3 insn pattern.
1572         [IX86_BUILTIN_PSLL?, IX86_BUILTIN_PSRL?, IX86_BUILTIN_PSRA?,
1573         IX86_BUILTIN_PSLL?I, IX86_BUILTIN_PSRL?I, IX86_BUILTIN_PSRA?I,
1574         IX86_BUILTIN_PSLL?I128, IX86_BUILTIN_PSRL?I128, IX86_BUILTIN_PSRA?I128]:
1575         Remove definitions of built-in functions.
1576         (V1DI_type_node): New node.
1577         (v1di_ftype_v1di_int): Ditto.
1578         (v1di_ftype_v1di_v1di): Ditto.
1579         (v2si_ftype_v2si_si): Ditto.
1580         (v4hi_ftype_v4hi_di): Remove node.
1581         (v2si_ftype_v2si_di): Ditto.
1582         (ix86_init_mmx_sse_builtins): Handle V1DImode.
1583         (__builtin_ia32_psll?, __builtin_ia32_psrl?, __builtin_ia32_psra?):
1584         Redefine builtins using def_builtin_const with *_ftype_*_int node.
1585         (__builtin_ia32_psll?i, __builtin_ia32_psrl?i, __builtin_ia32_psra?i):
1586         Add new builtins using def_builtin_const.
1587         (ix86_expand_builtin) [IX86_BUILTIN_PSLL?, IX86_BUILTIN_PSRL?,
1588         IX86_BUILTIN_PSRA?, IX86_BUILTIN_PSLL?I, IX86_BUILTIN_PSRL?I,
1589         IX86_BUILTIN_PSRA?I]: Handle builtin definitions.
1590         * config/i386/mmintrin.h (__v1di): New typedef.
1591         (_mm_add_si64): Cast arguments to __v1di type.
1592         (_mm_sub_si64): Ditto.
1593         (_mm_sll_pi16): Cast __count to __v4hi type.
1594         (_mm_sll_pi32): Cast __count to __v2si type.
1595         (_mm_sll_si64): Cast arguments to __v1di type.
1596         (_mm_srl_pi16): Cast __count to __v4hi type.
1597         (_mm_srl_pi32): Cast __count to __v2si type.
1598         (_mm_srl_si64): Cast arguments to __v1di type.
1599         (_mm_sra_pi16): Cast __count to __v4hi type.
1600         (_mm_sra_pi32): Cast __count to __v2si type.
1601         (_mm_slli_pi16): Use __builtin_ia32_psllwi.
1602         (_mm_slli_pi32): Use __builtin_ia32_pslldi.
1603         (_mm_slli_si64): Use __builtin_ia32_psllqi. Cast __m to __v1di type.
1604         (_mm_srli_pi16): Use __builtin_ia32_psrlwi.
1605         (_mm_srli_pi32): Use __builtin_ia32_psrldi.
1606         (_mm_srli_si64): Use __builtin_ia32_psrlqi. Cast __m to __v1di type.
1607         (_mm_srai_pi16): Use __builtin_ia32_psrawi.
1608         (_mm_srai_pi32): Use __builtin_ia32_psradi.
1609         * config/i386/i386.md (UNSPEC_NOP): Remove unspec definition.
1610         * doc/extend.texi (X86 Built-in Functions) [__builtin_ia32_psll?,
1611         __builtin_ia32_psrl?, __builtin_ia32_psra?, __builtin_ia32_psll?i,
1612         __builtin_ia32_psrl?i, __builtin_ia32_psra?i]: Add new builtins.
1613
1614 2008-03-07  Joseph Myers  <joseph@codesourcery.com>
1615
1616         * doc/include/texinfo.tex: Update to version 2008-03-07.10.
1617
1618 2008-03-07  Peter Bergner  <bergner@vnet.ibm.com>
1619
1620         PR target/35373
1621         * config/rs6000/rs6000.c (rs6000_legitimize_address): Don't generate
1622         reg+const addressing for Altivec modes.  Don't generate reg+reg
1623         addressing for TFmode or TDmode quantities.
1624
1625 2008-03-07  Paolo Bonzini  <bonzini@gnu.org>
1626
1627         * c-common.c (vector_types_convertible_p): Call langhook
1628         instead of comptypes.
1629
1630 2008-03-06  Andrew Pinski  <andrew_pinski@playstation.sony.com>
1631
1632         PR tree-opt/35402
1633         * tree-ssa-ccp.c (get_symbol_constant_value): Handle
1634         integral and scalar float variables which have a
1635         NULL DECL_INITIAL.
1636
1637 2008-03-06  Nathan Froyd  <froydnj@codesourcery.com>
1638
1639         * dwarf2out.c (dwarf2out_frame_debug_expr): Consult the
1640         dwarf_register_span hook when emitting unwind information for
1641         register-to-memory saves.
1642         * config/rs6000/rs6000.c (spe_synthesize_frame): Delete.
1643         (rs6000_frame_related): Remove call to spe_synthesize_frame.
1644
1645 2008-03-06  Jakub Jelinek  <jakub@redhat.com>
1646
1647         * gimplify.c (goa_lhs_expr_p): Allow different ADDR_EXPR nodes
1648         for the same VAR_DECL.
1649
1650 2008-03-06  Tom Tromey  <tromey@redhat.com>
1651
1652         * treelang: Delete.
1653         * doc/standards.texi (Standards): Don't mention treelang.
1654         * doc/invoke.texi (Overall Options): Don't mention treelang.
1655         * doc/install.texi (Prerequisites): Don't mention bison or
1656         treelang.
1657         (Configuration): Don't mention treelang.
1658         (Building): Likewise.
1659         * doc/frontends.texi (G++ and GCC): Don't mention treelang.
1660
1661 2008-03-06  Paolo Bonzini  <bonzini@gnu.org>
1662
1663         * simplify-rtx.c (simplify_subreg): Remove useless shifts from
1664         word-extractions out of a multi-word object.
1665
1666 2008-03-06  Richard Guenther  <rguenther@suse.de>
1667
1668         * tree.def (BIT_FIELD_REF): Constrain result type and its precision.
1669         * tree-cfg.c (verify_expr): Verify BIT_FIELD_REF constraints on
1670         result type and precision.
1671         * expr.c (get_inner_reference): Set unsignedp based on the result
1672         type of BIT_FIELD_REF.
1673         * tree.h (BIT_FIELD_REF_UNSIGNED): Remove.
1674         * tree-sra.c (instantiate_element): Do not set BIT_FIELD_REF_UNSIGNED.
1675         (try_instantiate_multiple_fields): Likewise.  Use the correct type
1676         for BIT_FIELD_REF.
1677         (sra_build_assignment): Likewise.
1678         (sra_build_elt_assignment): Likewise.
1679         (sra_explode_bitfield_assignment): Likewise.
1680         * print-tree.c (print_node): Do not check BIT_FIELD_REF_UNSIGNED.
1681         * tree-vect-transform.c (vect_create_epilog_for_reduction): Do not
1682         set BIT_FIELD_REF_UNSIGNED.
1683         (vectorizable_load): Likewise.
1684
1685 2008-03-06  Andreas Krebbel  <krebbel1@de.ibm.com>
1686
1687         * cse.c (cse_extended_basic_block): Invalidate artificial defs
1688         at bb start.
1689
1690 2008-03-06  Richard Guenther  <rguenther@suse.de>
1691
1692         * alias.c (struct alias_set_entry): Move has_zero_child field
1693         to pack with alias_set.
1694
1695 2008-03-05  H.J. Lu  <hongjiu.lu@intel.com>
1696
1697         * config/i386/i386-modes.def: Use 4 byte alignment on DI for
1698         32bit host.
1699
1700 2008-03-05  Ian Lance Taylor  <iant@google.com>
1701
1702         * alias.h (alias_set_type): Change from HOST_WIDE_INT to int.
1703
1704 2008-03-05  Kenneth Zadeck <zadeck@naturalbridge.com>
1705
1706         * fwprop.c (update_df): Support width and offset parameters of
1707         df_ref_create.
1708         * ra-conflict.c (mark_reg_store, clear_reg_in_live,
1709         global_conflicts): Change DF_REF_EXTRACT to either
1710         DF_REF_ZERO_EXTRACT or DF_REF_SIGN_EXTRACT.  Change
1711         DF_REF_STRICT_LOWER_PART to DF_REF_STRICT_LOW_PART.
1712         * df-scan.c (df_ref_record, df_defs_record,
1713         df_ref_create_structure, df_def_record_1, df_uses_record,
1714         df_get_conditional_uses, df_get_call_refs, df_insn_refs_collect,
1715         df_bb_refs_collect, df_entry_block_defs_collect,
1716         df_exit_block_uses_collect): Support new width and offset fields.
1717         (ref_extract_pool): New storage pool.
1718         (df_free_ref): New function.
1719         (df_reg_chain_unlink, df_free_collection_rec,
1720         df_sort_and_compress_refs): Call df_free_ref.
1721         (df_ref_equal_p, df_ref_compare): Compare offset and width fields
1722         of df_ref_extract.
1723         (df_ref_create_structure): Allocate df_ref_extract if offset and
1724         width fields are used.
1725         (df_def_record_1): Get offset and width from ZERO_EXTRACT.
1726         (df_uses_record): Get offset and width from ZERO_EXTRACT 
1727         and SIGN_EXTRACT.
1728         * global.c (build_insn_chain): Change DF_REF_EXTRACT to either
1729         DF_REF_ZERO_EXTRACT or DF_REF_SIGN_EXTRACT.  Change
1730         DF_REF_STRICT_LOWER_PART to DF_REF_STRICT_LOW_PART.
1731         * df.h (df_ref_flags): Change DF_REF_EXTRACT to either
1732         DF_REF_ZERO_EXTRACT or DF_REF_SIGN_EXTRACT.  Change
1733         DF_REF_STRICT_LOWER_PART to DF_REF_STRICT_LOW_PART.
1734         (df_ref_extract): New structure.
1735         (DF_REF_WIDTH, DF_REF_OFFSET): New macros.
1736         (df_ref_create): Add width and offset parameters.
1737         
1738 2008-03-05  Richard Guenther  <rguenther@suse.de>
1739
1740         * tree-ssa-structalias.c (get_constraint_for_component_ref):
1741         Use ranges_overlap_p.
1742         (offset_overlaps_with_access): Rename
1743         to ranges_overlap_p and move ...
1744         * tree-flow-inline.h (ranges_overlap_p): ... here.
1745
1746         * tree.h (get_inner_reference, handled_component_p): Update
1747         comments.
1748
1749         * tree.h (record_component_aliases, get_alias_set,
1750         alias_sets_conflict_p, alias_sets_must_conflict_p,
1751         objects_must_conflict_p): Move declarations ...
1752         * alias.h (record_component_aliases, get_alias_set,
1753         alias_sets_conflict_p, alias_sets_must_conflict_p,
1754         objects_must_conflict_p): ... here.
1755         Include coretypes.h.
1756         * Makefile.in (ALIAS_H): Add coretypes.h dependency.
1757
1758 2008-03-05  Aldy Hernandez  <aldyh@redhat.com>
1759
1760         * cfg.c: Include tree-flow.h.
1761         (remove_edge_raw): Call redirect_edge_var_map_clear.
1762         (redirect_edge_succ_nodup): Call redirect_edge_var_map_dup.
1763         * tree-flow-inline.h (redirect_edge_var_map_def): New.
1764         (redirect_edge_var_map_result): New.
1765         * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Replace
1766         PENDING_STMT use with redirect_edge_var_map_*.
1767         * tree-ssa.c (edge_var_maps): New definition.
1768         (redirect_edge_var_map_add): New.
1769         (redirect_edge_var_map_clear): New.
1770         (redirect_edge_var_map_dup): New.
1771         (redirect_edge_var_map_vector): New.
1772         (redirect_edge_var_map_destroy): New.
1773         (ssa_redirect_edge): Replace PENDING_STMT use with
1774         redirect_edge_var_map_*.
1775         (flush_pending_stmts): Same.
1776         (delete_tree_ssa): Destroy edge var map.
1777         * tree-flow.h (struct _edge_var_map): New.
1778         Define edge_var_map vector type.
1779         Declare redirect_edge_var_map_* prototypes.
1780         * Makefile.in (cfg.o): Depend on TREE_FLOW_H.
1781         * tree-cfg.c (reinstall_phi_args): Replace
1782         PENDING_STMT use with redirect_edge_var_map_*.
1783
1784 2008-03-05  Richard Guenther  <rguenther@suse.de>
1785
1786         PR tree-optimization/35472
1787         * tree-ssa-dse.c (dse_optimize_stmt): Do not delete a store
1788         whose single use_stmt has a overlapping set of loaded and
1789         stored symbols as that use_stmt might be a noop assignment then.
1790
1791 2008-03-05  Joel Sherrill <joel.sherrill@oarcorp.com>
1792
1793         * gthr-rtems.h: Implement __gthread_mutex_destroy.
1794
1795 2008-03-05  Richard Guenther  <rguenther@suse.de>
1796
1797         PR c++/35336
1798         * tree.def (BIT_FIELD_REF): Document that operands 1 and 2
1799         should be constants.
1800         * tree-cfg.c (verify_expr): Verify it.
1801         * fold-const.c (fold_truthop): Remove code generating
1802         BIT_FIELD_REFs of structure bases.
1803         (fold_binary): Likewise.
1804         (fold_ternary): Position and size of BIT_FIELD_REFs are
1805         always host integers.
1806         (make_bit_field_ref): Remove.
1807         (optimize_bit_field_compare): Remove.
1808         (all_ones_mask_p): Remove.
1809
1810 2008-03-05  Gabor Loki  <loki@gcc.gnu.org>
1811
1812         PR gcc/33009
1813         * rtl-factoring.c (clear_regs_live_in_seq): Fix backward steps.
1814         (split_block_and_df_analyze): New. Split basic block and rebuild
1815         dataflow.
1816         (block_label_after): Use SPLIT_BLOCK_AND_DF_ANALYZE instead of
1817         SPLIT_BLOCK.
1818         (split_pattern_seq): Likewise.
1819         (erase_matching_seqs): Likewise.
1820         (split_pattern_seq): Skip return insn in case of REG_NORETURN note.
1821
1822 2008-03-04  Geoff Keating  <geoffk@apple.com>
1823
1824         * fold-const.c (tree_single_nonnegative_warnv_p): Fix mixed
1825         declaration and code.
1826         (tree_invalid_nonnegative_warnv_p): Likewise.
1827
1828 2008-03-05  Serge Belyshev  <belyshev@depni.sinp.msu.ru>
1829
1830         * doc/install.texi (Testing): Correct quoting for the RUNTESTFLAGS
1831         examples.  Truncate option-names then causing overfull hbox.
1832
1833 2008-03-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1834
1835         PR target/35222
1836         * configure.ac (CONFIG_SJLJ_EXCEPTIONS): Force SJLJ exceptions
1837         on hpux10.
1838         * configure: Rebuilt.
1839
1840 2008-03-04  Rafael Espindola  <espindola@google.com>
1841
1842         * fold-const.c (tree_simple_nonnegative_warnv_p): New.
1843         (tree_unary_nonnegative_warnv_p): New.
1844         (tree_binary_nonnegative_warnv_p): New.
1845         (tree_single_nonnegative_warnv_p): New.
1846         (tree_invalid_nonnegative_warnv_p): New.
1847         (tree_expr_nonnegative_warnv_p): Redefine in term of the new functions.
1848
1849 2008-03-04  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
1850
1851         PR 28322
1852         * opts.c (handle_option): Postpone 'unknown option' errors only for
1853         warning options.
1854
1855 2008-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1856
1857         PR target/35453
1858         * config/i386/smmintrin.h (SIDD_XXX): Renamed to ...
1859         (_SIDD_XXX): This.
1860
1861 2008-03-04  Rafael Espindola  <espindola@google.com>
1862
1863         * fold-const.c (tree_unary_nonzero_warnv_p): New.
1864         (tree_binary_nonzero_warnv_p): New.
1865         (tree_single_nonzero_warnv_p): New.
1866         (tree_expr_nonzero_warnv_p): Redefine using the new functions.
1867
1868 2008-03-04  Uros Bizjak  <ubizjak@gmail.com>
1869
1870         PR middle-end/35456
1871         * fold-const.c (fold_cond_expr_with_comparison): Prevent
1872         transformations for modes that have signed zeros.
1873         * ifcvt.c (noce_try_abs): Ditto.
1874
1875 2008-03-04  Joseph Myers  <joseph@codesourcery.com>
1876
1877         * config/i386/i386.c (override_options): Force
1878         -maccumulate-outgoing-args on if TARGET_STACK_PROBE.
1879
1880 2008-03-04  Jan Hubicka  <jh@suse.cz>
1881
1882         PR c++/35262
1883         * ipa-inline.c (cgraph_decide_inlining_of_small_function): Fix typo
1884         in last commit.
1885
1886 2008-03-04  Danny Smith  <dannysmith@users.sourceforge.net>
1887
1888         * config/i386/i386.md (allocate_stack_worker_32): Use  __chkstk
1889         label to probe the stack.
1890
1891 2008-03-04  Danny Smith  <dannysmith@users.sourceforge.net>
1892
1893         * gthr-win32.h [__GTHREAD_HIDE_WIN32API]
1894         (__gthr_win32_mutex_destroy): Declare.
1895         [__GTHREAD_HIDE_WIN32API] (__gthread_mutex_destroy): Use
1896         __gthr_win32_mutex_destroy.
1897         * config/i386/gthr-win32.c  (__gthr_win32_mutex_destroy): Define.
1898
1899 2008-03-03  Jan Hubicka  <jh@suse.cz>
1900
1901         PR c++/35262
1902         * ipa-inline.c (cgraph_decide_inlining_of_small_function): Be more
1903         aggressive on inlining cold calls.
1904
1905 2008-03-03  Richard Guenther  <rguenther@suse.de>
1906
1907         * tree-ssa-sccvn.c (visit_reference_op_store): Do not insert
1908         struct copies into the expression table.
1909         (simplify_unary_expression): Handle VIEW_CONVERT_EXPR.
1910         (try_to_simplify): Likewise.
1911         * fold-const.c (fold_unary): Fold VIEW_CONVERT_EXPR of
1912         integral and pointer arguments which do not change the
1913         precision to NOP_EXPRs.
1914         * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Adjust
1915         VIEW_CONVERT_EXPR case.
1916
1917 2008-03-02  Sebastian Pop  <sebastian.pop@amd.com>
1918
1919         * tree-scalar-evolution.c (instantiate_parameters_1): An SSA_NAME
1920         defined in a loop at depth 0 is invariant.
1921         * tree-chrec.c (evolution_function_is_invariant_rec_p): Ditto.
1922         * tree-ssa-loop-ivopts.c (expr_invariant_in_loop_p): Should never
1923         be called at loop depth 0.
1924
1925 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
1926
1927         PR driver/35420
1928         * gcc.c (process_command): Update copyright notice dates.
1929         * gcov.c (print_version): Likewise.
1930         * gcov-dump.c (print_version): Likewise.
1931         * mips-tfile.c (main): Likewise.
1932         * mips-tdump.c (main): Likewise.
1933
1934 2008-03-02  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
1935
1936         PR 24924
1937         * c-common.c (flag_permissive): Delete.
1938         (constant_expression_warnings): Check flags first.
1939         (constant_expression_error): New.
1940         * c-common.h (flag_permissive): Delete.
1941         (constant_expression_error): Declare.
1942         * flags.h (flag_permissive): Declare. Update description.
1943         * diagnostic.c (pedwarn): Update.
1944         (permerror): New.
1945         * diagnostic.h: (pedantic_error_kind): Rename as pedantic_warning_kind.
1946         (permissive_error_kind): New.
1947         * toplev.c (flag_permissive): Define. Update description.
1948         * toplev.h (permissive_error_kind): Declare.
1949         * c-errors.c (pedwarn_c99): Use pedantic_warning_kind.
1950         (pedwarn_c90): Use pedantic_warning_kind.
1951         * c-opts.c (c_common_post_options): flag_permissive does not affect
1952         flag_pedantic_errors.
1953
1954 2008-03-02  Joseph Myers  <joseph@codesourcery.com>
1955
1956         * libgcc2.c (__addvSI3, __addvsi3, __addvDI3, __subvSI3,
1957         __subvsi3, __subvDI3, __negvSI2, __negvsi2, __negvDI2, __absvSI2,
1958         __absvsi2, __absvDI2): Use unsigned arithmetic.
1959
1960 2008-03-02  Andi Kleen  <ak@suse.de>
1961             Richard Guenther  <rguenther@suse.de>
1962
1963         * struct-equiv.c: Remove file.
1964         * cfg_cleanup.c (condjump_equiv_p): Remove.
1965         * Makefile.in (OBJS-common): Remove struct-equiv.o.
1966         (struct-equiv.o): Remove rule.
1967         * basic-block.h (struct_equiv_checkpoint, STRUCT_EQUIV_*,
1968         insns_match_p, struct_equiv_block_eq, struct_equiv_init, 
1969         rtx_equiv_p, condjump_equiv_p): Remove prototypes.
1970
1971 2008-03-01  Alexandre Oliva  <aoliva@redhat.com>
1972
1973         * ifcvt.c (noce_process_if_block): Try to handle only the then
1974         block if the else block exists but isn't suitable.
1975
1976 2008-03-01  Janne Blomqvist  <jb@gcc.gnu.org>
1977
1978         PR gcc/35063
1979         * gthr-posix.h (__gthread_mutex_destroy): Remove extra declarations.
1980         * gthr-posix95.h (__gthread_mutex_destroy): Likewise. Note this fixes
1981         regression from previous patch.
1982
1983 2008-03-01  Janne Blomqvist  <jb@gcc.gnu.org>
1984
1985         PR gcc/35063
1986         * gthr.h: Add __gthread_mutex_destroy as a function that must be
1987         implemented.
1988         * gthr-vxworks.h (__gthread_mutex_destroy): Null implementation.
1989         * gthr-single.h (__gthread_mutex_destroy): Likewise.
1990         * gthr-rtems.h (__gthread_mutex_destroy): Likewise.
1991         * gthr-mipssde.h (__gthread_mutex_destroy): Likewise.
1992         * gthr-nks.h (__gthread_mutex_destroy): Likewise.
1993         * gthr-solaris.h (__gthread_mutex_destroy): Call mutex_destroy.
1994         * gthr-win32.h (__GTHREAD_MUTEX_DESTROY_FUNCTION): Remove.
1995         (__gthread_mutex_destroy_function): Rename to
1996         __gthread_mutex_destroy.
1997         * gthr-dce.h (__gthread_mutex_destroy): Call
1998         pthread_mutex_destroy.
1999         * gthr-tpf.h (__gthread_mutex_destroy): Likewise.
2000         * gthr-posix.h (__gthread_mutex_destroy): Likewise.
2001         * gthr-posix95.h (__gthread_mutex_destroy): Likewise.
2002
2003 2008-03-01  Alexandre Oliva  <aoliva@redhat.com>
2004
2005         * df-scan.c (df_ref_chain_change_bb): Simplify.
2006         (df_insn_change_bb): Add new_bb argument.  Simplify.  Call
2007         set_block_for_insn if there's any change.
2008         * df.h ((df_insn_change_bb): Fix prototype.
2009         * cfgrtl.c (update_bb_for_insn_chain): Pass bb to
2010         df_insn_change_bb, don't call set_block_for_insn.
2011         * emit-rtl.c (reorder_insns): Likewise.
2012         * haifa-sched.c (move_insn): Likewise.
2013
2014 2008-03-01  Alexandre Oliva  <aoliva@redhat.com>
2015
2016         * rtlanal.c (loc_mentioned_in_p): Test XVECEXPs correctly.
2017
2018 2008-03-01  Alexandre Oliva  <aoliva@redhat.com>
2019
2020         * tree-flow-inline.h (next_readonly_imm_use): Return
2021         NULL_USE_OPERAND_P after the end.
2022
2023 2008-03-01  Richard Guenther  <rguenther@suse.de>
2024
2025         PR tree-optimization/35411
2026         * tree-sra.c (sra_build_assignment): Split conversion to
2027         final type to a separate statement if we are not assigning
2028         to a register.
2029
2030 2008-02-29  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
2031
2032         * fold-const.c (fold_convertible_p): Correct the logic to follow
2033         that in fold_convert().
2034
2035 2008-02-29  Douglas Gregor  <doug.gregor@gmail.com>
2036
2037         PR c++/35315
2038         * tree-inline.c (build_duplicate_type): When we make a
2039         duplicate type, make it unique in the canonical types system.
2040
2041 2008-02-29  Tom Tromey  <tromey@redhat.com>
2042
2043         * toplev.c (input_file_stack, input_file_stack_tick, fs_p,
2044         input_file_stack_history, input_file_stack_restored): Remove.
2045         (push_srcloc, pop_srcloc, restore_input_file_stack): Likewise.
2046         * input.h (struct file_stack): Remove.
2047         (push_srcloc, pop_srcloc, restore_input_file_stack): Likewise.
2048         (input_file_stack, input_file_stack_tick, INPUT_FILE_STACK_BITS):
2049         Likewise.
2050         * diagnostic.h (struct diagnostic_context) <last_module>: Change
2051         type.
2052         (diagnostic_last_module_changed): Add 'map' argument.
2053         (diagnostic_set_last_function): Likewise.
2054         * diagnostic.c (undiagnostic_report_current_module): Iterate using
2055         line map, not input_file_stack.
2056         * c-lex.c (fe_file_change): Don't use push_srcloc or pop_srcloc.
2057
2058 2008-02-29  Paul Brook  <paul@codesourcery.com>
2059
2060         * config/arm/arm.md (arm_addsi3): Add r/k/n alternative.
2061
2062 2008-02-29  Paul Brook  <paul@codesourcery.com>
2063
2064         * config/arm/ieee754-df.S (muldf3): Use RET macros.
2065
2066 2008-02-29  Richard Guenther  <rguenther@suse.de>
2067
2068         * tree-ssa-pre.c (get_sccvn_value): Create missing VNs via
2069         vn_lookup_or_add.
2070         * tree-ssa-sccnv.c (visit_reference_op_store): Use the rhs
2071         value for comparing for a store match.
2072         (simplify_unary_expression): Do nothing for SSA_NAMEs.
2073         (try_to_simplify): Do not do a full-blown reference lookup.
2074
2075 2008-02-29  Kaz Kojima  <kkojima@gcc.gnu.org>
2076
2077         * config/sh/sh.c (sh_scalar_mode_supported_p): New function.
2078         (TARGET_SCALAR_MODE_SUPPORTED_P): Define.
2079
2080         * config/sh/sh.h (OVERRIDE_OPTIONS): Don't warn for profiling.
2081
2082 2008-02-29  Sebastian Pop  <sebastian.pop@amd.com>
2083
2084         * tree-loop-linear.c (try_interchange_loops): Compare memory access
2085         strides against cache sizes.
2086
2087 2008-02-29  Kaz Kojima  <kkojima@gcc.gnu.org>
2088
2089         * config/sh/sh.c (sh_secondary_reload): Handle loading a float
2090         constant to fpul.
2091
2092 2008-02-28  Richard Sandiford  <rsandifo@nildram.co.uk>
2093
2094         * simplify-rtx.c (simplify_unary_operation_1): Extend the handling
2095         of SUBREG_PROMOTED_VAR_P to cope with cases where the extended value
2096         is smaller than the original promoted value.
2097         (simplify_subreg): If OP is a SUBREG, try to preserve its
2098         SUBREG_PROMOTED_VAR_P information.
2099
2100 2008-02-28  Steven Bosscher  <stevenb.gcc@gmail.com>
2101
2102         * tree-ssa-sccvn (vn_ssa_aux_obstack): New obstack.
2103         (VN_INFO_GET): Allocate new objects on the obstack.
2104         (init_scc_vn): Initialize the obstack.  Use XDELETE instead of free
2105         for rpo_numbers_temp, for consistency.
2106         (free_scc_vn): Free the obstack.
2107
2108 2008-02-28  Sebastian Pop  <sebastian.pop@amd.com>
2109
2110         * doc/invoke.texi: Document -ftree-loop-distribution.
2111         * tree-loop-distribution.c: New.
2112         * tree-pass.h (pass_loop_distribution): New.
2113         * graphds.h (struct graph): Add htab_t indices.
2114         * timevar.def (TV_TREE_LOOP_DISTRIBUTION): New.
2115         * tree-vectorizer.c (rename_variables_in_loop): Extern.
2116         (slpeel_tree_duplicate_loop_to_edge_cfg): Init PENDING_STMT to NULL.
2117         * tree-vectorizer.h (tree_duplicate_loop_on_edge): Declared.
2118         * tree-data-ref.c (debug_data_dependence_relations): New.
2119         (dump_data_dependence_relation): Also print data references.
2120         (free_data_ref): Extern.
2121         (same_access_functions): Moved...
2122         (find_vertex_for_stmt): Renamed rdg_vertex_for_stmt.
2123         (dump_rdg_vertex, debug_rdg_vertex, dump_rdg_component,
2124         debug_rdg_component, dump_rdg, debug_rdg, dot_rdg_1, dot_rdg,
2125         struct rdg_vertex_info, rdg_vertex_for_stmt): New.
2126         (create_rdg_edge_for_ddr, create_rdg_vertices): Cleaned up.
2127         (stmts_from_loop): Skip LABEL_EXPR.
2128         (hash_stmt_vertex_info, eq_stmt_vertex_info, hash_stmt_vertex_del):
2129         New.
2130         (build_rdg): Initialize rdg->indices htab.
2131         (free_rdg, stores_from_loop, ref_base_address,
2132         rdg_defs_used_in_other_loops_p, have_similar_memory_accesses,
2133         have_similar_memory_accesses_1, ref_base_address_1,
2134         remove_similar_memory_refs): New.
2135         * tree-data-ref.h: Depend on tree-chrec.h.
2136         (debug_data_dependence_relations, free_data_ref): Declared.
2137         (same_access_functions): ... here.
2138         (ddr_is_anti_dependent, ddrs_have_anti_deps, ddr_dependence_level):
2139         New.
2140         (struct rdg_vertex): Add has_mem_write and has_mem_reads.
2141         (RDGV_HAS_MEM_WRITE, RDGV_HAS_MEM_READS, RDG_STMT,
2142         RDG_MEM_WRITE_STMT, RDG_MEM_READS_STMT): New.
2143         (dump_rdg_vertex, debug_rdg_vertex, dump_rdg_component,
2144         debug_rdg_component, dump_rdg, debug_rdg, dot_rdg,
2145         rdg_vertex_for_stmt): Declared.
2146         (struct rdg_edge): Add level.
2147         (RDGE_LEVEL): New.
2148         (free_rdg, stores_from_loop, remove_similar_memory_refs,
2149         rdg_defs_used_in_other_loops_p, have_similar_memory_accesses):
2150         Declared.
2151         (rdg_has_similar_memory_accesses): New.
2152         * tree-vect-analyze.c: Remove unused static decls.
2153         * lambda.h (dependence_level): New.
2154         * common.opt (ftree-loop-distribution): New.
2155         * tree-flow.h (mark_virtual_ops_in_bb, 
2156         slpeel_tree_duplicate_loop_to_edge_cfg,
2157         rename_variables_in_loop): Declared.
2158         * Makefile.in (TREE_DATA_REF_H): Depend on tree-chrec.h.
2159         (OBJS-common): Add tree-loop-distribution.o.
2160         (tree-loop-distribution.o): New rule.
2161         * tree-cfg.c (mark_virtual_ops_in_bb): New.
2162         (mark_virtual_ops_in_region): Use mark_virtual_ops_in_bb.
2163         * passes.c (init_optimization_passes): Schedule pass_loop_distribution.
2164
2165 2008-02-28  Joseph Myers  <joseph@codesourcery.com>
2166
2167         PR target/33963
2168         * tree.c (handle_dll_attribute): Disallow TYPE_DECLs for types
2169         other than structures and unions.
2170
2171 2008-02-28  Richard Guenther  <rguenther@suse.de>
2172
2173         Revert:
2174         2008-02-26  Richard Guenther  <rguenther@suse.de>
2175
2176         * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ...
2177         * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here.
2178         (lookup_decl_from_uid): Declare.
2179         (remove_decl_from_map): Likewise.
2180         * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ...
2181         * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here.
2182         (decl_for_uid_map): New global hashtable mapping DECL_UID
2183         to the decl tree.
2184         (init_ttree): Allocate it.
2185         (insert_decl_to_uid_decl_map): New helper function.
2186         (make_node_stat): Insert new decls into the map.
2187         (copy_node_stat): Likewise.
2188         (lookup_decl_from_uid): New function.
2189         (remove_decl_from_map): Likewise.
2190         (print_decl_for_uid_map_statistics): New helper.
2191         (dump_tree_statistics): Call it.
2192
2193         * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap.
2194         (referenced_var_iterator): Adjust.
2195         (FOR_EACH_REFERENCED_VAR): Adjust.
2196         (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator.
2197         (num_referenced_vars): Adjust.
2198         * tree-flow-inline.h (gimple_referenced_vars): Adjust.
2199         (first_referenced_var): Remove.
2200         (end_referenced_vars_p): Likewise.
2201         (next_referenced_var): Likewise.
2202         (referenced_var_iterator_set): New helper function.
2203         * tree-dfa.c (referenced_var_lookup): Adjust.
2204         (referenced_var_check_and_insert): Likewise.
2205         (remove_referenced_var): Likewise.
2206         * tree-ssa.c (verify_flow_insensitive_alias_info): Use
2207         FOR_EACH_REFERENCED_VAR_IN_BITMAP.
2208         (verify_call_clobbering): Likewise.
2209         (verify_memory_partitions): Likewise.
2210         (init_tree_ssa): Allocate bitmap instead of hashtable for
2211         referenced_vars.
2212         (delete_tree_ssa): Adjust.
2213         * tree-ssa-alias.c (mark_aliases_call_clobbered): Use
2214         FOR_EACH_REFERENCED_VAR_IN_BITMAP.
2215         (compute_tag_properties): Likewise.
2216         (set_initial_properties): Likewise.
2217         (find_partition_for): Likewise.
2218         (update_reference_counts): Likewise.
2219         (dump_may_aliases_for): Likewise.
2220         * tree-ssa-operands.c (add_virtual_operand): Likewise.
2221         (add_call_clobber_ops): Likewise.
2222         (add_call_read_ops): Likewise.
2223         (get_asm_expr_operands): Likewise.
2224         * tree-into-ssa.c (dump_decl_set): Likewise.
2225         (update_ssa): Likewise.
2226         * tree-sra.c (scan_function): Likewise.
2227         (decide_instantiations): Likewise.
2228         (scalarize_parms): Likewise.
2229         * tree-ssa-alias-warnings.c (build_reference_table): Likewise.
2230         (dsa_named_for): Likewise.
2231         * tree-ssa-structalias.c (update_alias_info): Likewise.
2232         (merge_smts_into): Likewise.
2233
2234 2008-02-27  David Daney  <ddaney@avtrex.com>
2235
2236         PR target/34409
2237         * config/mips/iris.h (MIPS_DEBUGGING_INFO): Define.
2238         * config/mips/openbsd.h (MIPS_DEBUGGING_INFO): Same.
2239         * config/mips/sde.h (MIPS_DEBUGGING_INFO): Remove undef.
2240         * config/mips/vxworks.h (MIPS_DEBUGGING_INFO): Same.
2241         * config/mips/mips.h (MIPS_DEBUGGING_INFO): Remove define.
2242
2243 2008-02-27  Uros Bizjak  <ubizjak@gmail.com>
2244
2245         PR target/25477
2246         * config/darwin-ppc-ldouble-patch.def (BUILT_IN_NANL): Add.
2247         (BUILT_IN_NEXTTOWARD): Remove.
2248         (BUILT_IN_NEXTTOWARDF): Ditto.
2249         * config/darwin.c (darwin_patch_builtin): Use ACONCAT instead of
2250         alloca/strcpy/strcat.  Remove commented-out code.  Fix whitespace.
2251
2252 2008-02-27  Tom Tromey  <tromey@redhat.com>
2253
2254         * tree-dump.c (dequeue_and_dump) <FUNCTION_DECL>: Check
2255         DECL_SAVED_TREE, not DECL_LANG_SPECIFIC, when dumping body.
2256
2257 2008-02-27  Jan Beulich  <jbeulich@novell.com>
2258
2259         * c-decl.c (merge_decls): Use DECL_USER_ALIGN() on olddecl to
2260         update the respective field on newdecl.
2261
2262 2008-02-27  Revital Eres  <eres@il.ibm.com>
2263
2264         PR rtl-optimization/34999
2265         * bb-reorder.c (add_labels_and_missing_jumps): Do not handle
2266         crossing edges that ends with a call insn.
2267         (fix_up_fall_thru_edges): Handle crossing edges that ends with a
2268         call insn and clear the EDGE_CROSSING flag of the crossing edge
2269         when fixing fallthru edges.
2270
2271 2008-02-27  Richard Guenther  <rguenther@suse.de>
2272
2273         PR middle-end/35390
2274         * fold-const.c (fold_unary): Return the correct argument,
2275         converted to the result type.
2276
2277 2008-02-27  Richard Guenther  <rguenther@suse.de>
2278
2279         PR middle-end/34971
2280         * expr.c (expand_expr_real_1): Assert on rotates that operate
2281         on partial modes.
2282         * fold-const.c (fold_binary): Use the types precision, not the
2283         bitsize of the mode if folding rotate expressions.  Build rotates
2284         only for full modes.
2285
2286 2008-02-27  Jakub Jelinek  <jakub@redhat.com>
2287
2288         * c-ppoutput.c (scan_translation_unit): Handle CPP_PRAGMA
2289         and CPP_PRAGMA_EOL.
2290         * c-pragma.c (pragma_ns_name): New typedef.
2291         (registered_pp_pragmas): New variable.
2292         (c_pp_lookup_pragma): New function.
2293         (c_register_pragma_1): If flag_preprocess_only, do nothing
2294         for non-expanded pragmas, for expanded ones push pragma's
2295         namespace and name into registered_pp_pragmas vector.
2296         (c_invoke_pragma_handler): Register OpenMP pragmas even when
2297         flag_preprocess_only, don't register GCC pch_preprocess
2298         pragma if flag_preprocess_only.
2299         * c-opts.c (c_common_init): Call init_pragma even if
2300         flag_preprocess_only.
2301         * c-pragma.c (c_pp_lookup_pragma): New prototype.
2302         * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Don't call
2303         cpp_register_pragma if flag_preprocess_only.
2304
2305 2008-02-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2306
2307         PR c/28800
2308         * c-parser.c (c_parser_translation_unit): Warn for empty
2309         translation unit, not empty source file.
2310
2311 2008-02-26  Paul Brook  <paul@codesourcery.com>
2312
2313         * config/arm/arm.c (thumb_set_frame_pointer): Ensure SP is first
2314         operand for Thumb-2.
2315         * config/arm/arm.h (reg_class): Add CORE_REGS.
2316         (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Ditto.
2317         (BASE_REG_CLASS): Use CORE_REGS.
2318         (PREFERRED_RELOAD_CLASS): Add STACK_REG.
2319         (REGNO_MODE_OK_FOR_REG_BASE_P): Use REGNO_MODE_OK_FOR_BASE_P.
2320         (REGNO_OK_FOR_INDEX_P): Exclude SP.
2321         (ARM_REG_OK_FOR_INDEX_P): Always define.  Use
2322         ARM_REGNO_OK_FOR_INDEX_P.
2323         (ARM_PRINT_OPERAND_ADDRESS): Swap operands for [reg, sp].
2324         * config/arm/arm.md (arm_addsi3, thumb1_addsi3, arm_subsi3_insn,
2325         arm_movsi_insn, thumb1_movsi_insni, stack_tie): Add "k" alternatives.
2326         (ldm/stm peepholes): Ditto.
2327         * config/arm/thumb2.md (thumb2_movdi): Add "k" alternatives.
2328         * config/arm/vfp.md (arm_movsi_vfp, thumb2_movsi_vfp): Ditto.
2329         * config/arm/iwmmxt.md (iwmmxt_movsi_insn): Ditto.
2330         * config/arm/constraints.md: Enable "k" constraint on ARM.
2331
2332 2008-02-27  Ben Elliston  <bje@au.ibm.com>
2333
2334         * config/rs6000/rs6000.c: Annotate cache line size field in all
2335         instances of struct processor_costs.
2336
2337 2008-02-26  David Edelsohn  <edelsohn@gnu.org>
2338
2339         * dbgcnt.def (cfg_cleanup, cprop1, cprop2, dce_fast, dce_ud, dse1,
2340         dse2, gcse, if_conversion, if_after_combine, if_after_reload,
2341         jump_bypass): New counters.
2342         * cfgcleanup.c (cleanup_cfg): Add dbg_cnt.
2343         * dce.c (gate_ud_dce): Same.
2344         (gate_fast_dce): Same.
2345         * dse.c (gate_dse1): New function.
2346         (gate_dse2): New function.
2347         (gate_dse): Merge results of new gate functions.
2348         * gcse.c (gcse_main): Bracket cprop1 and cprop2 with dbg_cnt.
2349         (gate_handle_jump_bypass): Add dbg_cnt.
2350         (gate_handle_gcse): Add dbg_cnt.
2351         * ifcvt.c (gate_handle_if_conversion): Same.
2352         (gate_handle_if_after_combine): Same.
2353         (gate_handle_if_after_reload): Same.
2354         * Makefile.in: Add DBGCNT_H to cfgcleanup.o and ifcvt.o.
2355
2356 2008-02-26  Edmar Wienskoski  <edmar@freescale.com>
2357
2358         * config/rs6000/rs6000.c (processor_costs): Update e300 cache
2359         line sizes.
2360         * doc/invoke.texi: Add e300c2 and e300c3 to list of cpus.
2361
2362 2008-02-26  Jason Merrill  <jason@redhat.com>
2363
2364         PR c++/35315
2365         * attribs.c (decl_attributes): Leave ATTR_FLAG_TYPE_IN_PLACE 
2366         alone if it's the naming decl for the type's main variant.
2367
2368 2008-02-26  Tom Tromey  <tromey@redhat.com>
2369
2370         * system.h (USE_MAPPED_LOCATION): Poison.
2371         * Makefile.in (GTFILES): Put CPP_ID_DATA_H first.
2372         * tree-cfg.c (make_cond_expr_edges): Remove old location code.
2373         (make_goto_expr_edges): Likewise.
2374         (remove_bb): Likewise.
2375         (execute_warn_function_return): Likewise.
2376         * basic-block.h (struct edge_def) <goto_locus>: Change type to
2377         location_t.
2378         * c-common.c (fname_decl): Remove old location code.
2379         * tree-vect-transform.c (vect_finish_stmt_generation): Remove old
2380         location code.
2381         * rtl.h (ASM_OPERANDS_SOURCE_LOCATION): Remove old-location
2382         variant.
2383         (ASM_INPUT_SOURCE_LOCATION): Likewise.
2384         (gen_rtx_ASM_INPUT): Likewise.
2385         (gen_rtx_ASM_INPUT_loc): Likewise.
2386         (get_rtx_asm_OPERANDS): Remove.
2387         * cfglayout.c (insn_locators_alloc): Remove old location code.
2388         (set_curr_insn_source_location): Likewise.
2389         (curr_insn_locator): Likewise.
2390         * print-tree.c (print_node): Remove old location code.
2391         * tree-mudflap.c (mf_varname_tree): Remove old location code.
2392         (mf_file_function_line_tree): Remove test of USE_MAPPED_LOCATION.
2393         * cfgexpand.c (expand_gimple_cond_expr): Don't use
2394         location_from_locus.
2395         (construct_exit_block): Remove old location code.
2396         * emit-rtl.c (force_next_line_note): Remove old location code.
2397         * profile.c (branch_prob): Remove old location code.
2398         * tree-vectorizer.h (LOC, UNKNOWN_LOC, EXPR_LOC, LOC_FILE,
2399         LOC_LINE): Remove old-location variants.
2400         * langhooks.c (lhd_print_error_function): Remove old location
2401         code.
2402         * configure, config.in: Rebuilt.
2403         * configure.ac (--enable-mapped-location): Remove.
2404         * c-decl.c (c_init_decl_processing): Remove old location code.
2405         (finish_function): Likewise.
2406         * recog.c (decode_asm_operands): Remove old location code.
2407         * c-pch.c (c_common_read_pch): Remove old location code.
2408         * rtl.def (ASM_INPUT, ASM_OPERANDS): Remove old location
2409         variants.
2410         * gimple-low.c (lower_function_body): Remove old location code.
2411         * toplev.c (unknown_location): Remove.
2412         (push_srcloc): Remove old-location variant.
2413         (process_options): Remove old location code.
2414         (lang_dependent_init): Likewise.
2415         * input.h (UNKNOWN_LOCATION): Move definition.
2416         (location_t): Undeprecate.
2417         (source_locus): Remove.
2418         (location_from_locus): Remove.
2419         (struct location_s): Remove.
2420         Remove all old-location code.
2421         (input_line, input_filename): Remove.
2422         * final.c (final_scan_insn): Remove old location code.
2423         * diagnostic.c (diagnostic_build_prefix): Remove
2424         USE_MAPPED_LOCATION test.
2425         * tree.h (gimple_stmt) <locus>: Now a location_t.
2426         (tree_exp) <locus>: Likewise.
2427         (DECL_IS_BUILTIN): Remove old-location variant.
2428         (annotate_with_file_line, annotate_with_locus): Likewise.
2429         (expr_locus, set_expr_locus): Update.
2430         * tree.c (build1_stat): Remove old location code.
2431         (last_annotated_node): Remove.
2432         (annotate_with_file_line): Remove old-location variant.
2433         (annotate_with_locus): Likewise.
2434         (expr_location): Remove old location code.
2435         (set_expr_location): Likewise.
2436         (expr_has_location): Likewise.
2437         (expr_locus): Likewise.
2438         (set_expr_locus): Likewise.
2439         (expr_filename): Don't use location_from_locus.
2440         (expr_lineno): Likewise.
2441         * rtl-error.c (location_for_asm): Remove old location code.
2442         * c-lex.c (cb_line_change): Remove old location code.
2443         (fe_file_change): Likewise.
2444         (cb_def_pragma): Likewise.
2445         (c_lex_with_flags): Likewise.
2446         * gengtype.c (do_typedef): Don't special-case location types.
2447         (define_location_structures): Remove.
2448         (main): Don't call define_location_structures.
2449         * tree-pretty-print.c (dump_implicit_edges): Remove old location
2450         code.
2451
2452 2008-02-26  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
2453
2454         PR 26264
2455         * builtins.def (BUILT_IN_STDARG_START): Remove.
2456         * builtins.c (expand_builtin): Remove BUILT_IN_STDARG_START.
2457         * tree-stdarg.c (execute_optimize_stdarg): Likewise.
2458         * tree-inline.c (inline_forbidden_p_1): Likewise.
2459         
2460 2008-02-26  Richard Guenther  <rguenther@suse.de>
2461
2462         * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ...
2463         * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here.
2464         (lookup_decl_from_uid): Declare.
2465         (remove_decl_from_map): Likewise.
2466         * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ...
2467         * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here.
2468         (decl_for_uid_map): New global hashtable mapping DECL_UID
2469         to the decl tree.
2470         (init_ttree): Allocate it.
2471         (insert_decl_to_uid_decl_map): New helper function.
2472         (make_node_stat): Insert new decls into the map.
2473         (copy_node_stat): Likewise.
2474         (lookup_decl_from_uid): New function.
2475         (remove_decl_from_map): Likewise.
2476         (print_decl_for_uid_map_statistics): New helper.
2477         (dump_tree_statistics): Call it.
2478
2479         * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap.
2480         (referenced_var_iterator): Adjust.
2481         (FOR_EACH_REFERENCED_VAR): Adjust.
2482         (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator.
2483         (num_referenced_vars): Adjust.
2484         * tree-flow-inline.h (gimple_referenced_vars): Adjust.
2485         (first_referenced_var): Remove.
2486         (end_referenced_vars_p): Likewise.
2487         (next_referenced_var): Likewise.
2488         (referenced_var_iterator_set): New helper function.
2489         * tree-dfa.c (referenced_var_lookup): Adjust.
2490         (referenced_var_check_and_insert): Likewise.
2491         (remove_referenced_var): Likewise.
2492         * tree-ssa.c (verify_flow_insensitive_alias_info): Use
2493         FOR_EACH_REFERENCED_VAR_IN_BITMAP.
2494         (verify_call_clobbering): Likewise.
2495         (verify_memory_partitions): Likewise.
2496         (init_tree_ssa): Allocate bitmap instead of hashtable for
2497         referenced_vars.
2498         (delete_tree_ssa): Adjust.
2499         * tree-ssa-alias.c (mark_aliases_call_clobbered): Use
2500         FOR_EACH_REFERENCED_VAR_IN_BITMAP.
2501         (compute_tag_properties): Likewise.
2502         (set_initial_properties): Likewise.
2503         (find_partition_for): Likewise.
2504         (update_reference_counts): Likewise.
2505         (dump_may_aliases_for): Likewise.
2506         * tree-ssa-operands.c (add_virtual_operand): Likewise.
2507         (add_call_clobber_ops): Likewise.
2508         (add_call_read_ops): Likewise.
2509         (get_asm_expr_operands): Likewise.
2510         * tree-into-ssa.c (dump_decl_set): Likewise.
2511         (update_ssa): Likewise.
2512         * tree-sra.c (scan_function): Likewise.
2513         (decide_instantiations): Likewise.
2514         (scalarize_parms): Likewise.
2515         * tree-ssa-alias-warnings.c (build_reference_table): Likewise.
2516         (dsa_named_for): Likewise.
2517         * tree-ssa-structalias.c (update_alias_info): Likewise.
2518         (merge_smts_into): Likewise.
2519
2520 2008-02-26  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
2521
2522         PR 34351
2523         * doc/invoke.texi (-Wall): Add -Wvolatile-register-var.
2524         * c-opts.c (c_common_handle_option): Wall enables
2525         Wvolatile-register-var.
2526         * common.opt: Move Wvolatile-register-var to...
2527         * c.opt: ...here.
2528         
2529 2008-02-26  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
2530
2531         * common.opt (Wlarger-than=): New.
2532         * doc/invoke.texi (Warning Options): Replace -Wlarger-than- with
2533         -Wlarger-than=.
2534         * opts.c (common_handle_option): Handle -Wlarger-than=.
2535         * optc-gen.awk: Likewise.
2536         * opth-gen.awk: Likewise.
2537         * stor-layout.c (layout_decl): Use -Wlarger-than= for warning.
2538         * tree-optimize.c (tree_rest_of_compilation): Likewise.
2539         
2540 2008-02-26  Manuel Lopez-Ibanez <manu@gcc.gnu.org>
2541
2542         * c-common.c (match_case_to_enum_1): Add appropriate
2543         OPT_W* parameter to warning.
2544         (c_do_switch_warnings): Likewise.
2545         * c-typeck.c (warning_init): Add one more parameter following
2546         'warning' function.
2547         (push_init_level): Update call to warning_init.
2548         (pop_init_level): Likewise.
2549         (add_pending_init): Likewise.
2550         (output_init_element: Likewise.
2551
2552 2008-02-26  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
2553
2554         PR 28322
2555         * toplev.c (toplev_main): If there are warnings or error, print
2556         errors for ignored options.
2557         * opts.c (ignored_options): New static variable.
2558         (postpone_unknown_option_error): New.
2559         (print_ignored_options): New.
2560         (handle_option): Postpone errors for unknown -Wno-* options.
2561         * opts.h (print_ignored_options): Declare.
2562         
2563 2008-02-25  Richard Sandiford  <rsandifo@nildram.co.uk>
2564
2565         * config/mips/mips.md (loadgp_blockage, blockage): Change type
2566         to "ghost".
2567
2568 2008-02-25  Richard Guenther  <rguenther@suse.de>
2569
2570         Revert:
2571         2008-02-25  Richard Guenther  <rguenther@suse.de>
2572
2573         * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ...
2574         * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here.
2575         (lookup_decl_from_uid): Declare.
2576         * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ...
2577         * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here.
2578         (decl_for_uid_map): New global hashtable mapping DECL_UID
2579         to the decl tree.
2580         (init_ttree): Allocate it.
2581         (insert_decl_to_uid_decl_map): New helper function.
2582         (make_node_stat): Insert new decls into the map.
2583         (copy_node_stat): Likewise.
2584         (lookup_decl_from_uid): New function.
2585         (print_decl_for_uid_map_statistics): New helper.
2586         (dump_tree_statistics): Call it.
2587
2588         * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap.
2589         (referenced_var_iterator): Adjust.
2590         (FOR_EACH_REFERENCED_VAR): Adjust.
2591         (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator.
2592         (num_referenced_vars): Adjust.
2593         * tree-flow-inline.h (gimple_referenced_vars): Adjust.
2594         (first_referenced_var): Remove.
2595         (end_referenced_vars_p): Likewise.
2596         (next_referenced_var): Likewise.
2597         (referenced_var_iterator_set): New helper function.
2598         * tree-dfa.c (referenced_var_lookup): Adjust.
2599         (referenced_var_check_and_insert): Likewise.
2600         (remove_referenced_var): Likewise.
2601         * tree-ssa.c (verify_flow_insensitive_alias_info): Use
2602         FOR_EACH_REFERENCED_VAR_IN_BITMAP.
2603         (verify_call_clobbering): Likewise.
2604         (verify_memory_partitions): Likewise.
2605         (init_tree_ssa): Allocate bitmap instead of hashtable for
2606         referenced_vars.
2607         (delete_tree_ssa): Adjust.
2608         * tree-ssa-alias.c (mark_aliases_call_clobbered): Use
2609         FOR_EACH_REFERENCED_VAR_IN_BITMAP.
2610         (compute_tag_properties): Likewise.
2611         (set_initial_properties): Likewise.
2612         (find_partition_for): Likewise.
2613         (update_reference_counts): Likewise.
2614         (dump_may_aliases_for): Likewise.
2615         * tree-ssa-operands.c (add_virtual_operand): Likewise.
2616         (add_call_clobber_ops): Likewise.
2617         (add_call_read_ops): Likewise.
2618         (get_asm_expr_operands): Likewise.
2619         * tree-into-ssa.c (dump_decl_set): Likewise.
2620         (update_ssa): Likewise.
2621         * tree-sra.c (scan_function): Likewise.
2622         (decide_instantiations): Likewise.
2623         (scalarize_parms): Likewise.
2624         * tree-ssa-alias-warnings.c (build_reference_table): Likewise.
2625         (dsa_named_for): Likewise.
2626         * tree-ssa-structalias.c (update_alias_info): Likewise.
2627         (merge_smts_into): Likewise.
2628
2629 2008-02-25  Janne Blomqvist  <jb@gcc.gnu.org>
2630
2631         PR fortran/29549
2632         * doc/invoke.texi (-fcx-limited-range): Document new option.
2633         * toplev.c (process_options): Handle -fcx-fortran-rules.
2634         * common.opt: Add documentation for -fcx-fortran-rules.
2635
2636 2008-02-25  Janne Blomqvist  <jb@gcc.gnu.org>
2637
2638         PR c/35162
2639         * doc/invoke.texi (-fcx-limited-range): Correct to be in line with
2640         actual behaviour and C99.
2641         
2642 2008-02-26  Ben Elliston  <bje@au.ibm.com>
2643
2644         * config/rs6000/rs6000.h (ASM_CPU_POWER5_SPEC): Define.
2645         (ASM_CPU_POWER6_SPEC): Likewise.
2646         (ASM_CPU_SPEC): Pass %(asm_cpu_power5) for -mcpu=power5.
2647         Likewise, pass %(asm_cpu_power6) for -mcpu=power6.
2648         (EXTRA_SPECS): Add asm_cpu_power5, asm_cpu_power6 spec strings.
2649
2650 2008-02-25  Richard Guenther  <rguenther@suse.de>
2651
2652         * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ...
2653         * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here.
2654         (lookup_decl_from_uid): Declare.
2655         * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ...
2656         * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here.
2657         (decl_for_uid_map): New global hashtable mapping DECL_UID
2658         to the decl tree.
2659         (init_ttree): Allocate it.
2660         (insert_decl_to_uid_decl_map): New helper function.
2661         (make_node_stat): Insert new decls into the map.
2662         (copy_node_stat): Likewise.
2663         (lookup_decl_from_uid): New function.
2664         (print_decl_for_uid_map_statistics): New helper.
2665         (dump_tree_statistics): Call it.
2666
2667         * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap.
2668         (referenced_var_iterator): Adjust.
2669         (FOR_EACH_REFERENCED_VAR): Adjust.
2670         (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator.
2671         (num_referenced_vars): Adjust.
2672         * tree-flow-inline.h (gimple_referenced_vars): Adjust.
2673         (first_referenced_var): Remove.
2674         (end_referenced_vars_p): Likewise.
2675         (next_referenced_var): Likewise.
2676         (referenced_var_iterator_set): New helper function.
2677         * tree-dfa.c (referenced_var_lookup): Adjust.
2678         (referenced_var_check_and_insert): Likewise.
2679         (remove_referenced_var): Likewise.
2680         * tree-ssa.c (verify_flow_insensitive_alias_info): Use
2681         FOR_EACH_REFERENCED_VAR_IN_BITMAP.
2682         (verify_call_clobbering): Likewise.
2683         (verify_memory_partitions): Likewise.
2684         (init_tree_ssa): Allocate bitmap instead of hashtable for
2685         referenced_vars.
2686         (delete_tree_ssa): Adjust.
2687         * tree-ssa-alias.c (mark_aliases_call_clobbered): Use
2688         FOR_EACH_REFERENCED_VAR_IN_BITMAP.
2689         (compute_tag_properties): Likewise.
2690         (set_initial_properties): Likewise.
2691         (find_partition_for): Likewise.
2692         (update_reference_counts): Likewise.
2693         (dump_may_aliases_for): Likewise.
2694         * tree-ssa-operands.c (add_virtual_operand): Likewise.
2695         (add_call_clobber_ops): Likewise.
2696         (add_call_read_ops): Likewise.
2697         (get_asm_expr_operands): Likewise.
2698         * tree-into-ssa.c (dump_decl_set): Likewise.
2699         (update_ssa): Likewise.
2700         * tree-sra.c (scan_function): Likewise.
2701         (decide_instantiations): Likewise.
2702         (scalarize_parms): Likewise.
2703         * tree-ssa-alias-warnings.c (build_reference_table): Likewise.
2704         (dsa_named_for): Likewise.
2705         * tree-ssa-structalias.c (update_alias_info): Likewise.
2706         (merge_smts_into): Likewise.
2707
2708 2008-02-25  Andreas Krebbel  <krebbel1@de.ibm.com>
2709
2710         PR target/35258
2711         * cse.c (cse_insn): Avoid creation of overlapping MEMs.
2712         * alias.c (nonoverlapping_memrefs_p): Export for use in other modules.
2713         * alias.h (nonoverlapping_memrefs_p): Likewise.
2714
2715 2008-02-25  Jan Beulich  <jbeulich@novell.com>
2716
2717         * Makefile.in: Also prefix uses of crt0.o and mcrt0.o with $(T).
2718         * config/i386/netware-libgcc.exp: Add __bswap?i2,
2719         __emultls_get_address, __emultls_register_common,
2720         __floatundi?f, and _Unwind_GetIPInfo.
2721         * config/i386/netware.c (gen_stdcall_or_fastcall_decoration):
2722         Sync with config/i386/winnt.c:gen_stdcall_or_fastcall_suffix().
2723         (gen_regparm_prefix): Likewise.
2724         (i386_nlm_encode_section_info): Sync with
2725         config/i386/winnt.c:i386_pe_encode_section_info().
2726         (i386_nlm_maybe_mangle_decl_assembler_name): New.
2727         i386_nlm_mangle_decl_assembler_name): New.
2728         (netware_override_options): New.
2729         * config/i386/netware.h (netware_override_options): Declare.
2730         (OVERRIDE_OPTIONS): Re-define to netware_override_options.
2731         (i386_nlm_mangle_decl_assembler_name): Declare.
2732         (TARGET_MANGLE_DECL_ASSEMBLER_NAME): Define.
2733
2734 2008-02-25  Ben Elliston  <bje@au.ibm.com>
2735
2736         PR other/32948
2737         * c-decl.c (grokdeclarator): Remove unused local variables
2738         `typedef_type' and `type_as_written'.
2739         * bb-reorder.c
2740         (find_rarely_executed_basic_blocks_and_crossing_edges): Remove
2741         unused local variable `has_hot_blocks'.
2742         (fix_crossing_conditional_branches): Remove unused local variable
2743         `prev_bb'.
2744         
2745 2008-02-25  Uros Bizjak  <ubizjak@gmail.com>
2746
2747         PR middle-end/19984
2748         * builtins.def (BUILT_IN_NAN): Define as c99 builtin
2749         using DEF_C99_BUILTIN.
2750         (BUILT_IN_NANF): Ditto.
2751         (BUILT_IN_NANL): Ditto.
2752
2753 2008-02-25  Ayal Zaks  <zaks@il.ibm.com>
2754             Revital Eres  <eres@il.ibm.com>
2755
2756         * modulo-sched.c (calculate_must_precede_follow): Address TODO
2757         regarding the order of two dependent insns in the same row.
2758
2759 2008-02-25  Eric Botcazou  <ebotcazou@adacore.com>
2760
2761         * stor-layout.c (layout_decl): Do not bump the alignment of a
2762         bit-field to more than byte alignment if it is packed.
2763
2764 2008-02-24  David Edelsohn  <edelsohn@gnu.org>
2765
2766         * config/rs6000/rs6000.c (processor_costs): Add cache costs for
2767         e300c2 and e300c3.
2768
2769 2008-02-24  Diego Novillo  <dnovillo@google.com>
2770
2771         http://gcc.gnu.org/ml/gcc-patches/2008-02/msg01094.html
2772
2773         PR 33738
2774         * tree-vrp.c (vrp_evaluate_conditional): With
2775         -Wtype-limits, emit a warning when comparing against a
2776         constant outside the natural range of OP0's type.
2777         * c.opt (Wtype-limits): Move ...
2778         * common.opt (Wtype-limits): ... here.
2779
2780 2008-02-24  Edmar Wienskoski  <edmar@freescale.com>
2781
2782         * config.gcc (powerpc*-*-*): Add new cores e300c2 and e300c3.
2783         * config/rs6000/e300c2c3.md: New file.
2784         * config/rs6000/rs6000.c (processor_costs): Add new costs for
2785         e300c2 and e300c3.
2786         (rs6000_override_options): Add e300c2 and e300c3 cases to
2787         processor_target_table. Do not allow usage of Altivec or Spe
2788         with e300 cores. Initialize rs6000_cost for e300c2 and e300c3.
2789         (rs6000_issue_rate): Set issue rate for e300c2 and e300c3.
2790         * config/rs6000/rs6000.h (processor_type): Add
2791         PROCESSOR_PPCE300C2 and PROCESSOR_PPCE300C3.
2792         (ASM_CPU_SPEC): Add e300c2 and e300c3.
2793         * config/rs6000/rs6000.md (define_attr "cpu"): Add ppce300c2
2794         and ppce300c3. Include e300c2c3.md.
2795
2796 2008-02-23  David Edelsohn  <edelsohn@gnu.org>
2797
2798         * config/rs6000/rs6000.h (CONSTANT_ALIGNMENT): Use STRICT_ALIGNMENT
2799         instead of TARGET_STRICT_ALIGN.
2800
2801 2008-02-23  Joseph Myers  <joseph@codesourcery.com>
2802
2803         * explow.c (memory_address): Assert that the generated address is
2804         valid.
2805
2806 2008-02-23  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
2807
2808         PR target/25477
2809         * config/darwin-protos.h: Add darwin_patch_builtins prototype.
2810         * config/darwin-ppc-ldouble-patch.def: New file.
2811         * config/rs6000/darwin.h (SUBTARGET_INIT_BUILTINS): New macro.
2812         * config/rs6000/rs6000.c (rs6000_init_builtins): Call
2813         SUBTARGET_INIT_BUILTINS if defined.
2814         * config/darwin.c (darwin_patch_builtin, darwin_patch_builtins):
2815         New functions.
2816
2817 2008-02-23  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2818
2819         PR rtl-opt/33512
2820         * simplify-rtx.c (simplify_binary_operation_1): Add simplification
2821         of (and X (ior (not X) Y) and (and (ior (not X) Y) X).
2822
2823 2008-02-23  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2824
2825         PR pch/35027
2826         * c-pch.c (c_common_valid_pch): Make the "too short to be a PCH
2827         file" warning condtional on -Winvalid-PCH.
2828
2829 2008-02-23  Daniel Jacobowitz  <dan@codesourcery.com>
2830
2831         * expmed.c (extract_bit_field): Always use adjust_address for MEM.
2832
2833 2008-02-23  Uros Bizjak  <ubizjak@gmail.com>
2834
2835         PR target/22076
2836         PR target/34256 
2837         * config/i386/mmx.md (*mov<mode>_internal_rex64): Use "!y" to
2838         prevent reload from using MMX registers.
2839         (*mov<mode>_internal): Ditto.
2840         (*movv2sf_internal_rex64): Ditto.
2841         (*movv2sf_internal): Ditto.
2842
2843 2008-02-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2844
2845         PR documentation/31569
2846         * doc/install.texi2html: Use makeinfo --no-number-sections.
2847
2848 2008-02-22  Nathan Froyd  <froydnj@codesourcery.com>
2849
2850         * config/rs6000/rs6000.c (rs6000_legitimize_address): Check to
2851         ensure that we can address an entire entity > 8 bytes.  Don't
2852         generate reg+reg addressing for such data.
2853
2854 2008-02-22  Nathan Froyd  <froydnj@codesourcery.com>
2855
2856         * config/rs6000/rs6000.h (CONSTANT_ALIGNMENT): Don't overalign
2857         strings when optimizing for size, unless the target cares about
2858         alignment.
2859
2860 2008-02-22  Tom Tromey  <tromey@redhat.com>
2861
2862         * regclass.c (current_pass): Remove declaration.
2863
2864 2008-02-22  Anatoly Sokolov <aesok@post.ru>
2865
2866         * config/avr/libgcc.S (__RAMPZ__): Define.
2867         (__do_copy_data): Add for devices with 128KB code memory.
2868
2869 2008-02-22  Nathan Froyd  <froydnj@codesourcery.com>
2870
2871         * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS):
2872         Use spe_abi.
2873         * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Likewise.
2874
2875 2008-02-22  Hans-Peter Nilsson  <hp@axis.com>
2876
2877         * config/cris/cris.h (REG_CLASS_FROM_LETTER): Recognize 'b' for
2878         GENNONACR_REGS.
2879
2880 2008-02-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2881
2882         PR c/19999
2883         * c-typeck.c (build_binary_op): Warn about floating point
2884         comparisons if FLOAT_TYPE_P, not only for REAL_TYPE.
2885
2886 2008-02-21  Janis Johnson  <janis187@us.ibm.com>
2887
2888         PR target/34526
2889         * config/rs6000/rs6000.c (rs6000_altivec_abi): Clarify comment.
2890         (rs6000_explicit_options): Split abi into spe_abi and altivec_abi,
2891         add vrsave.
2892         (rs6000_override_options): Set altivec_abi as default, not override,
2893         for 64-bit GNU/Linux; for 32-bit GNU/Linux default to altivec_abi for
2894         TARGET_ALTIVEC; default to TARGET_ALTIVEC_VRSAVE when AltiVec ABI
2895         is used; use new member spe_abi.
2896         (rs6000_handle_option): Set rs6000_explicit_options.vrsave; use
2897         spe_abi and altivec_abi.
2898
2899 2008-02-22  Tomas Bily  <tbily@suse.cz>
2900
2901         * tree-vectorizer.c (vect_is_simple_reduction): Fix comment typo.
2902
2903 2008-02-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2904
2905         PR bootstrap/35273
2906         * config.build (build_file_translate): Set to `CMD //c' only if
2907         it works.
2908         * Makefile.in (build_file_translate): Improve comment.
2909
2910 2008-02-21  Jan Hubicka  <jh@suse.cz>
2911
2912         * predict.def (PRED_TREE_OPCODE_POSITIVE, PRED_TREE_OPCODE_NONEQUAL,
2913         PRED_TREE_OPCODE_POSITIVE, PRED_TREE_OPCODE_NONEQUAL, PRED_CALL,
2914         PRED_TREE_EARLY_RETURN, PRED_NULL_RETURN): Update.
2915
2916 2008-02-21  Michael Matz  <matz@suse.de>
2917
2918         PR target/35264
2919         * config/i386/i386.c (ix86_expand_branch): Add missing breaks.
2920
2921 2008-02-21  Uros Bizjak  <ubizjak@gmail.com>
2922
2923         * config/i386/i386.md (mov<mode>cc): Macroize expander from movsfcc,
2924         movdfcc and movxfcc using X87MODEF mode iterator and SSE_FLOAT_MODE_P
2925         as insn constraint.
2926         * config/i386/sse.md (<sse>_movup<ssemodesuffixf2c>): Macroize insn
2927         from sse_movups adn sse2_movupd using SSEMODEF2P mode iterator and
2928         SSE_VEC_FLOAT_MODE_P as insn constraint.
2929         (<sse>_movmskp<ssemodesuffixf2c>): Ditto from similar patterns.
2930         (sse4a_movnt<mode>): Macroize insn from sse4a_movntsf and
2931         sse4a_movntdf using MODEF mode iterator.
2932         (sse4a_vmmovnt<mode>): Macroize insn form sse4a_vmmovntv2df and
2933         sse4a_vmmovntv4sf using SSEMODEF2P mode iterator.
2934         (sse4_1_blendp<ssemodesuffixf2c>): Ditto from similar patterns.
2935         (sse4_1_blendvp<ssemodesuffixf2c>): Ditto.
2936         (sse4_1_dpp<ssemodesuffixf2c>): Ditto.
2937         (sse4_1_roundp<ssemodesuffixf2c>): Ditto.
2938         (sse4_1_rounds<ssemodesuffixf2c>): Ditto.
2939
2940 2008-02-21  Richard Guenther  <rguenther@suse.de>
2941
2942         * tree.def (PAREN_EXPR): New tree code.
2943         * fold-const.c (fold_unary): Remove PAREN_EXPR around constants
2944         and PAREN_EXPR.
2945         * tree-pretty-print.c (dump_generic_node): Handle PAREN_EXPR.
2946         * expr.c (expand_expr_real_1): Likewise.
2947         * tree-inline.c (estimate_num_insns_1): Likewise.
2948         * tree-complex.c (expand_complex_move): Likewise.
2949         * tree-vectorizer.c (vect_is_simple_use): Treat PAREN_EXPR (x)
2950         as plain x.
2951
2952 2008-02-20  Kaz Kojima  <kkojima@gcc.gnu.org>
2953
2954         PR target/35225
2955         * config/sh/sh.c (find_barrier): Don't go past 'from' argument.
2956
2957 2008-02-20  Kaz Kojima  <kkojima@gcc.gnu.org>
2958
2959         PR target/35190
2960         * config/sh/sh.md (jump_compact): Disable for crossing jumps.
2961
2962         * config/sh/sh.c (find_barrier): Don't go past
2963         NOTE_INSN_SWITCH_TEXT_SECTIONS note.
2964
2965 2008-02-20  DJ Delorie  <dj@redhat.com>
2966
2967         * config/h8300/h8300.md (insv): Force source operand to be a register.
2968
2969         * config/h8300/h8300.c (h8300_expand_epilogue): Emit return insn
2970         as a jump, not as a plain insn.
2971         
2972 2008-02-20  Seongbae Park <seongbae.park@gmail.com>
2973
2974         * doc/invoke.texi (Warning Options): Add new option
2975         -Wframe-larger-than=.
2976         (-Wframe-larger-than): Document.
2977
2978         * flags.h (warn_frame_larger_than, frame_larger_than_size):
2979         Add declarations for new option variables.
2980
2981         * final.c (final_start_function): Check the frame size
2982         before emission and issue a Wframe-larger-than warning.
2983
2984         * opts.c (warn_frame_larger_than, frame_larger_than_size):
2985         Add definitions for new option variables.
2986         (common_handle_option): Handle new option OPT_Wframe_larger_than_.
2987
2988         * common.opt (Wframe-larger-than=): New option.
2989
2990 2008-02-20  Uros Bizjak  <ubizjak@gmail.com>
2991
2992         * config/i386/sse.md (<sse>_vmmul<mode>3): Fix typo in asm template.
2993         (<sse>_div<mode>3): Ditto.
2994         (<sse>_vmdiv<mode>3): Ditto.
2995         (<sse>_vmsqrt<mode>2): Ditto.
2996         (*smax<mode>3): Ditto.
2997         (sse5_frcz<mode>2): Ditto.
2998         (sse5_vmfrcz<mode>2): Ditto.  Use TARGET_SSE5 instead of TARGET_ROUND
2999         as insn constraint.
3000
3001 2008-02-20  Richard Guenther  <rguenther@suse.de>
3002
3003         PR middle-end/35265
3004         * builtins.c (validate_arg): If we want an INTEGER_TYPE,
3005         be happy with INTEGRAL_TYPE_P.
3006
3007 2008-02-20  Richard Guenther  <rguenther@suse.de>
3008
3009         * fold-const.c (split_tree): Associate floatig-point expressions
3010         if flag_associative_math is set.
3011
3012 2008-02-20  Richard Guenther  <rguenther@suse.de>
3013
3014         * tree.h (fold_real_zero_addition_p): Declare.
3015         * fold-const.c (fold_real_zero_addition_p): Export.
3016         * tree-ssa-reassoc.c (eliminate_using_constants): Also handle
3017         floating-point operations with zero and one.
3018
3019 2008-02-20  Paolo Bonzini  <bonzini@gnu.org>
3020
3021         * doc/install.texi: Correct references to CFLAGS, replacing them
3022         with BOOT_CFLAGS.  Document flags used during bootstrap for
3023         target libraries.
3024                                 
3025 2008-02-20  Uros Bizjak  <ubizjak@gmail.com>
3026
3027         * config/i386/i386.h (SSE_VEC_FLOAT_MODE_P): New define.
3028         * config/i386/i386.md (*sse_setcc<mode>): Macroize from *sse_setccsf
3029         and *sse_setccdf using MODEF mode iterator and SSE_FLOAT_MODE_P as
3030         insn constraint.
3031         (smin<mode>3): Ditto from similar patterns.
3032         (smax<mode>3): Ditto.
3033         (*ieee_smin<mode>3): Ditto.
3034         (*ieee_smax<mode>3): Ditto.
3035         * config/i386/sse.md (sse): New mode attribute.
3036         (mov<mode>): Macroize expander from movv4sf and movv2df using
3037         SSEMODEF2P mode iterator.
3038         (<sse>_movnt<mode>): Ditto from similar patterns. Use
3039         SSE_VEC_FLOAT_MODE_P as insn constraint.
3040         (storent<mode>): Ditto.
3041         (storent<mode>): Macroize expander from storentsf and storentdf using
3042         MODEF mode iterator.
3043         (neg<mode>2): Macroize from negv4sf2 and negv2df2 using SSEMODEF2P
3044         mode iterator and SSE_VEC_FLOAT_MODE_P as insn constraint.
3045         (abs<mode>2): Ditto from similar patterns.
3046         (add<mode>3, *add<mode>3, <sse>_vmadd<mode>3): Ditto.
3047         (sub<mode>3, *sub<mode>3, <sse>_vmsub<mode>3): Ditto.
3048         (<sse>_div<mode>3, <sse>_vmdiv<mode>3): Ditto.
3049         (<sse>_vmsqrt<mode>2): Ditto.
3050         (smin<mode>3, *smin<mode>3_finite, *smin<mode>3)
3051         (<sse>_vmsmin<mode>3, *ieee_smin<mode>3): Ditto.
3052         (smax<mode>3, *smax<mode>3_finite, *smax<mode>3)
3053         (<sse>_vmsmax<mode>3, *ieee_smax<mode>3): Ditto.
3054         (<sse>_maskcmp<mode>3): Macroize from sse_maskcmpv4sf3,
3055         sse_maskcmpsf3, sse2_maskcmpv2df3 and sse2_maskcmpdf3 using SSEMODEF4
3056         mode iterator. Use SSE_FLOAT_MODE_P with SSE_VEC_FLOAT_MODE_P as
3057         insn constraint.
3058         (<sse>_comi): Macroize from sse_comi and sse2_comi using MODEF mode
3059         iterator and SSE_FLOAT_MODE_P as insn constraint.
3060         (<sse>_ucomi): Ditto from similar patterns.
3061         (<sse>_vmmaskcmp<mode>3): Macroize from sse_vmmaskcmpv4sf3 and
3062         sse2_vmmaskcmpv2df3 using SSEMODEF2P mode iterator and
3063         SSE_VEC_FLOAT_MODE_P as insn constraint.
3064         (vcond<mode>): Ditto from similar patterns.
3065         (and<mode>3, *and<mode>3): Ditto.
3066         (<sse>_nand<mode>3): Ditto.
3067         (ior<mode>3, *ior<mode>3): Ditto.
3068         (xor<mode>3, *xor<mode>3): Ditto.
3069         (*and<mode>3): Macroize from *andsf3 and *anddf3 using MODEF mode
3070         iterator and SSE_FLOAT_MODE_P as insn constraint.
3071         (*nand<mode>3): Ditto from similar patterns.
3072         (*ior<mode>3): Ditto.
3073         (*xor<mode>3): Ditto.
3074
3075 2008-02-20  Ira Rosen  <irar@il.ibm.com>
3076
3077         * config/spu/spu.md (vec_unpacku_hi_v8hi, vec_unpacku_lo_v8hi,
3078         vec_unpacks_hi_v8hi, vec_unpacks_lo_v8hi, vec_unpacku_hi_v16qi,
3079         vec_unpacku_lo_v16qi, vec_unpacks_lo_v16qi): Implement.
3080
3081 2008-02-19  Jan Hubicka  <jh@suse.cz>
3082
3083         * predict.c (tree_bb_level_predictions): Remove variable next
3084         mistakely introduced by previous commit.
3085
3086 2008-02-19  Jan Hubicka  <jh@suse.cz>
3087
3088         * predict.c (predict_paths_leading_to): Rewrite.
3089         (predict_paths_for_bb): New.
3090         (tree_bb_level_predictions): Update call of predict_paths_leading_to.
3091
3092 2008-02-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3093
3094         PR bootstrap/35218
3095         * Makefile.in (build_file_translate): New.
3096         (gcc-vers.texi): Use it for translating $(abs_srcdir).
3097         * config.build (build_file_translate): Set to `CMD //c' on MinGW.
3098         * configure.ac (build_file_translate): Substitute it.
3099         * configure: Regenerate.
3100
3101 2008-02-19  Jan Hubicka  <jh@suse.cz>
3102
3103         PR rtl-optimization/34408
3104         * see.c (see_def_extension_not_merged): Copy subreg so we don't have
3105         invalid sharing.
3106
3107 2008-02-19  Jan Hubicka  <jh@suse.cz>
3108
3109         PR middle-end/28779
3110         * tree-inline.c (estimate_num_insns_1): Fix counting of cost of
3111         call_expr.
3112
3113 2008-02-19  H.J. Lu  <hongjiu.lu@intel.com>
3114
3115         PR Ada/35186
3116         * config/i386/i386-modes.def: Revert the last DI alignment
3117         change until Ada people can look into it.
3118
3119 2008-02-19  Nick Clifton  <nickc@redhat.com>
3120
3121         * opts.c (print_specific_help): Fix typo in --help text.
3122
3123 2008-02-19  Jakub Jelinek  <jakub@redhat.com>
3124
3125         PR target/35239
3126         * config/i386/cpuid.h (__cpuid, __get_cpuid_max): Use special
3127         32-bit inline asm without asm alternatives for host GCC < 3.0.
3128
3129 2008-02-19  Richard Guenther  <rguenther@suse.de>
3130
3131         PR tree-optimization/34989
3132         * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Re-structure.
3133         Allow propagation to INDIRECT_REF if we can simplify only.
3134
3135 2008-02-19  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
3136
3137         * c-common.c (warn_for_collisions_1): Use appropriate option when
3138         warning.
3139
3140 2008-02-19  Nick Clifton  <nickc@redhat.com>
3141
3142         PR other/31349
3143         * opts.c (undocumented_msg): Leave blank unless checking is enabled.
3144         (handle_options): Fix indentation.
3145         (print_filtered_help): If no language-specific options were
3146         displayed tell the user how to list all the options supported by
3147         the language's front-end.
3148         (print_specific_help): Fix indentation and remove duplicate line.
3149         (common_handle_option): Handle the -v option.
3150         For --help enable the display of undocumented options if the -v
3151         switch has been included on the command line.
3152         For --help= check for overlaps in the arguments between the option
3153         classes and the language names and issue a warning when they
3154         cannot be disambiguated.
3155         * c.opt (v): Pass on to the common option handler.
3156
3157 2008-02-19  Revital Eres  <eres@il.ibm.com> 
3158
3159         * modulo-sched.c (sms_schedule): Change dump message when
3160         create_ddg function fails.
3161         (try_scheduling_node_in_cycle): Rename row to cycle.
3162         (print_partial_schedule): Rename CYCLE to ROW.
3163
3164 2008-02-19  Christian Bruel  <christian.bruel@st.com>
3165             Zdenek Dvorak  <ook@ucw.cz>
3166
3167         * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Check step alignment.
3168
3169 2008-02-19  Uros Bizjak  <ubizjak@gmail.com>
3170
3171         PR target/33555
3172         * config/i386/i386.md (*x86_movsicc_0_m1_se): New insn pattern.
3173         (*x86_movdicc_0_m1_se): Ditto.
3174
3175 2008-02-19  Uros Bizjak  <ubizjak@gmail.com>
3176
3177         * config/i386/sfp-machine.h (__gcc_CMPtype): New typedef.
3178         (CMPtype): Define as __gcc_CMPtype.
3179         * config/rs6000/sfp-machine.h (__gcc_CMPtype): New typedef.
3180         (CMPtype): Define as __gcc_CMPtype.
3181
3182 2008-02-19  Hans-Peter Nilsson  <hp@axis.com>
3183
3184         Support valgrind 3.3 for --enable-checking=valgrind.
3185         * system.h: Consolidate ENABLE_VALGRIND_CHECKING-dependent defines
3186         here.
3187         [!VALGRIND_MAKE_MEM_NOACCESS]: Define as VALGRIND_MAKE_NOACCESS.
3188         [!VALGRIND_MAKE_MEM_DEFINED]: Define as VALGRIND_MAKE_READABLE.
3189         [!VALGRIND_MAKE_MEM_UNDEFINED]: Define as VALGRIND_MAKE_WRITABLE.
3190         * ggc-common.c: Remove ENABLE_VALGRIND_CHECKING-dependent defines.
3191         Replace use of VALGRIND_MAKE_READABLE, VALGRIND_MAKE_WRITABLE, and
3192         VALGRIND_MAKE_NOACCESS with VALGRIND_MAKE_MEM_DEFINED,
3193         VALGRIND_MAKE_MEM_UNDEFINED, and VALGRIND_MAKE_MEM_NOACCESS
3194         respectively.
3195         * ggc-zone.c: Similar.
3196         * ggc-page.c: Similar.
3197
3198 2008-02-19  Paul Brook  <paul@codesourcery.com>
3199
3200         PR target/35071
3201         * config/arm/ieee754-df.S: Fix do_it typo.
3202         * config/arm/ieee754-sf.S: Fix do_it typo.
3203
3204 2008-02-18  H.J. Lu  <hongjiu.lu@intel.com>
3205
3206         PR target/35189
3207         * config/i386/i386.c (OPTION_MASK_ISA_MMX_SET): New.
3208         (OPTION_MASK_ISA_3DNOW_SET): Likewise.
3209         (OPTION_MASK_ISA_SSE_SET): Likewise.
3210         (OPTION_MASK_ISA_SSE2_SET): Likewise.
3211         (OPTION_MASK_ISA_SSE3_SET): Likewise.
3212         (OPTION_MASK_ISA_SSSE3_SET): Likewise.
3213         (OPTION_MASK_ISA_SSE4_1_SET): Likewise.
3214         (OPTION_MASK_ISA_SSE4_2_SET): Likewise.
3215         (OPTION_MASK_ISA_SSE4_SET): Likewise.
3216         (OPTION_MASK_ISA_SSE4A_SET): Likewise.
3217         (OPTION_MASK_ISA_SSE5_SET): Likewise.
3218         (OPTION_MASK_ISA_3DNOW_A_UNSET): Likewise.
3219         (OPTION_MASK_ISA_MMX_UNSET): Updated.
3220         (OPTION_MASK_ISA_3DNOW_UNSET): Updated.
3221         (OPTION_MASK_ISA_SSE_UNSET): Likewise.
3222         (OPTION_MASK_ISA_SSE3_UNSET): Likewise.
3223         (OPTION_MASK_ISA_SSSE3_UNSET): Likewise.
3224         (OPTION_MASK_ISA_SSE4_1_UNSET): Likewise.
3225         (OPTION_MASK_ISA_SSE4_2_UNSET): Likewise.
3226         (OPTION_MASK_ISA_SSE4A_UNSET): Likewise.
3227         (OPTION_MASK_ISA_SSE5_UNSET): Likewise.
3228         (OPTION_MASK_ISA_SSE4): Removed.
3229         (ix86_handle_option): Turn on bits in ix86_isa_flags and
3230         ix86_isa_flags_explicit with OPTION_MASK_ISA_XXX_SET for -mXXX.
3231         (override_options): Don't turn on implied SSE/MMX bits in
3232         ix86_isa_flags.
3233
3234 2008-02-18  H.J. Lu  <hongjiu.lu@intel.com>
3235
3236         * config/i386/i386-modes.def: Use 4 byte alignment on DI for
3237         32bit host.
3238
3239 2008-02-18  Joey Ye  <joey.ye@intel.com>
3240
3241         PR middle-end/34921
3242         * tree-nested.c (insert_field_into_struct): Set type alignment
3243         to field alignment if the former is less than the latter.
3244
3245 2008-02-18  Jakub Jelinek  <jakub@redhat.com>
3246
3247         * BASE-VER: Set to 4.4.0.
3248
3249 2008-02-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3250
3251         * doc/c-tree.texi: Use @dots{} and @enddots{} where appropriate.
3252         * doc/cfg.texi: Likewise.
3253         * doc/extend.texi: Likewise.
3254         * doc/gty.texi: Likewise.
3255         * doc/invoke.texi: Likewise.
3256         * doc/loop.texi: Likewise.
3257         * doc/md.texi: Likewise.
3258         * doc/passes.texi: Likewise.
3259         * doc/rtl.texi: Likewise.
3260         * doc/sourcebuild.texi: Likewise.
3261         * doc/tm.texi: Likewise.
3262         * doc/tree-ssa.texi: Likewise.
3263
3264 2008-02-17  Richard Guenther  <rguenther@suse.de>
3265
3266         PR middle-end/35227
3267         * tree-complex.c (init_parameter_lattice_values): Handle parameters
3268         without default definition.
3269
3270 2008-02-17  Richard Guenther  <rguenther@suse.de>
3271
3272         PR tree-optimization/35231
3273         * tree-vrp.c (register_edge_assert_for): Do not assume A == 0
3274         if A | B != 1.
3275
3276 2008-02-17  Uros Bizjak  <ubizjak@gmail.com>
3277
3278         Revert:
3279         2008-02-15  Uros Bizjak  <ubizjak@gmail.com>    
3280         * config/i386/sfp-machine.h (CMPtype): Define as typedef using
3281         libgcc_cmp_return mode.
3282
3283 2008-02-16  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
3284
3285         PR c/28368
3286         * doc/invoke.texi (-std): Clarify description of -std= and -ansi.
3287
3288 2008-02-16  Ralf Corsepius  <ralf.corsepius@rtems.org>
3289
3290         * config/m68k/t-rtems (M68K_MLIB_CPU): Add 5208, 5307, 5407, 5475
3291         multilibs.
3292
3293 2008-02-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3294
3295         * doc/c-tree.texi: Use `@.' where appropriate.
3296         * doc/extend.texi: Likewise.
3297         * doc/install.texi: Likewise.
3298         * doc/invoke.texi: Likewise.
3299         * doc/loop.texi: Likewise.
3300         * doc/makefile.texi: Likewise.
3301         * doc/md.texi: Likewise.
3302         * doc/passes.texi: Likewise.
3303         * doc/standards.texi: Likewise.
3304         * doc/tm.texi: Likewise.
3305
3306 2008-02-15  Jakub Jelinek  <jakub@redhat.com>
3307
3308         PR middle-end/35196
3309         * omp-low.c (expand_omp_for_generic): Don't initialize fd->v
3310         in entry_bb.
3311         (expand_omp_for_static_nochunk): Initialize fd->v in seq_start_bb
3312         rather than in entry_bb.
3313
3314 2008-02-15  Uros Bizjak  <ubizjak@gmail.com>
3315
3316         * config/i386/sfp-machine.h (CMPtype): Define as typedef using
3317         libgcc_cmp_return mode.
3318
3319 2008-02-15  Jakub Jelinek  <jakub@redhat.com>
3320
3321         PR middle-end/35130
3322         * tree-nested.c (convert_call_expr): Put FRAME.* vars into
3323         OMP_CLAUSE_SHARED rather than OMP_CLAUSE_FIRSTPRIVATE clause.
3324
3325 2008-02-15  Richard Guenther  <rguenther@suse.de>
3326             Zdenek Dvorak  <ook@ucw.cz>
3327
3328         PR tree-optimization/35164
3329         * tree-flow.h (stmt_references_abnormal_ssa_name): Declare.
3330         * tree-dfa.c (stmt_references_abnormal_ssa_name): New function.
3331         * tree-ssa-forwprop.c (tree_ssa_forward_propagate_single_use_vars):
3332         Only propagate addresses which do not have abnormal SSA_NAMEs
3333         in their operands.
3334
3335 2008-02-15  Joseph Myers  <joseph@codesourcery.com>
3336
3337         PR target/35088
3338         * config/m68k/m68k.h (DWARF_CIE_DATA_ALIGNMENT): Define.
3339
3340 2008-02-15  Jan Hubicka  <jh@suse.cz>
3341
3342         PR middle-end/35149
3343         * ipa.c (cgraph_remove_unreachable_nodes): Clear local.inlinable flag.
3344
3345 2008-02-15  Uros Bizjak  <ubizjak@gmail.com>
3346
3347         PR middle-end/34621
3348         * function.c (pad_to_arg_alignment): Remove test for STACK_BOUNDARY
3349         when calculating alignment_pad.
3350
3351 2008-02-15  Uros Bizjak  <ubizjak@gmail.com>
3352
3353         * config/i386/i386.h (CLEAR_RATIO): Use MIN macro.
3354         (WIDEST_HARDWARE_FP_SIZE): Use LONG_DOUBLE_TYPE_SIZE define.
3355         * config/i386/darwin.h (PREFERRED_STACK_BOUNDARY): Use MAX macro
3356         and STACK_BOUNDARY define.
3357
3358 2008-02-14  Danny Smith  <dannysmith@users.sourceforge.net>
3359
3360         PR preprocessor/35061
3361         * c-pragma.c (handle_pragma_pop_macro): Check that
3362         pushed_macro_table has been allocated.
3363
3364 2008-02-14  Eric Botcazou  <ebotcazou@adacore.com>
3365
3366         PR middle-end/35136
3367         * gimplify.c (force_gimple_operand_bsi): Revert 2008-02-12 change.
3368         (force_gimple_operand): Likewise.
3369         * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Add new cases
3370         for TARGET_MEM_REF and CONVERT_EXPR/NON_LVALUE_EXPR/NOP_EXPR.
3371         Also recurse on the operand for regular VIEW_CONVERT_EXPRs.
3372         (find_interesting_uses_address): Check addressability and alignment
3373         of the base expression only after substituting bases of IVs into it.
3374
3375 2008-02-14  Michael Matz  <matz@suse.de>
3376
3377         PR target/34930
3378         * function.c (instantiate_virtual_regs_in_insn): Reload address
3379         before falling back to reloading the whole operand.
3380
3381 2008-02-14  Andreas Krebbel  <krebbel1@de.ibm.com>
3382
3383         * config/s390/s390.c (s390_mainpool_start): Emit the pool
3384         before the first section switch note.
3385
3386 2008-02-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3387
3388         * doc/bugreport.texi: Update copyright years.
3389         * doc/c-tree.texi: Likewise.
3390         * doc/cfg.texi: Likewise.
3391         * doc/cpp.texi: Likewise.
3392         * doc/cppinternals.texi: Likewise.
3393         * doc/fragments.texi: Likewise.
3394         * doc/frontends.texi: Likewise.
3395         * doc/gcc.texi: Likewise.
3396         * doc/gty.texi: Likewise.
3397         * doc/hostconfig.texi: Likewise.
3398         * doc/implement-c.texi: Likewise.
3399         * doc/libgcc.texi: Likewise.
3400         * doc/loop.texi: Likewise.
3401         * doc/makefile.texi: Likewise.
3402         * doc/options.texi: Likewise.
3403         * doc/passes.texi: Likewise.
3404         * doc/rtl.texi: Likewise.
3405         * doc/sourcebuild.texi: Likewise.
3406         * doc/standards.texi: Likewise.
3407         * doc/tree-ssa.texi: Likewise.
3408         * doc/trouble.texi: Likewise.
3409
3410         * doc/extend.texi: Use @: or add comma where appropriate.
3411         * doc/invoke.texi: Likewise.
3412         * doc/tm.texi: Likewise.
3413
3414 2008-02-14  Alan Modra  <amodra@bigpond.net.au>
3415
3416         PR target/34393
3417         * config/rs6000/rs6000.md (restore_stack_block): Force operands[1]
3418         to a reg.
3419
3420 2008-02-14  Jesper Nilsson  <jesper.nilsson@axis.com>
3421